Modding Civ I - Special resources everywhere... or nowhere!

darkpanda

Dark Prince
Joined
Oct 28, 2007
Messages
823
This is another kind of silly patch, but I thought it could be interesting to play CIV games where all terrain squares have a special resource - or none of them...

The bytes to patch are as follows for all known versions of CIV DOS:
Code:
 offsets:
        Civ EN 474.01 offset: [B]0x1C867[/B]
        Civ EN 475.01 offset: [B]0x1C867[/B] (untested)
        Civ EN 474.03 offset: [B]0x1BEAB[/B] (untested)
        Civ EN 474.04 offset: [B]0x1BEB1[/B]
        Civ EN 474.05 offset: [B]0x1C6C5[/B] (untested)
        Civ FR 474.05 offset: [B]0x1D24D[/B] (untested)

original bytes: [COLOR="Red"]55 8B EC 83[/COLOR] EC 02 83 7E  0A 01 7E 06 83 7E 0A 30

 patched bytes: [COLOR="Blue"]B8 [B]01[/B] 00 CB[/COLOR] EC 02 83 7E  0A 01 7E 06 83 7E 0A 30
(for special resources [I]everywhere[/I])

 patched bytes: [COLOR="Blue"]B8 [B]00[/B] 00 CB[/COLOR] EC 02 83 7E  0A 01 7E 06 83 7E 0A 30
(for special resources [I]nowhere[/I])

From a purely strategic point of view, you might as well modify the terrain properties for normal terrain to match those of special terrain rather than using this hack, because it is kind of hard on the eyes:

 

Attachments

  • civ_unp_001.png
    civ_unp_001.png
    10.6 KB · Views: 565
Yeah it's not working for mine (474.04)... I suppose the patch will be different for the various versions.
 
Interesting...
Anyways, I used a hex editor, copied the whole list of hexes and clicked on search. Then I manually replaced them having your post on one side, and my editor on the other. I also replaced the file a few times and did it automatically with search and replace.

Edit:
I have a version 1 and it works just fine there, maybe I have hacked up my file too much.
 
I always wanted a level 62 oasis town. Can't beat having 54 phantom taxmen! 19,530,000 population.
 
Top Bottom