xdanieldzd / Scarlet

Game data conversion/export/import helper libraries - UNMAINTAINED
Other
97 stars 22 forks source link

Unsupported GXT file #7

Closed ghost closed 7 years ago

ghost commented 7 years ago

Trying to convert a Terraria GXT file. Doesn't seem to parse properly.

Output:

Adding file 'filename.gxt'...

Parsing files... File 'filename.gxt'... unsupported file.

Operation completed in 29 milliseconds.

Press any key to exit.

xdanieldzd commented 7 years ago

Scarlet didn't recognize the file as a GXT file, most likely because it didn't see the required magic number (well, string in this case) "GXT" at offset 0, right at the start of the file.

Are you sure the file you're trying to convert is really a GXT? If it is, could you upload it (or a handful, if there's more than one) for me to take a look at, so that I can try to add support for it?

ghost commented 7 years ago

Sure. https://drive.google.com/open?id=0B_dquQ34ZE8GYzJxczJaanczcFk If it helps any, they were obtained using the Infernal BMS script on a vfs2 file.

xdanieldzd commented 7 years ago

These don't seem to be GXT files, or at least not of the GXT format that Scarlet understands (i.e. standard PS Vita ones). For comparison's sake, here's a GXT as supported by Scarlet vs one of your sample files:

Comparison

Not sure if I can help you here. I'm guessing that either 1) the files are compressed in some way, 2) the script you used doesn't work properly with Terraria or 3) Terraria GXTs are actually unrelated to said standard Vita format.

ghost commented 7 years ago

Alright, I'll see what I can do with these then. Thanks for your ideas.