Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Forced windowed mode and multi-level pointers. [Long Post]

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking
View previous topic :: View next topic  
Author Message
ivania4u
How do I cheat?
Reputation: 0

Joined: 30 May 2009
Posts: 4

PostPosted: Fri Aug 20, 2010 11:56 pm    Post subject: Forced windowed mode and multi-level pointers. [Long Post] Reply with quote

The game is an old one call Redmoon from around the year 1999.

What are some common ways to force a game to run in a window?

What is a way to make the game generate the 2d effects if it is in the background?
(If the game runs in background it appears frozen, when you bring the game up again all the models move at x10 speed until the ?timer? catches up.)

I found the HP max and HP current value. I then looked for the pointer to the HP current and what accesses it. After the 2nd level, I was lead back to the 2nd level pointer. I could not find the 3rd. The reason I need the static address is to trace what interacts with it to hopefully find a god-mode or heal bug.


Some info about the games main.dll that was released:

The offset is 0x00011C29. Change 74 to 75 and you should have auto run and have to hold ALT to walk. This works, but I would like to know how. How does changing a 74 to a 75 do this?


The offset 0x00003A17: I cannot find this offset, its outdated.
Value 00 Windowed
Value 01 Full Screen
Back to top
View user's profile Send private message
noko_112
Grandmaster Cheater
Reputation: 0

Joined: 09 Jun 2009
Posts: 585

PostPosted: Sat Aug 21, 2010 4:46 am    Post subject: Reply with quote

I presume you mean a DX based game, so you can use this tool Dxwnd.

Sorry aparently they dont have a official site anymore
Back to top
View user's profile Send private message
XaLeX
Expert Cheater
Reputation: 0

Joined: 19 Aug 2008
Posts: 226

PostPosted: Sat Aug 21, 2010 6:35 am    Post subject: Re: Forced windowed mode and multi-level pointers. [Long Pos Reply with quote

ivania4u wrote:
What are some common ways to force a game to run in a window?
as has already been said, try dxwnd, but the game is really old.

ivania4u wrote:
I found the HP max and HP current value. I then looked for the pointer to the HP current and what accesses it. After the 2nd level, I was lead back to the 2nd level pointer. I could not find the 3rd.
in these cases it's best to read the raw code. If you can't, post a snippet of the lines preceding the actual instruction you traced, and we'll try to help

ivania4u wrote:
The offset is 0x00011C29. Change 74 to 75 and you should have auto run and have to hold ALT to walk. This works, but I would like to know how. How does changing a 74 to a 75 do this?
that's because by doing that you're changing the lowest bit of the byte at +11C2C from 0 to 1. It's some sort of isRunning flag.

ivania4u wrote:
The offset 0x00003A17: I cannot find this offset, its outdated.
Value 00 Windowed
Value 01 Full Screen
Being unable to find an offset is kind of strange. What do you mean by "finding" an offset?
Back to top
View user's profile Send private message
ivania4u
How do I cheat?
Reputation: 0

Joined: 30 May 2009
Posts: 4

PostPosted: Sat Aug 21, 2010 12:59 pm    Post subject: Re: Forced windowed mode and multi-level pointers. [Long Pos Reply with quote

XaLeX wrote:
ivania4u wrote:
What are some common ways to force a game to run in a window?
as has already been said, try dxwnd, but the game is really old.


I tried dxwnd, nothing. The game runs a small server selector before it runs the actual game. Maybe this could be interfering

XaLeX wrote:
ivania4u wrote:
I found the HP max and HP current value. I then looked for the pointer to the HP current and what accesses it. After the 2nd level, I was lead back to the 2nd level pointer. I could not find the 3rd.
in these cases it's best to read the raw code. If you can't, post a snippet of the lines preceding the actual instruction you traced, and we'll try to help


I attached an image of the HPmin/max dynamic addresses and where they appear in the debugger. I could not find the static address as the pointer starts to point to itself. Also there are 2 pointers to the HPmin value and those are dynamic as well.

SBB is Integer Subtraction with Borrow. I'm guessing because I found the value by equipping and unequipping items that increase HP relatively it found this opcode, maybe the HP is stored somehow differently. Because you cannot increase HP directly, you need to increase Power which increases your HP. Also the value is always hidden, your HP is displayed simply as a bar.

The print screen did not capture it but the game was run with olly attached, so its the correct dynamic address.

P.S. By HPmin I meant current HP Razz


XaLeX wrote:
ivania4u wrote:
The offset 0x00003A17: I cannot find this offset, its outdated.
Value 00 Windowed
Value 01 Full Screen
Being unable to find an offset is kind of strange. What do you mean by "finding" an offset?


By offset I meant address. I found it at 3A16 and changed it. But the window is blacked out. Sound is working. Attached an image also.



rmhp.jpg
 Description:
HP
 Filesize:  528.26 KB
 Viewed:  6928 Time(s)

rmhp.jpg



redmoon.jpg
 Description:
Windowed Mode
 Filesize:  297.52 KB
 Viewed:  6928 Time(s)

redmoon.jpg


Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites