Skip to content
View in the app

A better way to browse. Learn more.

ResHax

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.
Help us keep the site running.
Zero Tolerance for Disrespect

(PS2) GvG: Rengou VS ZAFT II PLUS .pzz format

Featured Replies

  • Localization

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

Solved by BloodRaynare

  • Supporter
  • Solution

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.

  • Author
  • Localization
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

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.

image.png.7d04b3d4453f48eb41629723d8f27a8c.png

Edited by piken

  • Supporter
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.

image.png.7d04b3d4453f48eb41629723d8f27a8c.png

I think the problem is Console Texture Explorer doesn't support 2-bytes (16-bit) CLUT, only 4-bytes (32-bit) are supported.

  • 3 months later...
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?

  • 7 months later...
  • Author
  • Localization

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
image.thumb.png.065118877427a7719b21149f2ec966eb.png

From Gundam Vs Zeta Gundam
image.thumb.png.d0ea51892654bbe6819871d80b251b87.png

PZZImporter.zip

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.