Dead Or Alive Ultimate XPR

From XentaxWiki
Jump to navigation Jump to search

Back to index | Edit this page

XPR

  • Format Type : Archive
  • Endian Order : Little Endian
  • Description: Resource file, Contains Geometry and Textures

Outline of the format

Could be a visual image of the format or a brief summary.

Format Specifications

Each section is described below, with a description to explain what's going on.

Archive Header

Data {bytes} Description
char {4} Header (XPR)
uint32 {4} Size of the XPR file
uint32 {4} File Data 2 Offset

Chunk

MemRead

Texture Entry

Vertex Buffer

Texture Buffer

MDL Block

Vertex Definition

OBJ Sub-block

TODO

Notes

The XPR is Container Holding 3 Types Data

  • 1) Textures
  • 2) User Data
  • 3) Binary Buffer

Parsing the XPR is kind of superficial or pointless because the structure is fixed. so proper reading of the structure isn't needed. you can just set your cursor to offset 0x00000014 and start reading the User Data portion of the file. The rest of the data outlined in the XPR structure is revisited in the UserData Block 1.) Buffer is aligned to 2048 bytes and is padded before and after the buffer with 0xAD to maintain alignment.

MultiEx BMS

Not written yet

Supported Programs

Not written yet