You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+4-4
Original file line number
Diff line number
Diff line change
@@ -16,20 +16,20 @@ A trigger has the following information:
16
16
* Data: 16 optional slots for any data the trigger might need.
17
17
* Links: 8 optional slots for any triggers it is linked to.
18
18
19
-
A trigger can have specific behavior programmed into it via *GameScripts* written in *EngineX's scripting language*, which had its first use in [Sphinx and the Cursed Mummy](https://sphinxandthecursedmummy.fandom.com/wiki/Sphinx_Scripting_Language). This tool will attempt to decompile scripts found within triggers, though the original syntax can only partially be fully determined, so it will be a rough estimate of how the source script looked.
19
+
A trigger can have specific behavior programmed into it via *GameScripts* written in *EngineX's scripting language*, which had its first use in [Sphinx and the Cursed Mummy](https://sphinxandthecursedmummy.fandom.com/wiki/Sphinx_Scripting_Language). This tool will attempt to decompile gamescripts referenced by triggers, though the original syntax can only partially be fully determined, so it will be a rough estimate of how the source script looked.
20
20
21
21
## How To Use
22
22
To open a map file, click the "Load File" button or drag n' drop the file into the window.
23
23
24
24
To find a map file, the game's filelist must first be extracted. [Eurochef](https://github.com/eurotools/eurochef)'s command-line version can be used for this.
25
25
26
-
This tool will only open .edb files that contains maps. The main levels have a naming format: "realm" followed by the realm number (1, 2, 3...), then the level number (a, b, c...). For example, Gloomy Glacier is level "b" in the 3rd realm, thus its file name is "realm3b".<br>
26
+
This tool will only open .edb files that contain maps. The main levels have a naming format: "realm" followed by the realm number (1, 2, 3...), then the level number (a, b, c...). For example, Gloomy Glacier is level "b" in the 3rd realm, thus its file name is "realm3b".<br>
27
27
"Link maps" which connect levels to mask loading screens also have a naming format: "r" followed by the realm number, then "link" and then the two levels that are connected (a, b, c...). For example, the elevator leading up from Coastal Remains to Cloudy Domain is in realm 2 and connects levels "a" and "c", thus its file name is "r2linkac".<br>
28
28
There are also many test levels labelled "test_" followed by the initials of the developer who used it.
29
29
30
30
.edb files can contain multiple maps, and when a file is loaded, the list of maps in the file is displayed in the top-left. Double-click a map to fill the list below with all the triggers found in the map.<br>
31
-
Click on a trigger to populate the right side of the window with information about the trigger.<br>
31
+
Click on a trigger to populate the right side of the window with information about it.<br>
32
32
Any trigger linked to the currently viewed trigger will be coloured in the trigger list.<br>
33
33
If the trigger references a gamescript, you can click "View GameScript" to open the Script Viewer window.
34
34
35
-
In the Script Viewer, a textbox will contain the tool's best attempt at decompiling the referenced gamescript. The original bytecode can also be viewed by opening the "Raw Bytecode" tab.
35
+
In the Script Viewer, a textbox will contain the tool's best attempt at decompiling the referenced gamescript. The original bytecode can also be viewed by opening the "Raw Bytecode" tab.
0 commit comments