Users browsing this thread: 1 Guest(s)
Extracting .gar files?
#9
Yes, that works Doggo!

Taking a look at the file in HxD, your CMD file seems very similar to that of the CMB files found in the GAR files provided by Centrixe, also meaning both don't properly open in N3DSCmbViewer. The reason they don't open is because they have an extra chunk of data before the denoted "mats" section (CmbViewer throws an error about not finding the "mats" chunk, and instead finds the "qtrs" tagged chunk). Attempting to get rid of the "qtrs" chunk doesn't help, and instead causes the program to throw more errors, and attempting to correct for them seems not to work either. So, it seems we'll need to reverse engineer the file to be able to interpret them. I would recommend looking at some of the files that work in CmbViewer and figure out their structure, then see if you can modify the CMB files to resemble their structure and open properly (however, that most likely won't work and we'll need to, instead, fully reverse-engineer the files).

Also, there are more files found within the GAR archives, most being files with a "csab" header and a few found in the "dog.gar" file being denoted by a "shpa" header (not sure if this is important but thought I would note it).

A quick detail on the structure of "csab" and "cmb " chunks:
All of these sections have the respective header and then a long representing the length of the file. However, it seems the length is to be read backwards (at least in HxD). An example header is as follows:
Code:
63 6D 62 20 80 A6 00 00 0F 00 00 00 00 00 00 00
The data can be interpreted as this: "cmb ", then a backwards long representing the hex length of the file, in reference to this file being "A680". I couldn't really identify the relevance of the long "0F 00 00 00", but I'm no expert at reading these files.

Lastly, I was able to go through and and manually extract some files from the GAR files provided by Centrixe, however there were some sections ("shpa" chunks) I wasn't able to properly interpret and extract. You can find the files below.

dog.zip
key01.zip

Hope this helps, cheers!
Reply
Thanked by:


Messages In This Thread
Extracting .gar files? - by Doggz_RAM - 10-15-2018, 08:28 AM
RE: Extracting .gar files? - by Resistiv - 10-15-2018, 08:50 AM
RE: Extracting .gar files? - by Doggz_RAM - 10-25-2018, 09:09 PM
RE: Extracting .gar files? - by Resistiv - 10-26-2018, 05:35 AM
RE: Extracting .gar files? - by Doggz_RAM - 10-26-2018, 06:07 PM
RE: Extracting .gar files? - by Resistiv - 10-26-2018, 06:13 PM
RE: Extracting .gar files? - by Doggz_RAM - 10-28-2018, 07:09 PM
RE: Extracting .gar files? - by Centrixe the Dodo - 10-28-2018, 06:52 PM
RE: Extracting .gar files? - by Resistiv - 10-28-2018, 10:05 PM
RE: Extracting .gar files? - by Doggz_RAM - 11-01-2018, 11:50 PM
RE: Extracting .gar files? - by land0n12343 - 06-25-2022, 12:22 AM

Forum Jump: