Dead Or Alive Ultimate XPR: Difference between revisions
Jump to navigation
Jump to search
imported>Gjinka (Created page with "{{GRAFPageHeader}} == XPR == * ''' Format Type ''': Archive <br> * ''' [http://en.wikipedia.org/wiki/Endianness Endian Order] ''': Little Endian <br> === Format Specifi...") |
imported>Ikskoks |
||
| (8 intermediate revisions by 3 users not shown) | |||
| Line 3: | Line 3: | ||
== XPR == | == XPR == | ||
* ''' Format Type ''': Archive | * ''' Format Type ''': Archive | ||
* ''' [http://en.wikipedia.org/wiki/Endianness Endian Order] ''': Little Endian | * ''' [http://en.wikipedia.org/wiki/Endianness 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 === | === Format Specifications === | ||
Each section is described below, with a description to explain what's going on. | |||
====Archive Header==== | |||
{|border=1 | |||
!width=25%|Data {bytes} | |||
!width=75%|Description | |||
|- | |||
|char {4} | |||
|Header <font color="purple">(XPR)</font> | |||
|- | |||
|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 | 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 === | === MultiEx BMS === | ||
Not written yet | Not written yet | ||
=== Supported Programs === | === Supported Programs === | ||
Not written yet<br><br> | Not written yet | ||
<br><br> | |||
[[Category:File Format]] | |||
Latest revision as of 22:54, 24 July 2021
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