Wipeout 3 PBP PBN

From XentaxWiki
Revision as of 13:01, 21 April 2021 by Ikskoks (talk | contribs) (Format Specifications)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Back to index | Edit this page

PBP, PBN


Format Specifications

// Wipeout 3
// PBP file format

// header
80 bytes - nulls
4 bytes (uint32) - number of files
4 bytes - nulls

// info table
num_of_files *
{
   4 bytes (uint32) - file offset
   4 bytes (uint32) - file uncompressed size
   4 bytes (uint32) - file compressed size
}

// data
num_of_files *
{
   x bytes - file data
}

MultiEx BMS Script

Not written yet.

QuickBMS Script

This script will create fake CMP files that are compatible with Wipeout CMP Tool.

# Wipeout 3 (PSX)
# PBP Extract
# QuickBMS script by Dave, 2021

Get TEMPNAME basename

Set MEMORY_FILE binary "\x01\x00\x00\x00\x00\x00\x00\x00"

Goto 0x50
Get ENTRIES Long

Math ENTRY = 0x58

For A = 0 < ENTRIES
	Goto ENTRY
	Get OFFSET Long
	Get SIZE Long
	Get ZSIZE Long

	String FILENAME P "%TEMPNAME%\%TEMPNAME%_%A%.cmp"

	If ZSIZE = SIZE
		Log FILENAME OFFSET ZSIZE
	Else
		PutVarChr MEMORY_FILE 4 SIZE Long
		Log FILENAME 0 8 -1
		Append
		Log FILENAME OFFSET ZSIZE
		Append
	 Endif

	Math ENTRY + 0x0c
Next A

Notes and Comments

None.

Games

List of games using this file format:

  • Wipeout 3 (*.PBN)
  • Wipeout 3 Special Edition (*.PBP)

Compatible Programs