Excellent work, Thakis : )
i have seen image gallery 1 and 3 in the game, i never got image gallery 2, i cant wait to look at it on my PC, and anything on metroid prime 2 textures? also anyone ever notice how close metroid prime is to halo PC with the halo .map files, someone should just make a spark edit for metroid prime
Cool update. I'm still more curious about the single mipmap DXT1 textures... I still play with the swizzling every once in a while but can't find the proper unpack.
Here's the updated texture converter..."soon" is a long time sometimes :-P
edit: txtr files in format 4 don't work with this version... :-|
Last edited by thakis; March 23rd, 2006 at 14:22.
Nice program thakis! I'm currently writing a PAK explorer thingy in VB based on your code. It's not much at the moment - all it does is list the files in there. I plan to add a hex viewer and dumper to it, and maybe a texture viewer... see how it goes.
One thing I've come across while coding: did you know there are duplicate entries in the pak files? For example, in Metroid1.Pak on Metroid Prime, entry id 0x00392179 tag TXTR is listed twice. It appears that your program overwrites the file extracted from the first entry with the later one. I only found out as I was using the id as a unique key.
I didn't notice it, or I can't remember that I did notice. Do the two keys refer to different data chunks as well?
They refer to different sections in the file. Haven't checked if the contents of the two locations are actually different.
Can you guys work on one for mp2? I've been dieing for a converter!
Once the compression algorithm for MP2 has been cracked, work can begin on it (actaully, I'm pretty sure it uses the identical file structure as MP1) so basicly, once the decompression has been finished, the viewers and everything used for the first Prime will work for it aswell.
Argh, the cable modem ate my last post.
Basically, the .PAK format in MP2 is the same, and can be extracted with the tools for MP1. I think it still uses zlib compression as well. However, the format of the files inside is not the same. I haven't checked that many, but I know that the TXTR and STRG formats are different to how they were in MP1.