Star Wars - Battle For Naboo BIN: Difference between revisions
Jump to navigation
Jump to search
imported>WATTO No edit summary |
imported>Ikskoks m (Ikskoks moved page Star Wars - Battle For Naboo to Star Wars - Battle For Naboo BIN) |
||
| (9 intermediate revisions by 2 users not shown) | |||
| Line 3: | Line 3: | ||
Choose archive extension: | Choose archive extension: | ||
== | == BIN == | ||
* ''' Format Type ''': Archive <br> | * ''' Format Type ''': Archive <br> | ||
| Line 29: | Line 29: | ||
=== MultiEx BMS Script === | === MultiEx BMS Script === | ||
<pre> | |||
Get FILESTART Long 0 ; | |||
Get FILEJMP Long 0 ; | |||
Set FILECNTL Long FILEJMP ; | |||
Math FILECNTL /= 32 ; | |||
Do ; | |||
GoTo FILESTART 0 ; | |||
Get FILEOFF Long 0 ; | |||
Get FILESIZE Long 0 ; | |||
Get DUMMYL Long 0 ; | |||
Get DUMMYL Long 0 ; | |||
GetDString FILENAME 16 0 ; | |||
SavePos FILESTART 0 ; | |||
Log FILENAME FILEOFF FILESIZE 0 0 ; | |||
Math EXTRCNT += 1 ; | |||
While EXTRCNT <> FILECNTL ; | |||
</pre> | |||
=== Compatible Programs === | === Compatible Programs === | ||
* [[MultiEx_Commander|MultiEx Commander]] | |||
* [[Game Extractor|Game Extractor]]<br> | * [[Game Extractor|Game Extractor]]<br> | ||
[[Category:File Format]] | |||
Latest revision as of 14:58, 21 January 2021
Choose archive extension:
BIN
- Format Type : Archive
- Endian Order : Little Endian
Format Specifications
uint32 {4} - Directory Offset
uint32 {4} - Directory Length
byte {X} - File Data
// Directory
- // for each file
- uint32 {4} - File Offset
- uint32 {4} - File Length
- uint32 {4} - Unknown
- uint32 {4} - Unknown
- char {16} - Filename (null)
- uint32 {4} - File Offset
MultiEx BMS Script
Get FILESTART Long 0 ; Get FILEJMP Long 0 ; Set FILECNTL Long FILEJMP ; Math FILECNTL /= 32 ; Do ; GoTo FILESTART 0 ; Get FILEOFF Long 0 ; Get FILESIZE Long 0 ; Get DUMMYL Long 0 ; Get DUMMYL Long 0 ; GetDString FILENAME 16 0 ; SavePos FILESTART 0 ; Log FILENAME FILEOFF FILESIZE 0 0 ; Math EXTRCNT += 1 ; While EXTRCNT <> FILECNTL ;