Skip to content

Instantly share code, notes, and snippets.

@1ec5 1ec5/aer.txt
Created Oct 4, 2018

Embed
What would you like to do?
Notes about the .aer format
XDR w/ 2B little-endian string lengths
== Syntax ==
TYPE012345:key1=value1:key2:value2:...:
TYPE012345:key1len1\0value1
value1 includes trailing \0
Coordinates -?\d\.\d{6}e\+\d{3}
- 16 coordinates stored in modm
Arrays count,item1,item2,item3,...
- Example: 3,x,y,z
URLs http|//...
yacp|//...
== Object types ==
ACTR Actor (entrance)
oRnt orientation
stl2 array of ?
stid array of ?
lmls array of ?
cn3s array of ?
oRNt orientation again?
lkdr coordinates of ?
AHTX ? texture
texr texture?
sizu size u
sizv size v
rota rotation
offu offset u
offv offset v
cnpr 1=?
scty array of ?
oRnt orientation
stl2 array of ?
stid array of object types
lmls array of ?
cn3s array of ?
lite 1=lit
ANK3 Anchor
oRnt orientation
stl2 array of ?
stid array of object types
lmls array of ?
cn3s array of ?
lite 1=lit
lock locked (1-3)
obnm object name
BOX3 Box
stl2 array of ?
stid array of object types
lmls array of ?
cn3s array of VSGP IDs
modm array of ?
lite 1=lit
lock locked (1-3)
subt 1=subtractive
obnm object name
CNE3 Cone
btwi bottom width (radius?)
tpwi top width (radius?)
facs number of faces
nwst array of ?
stl2 array of ?
stid array of object types
lmls array of ?
cn3s array of ?
lock locked (1-3)
obnm object name
subt 1=subtractive
COL3 Column (cylinder)
widt width (radius?)
facs number of faces
nwst ? (0-1)
stl2 array of ?
stid array of object types
lmls array of ?
cn3s array of ?
lock locked (1-3)
obnm object name
CON3 Welding connector
vals array of values
FLR3 Floor
plny plane y coordinate
thik thickness
stl2 array of ?
stid array of object types
lmls array of ?
cn3s array of ?
lock locked (1-3)
obnm object name
LTMP Lightmap
face face number of object
widt width
hite height
vals array of lighting values (textures?)
HEAD Header
KIND format
VERS format version
DATE dd/mm/yyyy
NTyp array of object types
INDX index of entrance in this file?
DFmt A=ASCII; B=binary
Comp compression algorithm
LGCT ?
lu.. ?
ilbo ?
ildl ?
illl ?
isbo ?
isdl ?
isll ?
ilsu ?
hr.. ?
bo.. ?
dl.. ?
ll.. ?
mn.. ?
mm.. ?
...
MTOB MTX object
isab 0=relative; 1=absolute
urln URL to MTX object
size dimensions
stl2 array of ?
stid array of object types
lmls array of ?
cn3s array of ?
jvsr URL to JavaScript resource
NEN3 Entry point?
name string ("Viewer")
icon URL to icon
oRnt orientation
stl2 array of ?
stid array of object types
lmls array of ?
cn3s array of ?
lite 1=lit
obnm object name
PORT Portal
stl2 array of ?
stid array of object types
lmls array of ?
cn3s array of ?
modm array of ?
lite 1=lit
obnm object name
wrul URL to world
RFP3 ?
size dimensions
stl2 array of ?
stid array of object types
lmls array of ?
cn3s array of ?
lite 1=lit
SLB3 Slab
thik thickness
stl2 array of ?
stid array of object types
lmls array of ?
cn3s array of ?
lock locked (1-3)
STAH Static ?
ahtx array of ?
aplt ? less than
aple ? less than or equal to
islg is large (0-1)
STCL Static color
sred red
sgrn green
sblu blue
aplt ? less than
aple ? less than or equal to
islg is large (0-1)
STR3 Stairs
stl2 array of ?
stid array of object types
lmls array of ?
cn3s array of ?
lock locked (1-3)
obnm object name
STTX Static texture
texr texture
sizu size u
sizv size v
rota rotation
offu offset u
offv offset v
cnpr 1=?
scty array of ?
aplt ? less than
aple ? less than or equal to
islg is large? (0-1)
TRSL Trestle?
thik thickness
stl2 array of ?
stid array of object types
lmls array of ?
cn3s array of ?
lock locked (1-3)
obnm object name
TXTR Texture
isab 0=relative; 1=absolute
avcl ID, used in LTMPs?
urln URL to texture image
VSGP ?
junc junction
idnt array of object types
list array of ?
modm array of ?
lock locked (1-3)
obnm object name
jvsr URL to JavaScript resource
WAL3 Wall
thik thickness
stl2 array of ?
stid array of object types
lmls array of ?
cn3s array of ?
WRLD World
vers version
wlmn world name
irur IRC URL
irtc IRC channel name
iref IRC reference (URL to webpage)
iruc IRC ?
idnt list of object types
list list of ?
rfp3 list of ?
actr list of ?
stl2 list of ?
stid list of object types
entr Entrance
wurl URL to Atmosphere world file
ennm entrance name
icon icon
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.