News:

Simutrans Tools
Know our tools that can help you to create add-ons, install and customize Simutrans.

Change bits_per_month in savegame

Started by HDomos, March 19, 2012, 02:35:46 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

HDomos

Is it possible to change the bits_per_month in a saved game? I built some important tracks on it, and don't want to recreate the map again (i'ts huge and it would take forever), and i want to use spacing, but cant, cause the month is too long :-[ I'm playing with experimental (i don't know if it matters).

TommPa9

Yes it is possible.
Save your game in .xms format (uncompressed). Open your save in Notepad and there you can see this:

<?xml version="1.0"?>
<Simutrans version="0.102.1" pak="pak128">
<einstellungen_t>
  <i32>64</i32>
  <i32>23</i32>
  <i32>0</i32>
  <i32>330</i32>
  <i32>0</i32>
  <i32>3000</i32>
  <i32>0</i32>
  <i32>5</i32>
  <i32>1</i32>
  <i32>-2</i32>
  <d1000>320000</d1000>
  <d1000>700</d1000>
  <i32>2</i32>
  <i32>64</i32>
  <i8>1</i8>
  <i8>1</i8> - vypinac casove osy
  <i16>1930</i16>
  <i16>21</i16> - nastaveni rychlosti hry - bits_per_month
  <bool>false</bool>
  <bool>true</bool>
  <i8>0</i8>
  <i16>0</i16>
  <i16>0</i16>
  <i16>4</i16>
  <i16>8</i16>
  <i16>12</i16>
  <i16>16</i16>
  <i16>20</i16>
  <i16>20</i16>
  <i16>8</i16> - snezna cara v lete
  <i16>724</i16>
  <i16>0</i16>
  <i16>0</i16>
  <i32>16</i32>
  <i32>330</i32>
  <i16>20</i16>
  <bool>false</bool>
  <i16>20</i16>
  <bool>true</bool>
  <i32>120</i32>
  <bool>false</bool>
  <![CDATA[city_road]]>
  <i32>1000000</i32>
  <i32>7</i32>
  <i32>2000</i32>
  <i32>1500</i32>
  <![CDATA[cz]]>
  <bool>true</bool>
  <i8>1</i8>
  <![CDATA[]]>
  <bool>true</bool>
  <i8>1</i8>
  <![CDATA[]]>
  <bool>false</bool>
  <i8>0</i8>
  <![CDATA[]]>
  <bool>true</bool>
  <i8>0</i8>
  <![CDATA[]]>
  <bool>false</bool>
  <i8>0</i8>
  <![CDATA[]]>
  <bool>false</bool>
  <i8>0</i8>
  <![CDATA[]]>
  <bool>true</bool>
  <i8>0</i8>
  <![CDATA[]]>
  <bool>false</bool>
  <i8>0</i8>
  <![CDATA[]]>
  <bool>false</bool>
  <i8>0</i8>
  <![CDATA[]]>
  <bool>false</bool>
  <i8>0</i8>
  <![CDATA[]]>
  <bool>false</bool>
  <i8>0</i8>
  <![CDATA[]]>
  <bool>false</bool>
  <i8>0</i8>
  <![CDATA[]]>
  <bool>false</bool>
  <i8>0</i8>
  <![CDATA[]]>
  <bool>false</bool>
  <i8>0</i8>
  <![CDATA[]]>
  <bool>false</bool>
  <i8>0</i8>
  <![CDATA[]]>
  <bool>false</bool>
  <i64>50000000</i64>
  <i32>1800</i32>
  <i64>-75000</i64>
  <i64>-60000</i64>
  <i64>-40000</i64>
  <i64>-100000</i64>
  <i64>-50000</i64>
  <i64>-100000</i64>
  <i64>-850000</i64>
  <i64>-700000</i64>
  <i64>-900000</i64>
  <i64>-500000</i64>
  <i64>-50000</i64>
  <i64>-1100000</i64>
  <i64>-8000</i64>
  <i64>-10000</i64>
  <i64>-125000</i64>
  <i64>-150000</i64>
  <i64>-500000000</i64>
  <i64>-50000000</i64>
  <i64>-4000</i64>
  <i64>-100000</i64>
  <i64>-500000</i64>
  <i64>-250000</i64>
  <i64>-10000</i64>
  <i32>1</i32>
  <i32>2</i32>
  <i32>6</i32>
  <i32>15</i32>
  <i32>10</i32>
  <i32>8</i32>
  <i32>15</i32>
  <i32>25</i32>
  <bool>false</bool>
  <i8>0</i8>
  <i16>0</i16>
  <i16>16</i16>
  <i16>16</i16>
  <i16>256</i16>
  <bool>false</bool>
</einstellungen_t>
<i32>9164</i32>
<i32>0</i32>
<i32>1930</i32> - aktualni rok hry

Source

Carl

You should be able to change it in the in-game settings menu. In many paksets this is triggered by the 'i' key.

If that doesn't work, add the following to your menuconf.tab in the appropriate place:


dialog_tool[27]=,i


HDomos

Thanks for the fast reply.
Quote from: carlbaker on March 19, 2012, 03:13:22 PM
You should be able to change it in the in-game settings menu. In many paksets this is triggered by the 'i' key.

If that doesn't work, add the following to your menuconf.tab in the appropriate place:
dialog_tool[27]=,i

It helped :)