View previous topic :: View next topic |
Author |
Message |
Question2 Newbie cheater Reputation: 0
Joined: 13 Nov 2013 Posts: 15
|
Posted: Thu Oct 28, 2021 2:01 am Post subject: How are you supposed to use cheat engine with dosbox games? |
|
|
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 |
|
|
LeFiXER Grandmaster Cheater Supreme Reputation: 20
Joined: 02 Sep 2011 Posts: 1055 Location: 0x90
|
Posted: Thu Oct 28, 2021 2:31 am Post subject: |
|
|
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 |
|
|
Question2 Newbie cheater Reputation: 0
Joined: 13 Nov 2013 Posts: 15
|
Posted: Sat Oct 30, 2021 11:04 pm Post subject: |
|
|
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 |
|
|
LeFiXER Grandmaster Cheater Supreme Reputation: 20
Joined: 02 Sep 2011 Posts: 1055 Location: 0x90
|
Posted: Sun Oct 31, 2021 4:41 am Post subject: |
|
|
Perhaps this will be of some use to you.
github/erfg12/dosbox
Created by erfg12 from Fearless Revolution
|
|
Back to top |
|
|
Csimbi I post too much Reputation: 94
Joined: 14 Jul 2007 Posts: 3110
|
Posted: Sun Oct 31, 2021 11:29 am Post subject: |
|
|
Use gamewizard instead.
|
|
Back to top |
|
|
Question2 Newbie cheater Reputation: 0
Joined: 13 Nov 2013 Posts: 15
|
Posted: Wed Nov 03, 2021 2:55 pm Post subject: |
|
|
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 |
|
|
ParkourPenguin I post too much Reputation: 140
Joined: 06 Jul 2014 Posts: 4297
|
Posted: Wed Nov 03, 2021 6:01 pm Post subject: |
|
|
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 |
|
|
Csimbi I post too much Reputation: 94
Joined: 14 Jul 2007 Posts: 3110
|
Posted: Thu Nov 04, 2021 4:54 am Post subject: |
|
|
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 |
|
|
|