DOSBox Static Addresses

Section's for general approaches on hacking various options in games. No online-related discussions/posts OR warez!
Post Reply
User avatar
erfg12
Expert Cheater
Expert Cheater
Posts: 54
Joined: Thu Mar 16, 2017 4:55 pm
Reputation: 6
Contact:

DOSBox Static Addresses

Post by erfg12 » Thu Jun 21, 2018 10:33 pm

[MEDIA=youtube]mIR-aBR8ng4[/MEDIA]



DOSBox 0.74 32bit's vmem base pointer is 0x01D3A1A0

DOSBox 0.73 32bit's vmem base pointer is 0x01D3FD40

DOSBox r4132 32bit's vmem base pointer is 0x01F7942C



Add Address Manually > [X] Pointer > (type in) 0x01D3A1A0 > (press) OK.



[IMG]https://s33.postimg.cc/7csl23j1r/Capture.png[/IMG]



You should see in the Address column "P->(ADDRESS)". That is your temporary vmem base address.



[IMG]https://s33.postimg.cc/8qk7xid73/Capture.png[/IMG]



Use cheat engine and find some values. This will give you a temporary address for the value.



[IMG]https://s33.postimg.cc/bxerh7py7/Capture.png[/IMG]



Open Windows 10 calculator in Programmer mode and press Hex. Or, find a hex calculator website.



Put in your temporary address for the value you found and minus the vmem base address. This will be your offset.



[IMG]https://s33.postimg.cc/g7tfcbxgv/Capture.png[/IMG]



[IMG]https://s33.postimg.cc/6n9spjnlb/Capture.png[/IMG]
Last edited by erfg12 on Thu Jul 26, 2018 4:36 pm, edited 4 times in total.

User avatar
SunBeam
RCE Fanatics
RCE Fanatics
Posts: 1466
Joined: Sun Feb 04, 2018 7:16 pm
Reputation: 192

DOSBox Static Addresses

Post by SunBeam » Fri Jun 22, 2018 7:56 am

Do specify that on a different DOSBox version this will not work as indicated (as the static pointer to the allocation will be different).
Last edited by SunBeam on Thu Jan 01, 1970 12:00 am, edited 1 time in total.

User avatar
erfg12
Expert Cheater
Expert Cheater
Posts: 54
Joined: Thu Mar 16, 2017 4:55 pm
Reputation: 6
Contact:

DOSBox Static Addresses

Post by erfg12 » Sat Jun 23, 2018 8:13 pm

Both in the title and the post I stated this is for version 0.74. Would they assume it works for other versions?
Last edited by erfg12 on Thu Jan 01, 1970 12:00 am, edited 1 time in total.

User avatar
SunBeam
RCE Fanatics
RCE Fanatics
Posts: 1466
Joined: Sun Feb 04, 2018 7:16 pm
Reputation: 192

DOSBox Static Addresses

Post by SunBeam » Sat Jun 23, 2018 9:30 pm

Trust me, people do this shit. They overlook the version and post "it doesn't work for my DOSBox"; then when you ask them which version, you can tell why :D

jonasbeckman
Expert Cheater
Expert Cheater
Posts: 136
Joined: Sat May 06, 2017 1:26 pm
Reputation: 4

DOSBox Static Addresses

Post by jonasbeckman » Sun Jun 24, 2018 2:36 pm

DOSBox hasn't been updated in a while now but they still do regular daily builds. (Since 2012 I think when the last current release was made.)

This looks like it could be useful though, although I myself update the binaries on a weekly basis. (6+ years of multiple daily builds means a lot of accumulated fixes and improvements and one day perhaps they'll have a new official release up, maybe.)



EDIT: Just have to check and yep these are still called 0.74.0 it seems.
Last edited by jonasbeckman on Thu Jan 01, 1970 12:00 am, edited 1 time in total.

User avatar
gir489
RCE Fanatics
RCE Fanatics
Posts: 284
Joined: Mon May 08, 2017 4:08 am
Reputation: 33
Contact:

DOSBox Static Addresses

Post by gir489 » Tue Jun 26, 2018 2:44 pm

I miss the old days of PEEK and POKE cheats on the C64. Static memory made things so much easier. Nice work detailing how to work with DOSBox, though. I've always wondered how they try to handle static memory on a dynamic memory platform.
Last edited by gir489 on Tue Jun 26, 2018 2:53 pm, edited 4 times in total.

User avatar
erfg12
Expert Cheater
Expert Cheater
Posts: 54
Joined: Thu Mar 16, 2017 4:55 pm
Reputation: 6
Contact:

DOSBox Static Addresses

Post by erfg12 » Thu Jul 05, 2018 9:04 pm

I noticed some GOG games use DOSBox 0.73 so here is the base pointer for that: 0x01D3fD40



Update 7/24/2018: Added r4132 base pointer: 0x01F7942C



I'll be releasing a video in a few days to show how you can find the base pointer for any version of dosbox easily.
Last edited by erfg12 on Wed Jul 25, 2018 1:08 pm, edited 2 times in total.

User avatar
erfg12
Expert Cheater
Expert Cheater
Posts: 54
Joined: Thu Mar 16, 2017 4:55 pm
Reputation: 6
Contact:

DOSBox Static Addresses

Post by erfg12 » Thu Jul 26, 2018 4:36 pm

I added a video to help locate the base address of DosBox on every version.

User avatar
koderkrazy
Fearless Donors
Fearless Donors
Posts: 174
Joined: Sun Jun 17, 2018 2:14 pm
Reputation: 1

DOSBox Static Addresses

Post by koderkrazy » Sun Aug 05, 2018 6:08 am

Do you have similar stuff(or anything) on PS3 and Wii emulators?

Post Reply