Strike Witches: Silver Wing/Notes: Difference between revisions

From Data Crystal
Jump to navigation Jump to search
(Create initial page. Moved GGXArchiver research to notes)
 
(Updated research on GGXArchiver format)
Line 3: Line 3:
===GGXArchive Packed Files===
===GGXArchive Packed Files===


Most of the game's files appear to be archives created with "GGXArchiver v1.00".  These can contain various types of files, including but not limited to models, textures and text.
Most of the game's files appear to be archives created with "GGXArchiver v1.00".  These can contain various types of files, including but not limited to models, textures and text. Some entries are stored as little endian


{| class="wikitable"
{| class="wikitable"
Line 13: Line 13:
|-
|-
| Unknown (number of files?  more info?) || 16-bytes, ex: '''0x02 0x00 0x00 0x00 0x02 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00''' (/media/data/sc_logo.bin)
| Unknown (number of files?  more info?) || 16-bytes, ex: '''0x02 0x00 0x00 0x00 0x02 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00''' (/media/data/sc_logo.bin)
First four bytes are number of entries in the archive's file table<sup>(LE)</sup>
Second four bytes are number of "valid" entries in the file table (blank entries of 32 0x00 are "invalid")<sup>(LE)</sup>
Remaining 8 bytes are probably padding
|-
|-
| File List || 32-bytes per file, relative path to file, directories supported
| File List || 32-bytes per file, relative path to file, directories supported
|-
|-
| Unknown data || Size seems to scale with number of files in archive
| Unknown data || Size seems to scale with number of files in archive
Possibly compression commands
|-
| Unknown magic? footer? || '''0xFE 0x7F 0xEE 0xF1 0xF1 0x0E 0xFE 0x00 0xF2 0xF2 0xF3 0xF3 0xF4 0xF4 0xF5 0xF5 0xF6 0xF6 0xF7 0xF7 0xF8 0xF8 0xF9 0xF9 0xFA 0xFA 0xFB 0xFE 0xFC 0xFE 0xFD 0xFF 0xFE 0xFF 0x00 0x00 0x80 0x00 0x4D'''
Might not be present in archives that only contain a single file
|-
|-
| File Data || The actual data for each of the archived files.  Appears to be have some endian weirdness, reversed every 32-bits?  (Xenon is 32-bit BE, makes sense?)
| File Data || The actual data for each of the archived files.  Appears to be have some endian weirdness, reversed every 32-bits?  (Xenon is 32-bit BE, makes sense?)

Revision as of 20:46, 21 February 2024

File Formats

GGXArchive Packed Files

Most of the game's files appear to be archives created with "GGXArchiver v1.00". These can contain various types of files, including but not limited to models, textures and text. Some entries are stored as little endian

GGXArchiver Format
Entry Format
Magic "GGXArchiver1.00" + 0x00
Unknown (number of files? more info?) 16-bytes, ex: 0x02 0x00 0x00 0x00 0x02 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 (/media/data/sc_logo.bin)

First four bytes are number of entries in the archive's file table(LE)

Second four bytes are number of "valid" entries in the file table (blank entries of 32 0x00 are "invalid")(LE)

Remaining 8 bytes are probably padding

File List 32-bytes per file, relative path to file, directories supported
Unknown data Size seems to scale with number of files in archive

Possibly compression commands

Unknown magic? footer? 0xFE 0x7F 0xEE 0xF1 0xF1 0x0E 0xFE 0x00 0xF2 0xF2 0xF3 0xF3 0xF4 0xF4 0xF5 0xF5 0xF6 0xF6 0xF7 0xF7 0xF8 0xF8 0xF9 0xF9 0xFA 0xFA 0xFB 0xFE 0xFC 0xFE 0xFD 0xFF 0xFE 0xFF 0x00 0x00 0x80 0x00 0x4D

Might not be present in archives that only contain a single file

File Data The actual data for each of the archived files. Appears to be have some endian weirdness, reversed every 32-bits? (Xenon is 32-bit BE, makes sense?)