Welcome guest, is this your first visit? Click the "Create Account" button now to join.
Results 1 to 3 of 3
  1. #1
    Junior Member
    Join Date
    Oct 2014
    Location
    Italy
    Posts
    1
    Rep Power
    0

    Default [CompeGPS TwoNav] HELP decoding .rmap file format

    Hi everyone,
    I've some raster maps in *.rmap format that i can use with Twonav on my Android device, however i want to extract all the tiles to create jnx files for my Garmin. These maps are locked in some way (can't move on other devices, a code would be asked).

    I've made a simple rmap file with MOBAC and i've noticed that in this file images are clearly recognizable by their signature (eg. FF D8 FF for jpeg). This file is also readable on all devices.

    However maps bought and downloaded with Twonav have data obfuscated in some way. The first part of the file is a list of binary offset to actual data, that have to be decoded (i suppose) to become an image. I've got some addresses from where maps are downloaded, and i can say that the files are always the same, regardless the device used to download. So the key to decode should be device independent and stored into the app.

    At this point i've tried to decompile the app with dex2jar but i've found nothing (i could be wrong! first time i try...). Sadly most of the app is written in native code, and reverse engineering that is currently out of my reach.

    This is an example of a locked .rmap file:
    [Only registered and activated users can see links. ]
    (This particular file is supposed to be a free demo, but it's actually locked so i'm not able to open it)

    So if someone have an idea on how to extract images contained into the rmap file, or can help me in some way, i'll appreciate a lot!

  2.    Advertissements


  3. #2
    Junior Member krajscule's Avatar
    Join Date
    May 2015
    Location
    Palma de Mallorca
    Posts
    9
    Rep Power
    0

    Default

    Hi!

    I'm new here in this forum, so I don't know whether this was discussed somewhere else, but last summer I had the same problem and after searching the internet for hours and found nothing, I think there is no way to decode these locked .rmap files (correct me if I'm wrong).

    BUT, there is another way, it worked for me very well, but it's time consuming. You simply open the .rmap in compeGPS, zoom to 100%, and go capturing the screen with print screen key, and then stitching the tiles in Photoshop. Once you have the whole map, you save the image, open and calibrate it in compeGPS and save it as open .rmap, or any other format you like.

    Hope it helps.

  4. #3
    Junior Member krajscule's Avatar
    Join Date
    May 2015
    Location
    Palma de Mallorca
    Posts
    9
    Rep Power
    0

    Default

    I forgot to add, that obviously you need to have the key which comes with the locked .rmap to be able to open it in compeGPS in the first place...

 

 

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
  •