It works with BC 4.0.0.5 beta and BC 3.3.3, WinXP SP3 and Win7 SP1, at least the four mentioned maps and all screenshots look like that in message #80.
I have also written a Perl script, which converts the part number of the map (f.e. '010-D1160-00' for Transalpin 2012 Pro) into the corresponding hex values. Although the source is Perl, it is highly understandable, so it should be easy to use this as a base for another programming language.
If someone knows, where to get the source code of gimgunlock, I can try to implement it there.
Why implemented in gimgunlock? For original locked img files, gimgunlock does not change the header, so the part number should remain the same in header and the unlocked img files should still have "Named Trails". For an existing unlocked img file without part number, all you need is to write a separate tool to open the img file, fseek to offset 48 (0x30 in hex), write 9 bytes of compressed part number there, then close the file. It should be easy to do in Perl or C/C++.
Bookmarks