So I was a little tired of not being able to cheat and my compiles crashing that I figured to just change the code. If you are interested in adding cheats to the duke3d.gpe file all that is needed is a hex editor and a patch utility. I used bsdiff to make these cheats available.
YXYYXX ------ God Mode
YX(Vol-)x4 -- Get all Inventory
YX(Vol+)x4 -- Get all Weapons
YX(Vol-)XXX - Get all Keys
YX(Vol+)YYY - Open all doors
YX(Vol-)YYX - Walk through walls (can crash game)
Alternatively one could download the patch.
YXYYXX ------ God Mode
YX(Vol-)x4 -- Get all Inventory
YX(Vol+)x4 -- Get all Weapons
YX(Vol-)XXX - Get all Keys
YX(Vol+)YYY - Open all doors
YX(Vol-)YYX - Walk through walls (can crash game)
Code:
425344494646343035000000000000008300000000000000E860210000000000425A68393141592653593AB69E10000007D141622020004000400000C02000223418420C988670036A273C5DC914E14240EADA7840425A6839314159265359B020A8D00003086565F98004000800004000873203400000659B6BA000721950C81A001A00FD2822951A6991840FD51A69A60AFAE1ACEDAFA814513F420223442A2A28D15A080A014C02202805F1C207CC933955C7E5D51CA369C34CA12E3550E76F689AE2492482001DB24CD3D9F8BB9229C2848581054680425A683917724538509000000000
Alternatively one could download the patch.