GRAF:3D Sex Villa BXP: Difference between revisions
Jump to navigation
Jump to search
imported>Foo No edit summary |
imported>Dinoguy1000 m (Reverted edit of Foo, changed back to last version by Dinoguy1000) |
||
| Line 3: | Line 3: | ||
format_type=Archive| | format_type=Archive| | ||
endian_order=Little Endian| | endian_order=Little Endian| | ||
date_posted= | date_posted=01:08, 4 Jan 2006| | ||
format_specifications=<font color="blue"> ''' // ( | format_specifications=<font color="blue"> ''' // ARCHIVE HEADER ''' </font> <br> | ||
: char {8} - Header <font color="purple">("BXP" + <font color="purple">(byte)</font>2 + "ARCH")</font> <br> | |||
: uint64 {8} - Archive Length <font color="darkgreen">[+32]</font> <br> | |||
: uint64 {8} - Padding <font color="purple">(88,39,255,135,206,225,196,1)</font> <br> | |||
: uint64 {8} - null <br> | |||
<br> | |||
<font color="blue"> ''' // ARCHIVE INDEX ''' </font> <br> | |||
: char {8} - Header <font color="purple">("BXP" + <font color="purple">(byte)</font>2 + "INDX")</font> <br> | |||
: uint64 {8} - <font color="red"> '' Unknown '' </font> <br> | |||
: uint64 {8} - Padding <font color="purple">(88,39,255,135,206,225,196,1)</font> <br> | |||
: uint64 {8} - null <br> | |||
: byte {16} - <font color="red"> '' CRC? '' </font> <br> | |||
: byte {16} - <font color="red"> '' CRC? <font color="purple">(same as above field)</font> '' </font> <br> | |||
<br> | |||
<font color="blue"> ''' // FOLDER TREE ''' </font> <br> | |||
: char {8} - Header <font color="purple">("BXP" + <font color="purple">(byte)</font>2 + "TREE")</font> <br> | |||
: uint64 {8} - Offset to the "// FILE DATA" <font color="darkgreen">[+128]</font> <font color="purple">(ie relative to "// DIRECTORIES")</font> <br> | |||
: uint64 {8} - Padding <font color="purple">(88,39,255,135,206,225,196,1)</font> <br> | |||
: uint64 {8} - null <br> | |||
<br> | |||
<font color="blue"> ''' // DIRECTORIES ''' </font> <br> | |||
: <font color="blue"> ''' // for each directory ''' </font> <br> | |||
:: char {8} - Header <font color="purple">("BXP" + <font color="purple">(byte)</font>2 + "SDIR")</font> <br> | |||
:: uint64 {8} - <font color="red"> '' Unknown Length/Offset '' </font> <br> | |||
:: byte {16} - null <br> | |||
:: uint32 {4} - Number Of Sub-Directories in this directory <br> | |||
:: uint32 {4} - Number Of Files in this directory <br> | |||
:: uint64 {8} - Length Of Filename Directory Component <font color="purple">(length of subDirName+null + fileNames+nulls)</font> <br> | |||
:: byte {16} - null <br> | |||
<br> | |||
:: <font color="blue"> ''' // for each sub-directory in this directory ''' </font> <br> | |||
::: uint32 {4} - null <br> | |||
::: uint32 {4} - <font color="red"> '' Relative Offset To This Directory? <font color="purple">(32)</font> <font color="purple">(relative to the start of this subDirEntry)</font> '' </font> <br> | |||
::: uint32 {4} - <font color="red"> '' Hash? '' </font> <br> | |||
::: char {X} - Sub-Directory Name <br> | |||
::: byte {1} - null Sub-Directory Name Terminator <br> | |||
::: byte {X} - null Padding to a multiple of 32 bytes <br> | |||
<br> | |||
:: <font color="blue"> ''' // for each file in this directory ''' </font> <br> | |||
::: uint64 {8} - Filename Offset <font color="purple">(relative to the start of the filename directory)</font> <br> | |||
::: uint64 {8} - null <br> | |||
::: byte {16} - <font color="red"> '' CRC? '' </font> <br> | |||
::: uint32 {4} - null <br> | |||
::: uint32 {4} - <font color="red"> '' Unknown <font color="purple">(1)</font> '' </font> <br> | |||
::: uint64 {8} - null <br> | |||
::: uint64 {8} - <font color="red"> '' File Length <font color="purple">(not including the file header fields?)</font> '' </font> <br> | |||
::: uint64 {8} - File Offset <font color="purple">(relative to the start of the file data)</font> <br> | |||
<br> | |||
:: <font color="blue"> ''' // repeat for each sub-directory (repeat from "// for each directory") ''' </font> <br> | |||
<br> | |||
: byte {32} - <font color="red"> '' CRC? '' </font> <br> | |||
<br> | |||
<font color="blue"> ''' // FILENAME DIRECTORY ''' </font> <br> | |||
: <font color="blue"> ''' // for each file ''' </font> <br> | |||
:: char {X} - Filename <br> | |||
:: byte {1} - null Filename Terminator <br> | |||
<br> | |||
: byte {X} - null Padding to a multiple of 32 bytes <br> | |||
<br> | |||
<font color="blue"> ''' // FILE DATA ''' </font> <br> | |||
: char {8} - Header <font color="purple">("BXP" + <font color="purple">(byte)</font>2 + "DATA")</font> <br> | |||
: uint64 {8} - Total Length Of File Data <font color="purple">(length of everything in "// for each file")</font> <br> | |||
: uint64 {8} - Padding <font color="purple">(88,39,255,135,206,225,196,1)</font> <br> | |||
: uint64 {8} - null <br> | |||
<br> | |||
: <font color="blue"> ''' // for each file ''' </font> <br> | |||
:: char {8} - Header <font color="purple">("BXP" + <font color="purple">(byte)</font>2 + "FILE")</font> <br> | |||
:: uint64 {8} - File Length <font color="purple">(length of "X - File Data" only)</font> <font color="darkgreen">[+30]</font> <br> | |||
:: uint64 {8} - <font color="red"> '' CRC? '' </font> <br> | |||
:: uint32 {4} - null <br> | |||
:: uint32 {4} - <font color="red"> '' Unknown <font color="purple">(1)</font> '' </font> <br> | |||
:: byte {X} - File Data <br> | |||
:: byte {X} - null Padding to a multiple of 32 bytes| | |||
notes=None| | |||
bms_script=Not written yet| | bms_script=Not written yet| | ||
programs=* | programs=* [[Game Extractor|Game Extractor]]| | ||
documentation=| | documentation=None| | ||
games=* 3D Sex Villa *.bxp | games=* 3D Sex Villa *.bxp | ||
}} | }} | ||
[[Category:No BMS]] [[Category:Almost Done]] [[Category:Archive]] [[Category:PC]] | [[Category:No BMS]] [[Category:Almost Done]] [[Category:Archive]] [[Category:PC]] | ||
Revision as of 22:07, 6 May 2006
Back to index | Edit this page
BXP
{{GRAFPageMisc{{ subst:#if: Archive | {{subst:!}}Archive }}{{ subst:#if: Little Endian | {{subst:!}}Little Endian }}}}
Format Specifications
// ARCHIVE HEADER
- char {8} - Header ("BXP" + (byte)2 + "ARCH")
- uint64 {8} - Archive Length [+32]
- uint64 {8} - Padding (88,39,255,135,206,225,196,1)
- uint64 {8} - null
// ARCHIVE INDEX
- char {8} - Header ("BXP" + (byte)2 + "INDX")
- uint64 {8} - Unknown
- uint64 {8} - Padding (88,39,255,135,206,225,196,1)
- uint64 {8} - null
- byte {16} - CRC?
- byte {16} - CRC? (same as above field)
// FOLDER TREE
- char {8} - Header ("BXP" + (byte)2 + "TREE")
- uint64 {8} - Offset to the "// FILE DATA" [+128] (ie relative to "// DIRECTORIES")
- uint64 {8} - Padding (88,39,255,135,206,225,196,1)
- uint64 {8} - null
// DIRECTORIES
- // for each directory
- char {8} - Header ("BXP" + (byte)2 + "SDIR")
- uint64 {8} - Unknown Length/Offset
- byte {16} - null
- uint32 {4} - Number Of Sub-Directories in this directory
- uint32 {4} - Number Of Files in this directory
- uint64 {8} - Length Of Filename Directory Component (length of subDirName+null + fileNames+nulls)
- byte {16} - null
- char {8} - Header ("BXP" + (byte)2 + "SDIR")
- // for each sub-directory in this directory
- uint32 {4} - null
- uint32 {4} - Relative Offset To This Directory? (32) (relative to the start of this subDirEntry)
- uint32 {4} - Hash?
- char {X} - Sub-Directory Name
- byte {1} - null Sub-Directory Name Terminator
- byte {X} - null Padding to a multiple of 32 bytes
- uint32 {4} - null
- // for each sub-directory in this directory
- // for each file in this directory
- uint64 {8} - Filename Offset (relative to the start of the filename directory)
- uint64 {8} - null
- byte {16} - CRC?
- uint32 {4} - null
- uint32 {4} - Unknown (1)
- uint64 {8} - null
- uint64 {8} - File Length (not including the file header fields?)
- uint64 {8} - File Offset (relative to the start of the file data)
- uint64 {8} - Filename Offset (relative to the start of the filename directory)
- // for each file in this directory
- // repeat for each sub-directory (repeat from "// for each directory")
- // repeat for each sub-directory (repeat from "// for each directory")
- byte {32} - CRC?
// FILENAME DIRECTORY
- // for each file
- char {X} - Filename
- byte {1} - null Filename Terminator
- char {X} - Filename
- byte {X} - null Padding to a multiple of 32 bytes
// FILE DATA
- char {8} - Header ("BXP" + (byte)2 + "DATA")
- uint64 {8} - Total Length Of File Data (length of everything in "// for each file")
- uint64 {8} - Padding (88,39,255,135,206,225,196,1)
- uint64 {8} - null
- // for each file
- char {8} - Header ("BXP" + (byte)2 + "FILE")
- uint64 {8} - File Length (length of "X - File Data" only) [+30]
- uint64 {8} - CRC?
- uint32 {4} - null
- uint32 {4} - Unknown (1)
- byte {X} - File Data
- byte {X} - null Padding to a multiple of 32 bytes
- char {8} - Header ("BXP" + (byte)2 + "FILE")
Notes and Comments
None
MultiEx BMS Script
Not written yet
Supported by Programs
Documentation
None
Games
- 3D Sex Villa *.bxp