darkpanda
Dark Prince
- Joined
- Oct 28, 2007
- Messages
- 823
Some late night byte roaming, and here is an eco-friendly patch to disable pollution:
Note that all it does is trick CIV into thinking that, at the time of adding pollution to a square, the square already contains pollution... So CIV skips it and does not increase the polluted square counter.
So you will still get the chimneys in cities, and messages like "Pollution near XYZ", but no pollution will be spawned at all, so no effect.
Enjoy!
Code:
original bytes: 83 C4 04 A8 40 [color=red]75[/color] 24 FF 76 08 FF 76 06 B8 40 00
patched bytes: 83 C4 04 A8 40 [color=blue][b]EB[/b][/color] 24 FF 76 08 FF 76 06 B8 40 00
offsets:
EN 474.01: 0x13BD4
EN 474.03: 0x13636
EN 474.04: 0x1363C
EN 474.05: 0x13E50
EN 475.01: 0x13BD4
FR 474.05: 0x144C7
Note that all it does is trick CIV into thinking that, at the time of adding pollution to a square, the square already contains pollution... So CIV skips it and does not increase the polluted square counter.
So you will still get the chimneys in cities, and messages like "Pollution near XYZ", but no pollution will be spawned at all, so no effect.
Enjoy!