Pathologic VFS: Difference between revisions

From XentaxWiki
Jump to navigation Jump to search
imported>WATTO
No edit summary
imported>Ikskoks
m (Ikskoks moved page Pathologic to Pathologic VFS)
 
(11 intermediate revisions by 3 users not shown)
Line 12: Line 12:


<tt><b>
<tt><b>
char {4}&nbsp;&nbsp;&nbsp;&nbsp; - Header <font color="purple">(LP1C)</font> <br>  
 
uint32 {4}&nbsp;&nbsp; - null <br>  
==== Structure ====
uint32 {4}&nbsp;&nbsp; - <font color="red"> '' Number Of Files? '' </font> <br>  
 
: Header <br>
: FAT <br>
: Data <br>
: [''FAT #2 Header''] <br>
: [''FAT''] <br>
: [''Data''] <br>
: ... <br>
<br>
<br>
<font color="blue"> ''' // for each file ''' </font> <br>  
==== Header ====
: byte {1}&nbsp;&nbsp;&nbsp;&nbsp; - Filename Length <br>  
: char {4}&nbsp;&nbsp;&nbsp;&nbsp; - Header <font color="purple">(LP1C)</font> <br>  
: uint32 {4}&nbsp;&nbsp; - Number of subdirs <br>
: uint32 {4}&nbsp;&nbsp; - Number of files <br>
==== FAT ====
: byte {1}&nbsp;&nbsp;&nbsp;&nbsp; - Filename length <br>  
: char {X}&nbsp;&nbsp;&nbsp;&nbsp; - Filename <br>  
: char {X}&nbsp;&nbsp;&nbsp;&nbsp; - Filename <br>  
: uint32 {4}&nbsp;&nbsp; - File Length <br>  
: uint32 {4}&nbsp;&nbsp; - File Length <br>  
: uint32 {4}&nbsp;&nbsp; - File Offset <br>  
: uint32 {4}&nbsp;&nbsp; - File Offset <br>  
: uint64 {8}&nbsp;&nbsp; - <font color="red"> '' Hash? '' </font> <br>  
: uint64 {8}&nbsp;&nbsp; - <font color="red"> '' UID? '' </font> <br>  
<br>
==== Data ====
byte {X}&nbsp;&nbsp;&nbsp;&nbsp; - File Data <br>  
: byte {X}&nbsp;&nbsp;&nbsp;&nbsp; - File data <br>
==== FAT #2 Header ====
: byte {1}&nbsp;&nbsp;&nbsp;&nbsp; - Next Directory Name length (w/o trailing '/')<br>
: uint32 {4}&nbsp;&nbsp; - <font color="red"> '' UID? '' </font> <br>
: uint32 {4}&nbsp;&nbsp; - Number of files in that subdir <br>
</b></tt>
</b></tt>


=== MultiEx BMS ===  
=== MultiEx BMS ===  
Not written yet<br><br>
Not written yet<br><br>
<br>
<br>
Line 33: Line 47:


* [[Game Extractor|Game Extractor]]<br>
* [[Game Extractor|Game Extractor]]<br>
* [http://www.timus.ru/bank/folder.aspx?path=%2fshared%2fgame_res_extrs%2fGUI%2f LP1C Extractor (path_vfs.exe)] (no docs yet, <font color="red">for internal use, so no warranty at all</font>)
[[Category:Malformed Page]]
[[Category:File Format]]

Latest revision as of 12:54, 17 January 2021

Choose archive extension:

VFS


Format Specifications

Structure

Header
FAT
Data
[FAT #2 Header]
[FAT]
[Data]
...


Header

char {4}     - Header (LP1C)
uint32 {4}   - Number of subdirs
uint32 {4}   - Number of files

FAT

byte {1}     - Filename length
char {X}     - Filename
uint32 {4}   - File Length
uint32 {4}   - File Offset
uint64 {8}   - UID?

Data

byte {X}     - File data

FAT #2 Header

byte {1}     - Next Directory Name length (w/o trailing '/')
uint32 {4}   - UID?
uint32 {4}   - Number of files in that subdir

MultiEx BMS

Not written yet


Supported Programs