Posted April 12, 2017
Back up your EXE, load up a hex editor, and make the following changes to enable these modes.
Debug Mode
0x1012A6 - 00 -> 01
Notes:
Should be equivalent to adding SetPrivateProfileString('Program Options','Debug Mode','1') to baldur.lua
Better reference than below - https://gibberlings3.github.io/iesdp/appendices/clua/bgee.htm
Ctrl-2 - Fade screen out
Ctrl-3 - Fade screen in
Ctrl-4 - Box interactive objects
Ctrl-J - teleport to cursor
Ctrl-N - Unknown, flashes screen red
Ctrl-X - Popup more detailed mouse position info
Ctrl-Space - Bring up console. Click "Show" for cheat menu.
Theoretical Console commands - Precede with C:. Eg: C:DisplayText("test")
DisplayText
MoveToArea
SetCurrentXP
CreateEngine
StartStore
CreateCreature
CreateItem
ExploreArea
SetWeather
PlaySound
AddGold
EnableCheatKeys
AddSpell
AdvanceRealTime
DisplayAllBAMFiles
TestAllDialog
PlayMovie
ResetAchievements
...There are a bunch more, I'm not dumping them all here. ...Yet.
Developer Mode
0x1012BD - 00 -> 01
Notes:
I can't seem to find anything that this enables.
UI Edit Mode
0x1012F7 - 00 -> 01
Notes:
F11 - UI Info
No Movies
0x101308 - 00 -> 01
Any insight on the debug/dev features would be appreciated.
Debug Mode
0x1012A6 - 00 -> 01
Notes:
Should be equivalent to adding SetPrivateProfileString('Program Options','Debug Mode','1') to baldur.lua
Better reference than below - https://gibberlings3.github.io/iesdp/appendices/clua/bgee.htm
Ctrl-2 - Fade screen out
Ctrl-3 - Fade screen in
Ctrl-4 - Box interactive objects
Ctrl-J - teleport to cursor
Ctrl-N - Unknown, flashes screen red
Ctrl-X - Popup more detailed mouse position info
Ctrl-Space - Bring up console. Click "Show" for cheat menu.
Theoretical Console commands - Precede with C:. Eg: C:DisplayText("test")
DisplayText
MoveToArea
SetCurrentXP
CreateEngine
StartStore
CreateCreature
CreateItem
ExploreArea
SetWeather
PlaySound
AddGold
EnableCheatKeys
AddSpell
AdvanceRealTime
DisplayAllBAMFiles
TestAllDialog
PlayMovie
ResetAchievements
...There are a bunch more, I'm not dumping them all here. ...Yet.
Developer Mode
0x1012BD - 00 -> 01
Notes:
I can't seem to find anything that this enables.
UI Edit Mode
0x1012F7 - 00 -> 01
Notes:
F11 - UI Info
No Movies
0x101308 - 00 -> 01
Any insight on the debug/dev features would be appreciated.
Post edited April 12, 2017 by Wulf2k