k, here's all my notes for the .emf format.
Creds to Sausage for the ID's and such.
kgo make a map editor someone :)
EMF Format:
// Header
EMF_revisionNumber:4b_mapName:24b_mapType:1b_1_1_1_1_254_width:1b_he
ight:1b_fillTile:2b_map:1b_2_1_1_1_1_1_1_
// Layer - Specification
totalTiles:1b_
{yLoc:1b_totalTiles:1b
{xLoc:1b_spec:1b}}
// Layer - Warp Tiles
totalTiles:1b
{yLoc:1b_totalTiles:1b
{xLoc:1b_mapID:2b_warpX:1b_warpY:1b_level:1b_door:2b}}
// Layer - Ground (gfx003.egf)
totalTiles:1b
{yLoc:1b_totalTiles:1b
{xLoc:1b_gfxID:2b}}
// Layer - Objects (gfx004.egf)
totalTiles:1b
{yLoc:1b_totalTiles:1b
{xLoc:1b_gfxID:2b}}
// Layer - Mask (gfx005.egf)
totalTiles:1b
{yLoc:1b_totalTiles:1b
{xLoc:1b_gfxID:2b}}
// Layer - Down Wall (gfx006.egf)
totalTiles:1b
{yLoc:1b_totalTiles:1b
{xLoc:1b_gfxID:2b}}
// Layer - Right Wall (gfx006.egf)
totalTiles:1b
{yLoc:1b_totalTiles:1b
{xLoc:1b_gfxID:2b}}
// Layer - Ceiling (gfx007.egf)
totalTiles:1b
{yLoc:1b_totalTiles:1b
{xLoc:1b_gfxID:2b}}
// Layer - Counter/Small Wall? (?.egf)
totalTiles:1b
{yLoc:1b_totalTiles:1b
{xLoc:1b_gfxID:2b}}
// Layer - ? (?.egf)
totalTiles:1b
{yLoc:1b_totalTiles:1b
{xLoc:1b_gfxID:2b}}
1_1
revisionNumber:
Sent to the client, to check if the latest map needs to be sent.
mapName:
Name of the map seen in the sys tab.
mapType:
0 = Normal
3 = PK
width/height:
Size of the map
fillTile:
Default ground tile, covers entire map
map:
0 = Can't use map, 1+= Can use map.
spec:
0 = Wall
1 = Chair (Bottom)
2 = Chair (Left)
3 = Chair (Right)
4 = Chair (Up)
5 = Chair (Bottom + Right)
6 = Chair (Up + Left)
7 = Chair (Any)
8 = Jammed Door?
9 = Chest
10 = Fake [!]
11 = [!]?
12 = Fake [!]
13 = [!]?
14 = [!]?
15 = [!]?
16 = Bank vault
17 = NPC Boundary
18 = Map Edge
19 = Fake wall
20-27 = Town Board
28 = Jukebox
29 = Stepping Stone
30 = Water
32 = Arena/Arena Queue
33 = Ambient Sound source
34 = Spikes
35 = Spikes
36 = Spikes
door:
0 = No Door
1 = Door
2+= Locked Door (KeyID)
Extra Notes:
Layer names from endless-online.com/support-client.html
ontop layer
top layer
wall layer
desk layer
object layer
mask layer
blended layer
ground layer
Edit:
Guess I should tell you how my notes work >.>
Um... MESSAGE:xb
MESSAGE = Name of the byte
x = How many bytes long it is
Eg. name:24b
Is 24 bytes long.
Parts surrounded in {} means it repeats.