Log in

View Full Version : Ollydbg and Console mode


Fuzzy
January 15th, 2006, 00:30
Hi everybody. I have problems for debug Warcraft II Battle.net Edition. (my son likes this game) . It's run only in Windows, so it's a PE file. But run in a DOS window, in full screen mode. I can open it perfectly with Olly, put it in pause and running it. But I have problems when i use Breakpoints. For example, I put a Breakpoint in the adress of memory the XXXXX. I back to the game. I do the necessary things in order that Olly jumps and it does it. It returns to Windows but I can't see any window, i have all the background in black . I see only the "start bar", and i can change tasks using Alt+tab. Also I can use the mouse, but without seeing any window. I changed the start resolution mode of the Executable, i put compatibility with Win98, etc, but it didn't work.

What can i do?

PD: Excuse me my english, it's not my first language.

blabberer
January 16th, 2006, 11:12
debuggin full screen application is a tedious task as the game has full control over the screen try running it in windowed mode if it is possible
otherwise you have to rely mostly on log breakpoints
and debug without pausing the application
so that you can alt tab and to ollydbg window and look at logged data

other wise using remote debugging feautures of windbg with two machine setup is the best way to deal with full screen applications

if you have visual studio or if you are comfortable with
ms debugging tools aka windbg,cdb.ntsd,and kd and have two machines you can check this out
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vsdeb ug/html/vxoriremotedebuggingsetup.asp ("http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vsdebug/html/vxoriremotedebuggingsetup.asp")

ramguru
January 17th, 2006, 13:09
try to set "Always on top", it worked for me...