About this mod
Compatibility patch for TRUBY9 ULTRAWIDESCREEN and Better Wait Menu (option 2 - Better Wait Menu - Vanilla Timer Version).
- Requirements
- Permissions and credits
- Changelogs
1. Take the SleepWaitMenu.swf from TRUBY9 ULTRAWIDESCREEN
2. Load SleepWaitMenu.swf in JPEXS
3. In JPEXS, find scripts\SleepWaitMenu
4. In JPEXS, in the ActionScript source find this.iMaxHours = 24 in method SleepWaitMenu and set the cursor between the 2 and the 4
5. In JPEXS, click Edit P-Code
6. In JPEXS, in the P-Code source change pushbyte 24 to pushbyte 99
7. In JPEXS, click Save
9. In JPEXS, in the ActionScript source find "LTrigger" in method ProcessUserEvent and set the cursor within the string
10. In JPEXS, click Edit P-Code
11. In JPEXS, in the P-Code source change pushstring "LTrigger" to pushstring "StrafeLeft"
12. In JPEXS, in the P-Code source change the next occurrence of pushbyte 5 to pushbyte 12
13. In JPEXS, in the P-Code source change pushstring "RTrigger" to pushstring "StrafeRight"
14. In JPEXS, in the P-Code source change the next occurrence of pushbyte 5 to pushbyte 12
15. In JPEXS, click Save
16. In JPEXS, in the ActionScript source find "StrafeRight" in method ProcessUserEvent and click immediately after
17. In JPEXS, click Edit P-Code
18. In JPEXS, in the P-Code source and just before the next occurrence of getlocal_0, insert the following P-code:
getlocal_0
getproperty Qname(ProtectedNamespace("SleepWaitMenu"),"iHours")
pushbyte 1
ifne ofs0058
19. In JPEXS, click Save
20. In JPEXS, save the changes and reload SleepWaitMenu.swf
21. In JPEXS, find scripts\SleepWaitMenu
22. In JPEXS, in the ActionScript source set the cursor in the method ProcessUserEvent
23. In JPEXS, click Edit P-Code
24. In JPEXS, in the P-Code source and immediately after the line ifne ofs0052, insert the following P-code:
getlocal_0
pushbyte 0
initproperty Qname(ProtectedNamespace("SleepWaitMenu"),"iHours")
25. In JPEXS, click Save
26. In JPEXS, save the changes and close SleepWaitMenu.swf
(note that the P-Code offset codes inserted are automatically adjusted based on the inserted P-Code)
INSTALLATION
Use your favorite mod manager and load after TRUBY9 ULTRAWIDESCREEN
KNOWN ISSUES
None
ADDITIONAL NOTES
Also works well with a resolution of 3840x1080
CREDITS
♦ ZaliaS for TRUBY9 ULTRAWIDESCREEN
♦ registrator2000 for Better Wait Menu