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 


How are you supposed to use cheat engine with dosbox games?

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking
View previous topic :: View next topic  
Author Message
Question2
Newbie cheater
Reputation: 0

Joined: 13 Nov 2013
Posts: 15

PostPosted: Thu Oct 28, 2021 2:01 am    Post subject: How are you supposed to use cheat engine with dosbox games? Reply with quote

I have it attached to the dosbox process and i can search for values, but theres something weird going on here. Dosbox doesnt appear to use 4 bytes like the game would when run outside of dosbox.

Ive found some old threads on this subject, but theres a huge problem : 1 and 2 byte addresses are too small to contain the values.

For example, lets say i am searching for an address that contains 5 million (for money). I can find an address, but it does not contain 5 million...it contains some much lower value like 38,754. If i change the 38754, it will change part of the money value, but only a small amount (since 38754 is obviously not 5 million).

In this case, how are you supposed to edit the money value?
Back to top
View user's profile Send private message
LeFiXER
Grandmaster Cheater Supreme
Reputation: 20

Joined: 02 Sep 2011
Posts: 1055
Location: 0x90

PostPosted: Thu Oct 28, 2021 2:31 am    Post subject: Reply with quote

Ensure in scan settings you have checked 1-byte and 2-byte options. It's easier to check all of them, and make sure that you have MEM_PRIVATE, MEM_IMAGE and MEM_MAPPED checked also.
Back to top
View user's profile Send private message
Question2
Newbie cheater
Reputation: 0

Joined: 13 Nov 2013
Posts: 15

PostPosted: Sat Oct 30, 2021 11:04 pm    Post subject: Reply with quote

LeFiXER wrote:
Ensure in scan settings you have checked 1-byte and 2-byte options. It's easier to check all of them, and make sure that you have MEM_PRIVATE, MEM_IMAGE and MEM_MAPPED checked also.


That doesnt solve the problem unfortunately. 2 bytes isnt large enough to contain the full cash value (e.g. 5 million or more). So how are you supposed to edit the cash value when its too large for 2 bytes?
Back to top
View user's profile Send private message
LeFiXER
Grandmaster Cheater Supreme
Reputation: 20

Joined: 02 Sep 2011
Posts: 1055
Location: 0x90

PostPosted: Sun Oct 31, 2021 4:41 am    Post subject: Reply with quote

Perhaps this will be of some use to you.
github/erfg12/dosbox

Created by erfg12 from Fearless Revolution
Back to top
View user's profile Send private message
Csimbi
I post too much
Reputation: 94

Joined: 14 Jul 2007
Posts: 3110

PostPosted: Sun Oct 31, 2021 11:29 am    Post subject: Reply with quote

Use gamewizard instead.
Back to top
View user's profile Send private message
Question2
Newbie cheater
Reputation: 0

Joined: 13 Nov 2013
Posts: 15

PostPosted: Wed Nov 03, 2021 2:55 pm    Post subject: Reply with quote

LeFiXER wrote:
Perhaps this will be of some use to you.


Created by erfg12 from Fearless Revolution


I dont understand how that would solve the problem? You would still need to find the address and the address is 2 bytes which is too small to contain the full cash value...

Csimbi wrote:
Use gamewizard instead.


How exactly would this solve the problem?
Back to top
View user's profile Send private message
ParkourPenguin
I post too much
Reputation: 140

Joined: 06 Jul 2014
Posts: 4297

PostPosted: Wed Nov 03, 2021 6:01 pm    Post subject: Reply with quote

Question2 wrote:
For example, lets say i am searching for an address that contains 5 million (for money). I can find an address, but it does not contain 5 million...it contains some much lower value like 38,754. If i change the 38754, it will change part of the money value, but only a small amount (since 38754 is obviously not 5 million).
It's possible to know what's going on by looking at the bytes in the memory viewer around that address. Given that it's an emulator, anything goes. Big enaian values or unaligned memory are the first thoughts I'd have, though those would be weird for an x86 emulator. Could also be an esoteric value type or simply a wrong one (e.g. part of a float).

Post a better example- more specifically not something you made up.

_________________
I don't know where I'm going, but I'll figure it out when I get there.
Back to top
View user's profile Send private message
Csimbi
I post too much
Reputation: 94

Joined: 14 Jul 2007
Posts: 3110

PostPosted: Thu Nov 04, 2021 4:54 am    Post subject: Reply with quote

Question2 wrote:
LeFiXER wrote:
Perhaps this will be of some use to you.


Created by erfg12 from Fearless Revolution


I dont understand how that would solve the problem? You would still need to find the address and the address is 2 bytes which is too small to contain the full cash value...

Csimbi wrote:
Use gamewizard instead.


How exactly would this solve the problem?

It would teach you about 8bit computing.
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