Ascendancy: Difference between revisions
Jump to navigation
Jump to search
(Added details for subformats) |
imported>Legolas558 m (added link to up to date MODguide) |
||
| Line 86: | Line 86: | ||
==== FNT ==== | ==== FNT ==== | ||
<!-- I don't have time for this now, but: -->From: http://80.126.249.96/users/mark/public/ascendancy/documentation/fnt.html | <!-- I don't have time for this now, but: -->From: http://80.126.249.96/users/mark/public/ascendancy/documentation/fnt.html | ||
== Related Pages == | |||
* [http://www.trascendancy.altervista.org/downloads.php?f=asc1-modguide.zip Ascendancy I Technical Information (MODguide)] | |||
Revision as of 03:36, 26 March 2006
Choose archive extension:
COB
- Format Type : Archive
- Endian Order : Little Endian
Format Specifications
uint32 {4} - Number Of Files
// for each file
- char {50} - Filename (null)
// for each file
- uint32 {4} - File Offset
byte {X} - File Data
MultiEx BMS Script
Set DUMMYL Long 50 ; Get FILECNTL Long 0 ; Set DUMMYL Long DUMMYL ; Math DUMMYL *= FILECNTL ; SavePos FILESTART 0 ; SavePos TAILSIZEU 0 ; Math TAILSIZEU += DUMMYL ; Math FILECNTL -= 1 ; Do ; GoTo FILESTART 0 ; GetDString FILENAME 50 0 ; SavePos FILESTART 0 ; GoTo TAILSIZEU 0 ; Get FILEOFF Long 0 ; SavePos TAILSIZEU 0 ; Get FILESIZE Long 0 ; Math FILESIZE -= FILEOFF ; Log FILENAME FILEOFF FILESIZE 0 0 ; Math EXTRCNT += 1 ; While EXTRCNT <> FILECNTL ; GoTo FILESTART 0 ; GetDString FILENAME 50 0 ; SavePos FILESTART 0 ; GoTo TAILSIZEU 0 ; Get FILEOFF Long 0 ; GoTo EOF 0 ; SavePos FILESIZE 0 ; Math FILESIZE -= FILEOFF ; Log FILENAME FILEOFF FILESIZE 0 0 ;
Compatible Programs
Subformats
Ascendancy has a number of proprietary formats in the COB file. All of the non-audiovisual stuff is stored as CSV. Some formats are defined below:
RAW
Raw, 22050Hz PCM audio. (I'll look up endianness and other details ASAP)
VOC
Creative VOiCE files.
SHP
Ship visuals. All little-endian Main file header:
Offset Size Value 0x00 4 bytes Magic number: 0x30312E31 0x04 4 bytes Number of ship images in file 0x08 4 bytes Offset into file of color palette for ship 1 0x0C 4 bytes Offset into file of image for ship 1 0x10 4 bytes Offset into file of color palette for ship 2 0x14 4 bytes Offset into file of image for ship 2
From: http://80.126.249.96/users/mark/public/ascendancy/documentation/shp.html
FNT
From: http://80.126.249.96/users/mark/public/ascendancy/documentation/fnt.html