Community Forum

corrupt savegame

Forum Overview >> Editor

CategoryEditor
Created03.12.2018 02:27


William Rowe (Bonger76) 03.12.2018 02:27
2018-12-02 19:53 Error: Failed to open xml file 'S:/Users/User/Documents/My Games/FarmingSimulator2019/mods/FS19_map/maps/farmMansion/farmMansion.xml'.
2018-12-02 19:53 Warning: corrupt savegame, item 39 with className FarmhousePlaceable could not be loaded
2018-12-02 19:53 Error: Failed to open xml file 'S:/Users/User/Documents/My Games/FarmingSimulator2019/mods/FS19_map/maps/farmSilo/farmSilo.xml'.
2018-12-02 19:53 Warning: corrupt savegame, item 39 with className SiloPlaceable could not be loaded

any idea i dont have any saved game get this with the trains to

Bilbo Beutlin (BBeutlin) 03.12.2018 03:50
The GE exported "defaultItems.xml" and "defaultVehicles.xml" have wrong filenames (known bug).
Edit them by replacing all filename="$data/.." with filename="data/.."

If you want to address components of your modmap, use "$moddir$yourModMap/..."

You must start a new game/career to make the changes effective.

William Rowe (Bonger76) 03.12.2018 19:54
Fixed it was a path problem must of look at it a hunred times and didn't see it all these .xml.

Bjørn Brynildsen (prawler) 06.12.2018 19:28
Hi

Same issue here. As BB told me in another post, i had to remove the $.

So far so good. The only thing i now wonder is:
How can the modmap work, when it points to my mods folder? Because my map in my modfolder does not include all those things in the xml?

I am really looking forward to a tutorial video on youtube explaining exactly how yhis works.......

Do i have to use $moddir$yourModMap/ for every placeable i want to use ?

Best regards
Bjørn


Bjørn Brynildsen (prawler) 06.12.2018 19:28
Hi

Same issue here. As BB told me in another post, i had to remove the $.

So far so good. The only thing i now wonder is:
How can the modmap work, when it points to my mods folder? Because my map in my modfolder does not include all those things in the xml?

I am really looking forward to a tutorial video on youtube explaining exactly how yhis works.......

Do i have to use $moddir$yourModMap/ for every placeable i want to use ?

Best regards
Bjørn


Bilbo Beutlin (BBeutlin) 06.12.2018 19:38
Yes.

Bjørn Brynildsen (prawler) 06.12.2018 19:42
Hi again....

Now my defaultitem.xml looks like this....

<item className="SiloPlaceable" filename="$moddir$/FS19_FelsbrunnByBrynildsen/maps/placeables/farmSilos/farmSiloLarge.xml" position="-18 67 205" rotation="0 180 0" defaultFarmProperty="true" farmId="1" />


And i get an error: Error: Failed to open xml file 'C:/Users/Bjørn Brynildsen/Documents/My Games/FarmingSimulator2019/mods/$moddir$/FS19_FelsbrunnByBrynildsen/maps/placeables/farmSilos/farmSiloLarge.xml'.

What am i missing?

Bjørn


Bjørn Brynildsen (prawler) 06.12.2018 19:52
Hi again....

Now my defaultitem.xml looks like this....

<item className="SiloPlaceable" filename="$moddir$/FS19_FelsbrunnByBrynildsen/maps/placeables/farmSilos/farmSiloLarge.xml" position="-18 67 205" rotation="0 180 0" defaultFarmProperty="true" farmId="1" />


And i get an error: Error: Failed to open xml file 'C:/Users/Bjørn Brynildsen/Documents/My Games/FarmingSimulator2019/mods/$moddir$/FS19_FelsbrunnByBrynildsen/maps/placeables/farmSilos/farmSiloLarge.xml'.

What am i missing?

Bjørn


Bilbo Beutlin (BBeutlin) 06.12.2018 20:50
Not clear? The solution is already in the error message: you need to create a custom xml which is linked with your item.

Bjørn Brynildsen (prawler) 06.12.2018 22:19
Hi

Its clear......found the error......$moddir$/

I removed the /, and everything works as a charm

Bjørn


Bjørn Brynildsen (prawler) 06.12.2018 22:36
Hi

Its clear......found the error......$moddir$/

I removed the /, and everything works as a charm

Bjørn


William Rowe (Bonger76) 07.12.2018 03:52
You will get that error some times if you dont have them listed in you map modDesc.xml under storeitem,if it is a modded placeable loading from your map

<storeItems>
<storeItem xmlFilename="maps/placeables/farmMansion/farmMansion.xml" />
<storeItem xmlFilename="maps/placeables/bga1/bga1.xml" />
<storeItem xmlFilename="maps/placeables/bga2/bga2.xml" />
<storeItem xmlFilename="maps/placeables/farmSilo/farmSilo.xml" />
</storeItems>
the bgas wouldn't load if this wasn't in my maps modDesc the farm silo will load whithout being here but the bgas and the farmMansion didn't

Bilbo Beutlin (BBeutlin) 07.12.2018 05:22
So far I didn't find a remarkable difference in the xml's of the items.
I took the 'official' modmap "Estancia Lapacho" for examination.
In the modDesc are declared farmMansion, farmStorageBarn, bga, farmSilo, waterFillTriggers.
The "defaultItems" contains a lot more like eg. gasStation, storageSilo.., sellingStation.., etc.
All have source in "$moddir$FS19_EstanciaLapacho".

I'd also like to know which items are essential for entry in modDesc and where's the difference.


Note: Log in to post. Create a new account here.