Page 1 of 1

Editing the debugger exe

Posted: Sun Dec 06, 2015 9:26 pm
by AnthonyBF2
Changes you can make to the debugger game executable. You'll need to be using the "No DVD" version.

Open the file in hex editor, and go to the offsets listed below and make the specified changes;

1) Removing the green block so your whole screen can be viewable
Go to offset 003ffc0a and change the single byte AA to 00

2) Getting resolution of 1024x768 - debugger game will still be in windowed mode
Go to offset 00347769 and changes the bytes 80 02 00 00 B9 E0 01 to 00 04 00 00 B9 00 03

If you want a different resolution, edit the data to a bit of data from the below list, submitted by JimmyAngler
1024x768: 00 04 00 03
1152x864: 80 04 60 03
1280x720: 00 05 D0 02
1280x800: 00 05 20 03
1280x960: 00 05 C0 03
1280x1024: 00 05 00 04
1360x768: 50 05 00 03
1366x768: 56 05 00 03
1440x900: A0 05 84 03
1600x900: 40 06 84 03
1600x1200: 40 06 B0 04
1680x1050: 90 06 1A 04
1920x1080: 80 07 38 04
1920x1200: 80 07 B0 04
2560x1440: 00 0A A0 05

Re: Removing the green block from debugger exe

Posted: Sun Dec 06, 2015 9:50 pm
by Noobasaurus
Does this affect the code console (the thing that pops up when you press the tilde)?

Re: Removing the green block from debugger exe

Posted: Sun Dec 06, 2015 10:18 pm
by AnthonyBF2
Command console remains functional. :)

Re: Removing the green block from debugger exe

Posted: Sun Dec 06, 2015 10:26 pm
by JimmyAngler
Cool find, thanks!

Re: Removing the green block from debugger exe

Posted: Sun Dec 06, 2015 10:33 pm
by AceMastermind
Nice! Works great, thanks :thumbs:

Re: Editing the debugger exe

Posted: Sun Dec 06, 2015 10:57 pm
by AnthonyBF2
Edited the OP with another change.

Re: Editing the debugger exe

Posted: Mon Dec 07, 2015 12:08 am
by JimmyAngler
This might be helpful for anyone with a different resolution.
Hidden/Spoiler:
1024x768: 00 04 00 03
1152x864: 80 04 60 03
1280x720: 00 05 D0 02
1280x800: 00 05 20 03
1280x960: 00 05 C0 03
1280x1024: 00 05 00 04
1360x768: 50 05 00 03
1366x768: 56 05 00 03
1440x900: A0 05 84 03
1600x900: 40 06 84 03
1600x1200: 40 06 B0 04
1680x1050: 90 06 1A 04
1920x1080: 80 07 38 04
1920x1200: 80 07 B0 04
2560x1440: 00 0A A0 05

Re: Editing the debugger exe

Posted: Mon Dec 07, 2015 5:59 am
by Anakin
WOW. Thank you. I was waiting for this so long.

@mod/adm: this needs to go to the FAQs

Stop telling us what to do. -Staff

Re: Editing the debugger exe

Posted: Mon Dec 07, 2015 6:27 pm
by [RDH]Zerted
Anakin wrote:@mod/adm: this needs to go to the FAQs
Compared to deleting the thread for hacking the game?

Re: Editing the debugger exe

Posted: Sun Feb 20, 2022 8:32 pm
by cbadal
I did post more info on the game command line switches here:
https://github.com/Gametoast/Documentat ... ugger_exes