My patches
Posted: 10 Jan 2007 02:07
I'm working on a few small patches.
Here is the list.
Last trunk sync version : r8565
French town names patch :
When playing on a huge map, there is not enougth cities. This is due to a simple limitation in the game : it doesn't know enougth cities names !
This patch will add more than 30,000 real french town names.
This patch won't alter your saved games.
http://magicsite.manga-torii.com/files/ ... cities.zip (162 KB)
Belgium town names patch :
There were no Belgium town names. It's fixed with this patch. It adds more than 2700 Belgium town names.
This patch won't alter your saved games.
http://magicsite.manga-torii.com/files/ ... cities.zip (14 KB)
Subsidies range patch :
This patch allows the player to change the range of subsidies. By default it's 70 tiles length. On huge maps, it's just not enougth, as subsidies won't never award you for longer routes. The patch allows values from 70 to 4000. Default is 70, so it just don't have to be disabled if you don't use it : just use minimum value.
It also compute dynamic subsidies duration. The more the route is long, the more the duration is big. It is up to 48 months for > 1500 length routes. It doesn't impact duration for range default value, so again, it doesn't need to be disabled.
At last, this patch fix a problem you can see with the french cities patch or any other patch that allows you to build thousands cities : you won't see any subsidies. This is due to an hardcoded limitation of tries to find a new subsidies between 2 cities or industries. This patch fix it by using a town count based value for this test : the more you have cities, the more it will try to find a route for subsidies. You shouldn't see any impact on a default game. This fix just allow the subsidies routine to work everytime. It should also slightly increase game speed on small maps (less than 100 cities) but decrease game speed for huge maps, as it could make up to 80,000 tries instead of 1,000 if you use 4000 cities by exemple.
Also, the subsidies have 50% chances to be located in a unique city (local subsidy).
If range is greater than 70 (so patch is activated) a passenger subsidy have 25% chances to be replaced by a mail subsidy.
Now, it also displays correct duration in the subsidy awarded message.
At last, for huge maps and hight range value, the game should create only passengers/mail subsidies. So I added a fix to get more change to create an industry subsidy.
This patch WILL alter you saved games because the subsidies duration must be stored in the saved game.
Thus you'll get an error message when launching the game : because of the format change, it can't load the opening screnery. So it won't load it. Ignore this problem, it doesn't impact anything on the game.
http://magicsite.manga-torii.com/files/ ... _range.zip (6 KB)
Disable accidents patch :
This patch will be usefull for people who don't want any vehicule crash anymore. It will avoid planes to crash when landing, trucks to be exploded by trains, and even safe train collisions.
This patch won't alter your saved games.
http://magicsite.manga-torii.com/files/ ... idents.zip (3 KB)
Fast aircrafts can use only big airports :
This patch prevent you giving order to a fast aircraft to land on a small airport. Take care : when using auto-replacement, the patch won't check the existing route. So if the old aircraft had a small airport in its orders and you change it to a fast aircraft, the patch won't affect the plane orders.
This patch won't alter your saved games.
http://magicsite.manga-torii.com/files/ ... rports.zip (2 KB)
Display economic changes news only for industries located in cities where player have ratings :
Included in "improved smooth economy" patch since rev 2.8 : http://www.tt-forums.net/viewtopic.php?t=14819
This patch will be usefull for people playing with big maps. As smooth economy patch generates A LOT of news messages, this patch won't display these message unless the player is rated in the city the industry belongs to. Keep in mind a city will rate a player as soon as he creates a station near a industry that belong to the city, or in the city.
By this way, you'll get warned only for economic changes that are interresting yourself.
This patch won't alter your saved games.
This patch can't be enabled of disabled. It will be always activated as I think it's a bug fix and not really an addon.
http://magicsite.manga-torii.com/files/ ... cities.zip (1 KB)
Depot not transparent :
This patch will be usefull for people who have difficults to locate their road depots in big cities. When turning building transparent, depots will remain visible.
This patch won't alter your saved games.
http://magicsite.manga-torii.com/files/ ... parent.zip (2 KB)
Always replace vehicule when it gets old :
I detected a bug in the main trunk : if you enable auto-renew vehicules when they get old, but you disable servicing nor send vehicules in depots in their orders, then they won't be replaced when getting old.
This patch will fix it.
This patch won't alter your saved games.
This patch can't be disabled as I think it's a bug fix.
http://magicsite.manga-torii.com/files/ ... if_old.zip (2 KB)
Canal buoys won't flood is built on sea leavel :
This patch fix a bug with buoys built over a canal on sea level. It won't flood the surroundy area anymore.
This patch won't alter you saved games.
This patch can't be disabled as it is a bug fix.
http://magicsite.manga-torii.com/files/ ... od_fix.zip (1 KB)
New payment system :
Currently, the game justs pay a few if the transport takes a long time, even when the distance was very long. In this case, it won't take speed in account during income computation.
Because of this, playing on a huge map is just unusefull, as you'll need to build short distance routes if you want to get some money.
That's why I'm designed this patch that changes the calculation system, but using the same rates.
For long distances and perishable goods (food, goods, livestock, mail, passengers, valuables and equivalents for each game mode), the game will calculate the income for a 20 tiles long route portion, then multiply it to fit the real route distance.
I mean, currently, we have (exemple, not real values at all) :
1 days transportation = 10 $ per unit and per tile
2 days transportation = 5 $ per unit and per tile
3 days transportation = 1 $ per unit and per tile
If the duration is more than 3 days, then it is changed to 3.
Then it multiplies this value by distance and transported quantity.
So if you send some goods at 300 km/h for a 200 days transport, you'll get less money than some goods at 80 km/h for 10 days... I think it's just not realistic for perishable goods.
When activated the patch will change rules only for some merchandises, while using the old system for others (let say : wood, coal, irons, steel, etc. won't need fast transportation, so player should not be awarded for fast transportation. but livestock, grain, passengers, mails, valuabes and goods would use the new system as speed is really important).
This patch won't alter you saved games.
http://magicsite.manga-torii.com/files/ ... system.zip (3 KB)
For people who can't compile the game, I'll try to maintain a ready to use binary version.
Here is the lastest version. Install lastest Nightly Build version, then add this patch contents according the right directories.
You'll get an error message at the opening screen because it can't load a file. It's not a bug, it's just because the savegame format changed, so the opntitle.dat file is out of date. It don't have any impact on the game.
I tried to distribute one that was up to date, but lastly, trunk changed again the savegame format, so I give up.
You can create a new one by copying a saved game in /data folder, then renaming it to "opntitle.dat".
http://magicsite.manga-torii.com/files/patch.zip (982 KB) (rev8565)
Here is the list.
Last trunk sync version : r8565
French town names patch :
When playing on a huge map, there is not enougth cities. This is due to a simple limitation in the game : it doesn't know enougth cities names !
This patch will add more than 30,000 real french town names.
This patch won't alter your saved games.
http://magicsite.manga-torii.com/files/ ... cities.zip (162 KB)
Belgium town names patch :
There were no Belgium town names. It's fixed with this patch. It adds more than 2700 Belgium town names.
This patch won't alter your saved games.
http://magicsite.manga-torii.com/files/ ... cities.zip (14 KB)
Subsidies range patch :
This patch allows the player to change the range of subsidies. By default it's 70 tiles length. On huge maps, it's just not enougth, as subsidies won't never award you for longer routes. The patch allows values from 70 to 4000. Default is 70, so it just don't have to be disabled if you don't use it : just use minimum value.
It also compute dynamic subsidies duration. The more the route is long, the more the duration is big. It is up to 48 months for > 1500 length routes. It doesn't impact duration for range default value, so again, it doesn't need to be disabled.
At last, this patch fix a problem you can see with the french cities patch or any other patch that allows you to build thousands cities : you won't see any subsidies. This is due to an hardcoded limitation of tries to find a new subsidies between 2 cities or industries. This patch fix it by using a town count based value for this test : the more you have cities, the more it will try to find a route for subsidies. You shouldn't see any impact on a default game. This fix just allow the subsidies routine to work everytime. It should also slightly increase game speed on small maps (less than 100 cities) but decrease game speed for huge maps, as it could make up to 80,000 tries instead of 1,000 if you use 4000 cities by exemple.
Also, the subsidies have 50% chances to be located in a unique city (local subsidy).
If range is greater than 70 (so patch is activated) a passenger subsidy have 25% chances to be replaced by a mail subsidy.
Now, it also displays correct duration in the subsidy awarded message.
At last, for huge maps and hight range value, the game should create only passengers/mail subsidies. So I added a fix to get more change to create an industry subsidy.
This patch WILL alter you saved games because the subsidies duration must be stored in the saved game.
Thus you'll get an error message when launching the game : because of the format change, it can't load the opening screnery. So it won't load it. Ignore this problem, it doesn't impact anything on the game.
http://magicsite.manga-torii.com/files/ ... _range.zip (6 KB)
Disable accidents patch :
This patch will be usefull for people who don't want any vehicule crash anymore. It will avoid planes to crash when landing, trucks to be exploded by trains, and even safe train collisions.
This patch won't alter your saved games.
http://magicsite.manga-torii.com/files/ ... idents.zip (3 KB)
Fast aircrafts can use only big airports :
This patch prevent you giving order to a fast aircraft to land on a small airport. Take care : when using auto-replacement, the patch won't check the existing route. So if the old aircraft had a small airport in its orders and you change it to a fast aircraft, the patch won't affect the plane orders.
This patch won't alter your saved games.
http://magicsite.manga-torii.com/files/ ... rports.zip (2 KB)
Display economic changes news only for industries located in cities where player have ratings :
Included in "improved smooth economy" patch since rev 2.8 : http://www.tt-forums.net/viewtopic.php?t=14819
This patch will be usefull for people playing with big maps. As smooth economy patch generates A LOT of news messages, this patch won't display these message unless the player is rated in the city the industry belongs to. Keep in mind a city will rate a player as soon as he creates a station near a industry that belong to the city, or in the city.
By this way, you'll get warned only for economic changes that are interresting yourself.
This patch won't alter your saved games.
This patch can't be enabled of disabled. It will be always activated as I think it's a bug fix and not really an addon.
http://magicsite.manga-torii.com/files/ ... cities.zip (1 KB)
Depot not transparent :
This patch will be usefull for people who have difficults to locate their road depots in big cities. When turning building transparent, depots will remain visible.
This patch won't alter your saved games.
http://magicsite.manga-torii.com/files/ ... parent.zip (2 KB)
Always replace vehicule when it gets old :
I detected a bug in the main trunk : if you enable auto-renew vehicules when they get old, but you disable servicing nor send vehicules in depots in their orders, then they won't be replaced when getting old.
This patch will fix it.
This patch won't alter your saved games.
This patch can't be disabled as I think it's a bug fix.
http://magicsite.manga-torii.com/files/ ... if_old.zip (2 KB)
Canal buoys won't flood is built on sea leavel :
This patch fix a bug with buoys built over a canal on sea level. It won't flood the surroundy area anymore.
This patch won't alter you saved games.
This patch can't be disabled as it is a bug fix.
http://magicsite.manga-torii.com/files/ ... od_fix.zip (1 KB)
New payment system :
Currently, the game justs pay a few if the transport takes a long time, even when the distance was very long. In this case, it won't take speed in account during income computation.
Because of this, playing on a huge map is just unusefull, as you'll need to build short distance routes if you want to get some money.
That's why I'm designed this patch that changes the calculation system, but using the same rates.
For long distances and perishable goods (food, goods, livestock, mail, passengers, valuables and equivalents for each game mode), the game will calculate the income for a 20 tiles long route portion, then multiply it to fit the real route distance.
I mean, currently, we have (exemple, not real values at all) :
1 days transportation = 10 $ per unit and per tile
2 days transportation = 5 $ per unit and per tile
3 days transportation = 1 $ per unit and per tile
If the duration is more than 3 days, then it is changed to 3.
Then it multiplies this value by distance and transported quantity.
So if you send some goods at 300 km/h for a 200 days transport, you'll get less money than some goods at 80 km/h for 10 days... I think it's just not realistic for perishable goods.
When activated the patch will change rules only for some merchandises, while using the old system for others (let say : wood, coal, irons, steel, etc. won't need fast transportation, so player should not be awarded for fast transportation. but livestock, grain, passengers, mails, valuabes and goods would use the new system as speed is really important).
This patch won't alter you saved games.
http://magicsite.manga-torii.com/files/ ... system.zip (3 KB)
For people who can't compile the game, I'll try to maintain a ready to use binary version.
Here is the lastest version. Install lastest Nightly Build version, then add this patch contents according the right directories.
You'll get an error message at the opening screen because it can't load a file. It's not a bug, it's just because the savegame format changed, so the opntitle.dat file is out of date. It don't have any impact on the game.
I tried to distribute one that was up to date, but lastly, trunk changed again the savegame format, so I give up.
You can create a new one by copying a saved game in /data folder, then renaming it to "opntitle.dat".
http://magicsite.manga-torii.com/files/patch.zip (982 KB) (rev8565)