Farming Simulator 19

Farming Simulator 19

View Stats:
Yo Oliii Nov 27, 2018 @ 9:07am
Changing Crop Prices (inc Cotton) - .XML File
This might be common knowledge but i couldnt find a thread on it so i had to dig around myself. I wanted to inflate or deflate crop/fuel/fertilizer prices etc without waiting for mods...

In my case/opinion, cotton is way to cheap considering its "the new crop on the block" for fs19 and it costs a huge start up amount to get the equipment etc.

I want what i feel is a more just reward for what is essentially an "end game" crop if your playing med/hard difficulty so ive boosted the price a bit to make it a more competitve fruit. If your also interested...

Location:
C:\Program Files (x86)\Steam\steamapps\common\Farming Simulator 19\data\maps

XML file you want is:
maps_fillTypes.xml

So using cotton as the example, open up the above .XML file in notepad and Ctrl+F "Cotton" and you'll see the script that defines (amongst other things) the price per litre and mass per litre. look for the text line:

-<fillType title="$l10n_fillType_cotton" name="COTTON" pricePerLiter="0.313" showOnPriceTable="true">

Simply change the value of the pricePerLiter="*.***" value to what ever you want. I set mine to "0.600" to effectively double the price of the crop when coming to sell it.

This also works for buying as well as selling. So for example if you think lime is to expensive to buy but still want the to enjoy the process of liming your fields then in the same file as above you can change the price of this as well to make it a little more affordable.

-<fillType title="$l10n_fillType_lime" name="LIME" pricePerLiter="0.225" showOnPriceTable="false">

You could change pricePerLiter="0.1125" to effectively half the cost of this... IF you wanted to...

Maybe this is old news and just basic for most outthere, but if you want to tailor the economy to suit you maybe this will help a bit....

EDIT: The above changes or any changes to any of these files will prevent online play. Good idea to make a carbon copy of the base XML file and store it in a safe place.
Last edited by Yo Oliii; Nov 27, 2018 @ 10:30am
< >
Showing 1-14 of 14 comments
CHfarmerHobbes Nov 27, 2018 @ 9:37am 
Thank you, i've been looking for that.
Randy Nov 27, 2018 @ 9:45am 
Just be aware that when you alter files in the install dir, you cant play online..
CHfarmerHobbes Nov 27, 2018 @ 10:11am 
ya, I would have to change that back, but I haven't yet played online.
cwattyeso Nov 27, 2018 @ 10:19am 
I just made a copy of the default xml and saved it to a safe place so I can copy it back if I need to ever go online and play online.

It looks good thought to finally sort out some of those wacky prices and balance things out a bit more. Though a quick scan through of the file and I can't see any pricing for Wood/Logs anywhere.
Yo Oliii Nov 27, 2018 @ 10:24am 
Originally posted by Randy:
Just be aware that when you alter files in the install dir, you cant play online..
YES! Forgot to mention that, good shout. Will edit!
Crash471 Nov 27, 2018 @ 10:41am 
Thx for the info!
CARgamer18 Apr 8, 2019 @ 3:20am 
I forgot to make a copy of the file. what can i do now, because I play online sometime
Knottypine Apr 8, 2019 @ 3:44am 
Originally posted by CARgamer18:
I forgot to make a copy of the file. what can i do now, because I play online sometime
You could just verify the game and it should update the file back to the original.
Vetr "Winter" Apr 5, 2021 @ 8:12am 
If i alter the files, multiplayer wont work, but if i restore allthe files to their default state, will it work again? or is the effect permanent?
Llogeyr Apr 5, 2021 @ 8:26am 
Originally posted by Aleksandr E.:
If i alter the files, multiplayer wont work, but if i restore allthe files to their default state, will it work again? or is the effect permanent?
Yes, you will need to restore the files for MP to work again.
cwattyeso Apr 5, 2021 @ 10:16am 
Another thing to do, to prevent messing with the games default files, and potentially causing issues with multiplayer (I have modified many game files and vehicles files and is has not stopped me playing multiplayer but sometimes I do notice some weird things) is to create a copy of the filltypes xml and add that to the zip file of the map you are playing assuming you are playing a mod map. Of course the mod map may already be using it's own custom filltypes xml and you are welcome to edit and change that to your liking, however note that when you save it if it's a ModHub map next time you launch the game the game will tell you the map has an update, because it will see your edit as different, don't update the map or you'll undo your edits. If the mod map doesn't have a filltypes xml and is using the default game one from your install location, it's easy to fix, by dropping the filltypes xml you want to use into the maps zip folder and ideally in the same location as the map.xml file, then you need to open the map.xml file and scroll down to near the bottom where you'll find:

<fillTypes filename="$data/maps/maps_fillTypes.xml" /> which is pointing to the default game filltype file.

You just need to edit this to the location in the mod zip file for your custom filltype xml such as:

<fillTypes filename="maps/maps_fillTypes.xml" />

Basically the rule to remember is any time you see $Data it's referencing to a default game file, if a location does not have this then it's making reference to a local file within the map folder/zip
Vetr "Winter" Apr 6, 2021 @ 6:15am 
Originally posted by Llogeyr:
Originally posted by Aleksandr E.:
If i alter the files, multiplayer wont work, but if i restore allthe files to their default state, will it work again? or is the effect permanent?
Yes, you will need to restore the files for MP to work again.

Yay, but just confirming...It will work again even if it didn't before?
ElCochiloco Aug 9, 2021 @ 7:29pm 
Can someone give me the backup pls :( I want to play with friends but I didnt make a backup :(
Randy Aug 10, 2021 @ 5:01am 
Just delete the file and validate files
< >
Showing 1-14 of 14 comments
Per page: 1530 50

Date Posted: Nov 27, 2018 @ 9:07am
Posts: 14