Map Editor

RD Core / Commit #3

Commit Map Editor

Alex Alex committed 18/10/2026 23:40 main Patch
436 files +250,791 -0
A RD_Map_Editor/data/clients.xml +352-0 View file
@@ -0,0 +1,352 @@
1+<client_config>
2+ <!--
3+ This file should only be edited by OT maintainers.
4+ If you don't know what you're doing, changing anything
5+ in this file
6+
7+ ** CAN BREAK ANY MAP YOU OPEN PERMANENTLY. **
8+ -->
9+
10+ <otbs>
11+ <!--
12+ Just list all OTB versions here
13+ This is only used as a mapping for parsing the versions later on
14+ -->
15+ <otb client="7.40" version="1" id="1"/>
16+ <otb client="7.50" version="1" id="1"/>
17+ <otb client="7.55" version="1" id="2"/>
18+ <otb client="7.60" version="1" id="3"/>
19+ <otb client="7.70" version="1" id="3"/>
20+ <otb client="7.80" version="1" id="4"/>
21+ <otb client="7.90" version="1" id="5"/>
22+ <otb client="7.92" version="1" id="6"/>
23+ <otb client="8.00" version="2" id="7"/>
24+ <otb client="8.10" version="2" id="8"/>
25+ <otb client="8.11" version="2" id="9"/>
26+ <otb client="8.20" version="3" id="10"/>
27+ <otb client="8.30" version="3" id="11"/>
28+ <otb client="8.40" version="3" id="12"/>
29+ <otb client="8.41" version="3" id="13"/>
30+ <otb client="8.42" version="3" id="14"/>
31+ <otb client="8.50" version="3" id="15"/>
32+ <otb client="8.54 (bad)" version="3" id="16"/>
33+ <otb client="8.54" version="3" id="17"/>
34+ <otb client="8.55" version="3" id="18"/>
35+ <otb client="8.60 (old)" version="3" id="19"/>
36+ <otb client="8.60" version="3" id="20"/>
37+ <otb client="8.61" version="3" id="21"/>
38+ <otb client="8.62" version="3" id="22"/>
39+ <otb client="8.70" version="3" id="23"/>
40+ <otb client="8.71" version="3" id="24"/>
41+ <otb client="8.72" version="3" id="25"/>
42+ <otb client="8.73" version="3" id="26"/>
43+ <otb client="8.74" version="3" id="26"/>
44+ <otb client="9.00" version="3" id="27"/>
45+ <otb client="9.10" version="3" id="28"/>
46+ <otb client="9.20" version="3" id="29"/>
47+ <!-- No 9.30 OTB -->
48+ <otb client="9.40" version="3" id="30"/>
49+ <otb client="9.44" version="3" id="31"/>
50+ <otb client="9.44.v2" version="3" id="32"/>
51+ <otb client="9.44.v3" version="3" id="33"/>
52+ <otb client="9.44.v4" version="3" id="34"/>
53+ <otb client="9.46" version="3" id="35"/>
54+ <otb client="9.50" version="3" id="36"/>
55+ <otb client="9.52" version="3" id="37"/>
56+ <otb client="9.53" version="3" id="38"/>
57+ <otb client="9.54" version="3" id="39"/>
58+ <otb client="9.60" version="3" id="40"/>
59+ <otb client="9.61" version="3" id="41"/>
60+ <otb client="9.63" version="3" id="42"/>
61+ <otb client="9.70" version="3" id="43"/>
62+ <otb client="9.80" version="3" id="44"/>
63+ <otb client="9.81" version="3" id="45"/>
64+ <otb client="9.82" version="3" id="46"/>
65+ <otb client="9.83" version="3" id="47"/>
66+ <otb client="9.85" version="3" id="48"/>
67+ <otb client="9.86" version="3" id="49"/>
68+ <otb client="10.10" version="3" id="50"/>
69+ <otb client="10.20" version="3" id="51"/>
70+ <otb client="10.21" version="3" id="52"/>
71+ <otb client="10.30" version="3" id="53"/>
72+ <otb client="10.31" version="3" id="54"/>
73+ <otb client="10.41" version="3" id="55"/>
74+ <otb client="10.77" version="3" id="56"/>
75+ <otb client="10.98" version="3" id="57"/>
76+ <otb client="10.100" version="3" id="58"/>
77+ <otb client="12.71" version="3" id="59"/>
78+ <otb client="12.81" version="3" id="60"/>
79+ <otb client="12.85" version="3" id="61"/>
80+ <otb client="12.86" version="3" id="62"/>
81+ <otb client="12.87" version="3" id="63"/>
82+ <otb client="12.90" version="3" id="64"/>
83+ <otb client="13.10" version="3" id="65"/>
84+ <otb client="13.20" version="3" id="66"/>
85+ </otbs>
86+
87+ <clients>
88+<!--
89+ List all client versions here
90+
91+ name is the name that's displayed in the UI for this version.
92+
93+ otb is what otb file it uses (see above). More than one client
94+ using the same otb version WILL NOT WORK
95+
96+ Tag the ones that can be selected in the UI with visible
97+
98+ Tag the ONE that is the default when the editor opens up on the
99+ first time with default="true"
100+
101+ otbm - There can be multiple otbm subtags, list what map version
102+ that client version uses. If multiple, set one as default="true"
103+ and the editor will use that one as the default for new maps.
104+ Otherwise the first one will be preferred.
105+
106+ extensions - Tag with range of extensions that version should load.
107+ If you set it for to=8.20 for example, all made extension for 8.20
108+ and later will be loaded
109+
110+ data - The .dat / .spr id (first four bytes). Used to recognize
111+ the client data files. The format is what version
112+ of the loader the editor should use (ie. last time data format
113+ changed)
114+-->
115+
116+ <client name="7.4" otb="7.40" visible="true" data_directory="740">
117+ <otbm version="1"/>
118+ <extensions from="7.4" to="7.4"/>
119+ <data format="7.4" dat="0x41BF619C" spr="0x41B9EA86"/>
120+ </client>
121+
122+ <client name="7.6" otb="7.60" visible="true" data_directory="760">
123+ <otbm version="1"/>
124+ <extensions from="7.6" to="7.6"/>
125+ <data format="7.55" dat="0x439D5A33" spr="0x439852BE"/>
126+ </client>
127+
128+ <client name="8.00" otb="8.00" visible="true" data_directory="800">
129+ <otbm version="2"/>
130+ <extensions from="8.00" to="8.00"/>
131+ <data format="7.8" dat="0x467FD7E6" spr="0x467F9E74"/>
132+ </client>
133+
134+ <client name="8.10" otb="8.10" visible="true" data_directory="810">
135+ <otbm version="2"/>
136+ <extensions from="8.10" to="8.10"/>
137+ <data format="7.8" dat="0x475D3747" spr="0x475D0B01"/>
138+ <data format="7.8" dat="0x47F60E37" spr="0x47EBB9B2"/>
139+ </client>
140+
141+ <client name="8.20 - 8.31" otb="8.20" visible="true" data_directory="820">
142+ <otbm version="2"/>
143+ <extensions from="8.20 - 8.31" to="8.20 - 8.31"/>
144+ <fucked_up_charges/> <!-- Special tag, only for this version -->
145+
146+ <data format="7.8" dat="0x486905AA" spr="0x4868ECC9"/>
147+ <data format="7.8" dat="0x486CCA2B" spr="0x4868ECC9"/>
148+ <data format="7.8" dat="0x489980A1" spr="0x489980A5"/>
149+ <data format="7.8" dat="0x48DA1FB6" spr="0x48C8E712"/>
150+ </client>
151+
152+ <client name="8.40" otb="8.40" visible="true" data_directory="840">
153+ <otbm version="3"/>
154+ <extensions from="8.20 - 8.31" to="8.40"/>
155+ <data format="7.8" dat="0x493D607A" spr="0x493D4E7C"/>
156+ <data format="7.8" dat="0x49B7CC19" spr="0x49B140EA"/>
157+ <data format="7.8" dat="0x49C233C9" spr="0x49B140EA"/>
158+ </client>
159+
160+ <client name="8.50" otb="8.50" visible="true" data_directory="850">
161+ <otbm version="3"/>
162+ <extensions from="8.20 - 8.31" to="8.50"/>
163+ <data format="7.8" dat="0x4A49C5EB" spr="0x4A44FD4E"/>
164+ <data format="7.8" dat="0x4A4CC0DC" spr="0x4A44FD4E"/>
165+ <data format="7.8" dat="0x4AE97492" spr="0x4A44FD4E"/>
166+ </client>
167+
168+ <client name="8.54 (bad)" otb="8.54 (bad)" visible="false" data_directory="854">
169+ <otbm version="3"/>
170+ <data format="7.8" dat="0x4B1E2CAA" spr="0x4B1E2C87"/>
171+ <data format="7.8" dat="0x4B28B89E" spr="0x4B1E2C87"/>
172+ </client>
173+
174+ <client name="8.54" otb="8.54" visible="true" data_directory="854">
175+ <otbm version="3"/>
176+ <extensions from="8.20 - 8.31" to="8.54"/>
177+ <data format="7.8" dat="0x4B1E2CAA" spr="0x4B1E2C87"/>
178+ <data format="7.8" dat="0x4B28B89E" spr="0x4B1E2C87"/>
179+ </client>
180+
181+ <client name="8.60 (old)" otb="8.60 (old)" visible="false" data_directory="860">
182+ <otbm version="3"/>
183+ <data format="8.6" dat="0x4C2C7993" spr="0x4C220594"/>
184+ </client>
185+
186+ <client name="8.60" otb="8.60" visible="true" data_directory="860">
187+ <otbm version="3"/>
188+ <extensions from="8.20 - 8.31" to="8.60"/>
189+ <data format="8.6" dat="0x4C2C7993" spr="0x4C220594"/>
190+ <data format="8.6" dat="0x4C6A4CBC" spr="0x4C63F145"/>
191+ </client>
192+
193+ <client name="8.70" otb="8.70" visible="true" data_directory="870">
194+ <otbm version="3"/>
195+ <otbm version="4"/>
196+ <extensions from="8.20 - 8.31" to="8.70"/>
197+ <data format="8.6" dat="0x4CFE22C5" spr="0x4CFD078A"/>
198+ </client>
199+
200+ <client name="9.10" otb="9.10" visible="true" data_directory="910">
201+ <otbm version="3"/>
202+ <extensions from="8.20 - 8.31" to="9.10"/>
203+ <data format="8.6" dat="0x4E12DAFF" spr="0x4E12DB27"/>
204+ </client>
205+
206+ <client name="9.20 - 9.31" otb="9.20" visible="true" data_directory="920">
207+ <otbm version="3"/>
208+ <extensions from="8.20 - 8.31" to="9.20 - 9.31"/>
209+ <data format="8.6" dat="0x4E807C08" spr="0x4E807C23"/>
210+ </client>
211+
212+ <client name="9.46" otb="9.46" visible="true" data_directory="946">
213+ <otbm version="3"/>
214+ <extensions from="8.20 - 8.31" to="9.46"/>
215+ <data format="8.6" dat="0x4F6B341F" spr="0x4F5DCEF7"/>
216+ </client>
217+
218+ <client name="9.54" otb="9.54" visible="true" data_directory="954">
219+ <otbm version="3"/>
220+ <extensions from="8.20 - 8.31" to="9.54"/>
221+ <data format="8.6" dat="0x4FD5956B" spr="0x4FD595B7"/>
222+ </client>
223+
224+ <client name="9.60" otb="9.60" visible="true" data_directory="960">
225+ <otbm version="3"/>
226+ <extensions from="8.20 - 8.31" to="9.60"/>
227+ <data format="9.6" dat="0x4FFA74CC" spr="0x4FFA74F9"/>
228+ </client>
229+
230+ <client name="9.70" otb="9.70" visible="true" data_directory="970">
231+ <otbm version="3"/>
232+ <extensions from="8.20 - 8.31" to="9.70"/>
233+ <data format="9.6" dat="0x5072A490" spr="0x5072A567"/>
234+ </client>
235+
236+ <client name="9.86" otb="9.86" visible="true" data_directory="986">
237+ <otbm version="3"/>
238+ <extensions from="8.20 - 8.31" to="9.86"/>
239+ <data format="9.6" dat="0x5170E904" spr="0x5170E96F"/>
240+ </client>
241+
242+ <client name="10.10" otb="10.10" visible="true" data_directory="1010">
243+ <otbm version="3"/>
244+ <extensions from="8.20 - 8.31" to="10.10"/>
245+ <data format="10.10" dat="0x51E3F8C3" spr="0x51E3F8E9"/>
246+ </client>
247+
248+ <client name="10.20" otb="10.20" visible="true" data_directory="1020">
249+ <otbm version="3"/>
250+ <extensions from="8.20 - 8.31" to="10.20"/>
251+ <data format="10.10" dat="0x5236F129" spr="0x5236F14F"/>
252+ </client>
253+
254+ <client name="10.21" otb="10.21" visible="true" data_directory="1021">
255+ <otbm version="3"/>
256+ <extensions from="8.20 - 8.31" to="10.21"/>
257+ <data format="10.10" dat="0x526A5068" spr="0x526A5090"/>
258+ </client>
259+
260+ <client name="10.30" otb="10.30" visible="true" data_directory="1030">
261+ <otbm version="3"/>
262+ <extensions from="8.20 - 8.31" to="10.30"/>
263+ <data format="10.10" dat="0x52A59036" spr="0x52A5905F"/>
264+ </client>
265+
266+ <client name="10.31" otb="10.31" visible="true" data_directory="1031">
267+ <otbm version="3"/>
268+ <extensions from="8.20 - 8.31" to="10.31"/>
269+ <data format="10.10" dat="0x52AED581" spr="0x52AED5A7"/>
270+ </client>
271+
272+ <client name="10.41" otb="10.41" visible="true" data_directory="1041">
273+ <otbm version="3"/>
274+ <extensions from="8.20 - 8.31" to="10.41"/>
275+ <data format="10.10" dat="0x5383504E" spr="0x53835077"/>
276+ </client>
277+
278+ <client name="10.77" otb="10.77" visible="true" data_directory="1077">
279+ <otbm version="3"/>
280+ <extensions from="8.20 - 8.31" to="10.77"/>
281+ <data format="10.57" dat="0x38DE" spr="0x5525213D"/>
282+ </client>
283+
284+ <client name="10.98" otb="10.98" visible="true" data_directory="1098">
285+ <otbm version="3"/>
286+ <extensions from="8.20 - 8.31" to="12.86"/>
287+ <data format="10.57" dat="0x42A3" spr="0x57BBD603"/>
288+ </client>
289+
290+ <client name="10.100" otb="10.100" visible="true" data_directory="10100">
291+ <otbm version="3"/>
292+ <extensions from="8.20 - 8.31" to="10.100"/>
293+ <data format="10.57" dat="0x44BA" spr="0x585138E5"/>
294+ </client>
295+
296+ <client name="12.71 - 12.72" otb="12.71" visible="true" data_directory="1271">
297+ <otbm version="3"/>
298+ <extensions from="8.20 - 8.31" to="12.71 - 12.72"/>
299+ <data format="10.57" dat="0x4A10" spr="0x59E48E02"/>
300+ </client>
301+
302+ <client name="12.81" otb="12.81" visible="true" data_directory="1281">
303+ <otbm version="3"/>
304+ <extensions from="8.20 - 8.31" to="12.81"/>
305+ <data format="10.57" dat="0x4A10" spr="0x59E48E02"/>
306+ </client>
307+
308+ <client name="12.85" otb="12.85" visible="true" data_directory="1285">
309+ <otbm version="3"/>
310+ <extensions from="8.20 - 8.31" to="12.85"/>
311+ <data format="10.57" dat="0x4A10" spr="0x59E48E02"/>
312+ </client>
313+
314+ <client name="12.86" otb="12.86" visible="true" default="true" data_directory="1286">
315+ <otbm version="3"/>
316+ <extensions from="8.20 - 8.31" to="12.86"/>
317+ <data format="10.57" dat="0x42A3" spr="0x57BBD603"/>
318+ </client>
319+
320+ <client name="12.87" otb="12.87" visible="true" default="true" data_directory="1287">
321+ <otbm version="3"/>
322+ <extensions from="8.20 - 8.31" to="12.87"/>
323+ <data format="10.57" dat="0x4A10" spr="0x59E48E02"/>
324+ </client>
325+
326+ <client name="12.90" otb="12.90" visible="true" default="true" data_directory="1290">
327+ <otbm version="3"/>
328+ <extensions from="8.20 - 8.31" to="12.90"/>
329+ <data format="10.57" dat="0x4A10" spr="0x59E48E02"/>
330+ </client>
331+
332+ <client name="13.10" otb="13.10" visible="true" default="true" data_directory="1310">
333+ <otbm version="3"/>
334+ <extensions from="8.40" to="13.10"/>
335+ <data format="10.57" dat="0x4A10" spr="0x59E48E02"/>
336+ </client>
337+
338+ <client name="13.20" otb="13.20" visible="true" default="true" data_directory="1320">
339+ <otbm version="3"/>
340+ <extensions from="8.40" to="13.20"/>
341+ <data format="10.57" dat="0x4A10" spr="0x59E48E02"/>
342+ </client>
343+ </clients>
344+
345+ <conversions>
346+ <!-- Used by the editor to figure out when to run conversions -->
347+ <convert after="760" using="760to740"/>
348+ <convert before="810" using="800to810"/>
349+ <convert at="854" using="854badto854"/>
350+ </conversions>
351+
352+</client_config>
A RD_Map_Editor/data/menubar.xml +256-0 View file
@@ -0,0 +1,256 @@
1+<?xml version="1.0" encoding="UTF-8"?>
2+<menubar>
3+ <!--
4+ a - enable autoborder
5+ b
6+ c - creature palette
7+ d - doodad palette
8+ e - show zones
9+ f - show creatures
10+ g - ghost loose items
11+ h - house palette
12+ i - item palette
13+ j - jump to brush
14+ k - wall hooks
15+ l - animation
16+ m - minimap
17+ n - collection palette
18+ o - show pathing
19+ p - jump to prev pos
20+ q - show floor shade
21+ r - raw palette
22+ s - show spawns
23+ t - terrain palette
24+ u - show locked doors
25+ v - highlight items
26+ w - waypoint palette
27+ x - RESERVED FOR ROTATE HOTKEY
28+ y - show tooltips
29+ z - RESERVED FOR ROTATE HOTKEY
30+ -->
31+
32+ <menu name="File">
33+ <item name="New..." hotkey="Ctrl+N" action="NEW" help="Create a new map."/>
34+ <item name="Open..." hotkey="Ctrl+O" action="OPEN" help="Open another map."/>
35+ <item name="Save" hotkey="Ctrl+S" action="SAVE" help="Save the current map."/>
36+ <item name="Save As..." hotkey="Ctrl+Alt+S" action="SAVE_AS" help="Save the current map as a new file."/>
37+ <item name="Generate Map" action="GENERATE_MAP" help="Generate a new map."/>
38+ <item name="Close" hotkey="Ctrl+Q" action="CLOSE" help="Closes the currently open map."/>
39+ <separator/>
40+ <menu name="Import">
41+ <item name="Import Map..." action="IMPORT_MAP" help="Import map data from another map file."/>
42+ <item name="Import Monsters/NPC..." action="IMPORT_MONSTERS" help="Import either a monsters.xml file or a specific monster/NPC."/>
43+ </menu>
44+ <menu name="Export">
45+ <item name="Export Minimap..." action="EXPORT_MINIMAP" help="Export minimap to an image file."/>
46+ <item name="Export Tilesets..." action="EXPORT_TILESETS" help="Export tilesets to an xml file."/>
47+ </menu>
48+ <menu name="Reload">
49+ <item name="Reload" hotkey="F5" action="RELOAD_DATA" help="Reloads all data files."/>
50+ </menu>
51+ <separator/>
52+ <menu name="Recent Files" special="RECENT_FILES"/>
53+ <item name="Preferences" action="PREFERENCES" help="Configure the map editor."/>
54+ <item name="Exit" action="EXIT" help="Close the editor."/>
55+ </menu>
56+ <menu name="Edit">
57+ <item name="Undo" hotkey="Ctrl+Z" action="UNDO" help="Undo last action."/>
58+ <item name="Redo" hotkey="Ctrl+Shift+Z" action="REDO" help="Redo last undid action."/>
59+ <separator/>
60+ <item name="Replace Items..." hotkey="Ctrl+Shift+F" action="REPLACE_ITEMS" help="Replaces all occurrences of one item with another."/>
61+ <item name="Refresh Items" action="REFRESH_ITEMS" help="Refresh items to fix flags"/>
62+ <separator/>
63+ <menu name="Border Options">
64+ <item name="Border Automagic" hotkey="A" action="AUTOMAGIC" help="Turns on all automatic border functions."/>
65+ <separator/>
66+ <item name="Borderize Selection" hotkey="Ctrl+B" action="BORDERIZE_SELECTION" help="Creates automatic borders in the entire selected area."/>
67+ <item name="Borderize Map" action="BORDERIZE_MAP" help="Reborders the entire map."/>
68+ <item name="Randomize Selection" action="RANDOMIZE_SELECTION" help="Randomizes the ground tiles of the selected area."/>
69+ <item name="Randomize Map" action="RANDOMIZE_MAP" help="Randomizes all tiles of the entire map."/>
70+ </menu>
71+ <menu name="Other Options">
72+ <item name="Remove Items by ID..." action="MAP_REMOVE_ITEMS" help="Removes all items with the selected ID from the map."/>
73+ <item name="Remove Duplicates..." action="MAP_REMOVE_DUPLICATES" help="Removes all duplicate items from the map."/>
74+ <item name="Remove all Corpses..." action="MAP_REMOVE_CORPSES" help="Removes all corpses from the map."/>
75+ <item name="Remove all Unreachable Tiles..." action="MAP_REMOVE_UNREACHABLE_TILES" help="Removes all tiles that cannot be reached (or seen) by the player from the map."/>
76+ <item name="Clear Invalid Houses" action="CLEAR_INVALID_HOUSES" help="Clears house tiles not belonging to any house."/>
77+ <item name="Clear Modified State" action="CLEAR_MODIFIED_STATE" help="Clears the modified state from all tiles."/>
78+ </menu>
79+ <separator/>
80+ <item name="Cut" hotkey="Ctrl+X" action="CUT" help="Cut a part of the map."/>
81+ <item name="Copy" hotkey="Ctrl+C" action="COPY" help="Copy a part of the map."/>
82+ <item name="Paste" hotkey="Ctrl+V" action="PASTE" help="Paste a part of the map."/>
83+ </menu>
84+ <menu name="Editor">
85+ <item name="New View" hotkey="Ctrl+Shift+N" action="NEW_VIEW" help="Creates a new view of the current map."/>
86+ <item name="New Detached View" hotkey="Ctrl+Shift+D" action="NEW_DETACHED_VIEW" help="Creates a new detached view of the current map that can be moved to another monitor."/>
87+ <item name="Enter Fullscreen" hotkey="F11" action="TOGGLE_FULLSCREEN" help="Changes between fullscreen mode and windowed mode."/>
88+ <item name="Take Screenshot" hotkey="F10" action="TAKE_SCREENSHOT" help="Saves the current view to the disk."/>
89+ <separator/>
90+ <menu name="Zoom">
91+ <item name="Zoom In" hotkey="Ctrl++" action="ZOOM_IN" help="Increase the zoom."/>
92+ <item name="Zoom Out" hotkey="Ctrl+-" action="ZOOM_OUT" help="Decrease the zoom."/>
93+ <item name="Zoom Normal" hotkey="Ctrl+0" action="ZOOM_NORMAL" help="Normal zoom(100%)."/>
94+ </menu>
95+ </menu>
96+ <menu name="Search">
97+ <item name="Find Item..." hotkey="Ctrl+F" action="FIND_ITEM" help="Find all instances of an item type the map."/>
98+ <item name="Find Creature..." hotkey="Ctrl+Shift+C" action="FIND_CREATURE" help="Find all instances of a creature on the map."/>
99+ <separator/>
100+ <item name="Find Zones" action="SEARCH_ON_MAP_ZONES" help="Find all zones on map."/>
101+ <item name="Find Unique" action="SEARCH_ON_MAP_UNIQUE" help="Find all items with an unique ID on map."/>
102+ <item name="Find Action" action="SEARCH_ON_MAP_ACTION" help="Find all items with an action ID on map."/>
103+ <item name="Find Container" action="SEARCH_ON_MAP_CONTAINER" help="Find all containers on map."/>
104+ <item name="Find Writeable" action="SEARCH_ON_MAP_WRITEABLE" help="Find all writeable items on map."/>
105+ <separator/>
106+ <item name="Find Everything" action="SEARCH_ON_MAP_EVERYTHING" help="Find all unique/action/text/container items."/>
107+ </menu>
108+ <menu name="Map">
109+ <item name="Edit Towns" hotkey="Ctrl+T" action="EDIT_TOWNS" help="Edit towns."/>
110+ <separator/>
111+ <item name="Cleanup..." action="MAP_CLEANUP" help="Removes all items that do not exist in the OTB file (red tiles the server can't load)."/>
112+ <item name="Summarize" hotkey="Ctrl+Shift+S" action="MAP_SUMMARIZE" help="Show a summary of all items on the map with their counts."/>
113+ <item name="Properties..." hotkey="Ctrl+P" action="MAP_PROPERTIES" help="Show and change the map properties."/>
114+ <item name="Statistics" hotkey="F8" action="MAP_STATISTICS" help="Show map statistics."/>
115+ </menu>
116+ <menu name="Selection">
117+ <item name="Replace Items on Selection" action="REPLACE_ON_SELECTION_ITEMS" help="Replace items on selected area."/>
118+ <item name="Find Item on Selection" action="SEARCH_ON_SELECTION_ITEM" help="Find items on selected area."/>
119+ <item name="Remove Item on Selection" action="REMOVE_ON_SELECTION_ITEM" help="Remove item on selected area."/>
120+ <separator/>
121+ <menu name="Find on Selection">
122+ <item name="Find Everything" action="SEARCH_ON_SELECTION_EVERYTHING" help="Find all unique/action/text/container items."/>
123+ <separator/>
124+ <item name="Find Zones" action="SEARCH_ON_SELECTION_ZONES" help="Find all zones on selected area."/>
125+ <item name="Find Unique" action="SEARCH_ON_SELECTION_UNIQUE" help="Find all items with an unique ID on selected area."/>
126+ <item name="Find Action" action="SEARCH_ON_SELECTION_ACTION" help="Find all items with an action ID on selected area."/>
127+ <item name="Find Container" action="SEARCH_ON_SELECTION_CONTAINER" help="Find all containers on selected area."/>
128+ <item name="Find Writeable" action="SEARCH_ON_SELECTION_WRITEABLE" help="Find all writeable items on selected area."/>
129+ </menu>
130+ <separator/>
131+ <menu name="Selection Mode">
132+ <item name="Compensate Selection" action="SELECT_MODE_COMPENSATE" help="Compensate for floor difference when selecting."/>
133+ <separator/>
134+ <item name="Current Floor" action="SELECT_MODE_CURRENT" help="Select only current floor."/>
135+ <item name="Lower Floors" action="SELECT_MODE_LOWER" help="Select all lower floors."/>
136+ <item name="Visible Floors" action="SELECT_MODE_VISIBLE" help="Select only visible floors."/>
137+ </menu>
138+ <separator/>
139+ <item name="Borderize Selection" hotkey="Ctrl+B" action="BORDERIZE_SELECTION" help="Creates automatic borders in the entire selected area."/>
140+ <item name="Randomize Selection" action="RANDOMIZE_SELECTION" help="Randomizes the ground tiles of the selected area."/>
141+ </menu>
142+ <menu name="View">
143+ <item name="Show all Floors" hotkey="Ctrl+W" action="SHOW_ALL_FLOORS" help="If not checked other floors are hidden."/>
144+ <item name="Show as Minimap" hotkey="Shift+E" action="SHOW_AS_MINIMAP" help="Show only the tile minimap colors."/>
145+ <item name="Only show Colors" hotkey="Ctrl+E" action="SHOW_ONLY_COLORS" help="Show only the special tiles on the map."/>
146+ <item name="Only show Modified" hotkey="Ctrl+M" action="SHOW_ONLY_MODIFIED" help="Show only the tiles that have been modified since the map was opened."/>
147+ <item name="Always show zones" hotkey="" action="ALWAYS_SHOW_ZONES" help="Zones will be visible even on empty tiles."/>
148+ <item name="Extended house shader" hotkey="" action="EXT_HOUSE_SHADER" help="Draw house brush on walls and items."/>
149+ <separator/>
150+ <item name="Show tooltips" hotkey="Y" action="SHOW_TOOLTIPS" help="Show tooltips."/>
151+ <item name="Show grid" hotkey="Shift+G" action="SHOW_GRID" help="Shows a grid over all items."/>
152+ <item name="Show client box" hotkey="Shift+I" action="SHOW_INGAME_BOX" help="Shadows out areas not visible ingame (from the center of the screen)."/>
153+ <separator/>
154+ <item name="Ghost loose items" hotkey="G" action="GHOST_ITEMS" help="Ghost items (except ground)."/>
155+ <item name="Ghost higher floors" hotkey="Ctrl+L" action="GHOST_HIGHER_FLOORS" help="Ghost floors."/>
156+ <item name="Show shade" hotkey="Q" action="SHOW_SHADE" help="Shade lower floors."/>
157+ </menu>
158+ <menu name="Show">
159+ <item name="Show Animation" hotkey="L" action="SHOW_PREVIEW" help="Show item animations."/>
160+ <item name="Show Light" hotkey="Shift+L" action="SHOW_LIGHTS" help="Show lights."/>
161+ <item name="Show Light Strength" hotkey="Shift+K" action="SHOW_LIGHT_STR" help="Show indicators of light strength."/>
162+ <item name="Show Technical Items" hotkey="Shift+T" action="SHOW_TECHNICAL_ITEMS" help="Shows some of special items that are not visible in game."/>
163+ <separator/>
164+ <item name="Show zones" hotkey="E" action="SHOW_ZONES" help="Show zones on the map."/>
165+ <item name="Show creatures" hotkey="F" action="SHOW_CREATURES" help="Show creatures on the map."/>
166+ <item name="Show spawns" hotkey="S" action="SHOW_SPAWNS" help="Show spawns on the map."/>
167+ <item name="Show special" hotkey="" action="SHOW_SPECIAL" help="Show special tiles on the map, like PZ."/>
168+ <item name="Show houses" hotkey="Ctrl+H" action="SHOW_HOUSES" help="Show houses on the map."/>
169+ <item name="Show pathing" hotkey="O" action="SHOW_PATHING" help="Show blocking tiles."/>
170+ <item name="Show towns" hotkey="" action="SHOW_TOWNS" help="Show temple positions."/>
171+ <item name="Show waypoints" hotkey="Shift+W" action="SHOW_WAYPOINTS" help="Show waypoints."/>
172+ <separator/>
173+ <item name="Highlight Items" hotkey="V" action="HIGHLIGHT_ITEMS" help="Highlight tiles with items on them."/>
174+ <item name="Highlight Locked Doors" hotkey="U" action="HIGHLIGHT_LOCKED_DOORS" help="Highlight doors that require key to open."/>
175+ <item name="Show Wall Hooks" hotkey="K" action="SHOW_WALL_HOOKS" help="Show indicators for wall hooks."/>
176+ </menu>
177+ <menu name="Navigate">
178+ <item name="Go to Previous Position" hotkey="P" action="GOTO_PREVIOUS_POSITION" help="Go to the previous screen center position."/>
179+ <item name="Jump to Brush..." hotkey="J" action="JUMP_TO_BRUSH" help="Jump to a brush."/>
180+ <item name="Jump to Item..." hotkey="Ctrl+J" action="JUMP_TO_ITEM_BRUSH" help="Jump to an item brush (RAW palette)."/>
181+ <separator/>
182+ <menu name="Floor">
183+ <item name="Floor 0" action="FLOOR_0" help=""/>
184+ <item name="Floor 1" action="FLOOR_1" help=""/>
185+ <item name="Floor 2" action="FLOOR_2" help=""/>
186+ <item name="Floor 3" action="FLOOR_3" help=""/>
187+ <item name="Floor 4" action="FLOOR_4" help=""/>
188+ <item name="Floor 5" action="FLOOR_5" help=""/>
189+ <item name="Floor 6" action="FLOOR_6" help=""/>
190+ <item name="Floor 7" action="FLOOR_7" help=""/>
191+ <item name="Floor 8" action="FLOOR_8" help=""/>
192+ <item name="Floor 9" action="FLOOR_9" help=""/>
193+ <item name="Floor 10" action="FLOOR_10" help=""/>
194+ <item name="Floor 11" action="FLOOR_11" help=""/>
195+ <item name="Floor 12" action="FLOOR_12" help=""/>
196+ <item name="Floor 13" action="FLOOR_13" help=""/>
197+ <item name="Floor 14" action="FLOOR_14" help=""/>
198+ <item name="Floor 15" action="FLOOR_15" help=""/>
199+ </menu>
200+ </menu>
201+ <menu name="Window">
202+ <item name="Minimap" hotkey="M" action="WIN_MINIMAP" help="Displays the minimap window."/>
203+ <item name="New Palette" action="NEW_PALETTE" help="Creates a new palette."/>
204+
205+ <menu name="Palette">
206+ <item name="Terrain" hotkey="T" action="SELECT_TERRAIN" help="Select the Terrain palette."/>
207+ <item name="Doodad" hotkey="D" action="SELECT_DOODAD" help="Select the Doodad palette."/>
208+ <item name="Item" hotkey="I" action="SELECT_ITEM" help="Select the Item palette."/>
209+ <item name="Collection" hotkey="N" action="SELECT_COLLECTION" help="Select the Collection palette."/>
210+ <item name="House" hotkey="H" action="SELECT_HOUSE" help="Select the House palette."/>
211+ <item name="Creature" hotkey="C" action="SELECT_CREATURE" help="Select the Creature palette."/>
212+ <item name="Waypoint" hotkey="W" action="SELECT_WAYPOINT" help="Select the Waypoint palette."/>
213+ <item name="RAW" hotkey="R" action="SELECT_RAW" help="Select the RAW palette."/>
214+ </menu>
215+ <menu name="Toolbars">
216+ <item name="Brushes" action="VIEW_TOOLBARS_BRUSHES" help="Show or hide the Brushes toolbar."/>
217+ <item name="Position" action="VIEW_TOOLBARS_POSITION" help="Show or hide the Position toolbar."/>
218+ <item name="Sizes" action="VIEW_TOOLBARS_SIZES" help="Show or hide the Sizes toolbar."/>
219+ <item name="Standard" action="VIEW_TOOLBARS_STANDARD" help="Show or hide the Standard toolbar."/>
220+ </menu>
221+ </menu>
222+ <menu name="Experimental">
223+ <item name="Fog in light view" hotkey="" action="EXPERIMENTAL_FOG" help="Apply fog filter to light effect."/>
224+ </menu>
225+ <menu name="About">
226+ <item name="Extensions..." hotkey="F2" action="EXTENSIONS" help=""/>
227+ <item name="Goto Website" hotkey="F3" action="GOTO_WEBSITE" help=""/>
228+ <item name="About..." hotkey="F1" action="ABOUT" help=""/>
229+
230+ </menu>
231+ <menu name="Server">
232+ <item name="Host Server" action="ID_MENU_SERVER_HOST" help="Host a new server for collaborative mapping"/>
233+ <item name="Connect to Server" action="ID_MENU_SERVER_CONNECT" help="Connect to an existing map server"/>
234+ </menu>
235+ <menu name="RD">
236+ <!-- all context menus that have been changed from vanilla functionalities -->
237+ <item name="Hotkeys" hotkey="" action="SHOW_HOTKEYS" help="Hotkeys"/>
238+ <separator/>
239+ <item name="Remove Items by ID..." action="MAP_REMOVE_ITEMS" help="Removes all items with the selected ID from the map."/>
240+ <item name="Remove Duplicates..." action="MAP_REMOVE_DUPLICATES" help="Removes all duplicate items from the map."/>
241+ <item name="Remove all Corpses..." action="MAP_REMOVE_CORPSES" help="Removes all corpses from the map."/>
242+ <separator/>
243+ <item name="Go to Position..." hotkey="" action="GOTO_POSITION" help="Go to a specific XYZ position."/>
244+ <item name="Edit Towns" hotkey="" action="EDIT_TOWNS" help="Edit towns."/>
245+ <item name="Export Minimap..." action="EXPORT_MINIMAP" help="Export minimap to an image file."/>
246+ <item name="Find Item..." hotkey="" action="FIND_ITEM" help="Find all instances of an item type the map."/>
247+ <item name="Find Creature..." hotkey="" action="FIND_CREATURE" help="Find all instances of a creature on the map."/>
248+ <item name="Replace Items..." hotkey="" action="REPLACE_ITEMS" help="Replaces all occurrences of one item with another."/>
249+ <item name="Refresh Items" action="REFRESH_ITEMS" help="Refresh items to fix flags"/>
250+ <!-- clickable buttons that toggle some settings such as select right click RAw toggle button and toggle button to disable map display right click context menu then.-->
251+ <separator/>
252+ <item name="Generate Procedural Map..." action="GENERATE_PROCEDURAL_MAP" help="Generate a procedural map using OTMapGen"/>
253+ <separator/>
254+
255+ </menu>
256+</menubar>
A RD_Map_Editor/data/minimap_waypoints.xml +5-0 View file
@@ -0,0 +1,5 @@
1+<?xml version="1.0" encoding="UTF-8"?>
2+<minimap_waypoints>
3+ <waypoint name="desert1" x="5237" y="4903" floor="7"/>
4+ <waypoint name="desert12" x="5493" y="4664" floor="7"/>
5+</minimap_waypoints>
A RD_Map_Editor/data/replace_presets/1.xml +5-0 View file
@@ -0,0 +1,5 @@
1+<?xml version="1.0"?>
2+<replace_items>
3+ <replace replaceId="101" withId="103" />
4+ <replace replaceId="106" withId="109" />
5+</replace_items>
A RD_Map_Editor/data/replace_presets/2.xml +6-0 View file
@@ -0,0 +1,6 @@
1+<?xml version="1.0"?>
2+<replace_items>
3+ <replace replaceId="352" withId="368" />
4+ <replace replaceId="405" withId="407" />
5+ <replace replaceId="412" withId="414" />
6+</replace_items>
A RD_Map_Editor/data/replace_presets/border-grass-to-sand.xml +18-0 View file
@@ -0,0 +1,18 @@
1+<?xml version="1.0"?>
2+<replace_items>
3+ <replace replaceId="4644" withId="607" />
4+ <replace replaceId="4646" withId="606" />
5+ <replace replaceId="4647" withId="609" />
6+ <replace replaceId="4645" withId="608" />
7+ <replace replaceId="4638" withId="617" />
8+ <replace replaceId="4637" withId="615" />
9+ <replace replaceId="4639" withId="616" />
10+ <replace replaceId="4636" withId="614" />
11+ <replace replaceId="4640" withId="610" />
12+ <replace replaceId="4641" withId="611" />
13+ <replace replaceId="4643" withId="612" />
14+ <replace replaceId="4642" withId="613" />
15+ <replace replaceId="4653" withId="613" />
16+ <replace replaceId="4652" withId="612" />
17+ <replace replaceId="4648" withId="616" />
18+</replace_items>
A RD_Map_Editor/data/replace_presets/grass2sand.xml +24-0 View file
@@ -0,0 +1,24 @@
1+<?xml version="1.0"?>
2+<replace_items>
3+ <replace replaceId="4644" withId="607" />
4+ <replace replaceId="4646" withId="606" />
5+ <replace replaceId="4647" withId="609" />
6+ <replace replaceId="4645" withId="608" />
7+ <replace replaceId="4638" withId="617" />
8+ <replace replaceId="4637" withId="615" />
9+ <replace replaceId="4639" withId="616" />
10+ <replace replaceId="4636" withId="614" />
11+ <replace replaceId="4640" withId="610" />
12+ <replace replaceId="4641" withId="611" />
13+ <replace replaceId="4643" withId="612" />
14+ <replace replaceId="4642" withId="613" />
15+ <replace replaceId="4653" withId="613" />
16+ <replace replaceId="4652" withId="612" />
17+ <replace replaceId="4648" withId="616" />
18+ <replace replaceId="4655" withId="610" />
19+ <replace replaceId="4651" withId="614" />
20+ <replace replaceId="4654" withId="611" />
21+ <replace replaceId="4650" withId="615" />
22+ <replace replaceId="4632" withId="607" />
23+ <replace replaceId="4649" withId="617" />
24+</replace_items>
A RD_Map_Editor/data/replace_presets/newpreset.xml +7-0 View file
@@ -0,0 +1,7 @@
1+<?xml version="1.0"?>
2+<replace_items>
3+ <replace replaceId="352" withId="368" />
4+ <replace replaceId="405" withId="407" />
5+ <replace replaceId="412" withId="414" />
6+ <replace replaceId="1411" withId="1410" />
7+</replace_items>
A RD_Map_Editor/data/replace_presets/t2.xml +17-0 View file
@@ -0,0 +1,17 @@
1+<?xml version="1.0"?>
2+<replace_items>
3+ <replace replaceId="14553" withId="13201" />
4+ <replace replaceId="14560" withId="13204" />
5+ <replace replaceId="14559" withId="13203" />
6+ <replace replaceId="14561" withId="13206" />
7+ <replace replaceId="14562" withId="13205" />
8+ <replace replaceId="14564" withId="13208" />
9+ <replace replaceId="14563" withId="13207" />
10+ <replace replaceId="14565" withId="13210" />
11+ <replace replaceId="14566" withId="13209" />
12+ <replace replaceId="14558" withId="13212" />
13+ <replace replaceId="14553" withId="13201" />
14+ <replace replaceId="14557" withId="13211" />
15+ <replace replaceId="14554" withId="13202" />
16+ <replace replaceId="14536" withId="12912" />
17+</replace_items>
A RD_Map_Editor/data/replace_presets/test1.xml +59-0 View file
@@ -0,0 +1,59 @@
1+<?xml version="1.0"?>
2+<replace_items>
3+ <replace replaceId="10793" withId="12890" />
4+ <replace replaceId="11902" withId="12889" />
5+ <replace replaceId="9856" withId="407" />
6+ <replace replaceId="11903" withId="12890" />
7+ <replace replaceId="11922" withId="12909" />
8+ <replace replaceId="11913" withId="12900" />
9+ <replace replaceId="13029" withId="14536" />
10+ <replace replaceId="9817" withId="10808" />
11+ <replace replaceId="9847" withId="10764" />
12+ <replace replaceId="9876" withId="10809" />
13+ <replace replaceId="9959" withId="10875" />
14+ <replace replaceId="9958" withId="10873" />
15+ <replace replaceId="7990" withId="10914" />
16+ <replace replaceId="5396" withId="10916" />
17+ <replace replaceId="9835" withId="10752" />
18+ <replace replaceId="9836" withId="10753" />
19+ <replace replaceId="7987" withId="10755" />
20+ <replace replaceId="13067" withId="14565" />
21+ <replace replaceId="13063" withId="14561" />
22+ <replace replaceId="13064" withId="14562" />
23+ <replace replaceId="13068" withId="14566" />
24+ <replace replaceId="13066" withId="14564" />
25+ <replace replaceId="13055" withId="14553" />
26+ <replace replaceId="13062" withId="14560" />
27+ <replace replaceId="13059" withId="14557" />
28+ <replace replaceId="13060" withId="14558" />
29+ <replace replaceId="13065" withId="14563" />
30+ <replace replaceId="13061" withId="14559" />
31+ <replace replaceId="13056" withId="14554" />
32+ <replace replaceId="9846" withId="10734" />
33+ <replace replaceId="7536" withId="10732" />
34+ <replace replaceId="7988" withId="10728" />
35+ <replace replaceId="11915" withId="12902" />
36+ <replace replaceId="11912" withId="12899" />
37+ <replace replaceId="11891" withId="12878" />
38+ <replace replaceId="9146" withId="9800" />
39+ <replace replaceId="11780" withId="12767" />
40+ <replace replaceId="11776" withId="12763" />
41+ <replace replaceId="11771" withId="12758" />
42+ <replace replaceId="11781" withId="12768" />
43+ <replace replaceId="11772" withId="12759" />
44+ <replace replaceId="11785" withId="12769" />
45+ <replace replaceId="11773" withId="12760" />
46+ <replace replaceId="11782" withId="12769" />
47+ <replace replaceId="11825" withId="12812" />
48+ <replace replaceId="11815" withId="12817" />
49+ <replace replaceId="11827" withId="12814" />
50+ <replace replaceId="11824" withId="12811" />
51+ <replace replaceId="11837" withId="12817" />
52+ <replace replaceId="11830" withId="12816" />
53+ <replace replaceId="11838" withId="12815" />
54+ <replace replaceId="11779" withId="12766" />
55+ <replace replaceId="11778" withId="12765" />
56+ <replace replaceId="11829" withId="12825" />
57+ <replace replaceId="11911" withId="12899" />
58+ <replace replaceId="11921" withId="12909" />
59+</replace_items>
A RD_Map_Editor/data/whatsnew.txt +34-0 View file
@@ -0,0 +1,34 @@
1+Version 6.8.5
2+- Including OTMapGen very basic version .
3+
4+Version 6.8.2
5+- Autoborder Fix
6+- Map Summary
7+
8+Version 6.7.8
9+- Create Monster/Npc
10+
11+Version 6.7.7
12+Hotkey update allows to replace hotkeys instead of erroring out
13+
14+Version 6.7.6
15+- Improved map export
16+
17+Version 6.7.5
18+- When loading map of version you may not have you can forceload it with any version. just escape the error
19+
20+Version 6.7.4
21+__Action_Id_Drawing__
22+- Added ActionID drawing feature
23+- Added ability to set ActionID for placed items
24+- Added ActionID input field and checkbox in palette window
25+
26+Version 6.7.3
27+__The_useless_update
28+- Randomize color of the logo of OTARME to signify constant changes
29+
30+Version 6.7.2
31+- Minimap Fixes & Optimization
32+- Cache
33+- Minimap Waypoints for older maps
34+
Top