Welcome guest, is this your first visit? Click the "Create Account" button now to join.
Page 15 of 18 FirstFirst ... 51314151617 ... LastLast
Results 141 to 150 of 183

Hybrid View

  1. #1
    AlexWhiter
    Guest

    Default

    Actually, they should be selected randomly. I've just converted a single JNX into three different IMGs, and they all got different MapIDs.

    Do you remember what was the MapID in your IMGs?

  2.    Advertissements


  3. #2
    Member +
    Join Date
    Mar 2017
    Location
    Neuchâtel (ch)
    Posts
    49
    Rep Power
    11

    Default

    Hello,

    For information, I created a series of maps of Morocco using MAPC2MAPC in .jnx format to convert them to img and I had no problem.

    I put all my jnx in a JNX folder and had them transformed into img in an IMG folder. This work was done in series using the post program # 108 and 113.

    (Google translation)

    Allin

  4. #3
    Member
    Join Date
    Mar 2013
    Location
    UK
    Posts
    23
    Rep Power
    0

    Default

    The repeated MapID was an eight digit number - first six digits were 635235XX. I changed the XX to another two numbers, but can't remember what I replaced (and I have just emptied my recycle bin). I will convert some more without using any command parameters and see if I get the same result.

  5. #4
    Member
    Join Date
    Mar 2013
    Location
    UK
    Posts
    23
    Rep Power
    0

    Default

    I have now converted three more Spanish JNX's with the same issue - here is an extract from the GMapTool log:


    == Warning: repeated map ID number.
    == Map ID 127860939 (79F00CB), file C:/Maps/05-Almeria.img, file C:/Maps/06-Lepe.img.


    == Warning: repeated map ID number.
    == Map ID 127860939 (79F00CB), file C:/Maps/06-Lepe.img, file C:/Maps/04-Motril.img.

  6. #5
    Member +
    Join Date
    Mar 2017
    Location
    Neuchâtel (ch)
    Posts
    49
    Rep Power
    11

    Default

    Hello,

    It's incredible!!
    If you want, you can put these three jnx files on MEGA.nz (free) and give me the link by MP of the three files to download so that I test them.
    Results in 24h

    Allin

    (Google translation)

  7. #6
    AlexWhiter
    Guest

    Default

    I think I found the reason of the MapID duplication.
    If batch_convert.cmd script or any other similar, which runs jnx2img.cmd several times in turn, the MapID generated for the first IMG is used for all subsequent maps.

    @Eyelet99, have you used any batch conversion script for your JNX maps?

  8. #7
    Member
    Join Date
    Mar 2013
    Location
    UK
    Posts
    23
    Rep Power
    0

    Default

    Yes I have tried your batch conversion script but the CMD just took me back to the jnx2img folder without running:

    Microsoft Windows [Version 10.0.17134.648]
    (c) 2018 Microsoft Corporation. All rights reserved.

    C:\>cd\jnx2img

    C:\jnx2img>batch_convert.cmd "c:\maps-jnx" "c:\Maps-img"

    C:\jnx2img>for %i in ("c:\*.jnx") do call jnx2img.cmd "%i" "c:\%~ni.img"

    C:\jnx2img>


    Also, when I created the three IMGs which had the same MAPIDs, I did run the jnx2img.cmd three times in succession.
    Last edited by Eyelet99; 2nd April 2019 at 03:29 PM.

  9. #8
    AlexWhiter
    Guest

    Default

    Quote Originally Posted by Eyelet99 View Post
    Yes I have tried your batch conversion script but the CMD just took me back to the jnx2img folder without running:
    To run the batch script correctly, the folder names should be ended with backslash like this:
    C:\jnx2img>batch_convert.cmd "c:\maps-jnx\" "c:\Maps-img\"

    Anyway, the problem even occurs if jnx2img script is started more than once from the same command line session.
    I'll fix this problem.
    Last edited by AlexWhiter; 3rd April 2019 at 11:30 AM.

  10. #9
    Member
    Join Date
    Mar 2013
    Location
    UK
    Posts
    23
    Rep Power
    0

    Default

    Alex

    Thanks for spotting my stupid error. With the backslashes added, the batch conversion ran okay, but as you noted, the conversions all used the same MapID this time it was 07A304FB .

    I look forward to your solution!

  11. #10
    Member +
    Join Date
    Mar 2017
    Location
    Neuchâtel (ch)
    Posts
    49
    Rep Power
    11

    Default

    Hello,

    To have batch I modified the file jnx2img.cmd see the post #113

    [Only registered and activated users can see links. ]

    Allin
    Last edited by Allin; 2nd April 2019 at 07:04 PM.

 

 

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •