cbloopy wrote:I have further news though: I found a way to trick demo MOFI into going into a "custom adventures" mode similar to the player program in WA Editor package. [...]
I haven't tested this thoroughly. I already notice that unlike the Editor, when you play custom adventures this way, they seem to always start off with the magic glove, the spy eye and the glow gem already in your item bag.

I'm not sure how to suppress this [...]
An update on this: I've finally figured out how to hack demo MOFI's wg.exe to both put it permanently in "custom adventures" mode, and also to suppress it from adding the freebies to your item bag when starting a custom adventure.
I've only tested this in MOFI demo v1.02. Hopefully it'll work on other versions as well. If not, let me know and I'll figure it out.
Hack: permanent "custom adventures" mode
This hack changes the "Start Game" in the main menu so that it goes into the custom adventures selection screen instead, just like wg.exe in the WA Editor package. That business with the special hubs and aborting repeatedly is no longer necessary. To apply:
1) Create a copy of demo MOFI's wg.exe file. We're making copies so that you have a choice of which configuration to run the game in. To run a particular hacked wg.exe, just double click to start it directly, without going through "Wonderland.exe" (which is only useful for selecting screen resolution).
2) open the copy of demo MOFI's wg.exe in a hex editor.
3) use the hex editor's search feature to find the following sequence of bytes (in hex):
Code: Select all
89 5C 24 04 E8 FC FF FF FF 89 04 24 E8 FC FF FF FF C7 05 00 00 00 00 02 00 00 00
Double check that it only finds one occurrence of the above byte sequence in the file. If not then
abort the remaining steps and let me know.
4) You might want to make a note of the address/file location where the hex editor found the byte sequence in your copy of wg.exe. That way if you want to change it back or change it to something else, you can just go directly by address to where the bytes are in your particular copy of wg.exe.
5) Look for the byte "02" towards the end of the sequence, and change that to "00".
6) save the changes.
-------------------
Hack: empty item bag when starting a custom adventure
This hack suppresses the "freebies" (spy-eye, gloves, glow gem) from being added to the item bag when you start a custom adventure, so custom adventures will start off with nothing, just like in WA Editor. To apply:
1) Create a copy of demo MOFI's wg.exe file. We're making copies so that you have a choice of which configuration to run the game in. To run a particular hacked wg.exe, just double click to start it directly, without going through "Wonderland.exe" (which is only useful for selecting screen resolution).
2) open the copy of demo MOFI's wg.exe in a hex editor.
3) use the hex editor's search feature to find the following sequence of bytes (in hex):
Code: Select all
0F 85 FC FF FF FF C7 05 00 00 00 00 00 00 00 00 C7 05 00 00 00 00 03 00 00 00 C7 05 00 00 00 00 03 00 00 00 BB E9 03 00 00
Double check that it only finds one occurrence of the above byte sequence in the file. If not then
abort the remaining steps and let me know.
4) You might want to make a note of the address/file location where the hex editor found the byte sequence in your copy of wg.exe. That way if you want to change it back or change it to something else, you can just go directly by address to where the bytes are in your particular copy of wg.exe.
5) Change the bytes "0F 85" at the beginning of the sequence to "90 E9".
6) save the changes.
-----------
The two hacks are independent, so you can create one copy of wg.exe and hack it so that it always does custom adventures but still gives you the freebies (good for testing perhaps), and another copy that is hacked so that it is both always-custom-adventures and no-freebies (essentially a MOFI version of WA Editor game player!).