![]() |
|
|||||||
| Map Making Discuss everything related to creating new levels here. |
![]() |
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
I peeked into Altitude's map files out of curiosity and found it's a very straightforward and efficient format, so I'll describe it here in case anyone's interested.
The entire file is a compressed LZMA stream (that's what the 7z archiver uses). So for instance if you have 1bd_core.altx, you can do Code:
7z x 1bd_core.altx Code:
int32 number of files (let's call it N)
-----------------------------
N filename records, tightly packed: no word alignment.
{
int16 length
byte[] filename, no trailing zero
}
-----------------------------
array of N file lengths (int32). no alignment.
-----------------------------
data for file 1
-----------------------------
...
-----------------------------
data for file N
The directory structure corresponds to what you can see in Altitude/editor/maps/_imported_map. At a minimum it will be: 1de_imported_map.alte _derived/dist/.image/pck.txt _derived/dist/.sound/convert.txt _derived/dist/.sound/precache.txt _config/image-descriptors.txt The name of the .alte file doesn't seem to matter; most .altx files contain a corresponding .alte as first entry, but some have "1de_imported_map.alte", and 1de_lazer.altx contains obj_lazer.alte The contents of most files is XML encoded, but interestingly _derived/dist/.image/pck.txt appears to consist of random-looking binary data. Last edited by 19 cm; 05-12-2013 at 06:53 AM. |
![]() |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| SL4 playoffs format discussion | andy | League Organization | 13 | 07-10-2011 09:55 AM |
| Sky League 4 format | andy | League Organization | 42 | 05-31-2011 10:27 AM |
| New format for SL4/ EABL2 | beefheart | League Organization | 18 | 03-30-2011 01:08 AM |
| Map file specification | §teve | Map Making | 6 | 06-08-2010 01:44 AM |
| altitude midi file? | omnicron245 | The Water Cooler | 0 | 10-26-2009 04:03 AM |