Note. I do not take responsibility for broken maps, game, save game etc.
--> Backup your map/files/save games before proceeding. <--
1. Download and unpack GRLE Converter v7.0.1 from Giants developer network.
2. Find your map's farmland.grle and drag and drop it on the GRLE Converter's "convert.cmd".
3. This should output an image file named farmland.png.
4. Make sure farmland.png is in the same place you found farmland.grle.
5. Delete farmland.grle so only farmland.png exist.
6. Open farmlands.xml.
7. Edit numChannels from 6 to 7.
Code: Select all
Example - Do not copypasta
Before: <farmlands densityMapFilename="maps/map/farmland.grle" numChannels="6" pricePerHa="60000">
After: <farmlands densityMapFilename="maps/map/farmland.grle" numChannels="7" pricePerHa="60000">
9. Find the line specifying Infolayer farmland and change numChannels from 6 to 7.
Code: Select all
Example - Do not copypasta
Before: <InfoLayer name="farmland" fileId="XX" numChannels="6"/>
After: <InfoLayer name="farmland" fileId="XX" numChannels="7"/>
Code: Select all
Example - Do not copypasta
What it should look like: <File fileId="XX" filename="map/farmland.png"/>
12. Save your map.i3d (With your text editor).
13. Double check that you have deleted farmland.grle and only farmland.png exist.
14. Open up your map in GE 8.x.
15. Go into farmland edit mode and if everything is correct you should see 127 channels in the drop down list.
16. Note that channel 63 (non-buyable land now has changed to 127 and 63 is normal buyable land).
17. Check only channel 6 (Layer value should now be 64).
18. Paint an area.
19. Save the map.
20. This should create a new farmland.grle.
21. Check that you have a new farmland.grle and delete farmland.png.
22. No need to edit map.i3d again as it will find the farmland.grle anyways.
23. Open farmlands.xml again and add a line for the new layer.
Code: Select all
Example - Do not copypasta
<farmland id="64" priceScale="1" npcName="NPC_DE_21" /> <!-- Our newly added farmland-->
24. Load your map ingame, test, verify and now we should have more farmland channels!
Additional notes
Do not copy paste the examples as they are just examples.
Non-buyable (127) channel code is 0123456.
If you find all the channel codes for 64-127 please add them in the in the comment section.
Remember to add your new farmlands in farmlands.xml!
Please comment suggestions and questions to improve this tutorial.
Feel free to make a video of this tutorial and reference the video in the comment section!
And as a last note. Help each other!