Xbox *.XPU

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
Anexenaumoon
Posts: 119
Joined: Sun Dec 27, 2015 10:22 pm

Xbox *.XPU

Post by Anexenaumoon »

Hey,

Looked at this archive that holds xpr textures (need some advice on how to convert those as well), and I'm a little stumped on the format. Here's what I currently have on it:

Code: Select all


struct XPU{
   string "XPRP" 4 byte magic word
   uint32 file count
   uint32 null 0
   uint32 length of entry table from 0xC - end
   
}





up to there is all I have. I assume the entries start after the 2 uint32 -1's, but I need some help on this. As well, the length of each string name does not line up properly in the entries, so I assume this is a more complex resource format then I thought. Any help is appreciated! Samples attached below:

Samples

Thanks!
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Xbox *.XPU

Post by aluigi »

http://aluigi.org/bms/xpu_xprp.bms

Obviously this is just a simple parser covering the whole archive format, it doesn't handles the data itself and dumps both the raw file and that sort of header (filename + head + number of info in the header).