Giants Citizen Kabuto GZP: Difference between revisions
Jump to navigation
Jump to search
imported>WATTO No edit summary |
imported>Mr.Mouse |
||
| Line 34: | Line 34: | ||
=== MultiEx BMS Script === | === MultiEx BMS Script === | ||
<pre> | |||
Get DUMMYL Long 0 ; | |||
Get TAILOFF Long 0 ; | |||
GoTo TAILOFF 0 ; | |||
Get DUMMYL Long 0 ; | |||
Get FILECNTL Long 0 ; | |||
SavePos TAILOFF 0 ; | |||
Do ; | |||
GoTo TAILOFF 0 ; | |||
Get FILESIZE Long 0 ; | |||
Get DUMMYL Long 0 ; | |||
Get DUMMYL Long 0 ; | |||
Get FILEOFF Long 0 ; | |||
Math FILEOFF += 16 ; | |||
SavePos TAILOFF 0 ; | |||
Math TAILOFF += 2 ; | |||
GoTo TAILOFF 0 ; | |||
Get FILENAME String 0 ; | |||
SavePos TAILOFF 0 ; | |||
Log FILENAME FILEOFF FILESIZE 0 0 ; | |||
Math EXTRCNT += 1 ; | |||
While EXTRCNT <> FILECNTL ; | |||
</pre> | |||
=== Compatible Programs === | === Compatible Programs === | ||
* [[Game Extractor|Game Extractor]]<br> | * [[Game Extractor|Game Extractor]]<br> | ||
Revision as of 21:06, 23 May 2005
Choose archive extension:
GZP
- Format Type : Archive
- Endian Order : Little Endian
Format Specifications
uint32 {4} - Unknown
uint32 {4} - Directory Offset
byte {X} - File Data
// Directory
- uint32 {4} - Unknown
- uint32 {4} - Number Of Files
- // for each file
- uint32 {4} - File Length
- uint32 {4} - Unknown
- uint32 {4} - Unknown
- uint32 {4} - File Offset [+16]
- uint16 {2} - Unknown
- char {X} - Filename
- byte {1} - null Filename Terminator
- uint32 {4} - File Length
MultiEx BMS Script
Get DUMMYL Long 0 ; Get TAILOFF Long 0 ; GoTo TAILOFF 0 ; Get DUMMYL Long 0 ; Get FILECNTL Long 0 ; SavePos TAILOFF 0 ; Do ; GoTo TAILOFF 0 ; Get FILESIZE Long 0 ; Get DUMMYL Long 0 ; Get DUMMYL Long 0 ; Get FILEOFF Long 0 ; Math FILEOFF += 16 ; SavePos TAILOFF 0 ; Math TAILOFF += 2 ; GoTo TAILOFF 0 ; Get FILENAME String 0 ; SavePos TAILOFF 0 ; Log FILENAME FILEOFF FILESIZE 0 0 ; Math EXTRCNT += 1 ; While EXTRCNT <> FILECNTL ;