Quantcast
Viewing all articles
Browse latest Browse all 12856

Modding Civ I - Never-ending games!

Some players are trying their best to finish a Civ game as shortly as possible, but as far as I remember, what often frustrated me was not to be able to play as long as possible...

Well that can now be fixed with the below patch, which basically removes the deadline before which you must finish your game!

There are 3 places to patch:
  1. The announcement that you "will retire in 20 years"
  2. The "end of game" verification, that checks whether current year = 2100 - (20 * difficulty)
  3. The "end of game type selection", that also checks whether current year = 2100 - (20 * difficulty)

The most important place to patch is the 2nd one, as this is the actual one that will trigger the end of the game...

The first one will simply discard the newspaper anouncement that you will retire 20 years prior to the deadline: you may leave it untouched, the newspaper will popup, but the game will not end as announced... What a political twist :)

The last one should not really be a problem: it is a check in the "end of game code" to determine what is the reason for which the game is ending; this check happens only after checking whether you conquered all other Civs, or a spaceship arrived, so it is very unlikely that it may actually be triggered if you patch the 2nd item... But you never know...

So, hereunder are the bytes to patch in the 3 versions of Civ that I could analyze:

Code:

EN 47401

Original
1: 00002a14h: 40 C1 75 5E
2: 00002a92h: 40 C1 74 03
3: 00002b33h: 40 C1 75 5D

Patched
1: 00002a14h: 40 C1 EB 5E
2: 00002a92h: 40 C1 00 00
3: 00002b33h: 40 C1 EB 5D

EN 47405

Original
1: 00002a22h: 20 B2 75 5E
2: 00002aa0h: 20 B2 74 03
3: 00002b41h: 20 B2 75 5D

Patched
1: 00002a22h: 20 B2 EB 5E
2: 00002aa0h: 20 B2 00 00
3: 00002b41h: 20 B2 EB 5D

FR 47405

Original
1: 00002a9ah: 20 B9 75 5E
2: 00002b18h: 20 B9 74 03
3: 00002bc9h: 20 B9 75 6D

Patched
1: 00002a9ah: 20 B9 EB 5E
2: 00002b18h: 20 B9 00 00
3: 00002bc9h: 20 B9 EB 6D

Cheers!

Viewing all articles
Browse latest Browse all 12856

Trending Articles