Gamecheats:SimTower

From Cheat Engine
Revision as of 12:12, 1 October 2009 by Dark Byte (talk | contribs) (I always forget to mention to tick the MEM_MAPPED box in 16-bit emu. Anyhow, replaced this completly with a better wiki entry)
Jump to navigation Jump to search

About simtower

Simtower is an 16-bit game designed for windows 3.1 This causes 32-bit versions of windows to run it inside a virtual 8086 mode. In NT-Based OS'es this is the ntvdm.exe process. Because 64-bit versions of windows don't have a similar emulation layer the only way to run this game on there is through the use of virtual machines like vmware and install a 32-bit os on there

Cheating

To cheat in simtower the first thing you have to do is go to settings->scan setting and tick the MEM_MAPPED box. (Probably because the image of the loaded .exe is mapped inside the virtual machine instead of actually loaded there, but not 100% sure. Correct if wrong)

Also, you have to set the range to scan to all (00000000 to FFFFFFFF)

Money is stored divided by 100. So if you have 175000 money, it is stored in memory as 1750
For scanning you can just use a 4 byte scan, but make sure that fastscan is off. The game aligns memory on a 2 byte boundary instead of 4 byte.

Population is also stored as a 4 byte value, but there's nothing special about it. 100=100 (just don't do fastscan)

Table info

Memory Address Value Type Value
00050C62 4 Bytes Money (divided by 100)
0005115A 4 Bytes Population

These addresses will probably be different on other systems, but you only have to find population, or money, and you can use the "Recalculate all addresses" option to automatically find the address of the other