RNG tool in GIR editor

Matko

pohodnik
18. jul 2007
5.624
722
113
GIR_Editor v0.56

This program will extract all symbols from a fw1_resources.bin file or logo.bin file. Such
files can be extracted from .RGN or .GCD firmware files using RGN_Tool. For now, symbols
can be only extracted, previewed and saved from fw1_resources.bin files. So far, only
resource files with type 10, 11, 12 or 19 can be opened. The program will tell you if the file
type is not recognized. Some bitmaps in 37xx fw1_ressources.bin file cannot be decoded yet.

When logo.bin files are used, symbols can be extracted, previewed, saved and replaced with
bitmaps of the same dimentions and file size. Symbols are converted and saved as 24-bit
bitmaps. You may edit and save the bitmaps with different editors including MS Paint. You
may save the new symbols as 16-bit RGB 565, 24-bit or 32-bit bitmaps. When replaced, they
will be converted back to 16-bit RGB 565. No compression is involved so do not worry about
file size if you use the same bitmap dimentions. Once done, you can save the moddified file
to a new .bin logo file.


Latest version:
===============

I made a wiki page at turboccc.wikispaces.com
You will find all my tools there and links to popular GPS sites where I can be reached.


How-to:
=======

1- Start GIR_Editor

2- Use File->Open to open the .bin resource file.

3- Right click on the list of symbol to save one or all symbols.

4- Double click to replace a symbol

5- Save new .bin file (will work only if you opened a logo file)

6- Exit

Note:

The symbols extracted from a Garmin firmware file belongs to Garmin and copyrights
may apply. I am not responsible for any usage of these symbols you may do.


Troubleshooting:
================

See the forums listed at turboccc.wikispaces.com


History:
========
v0.56 - Adding support for GIR files of type 21. No logo replace yet.

v0.55 - Fixed a runtime error when opening logo file for 23xx & 24xx.

v0.54 - Added support for dashboard (.dshb) files. Symbols can be extracted and
replaced by other symbols of the same resolution. No SVG/XML support yet.

v0.53 - Fixed a program crash issue when saving logo bin files. Bug present in
version 0.51 only. Saving to GIR file was working correctly.

v0.52 - Adding PNG symbol replacement in GIR files of type 10, 11 and 12.

v0.51 - Added symbol extraction and replacement from resource files of type 1 (Garmin
Asus Mobile Phone M20) - Request by Longrun

v0.50 - Added "Convert 37xx logo to 34xx" in the Tools menu. Just load a 37xx logo
and run the Tools function. Then double click the image and replace it by
your own 800x480 PNG image.

v0.40 - Added EULA terms agreement. Not for use in commercial applications.
- COOL! Added symbol replacement in gir files of type 19 (37xx) & 20 (34xx)
- Supports a new format of logo.bin from gps 62S.
- Improvements to gui when extracting symbols
- Symbol file names have now correct image dimensions and frame dimensions
- Improvements to symbol structure extraction.

v0.32 - Added support to replace BMP into 24xx/23xx logo.bin (GIR file). Make sure the
resolution of the logo is preserved. The file size is not a problem: the original
logo_24xx.bin provided is too big.

v0.31 - Added support to extract symbols from resource files of type 20 (model 34xx)

v0.30 - Added support to replace PNG into 37xx logo.bin (GIR file)

v0.25 - Added support for resource files of type 19 (model 37xx)

v0.24 - Added extraction of bitmaps of type 6.
- More support for reading gir files of type 12 (models 13xx 14xx).
- Added filename to command-line. You can drag .bin over GIR_Editor.exe to load or
drag .bin files over the application to load. This allows you also to register
.bin extensions to GIR_Editor which will invoke automatically GIR_Editor when
double clicking on a .bin file.
- You can also drag&drop supported .bin files over the opened instance of GIR_Editor.

v0.22 - Not finished, but a bit more support for bitmap type 6 extraction on nuvi 37xx
fw1_resources.bin. I should be done soon.
- Fixed logo extraction for 255w Chinese logo.bin.
- Automatically recalculate the entire file checksum when saving logo.bin files just
in case you want to modify some strings manually. Just load a logo.bin and save.


v0.21 - Supports single logo file (like zumo Japan logo)
- Displays correctly the number of symbols in files
- Automatically display first symbol in preview when a file is opened
- Corrected 32-bit bitmap logo replacement

v0.20 - Added support for resource files of type 19. Only PGN can be previewed for this
file type.
- Added support for logo.bin files. Symbols can be extracted and replaced. The
modified file can be saved to a new logo file.

V0.10 - Symbol preview and extraction from resource files of type 10, 11 and 12 only.
Iz leta 2013
 

Priponke

  • GIR_Editor_V056.zip
    84,4 KB · Ogledi: 227

Matko

pohodnik
18. jul 2007
5.624
722
113
RGN_Tool V0.87

This program is an utility to manipulate Garmin RGN/GCD firmware files. It allows you to:

- Convert GCD firmware files to RGN format;
- Convert RGN firmware files to GCD format;
- Extract and save the individual firmware sections of RGN/GCD files to .bin files;
- Overwrite HWID and SW Version of RGN/GCD;
- Build an RGN file using different .bin files.

- SW Version overrides does not change the displayed version, but the override works.

Kudos:
======

Thanks to kunix, little_frog, PouchX and all others who help me understanding the RGN
and GCD formats. Thanks to all the beta testers.

Latest version:
===============

I made a wiki page at turboccc.wikispaces.com
You will find all my tools there and links to popular GPS site when I can be reached.


-----------
MAKE A BACKUP OF YOUR ORIGINAL RGN/GCD FILE before you use RGN_Tool.
-----------

***
*** You could brick your GPS. Use this tool at your own risks ***
***


How-to:
=======

Well, it should be obvious. If not, do not use it.


Official disclaimers:

*** Do this at your own risks! ***
*** Do not flash any FW if you are getting weird errors ***


Notes:

1- I do not provide update.exe and I am not telling you how to start your GPS
in service/pre-boot mode. If you do not know how to do this, you are probably better
not to try it. For more information about the utility of this program, visit
this thread:



Troubleshooting:
================

See the forums listed at turboccc.wikispaces.com

If you experience any runtime problem, make sure to set your Language Locale to United States.
Some people had it set to Chinese and Taiwan and it caused the program to crash.

History:
========

v0.87 - Improved detection of pk_file66.zip for region 66

v0.86 - Added disk image detection when loading an fftl.bin type file and assigned
region 0x30 by default for 34xx device. May be different for other model.

v0.84 - Fixed a runtime error when saving to .gcd (does not happen all the time)

v0.83 - Added a Nuvi 3790 Patch in the Tools menu. This will enable the Calendar, the
Contacts and the ASR on the Nuvi 3770, 3760 and 3750. ASR is visible but not
functional since no microphone installed. Tested and working for all 37xx Asian
firmwares with nuvi 3750. Report problems to TurboCCC. On US firmwares, it may
not enable anything. Let me know.

v0.82 - Added support for nuvi_8xxx rgn file with section 80 (0x50) virtual_image.bin
extraction and packing back to .rgn.
- Fixed another runtime error with missing file path when using drag & drop (don't ask,
just update to this version)...

v0.81 - Added .bin file drag&drop in respective section.
- Fixed various path issues when dragging files or starting RGN_Tool with a right click.
- Added some missing 01 checksum sections between different firmware sections in GCD.

v0.80 - Added command-line support. Type "RGN_Tool ?" for details.
- Added a default filename based on input file when saving RGN or GCD.

v0.78 - Set the RGN region to 0x10 for special gir file containing 24xx/23xx logo.

v0.77 - Set the RGN region to 0x10 for special gir file containing 37xx logo.

v0.76 - Fixed a bad detection between pk_file66.zip and pk_text.zip section when loading
.zip file.

v0.75 - Improved string search. Everything should run faster.

v0.74 - Fixed a crash issue when searching for a non-existant HWID in a section 5505.

v0.73 - If a file is dragged over the RGN_Tool.exe or a file extension is registered to
RGN_Tool, then the initial folder is set to the path of the file. This is very
useful when right clicking on a GCD or RGN file and using "Open With".

v0.72 - Added support for RGN region FF and PK/text zip file.

v0.71 - Fixed a crash issue when the GCD contained garbage at the end of the file.

v0.70 - Added checkbox to preserve the .bin file order and disable auto re-order.
- Added filename to command-line. You can drag gcd/rgn over RGN_Tool.exe to load or
drag gcd/rgn file over the application to load. This allows you also to register
.gcd or .rgn extensions to RGN_Tool which will invoke automatically RGN_Tool when
double clicking on the gcd/rgn files.
- You can also drag&drop rgn/gcd files over the opened instance of RGN_Tool.


v0.60 - Added "Replace HWID test strings" checkbox. When enabled, this will search sections
0800 (boot.bin) and BD02 (fw_all.bin) to see if it finds HWID text strings and
replace them with the HWID override value. This checkbox is automatically enabled
when you enable HWID override. This is required to have the proper HWID value in
the Inventory display and in GarminDevices.xml. This will make sure Garmin sends
the update firmware with the proper HWID to your GPS.

v0.50 - Added MP3 patch for Chinese fw_all.bin to enable Media Player. See Tools menu.
Read this thread: http://www.gpspassion.com/forumsen/topic.asp?TOPIC_ID=138698

v0.44 - Fixed an issue where the HEID & SWV were not overridden in the GCD headers.

v0.43 - Added "Save to GCD". Works for regular boot+fw_all[+resources] with single boot.
- Improved GCD parsing - no more guessing
- Automatically puts region 0E (fw_all) to second section when saving to GCD.

v0.33 - Added automatic HWID & SWV search routines for unconventional sections. This improves
detection on Forerunner GPS and some sections in the "marine" GPS.

v0.32 - Different search engine for GCD sections. Only supported sections will be detected.
Now, it parses GpsMap GCD files without problems. Send me an email if the program
crashes and a link to your file.
- Detects also *some* HWID and SWV in 0104 sections.

v0.30 - total code revamp to handle more than 5 sections
- more generic support for special GCDs
- Region 0E automatically written at the end of RGN file when saving to RGN

v0.28 - corrected checksum in fw_all after overrides

v0.27 - fixed an issue when saving RGN with more than 2 sections.

v0.26 - added support for yet another non standard GCD files
- corrected bad HWID/SWV overrides.

v0.23 - added support for non standard GCD files

v0.22 - fixed rgn reading and writing (too much c&p)

v0.21 - fixed a 0-byte file issue when saving 3rd section to .bin

v0.20 - first beta

januar 2012
 

Priponke

  • RGN_Tool_V087.zip
    68,1 KB · Ogledi: 212