Editing money in XML files.

User avatar
BoxTunnel
Posts: 382
Joined: Fri May 04, 2018 10:26 am
Location: Wiltshire, UK.

Editing money in XML files.

Post by BoxTunnel »

Dear Forum Friends,

I have twice now tried to edit my money in the FS19 XML files (once to reduce and on a different savegame once to increase). But for this example lets say I had 15,000 pounds/dollars/euros and I edited the savegame.xml file to give me 20,0000 pounds/euros/dollars.

I open the game and choose the savegame I want to play and on the launch screen (where I pick the savegame I want to play) it shows 20,000 pounds/euros/dollars i.e the figure I had changed, but when I actually get in to the game the XML change has been ignored and I have exactly the same as before I edited the XML file, i.e 15,000 pounds/euros/dollars.

The file I am editing is My Games>FarmingSimulator2019>savegame1>careersavegame.xml>statistics>money.

In FS17 I had this problem when the Bank of Hagenstaadt mod was enabled and disabling it fixed the problem, but I have nothing like that in my FS19 mod folder (basically every mod enabled is from Giants' modhub).

I'm on Marwell Manor but had the same problem on Ravensport.

If any of you fine folk may have a solution I would be most grateful.

Kind regards,

BoxTunnel
Perbjorkhem
Posts: 126
Joined: Sat Jan 12, 2019 9:05 pm

Re: Editing money in XML files.

Post by Perbjorkhem »

I use the fantastic mod "goverment subsidy".
Gives me 150000 every hour.
User avatar
BoxTunnel
Posts: 382
Joined: Fri May 04, 2018 10:26 am
Location: Wiltshire, UK.

Re: Editing money in XML files.

Post by BoxTunnel »

Appreciate the answer Perbjorkhelm, but I'm not after free cash, need to change my balance specifically.

Cheers though,

BoxTunnel
User avatar
kahfs
Posts: 489
Joined: Fri Nov 11, 2016 8:08 am

Re: Editing money in XML files.

Post by kahfs »

There is also the file farms.xml. Don't know if this will do the trick.
K. Henneberg/ArmChairFarming. Author of RealLifeNumbers (FS19, FS22)
User avatar
GenXFarmer
Posts: 228
Joined: Mon Dec 10, 2018 5:35 pm
Location: Minnesota USA

Re: Editing money in XML files.

Post by GenXFarmer »

There are two files that need to be edited.

1. My Games>FarmingSimulator2019>savegame1>careersavegame.xml

Open the file
Use CTRL-F to find "money"
Change the number in between the money brackets shown in red

<statistics>
<money>123456</money>
<playTime>2225.651611</playTime>
</statistics>


Save file

2. My Games>FarmingSimulator2019>savegame1>farms.xml
Open the file
In the first line, change the money="____" field to the number in Step 1.

<farm farmId="1" name="MyFarm" color="1" password="NotTodayGiantsForumModerator" loan="0.000000" money="123456" loanAnnualInterestRate="...

Save file

3. Restart FS19

Even though one can put in a higher number, the max displayed money in game is 999,999,999. Usually $60M is enough to buy all land, buildings, terrain modification and equipment. :coolnew:
Last edited by GenXFarmer on Wed Apr 10, 2019 10:35 pm, edited 1 time in total.
Oh, I’m sorry, I thought this was America.
User avatar
FS Velocity
Posts: 207
Joined: Fri Feb 08, 2019 3:29 pm
Contact:

Re: Editing money in XML files.

Post by FS Velocity »

I’ve only ever changed it in farms.xml and never had any problems. So I don’t know why you need to do it in 2 xml files?
User avatar
BoxTunnel
Posts: 382
Joined: Fri May 04, 2018 10:26 am
Location: Wiltshire, UK.

Re: Editing money in XML files.

Post by BoxTunnel »

Hmmm, just replied but it has disappeared into the either, but many thanks kahsfs and GenXFarmer, problem is solved and all is peachy. Really appreciate your help.

Best Regards,

BoxTunnel.
User avatar
GenXFarmer
Posts: 228
Joined: Mon Dec 10, 2018 5:35 pm
Location: Minnesota USA

Re: Editing money in XML files.

Post by GenXFarmer »

Just tested by only changing the careersavegame.xml file. While this approach does add money to one's account as defined in the careersavegame.xml file, the amount of money shown at the savegame selection window does not match. This has no impact on purchasing power but does cause the value in the farms.xml to go haywire. Conclusion -- Change both files to keep "money" value from becoming corrupt.
Oh, I’m sorry, I thought this was America.
bmbpdk
Posts: 19
Joined: Fri Jul 24, 2009 4:26 pm

Re: Editing money in XML files.

Post by bmbpdk »

GenXFarmer wrote: Wed Apr 10, 2019 10:23 pm There are two files that need to be edited.

1. My Games>FarmingSimulator2019>savegame1>careersavegame.xml

Open the file
Use CTRL-F to find "money"
Change the number in between the money brackets shown in red

<statistics>
<money>123456</money>
<playTime>2225.651611</playTime>
</statistics>


Save file

2. My Games>FarmingSimulator2019>savegame1>farms.xml
Open the file
In the first line, change the money="____" field to the number in Step 1.

<farm farmId="1" name="MyFarm" color="1" password="NotTodayGiantsForumModerator" loan="0.000000" money="123456" loanAnnualInterestRate="...

Save file

3. Restart FS19

Even though one can put in a higher number, the max displayed money in game is 999,999,999. Usually $60M is enough to buy all land, buildings, terrain modification and equipment. :coolnew:
Thank you, this helped a lot!
User avatar
BoxTunnel
Posts: 382
Joined: Fri May 04, 2018 10:26 am
Location: Wiltshire, UK.

Re: Editing money in XML files.

Post by BoxTunnel »

Long time since I posted the OP, but now I just use the mod "Easy Development Controls" which does everything I need.
Post Reply