Well the system i use is a number it reads the number out of a text file and then loads that tile number out of a giant tilesheet. It takes a bit of math though.
Here is one of my map files. Hope it may help.
MUSIC/Kim.mp3
Sybian Village
<Ground>
9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,
9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,
9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,
9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,
9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,
9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,
9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,
9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,
9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,
9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,
9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,
9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,
9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,
9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,
9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,
<Mask>
19,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,15,0,25,26,26,26,26,26,26,26,27,0,0,18,0,0,0,
0,22,0,0,0,33,34,34,34,34,34,34,34,35,0,0,0,0,0,0,
0,0,14,0,0,33,34,34,34,34,34,34,34,35,0,0,0,0,19,0,
0,22,0,29,0,41,42,42,42,42,42,42,42,43,15,0,0,0,0,0,
0,0,0,0,0,0,0,18,0,28,0,0,0,30,30,30,30,0,0,0,
0,0,0,0,32,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,22,0,0,0,0,0,0,0,0,0,0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