Fun but pointless Civ hack

darkpanda

Dark Prince
Joined
Oct 28, 2007
Messages
844
While I am following Gowron's steps in the analysis of Civ's disassembled code, I thought I'd propose a random Civ hack to the community: in case of food shortage, make a city's population increase by 1 instead of decrease by 1 :)

To do this, you need a Hex editor, and find the following hex string, which should be at offset 0xD876:
Code:
FE 8F 73 70 74 03 E9 39

Replace the 8F byte with 87:
Code:
FE [B][COLOR="Blue"]87[/COLOR][/B] 73 70 74 03 E9 39

Et voila! Cities that have food shortage will increase by 1 size...

Hopes this enlightens your day with a pointless hack!

Note: this only works with EN versions of Civ, I couldn't find (and didn't care finding) how to hack the FR version similarly.
 
Nice! For me (english civ 474.05) the offset was 0xD92D and the original sequence of bytes was

FE 8F F3 70 74 03 E9 39

changed 8F to 87 and it works as you write :)

Behold the Rome urban sprawl!
 

Attachments

  • rome.jpg
    rome.jpg
    99 KB · Views: 371
Back
Top Bottom