But to my point: I've got another .wad file that I want to get the files from, with proper names and everything. This one is from Tonka Space Station, and is called SpaceStation.wad. As always, feel free to follow along at home. Link: https://www.dropbox.com/s/b1tlm033ud3id ... n.wad?dl=0
Code: Select all
// ARCHIVE HEADER
char {4} - Header (WADH)
uint32 {4} - First File Offset
uint32 {4} - Number Of Files
uint32 {4} - Filename Directory Length
// UNKNOWN
uint32 {4} - unknown (all 255's; could also be a signed int, value of -1)
byte {16} - padding? (all 0's)
uint32 {4} - unknown (in this case, value is 2538 in decimal)
uint32 {4} - unknown (all 255's; could also be a signed int, value of -1)
byte {8} - padding? (all 0's)
// DIRECTORY
// for each file
uint32 {4} - Filename Offset (relative to the start of the filename directory)
uint32 {4} - File Offset (relative to the first file offset)
uint32 {4} - File Length
uint32 {4} - padding? (all 0's)
uint32 {4} - Unknown Boolean (0/1)
uint32 {4} - Number Of Files In Directory? (all 255's for files)
uint32 {4} - Unknown
-Johnny
