Eraea Posted March 9 Share Posted March 9 Hi! I would like some help regarding .pzz format from the game Gundam vs Gundam Rengou VS ZAFT II PLUS I know the models and game is old but they are retro and still look good. Thanks AFS_DATA.7z Link to comment Share on other sites More sharing options...
Solution BloodRaynare Posted March 10 Solution Share Posted March 10 Here's BMS script to extracting your files: ## Kidou Senshi Gundam Seed Destiny: Rengou vs. Z.A.F.T. II Plus (PS2) - PZZ extraction script by BloodRaynare ## For use with QuickBMS math ENTRY_OFFSET = 0x800 comtype pzz get FILES long for i = 0 < FILES get ENTRY long math ENTRY_SIZE = ENTRY math ENTRY_SIZE & 0xffffff math ENTRY_SIZE * 0x800 math ENTRY_FLAG = ENTRY math ENTRY_FLAG >> 24 string NAME p "%03d.bin" i if ENTRY_FLAG == 0x40 savepos TMP goto ENTRY_OFFSET get SIZE long get ZSIZE long savepos OFFSET clog NAME OFFSET ZSIZE SIZE goto TMP else log NAME ENTRY_OFFSET ENTRY_SIZE endif math ENTRY_OFFSET + ENTRY_SIZE next i The model file are 000.bin while 001.bin contains a TM2 texture file. However, that's only as far as I could help. 1 1 Link to comment Share on other sites More sharing options...
Eraea Posted March 10 Author Share Posted March 10 38 minutes ago, BloodRaynare said: Here's BMS script to extracting your files: ## Kidou Senshi Gundam Seed Destiny: Rengou vs. Z.A.F.T. II Plus (PS2) - PZZ extraction script by BloodRaynare ## For use with QuickBMS math ENTRY_OFFSET = 0x800 comtype pzz get FILES long for i = 0 < FILES get ENTRY long math ENTRY_SIZE = ENTRY math ENTRY_SIZE & 0xffffff math ENTRY_SIZE * 0x800 math ENTRY_FLAG = ENTRY math ENTRY_FLAG >> 24 string NAME p "%03d.bin" i if ENTRY_FLAG == 0x40 savepos TMP goto ENTRY_OFFSET get SIZE long get ZSIZE long savepos OFFSET clog NAME OFFSET ZSIZE SIZE goto TMP else log NAME ENTRY_OFFSET ENTRY_SIZE endif math ENTRY_OFFSET + ENTRY_SIZE next i The model file are 000.bin while 001.bin contains a TM2 texture file. However, that's only as far as I could help. Thank you so much! That's a big help already and I can take it from there Link to comment Share on other sites More sharing options...
piken Posted March 10 Share Posted March 10 (edited) Quote while 001.bin contains a TM2 texture file. 😎 Quote That's a big help already and I can take it from there Eraea: I'm curious what tool(s) you'll use for the rest? For PS2 data, I've found Console Texture Explorer useful, but in this case for pl00-001.bin's texture (8bpp 512x512 pix@900h), I can't seem to get it to display the palette (r5g5b5x1 x 256 @0x40900 with 8x2 swizzle), despite providing the correct base offset as I did in my tiny test app. Edited March 10 by piken Link to comment Share on other sites More sharing options...
BloodRaynare Posted March 10 Share Posted March 10 1 hour ago, piken said: 😎 Eraea: I'm curious what tool(s) you'll use for the rest? For PS2 data, I've found Console Texture Explorer useful, but in this case for pl00-001.bin's texture (8bpp 512x512 pix@900h), I can't seem to get it to display the palette (r5g5b5x1 x 256 @0x40900 with 8x2 swizzle), despite providing the correct base offset as I did in my tiny test app. I think the problem is Console Texture Explorer doesn't support 2-bytes (16-bit) CLUT, only 4-bytes (32-bit) are supported. 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now