Help with Error: Failed to open xml file ... farmlands.xml

Your forum for all discussions around Modding.
solaris193
Posts: 8
Joined: Sun Nov 28, 2021 11:07 pm

Help with Error: Failed to open xml file ... farmlands.xml

Post by solaris193 »

can anyone help me with this error. It is causing a game crash. i have attached the log and files.

also on a second not I cannot get this file to zip and still be read by the game. i can only play this file unzipped.
Attachments
log.txt
(21.69 KiB) Downloaded 182 times
map.xml
(5.51 KiB) Downloaded 111 times
farmlands.xml
(4.21 KiB) Downloaded 109 times
User avatar
strauts6
Posts: 297
Joined: Mon Nov 03, 2014 12:00 am

Re: Help with Error: Failed to open xml file ... farmlands.xml

Post by strauts6 »

Delete data from filepath, like this

Code: Select all

    <farmlands filename="maps/mapFR/farmlands.xml" />
Also in farmlands.xml

Code: Select all

    <farmlands densityMapFilename="maps/mapFR/data/infoLayer_farmland.grle" numChannels="6" pricePerHa="60000">
solaris193
Posts: 8
Joined: Sun Nov 28, 2021 11:07 pm

Re: Help with Error: Failed to open xml file ... farmlands.xml

Post by solaris193 »

I can't believe I missed that thank you so much. Always great to have a second set of eyes!
User avatar
strauts6
Posts: 297
Joined: Mon Nov 03, 2014 12:00 am

Re: Help with Error: Failed to open xml file ... farmlands.xml

Post by strauts6 »

You're welcome!
Post Reply