Eraea Posted March 9, 2024 Posted March 9, 2024 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
Solution BloodRaynare Posted March 10, 2024 Solution Posted March 10, 2024 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
Eraea Posted March 10, 2024 Author Posted March 10, 2024 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
piken Posted March 10, 2024 Posted March 10, 2024 (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, 2024 by piken
BloodRaynare Posted March 10, 2024 Posted March 10, 2024 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
Shoutani_S Posted June 25, 2024 Posted June 25, 2024 On 3/10/2024 at 1:26 PM, 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. Thanks for making a very nice script. I was able to use it with gundam vs gundam and gundam next. Is there any way to compress tm2 files into pzz format?
BloodRaynare Posted June 26, 2024 Posted June 26, 2024 4 hours ago, Shoutani_S said: Thanks for making a very nice script. I was able to use it with gundam vs gundam and gundam next. Is there any way to compress tm2 files into pzz format? QuickBMS doesn't have compressor algorithm for pzz but you can use this: https://github.com/infval/pzzcompressor_jojo 1
Shoutani_S Posted June 26, 2024 Posted June 26, 2024 7 hours ago, BloodRaynare said: QuickBMS doesn't have compressor algorithm for pzz but you can use this: https://github.com/infval/pzzcompressor_jojo Awesome! I was able to compress it! Thank you very much!
Eraea Posted February 1 Author Posted February 1 Hi guys, it's been a while I've finally been able to write an initial code to parse the 000.bin files, Also the extension probably is .PMF as I checked other games from the same series (Mainly Gundam Vs Zeta Gundam for the PS2) and the .PMF files were exactly the same type as the extracted 000.bin. Anyways here's a Blender 3.3-3.6 or 4.1+ addon to load them. in regards to TIM2 I was able to extract them via the Noesis TexFinder tool but I am currently looking into the tim2 extension and possibly modify it to support the game's tim2 structure. from Alliance Vs Zaft 2 From Gundam Vs Zeta Gundam PZZImporter.zip 1
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