Wipeout 3 PBP PBN

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

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

num_of_files *
{
   x bytes - compressed 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