1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268 |
; Number required for registered version of MapWin32 Pro,
; see mapwin32pro.html for details
; 00000000=MappyWin32 full version
; 00000001=MapWin32 Pro demo version (no save, some exports disabled)
; ????????=MapWin32 Pro full version (valid numbers only)
;
; Enter registration number on the next line:
proregnumber=00000000
;
;
; Starting width and height of editor in pixels
; It is best to leave this at 640x480 and use the maximize button
; to the left of the 'X' close gadget to fill the screen
;
width=640
height=480
;
;
; graphicsmem:
; Amount of memory (in mb) to use for graphics tiles, should be higher than
; the amount listed in Map Properties for Graphics/1mb
;
graphicsmem=8
;
;
; folder:
; Folder used for file requests on first use
; . is the current folder
; blank (folder=) is the windows default (My Documents or last folder)
; otherwise, a normal path like: folder=c:\maps
;
folder=.
;
;
; wlayout:
; -1=Windows are not resized when MappyWin32 is minimized, resized etc
; 0=Map window on left, block window on right
; 1=Block window on left, map window on right
;
wlayout=0
;
;
; panelpro: (MapWin32 Pro only)
; 0 = No panel (right click block window to change panel)
; 1 = Cluster style panel (default)
; 2 = Bar style panel
;
panelpro=1
;
prographbg=1
sortobjects=0
;
;
;
; panelzoom:
; 0 = Zoom in Block window always x1
; 1 = Zoom in Block window same as map window
;
panelzoom=1
;
;
; luafilemenu:
; 0=disabled
; 1=enabled, file menu options are replaced with luascripts,
; for example: File: New map would run luascr/luafilenewmap.lua,
; File: Open would run luascr/luafileopen.lua etc (if they exist).
;
luafilemenu=0
;
;
; lua scripts
; these are files in the luascr folder, they are textfiles that allow
; custom functions to be written (see www.lua.org for language details)
; to add them list them here preceded by lua01 to lua16, they appear
; in the Custom menu. You can also drag and drop .lua scripts onto the editor
;
lua01=Export Flash actionscript.lua
lua02=Export binary file.lua
lua03=Set palette index.lua
lua04=Swap palette indexes.lua
lua05=Solid rectangle.lua
lua06=Autofringe.lua
lua07=Read textfile.lua
lua08=Export GBA 16x16 table.lua
lua09=Tile graphic test.lua
lua10=Random distribution.lua
lua11=Merge layers.lua
lua12=Show mouse coords.lua
lua13=Find block in map.lua
lua14=Set colourkey transparency.lua
lua15=Set Text Strings.lua
lua16=Export xml.lua
;
;
; function keys
; you can set function keys F1 to F10 to any CM_ function, with the
; corresponding CM_ number (ie: help is 119). See mapwin.htm 'shortcuts'
;
keyF1=119
;
;
; numeric keys (main keyboard)
; can be defined to CM_ functions like function keys
;
key1=123
key2=124
key3=125
;
;
; mousebuttons:
; use lbutton, mbutton, rbutton, xbutton1 etc
; values 0 to 10 are from the list in custom:mousebuttons
; values 100 on are commands (like with keys), example:
; lbutton=400 runs lua script 1 on click
;
;
; thumbtrack:
; 0 = map display does not update when scrollbars are being dragged
; 1 = map display updates when scrollbars are being dragged
;
thumbtrack=1
;
;
; showuser (also in MapTools menu):
; 0=off
; 1 to 7 = show a user field (1 to 7) on top of the blocks if not 0
; 8 = show flags over blocks
;
showuser=0
;
;
; wnesmode:
; 0=off, 1 = on. For 3D libraries like MappyGL shows red lines for vertical walls
;
wnesmode=0
;
;
; tbarname:
; 0=off (Titlebar shows 'Mappy - Win32')
; 1=on (shows map name then 'MappyWin32')
;
tbarname=1
;
;
; tbarinfo:
; 0=Map window has 'Map Editor' in titlebar at all times
; 1=Map window has current 'X #/#, Y #/#, Block/Anim #'
; 2=Map window has current 'X #/#, Y #/#, Block/Anim # (blockdetails)'
; 3=Map window has current 'X #/#, Y #/#, Layer #/#, Block/Anim #'
; 4=Map window has current 'X #/#, Y #/#, Layer #/#, Block/Anim # (blockdetails)'
; 5=Map window has current 'X #/#, Y #/#, Layer #/#, Block/Anim # [TextString]'
; 6=Map window has current 'X #/#, Y #/#, [Layer name] #/#, Block/Anim # [TextString]'
;
tbarinfo=6
;
;
; grid:
; 0=No grid
; 1=Block under mousepointer is highlighted in Map window
; 2=Block under mousepointer is highlighted in Map window and tiles
; in Block editor have a border
;
grid=1
;
;
; zoom:
; -4=Blocks are displayed 1/4 actual size
; -2=Blocks are displayed half actual size
; 1=Blocks are displayed actual size
; 2=Blocks are displayed 2x actual size
; 4=Blocks are displayed 4x actual size
;
zoom=1
;
;
; zmstyle: (zoom style)
; 0=software (experimental)
; 1=hardware
;
zmstyle=0
;
;
; picklayer:
; #=Layer to toggle with 'o' key
;
picklayer=1
;
;
; flippedtiles: (recommended only for GBA, disables iso split pillars)
; 0=flipping of tiles disabled
; 1=flipping of tiles enabled (last 2 boxes in other block properties)
;
flippedtiles=0
;
;
; rotatedtiles: (recommended only for MappyGL, disables iso split pillars)
; 0=rotating of tiles disabled
; 1=rotating of tiles enabled (user7 box = 1, 2 or 3 in block properties)
;
rotatedtiles=0
;
;
; trans...:
; transparency colours (all values 0 to 255)
;
transred=255
transgreen=0
transblue=255
trans8bit=0
;
;
; apmode: (anim preview default mode)
; string must be exactly as in preview setup
;
apmode="640*480 8bpp ?hz"
;
;
; importskip:
; 0=all blocks imported (recommended for .MAP files)
; 1=all blocks except entirely black blocks are imported
; 2=first block imported if not black, all other blocks imported, until
; all further blocks are black (recommended for .FMP files)
;
importskip=2
;
;
; simpleimport:
; 0=off Questions are asked about how to import block graphics
; 1=on MappyWin32 calculates how to import block graphics
;
simpleimport=1
;
;
; textexportopts:
; These correspond to the checkboxes in the export as text dialogue
; CONST,CMAP,ANIBLKSTR,MAPARRAY,BLKGFX,MA2D,MA1D,MAALL,MASINGLE,
; MERGEFLIP,16COL,CMAPRGB,CMAPGBA,ANIBLKSTRCUT,UNUSED,RESOLVEBG,
; GBA8X816,USEPREFIX,OBJSTR,OBJSTRCUT,AREASTR,0,0,0,0
; default: textexportopts=110101010000100111000000
;
textexportopts=110101010000100111000000
;
;
; csvadjust:
; #=adjustment value for map arrays when exporting .CSV and .TXT
;
csvadjust=0
;
;
; csvusebg:
; 0=use block structure number in array when exporting .CSV
; 1=use BG field in array when exporting .CSV
;
csvusebg=1
;
;
; .MAP format values
; see docs 'The MAP file format'
;
maptype="LW4H4A4-1"
mapdefw=100
mapdefh=100
mapdefbw=0
mapdefbh=32
mapdefBMP="nodefault.bmp"
mapstaggerx=0
mapstaggery=0
mapclickmask=0 |