FS25 Maps 4 Kilometre 1 Unit Map Setup Estimated reading: 11 minutes 1862 views This guide will help you to understand how to make a larger map for Farming Simulator 25. This is IF you have a template map or a blank map avaiable from before, or you’ve made a blank map out of the “New Mod From Game” found in GIANTS Editor.Anyway you may also find template/prefab maps here at AlfaMods that you can mod for your own mods. 1. Introduction This guide is recommended for new maps only, to make a 16 square kilometers map – also known as 16X map. Please notice that the dem.png for the map’s terrain topology is at size 4097×4097 pixels, upscaled from 2049 pixels, where one pixel is one meter (or unit). If that’s not correct, make a 1x1x1 (w/l/h) cube in Blender or your 3D software, and import it into your map to get exact measurement. Or make a 4097 meter long cube or flat plane mesh instead, and import the mesh into the editor. 2. Default vanilla size for Farming Simulator maps Default vanilla TERRAIN topology size is 2049×2049 pixels. The 2048 pixels are by default the size of the PDA/map overview in Farming Simulator 25, referenced to in mapEU.xml as: XMLmap width="2048" height="2048" imageFilename="$data/maps/mapEU/textures/ui/overview.png"map width="2048" height="2048" imageFilename="$data/maps/mapEU/textures/ui/overview.png" So we have some numbers that are’t exactly the same. Please not this, since the PDA (let’s just call it a map’s map) is not the same size as the terrain topology heightmap called dem.png. 3. Upscaling layer files and what you need to know When it comes to terrain layer files known as filetype .gdm and .grle, GIANTS Editor and the integrated GIANTS Engine will only generate new GRLE and GDM files when generating a new map with GIANTS Editor. Upscaling the WEIGHT files will scale the visual pixel data, and upscaling must also be DONE to GRLE and GDMs. THIS IS NOT TO BE CONSIDERED FOR GAME-READY MOD MAPS OR PREFAB MAPS since these are template/prefab maps that has the correct scale unless somebody has made a terrible mess. I do anyway recommend you to generate a new 4 SKM map in GIANTS Editor and do the upscaling to 16 SKM map manually, since there’s no automated upscaling in the editor. Please check all the files before you start working on your mod map, that all layer, density maps and the terrain topology file (dem.png) has correct scale in pixels.For converting PNGs to DDS, I highly recommend to use the GIANTS Texture Tool *a bit outdated but still works* The tool can be downloaded from https://gdn.giants-software.com/downloads.php 4. Units Per Pixel What this guid hasn’t covered since it was made is units per pixels. This is a upscaling variable that can be found inside the map’s i3D file (.i3d) but also inside the GIANTS Editor’s user interface (terrain > attributes). For example, first just open one of the i3D files for the vanilla maps in a text editor like NotePad Plus, and you’ll find this line: XML<TerrainTransformGroup name="terrain" static="true" collisionFilterGroup="0x100" collisionFilterMask="0xfffff9c3" nodeId="5127" heightMapId="1" patchSize="65" maxLODDistance="750" heightScale="255" unitsPerPixel="1"<TerrainTransformGroup name="terrain" static="true" collisionFilterGroup="0x100" collisionFilterMask="0xfffff9c3" nodeId="5127" heightMapId="1" patchSize="65" maxLODDistance="750" heightScale="255" unitsPerPixel="1" So if 1 meter = 1 unit on a 2049×2049 map, 2 meters will be 2 units. In meters, the answer isn’t always exact but roughly close. To be precise, this is what AI (Google Gemini) says: Again, I would make a mesh (cube/plane) in meters in a 3D software like Blender, and add the pixels as meters for the cube (ex: 2049 pixels = 2049 meters) and see if the cube’s mesh is reaching from one end of the map to the other end. 5. Modding map.xml/mapEU.xml/mapAS.xml/mapUS.xml The list that follows shows the XML code for vanilla to the left, and the modded version at right. XMLmap width=”2048″ height=”2048″map width=”2048″ height=”2048″ XMLmap width=”4096″ height=”4096″map width=”4096″ height=”4096″ 6. Modding map.i3d (text editor/NotePad+) XMLlodTextureSize=”2048″lodTextureSize=”2048″ XML lodTextureSize=”4096″ lodTextureSize=”4096″ 7. Converting WEIGHT Files (Suffix _weight.png) All these files are 8bpc GRAY with a vanilla size of 2048×2048 pixels, and they need to be resized to 4096×4096 8bpc GRAY. For a new map with no other terrain texture than grass, you can fill in the background color white, using the Bucket Fill Tool in GIMP for grass01_weight.png for example, if you want this texture to be covering the whole map until you start to manually paint terrain textures later on. 8. Upscaling DEM, Density Maps, InfoLayers And Soil Map To convert .gdm/.grle to .png, use GRLE Converter https://gdn.giants-software.com/downloads.php (requires user registration). Copy and Paste the new PNGs to your “mymap/data” folder (or the folder you want these files).All data below is in pixels (ex: 2049×2049 pixels). The color format (8bpc GRAY – 8 bits per channel) is for exporting the upscaled version out of GIMP https://www.gimp.org/ File NameVanilla Pixel SizeNew Pixel SizeGIMP Export Image Options (.png)dem.png2049×20494097×40978bpc GRAY Compr Level 9densityMap_groundFoliage.png2048×20484096×40968bpc GRAY (US map) Compr Level 9densityMap_groundFoliage.png4096×40968192×81928bpc RGB (AS/EU map) Compr Level 9densityMap_stones.png4096×40968192×81928bpc GRAY Compr Level 9densityMap_weed.png4096×40968192×81928bpc GRAY Compr Level 9densityMap_fruits.png4096×40968192×81928bpc RGB Compr Level 9densityMap_ground.png4096×40968192×81928bpc RGB Compr Level 9densityMap_height.png4096×40968192×81928bpc RGB Compr Level 9infoLayer_environment.png512×5121024×1024 8bpc GRAY Compr Level 9infoLayer_farmlands.png1024×10242048×2048 8bpc GRAY Compr Level 9infoLayer_navigationCollision.png2048×20484096×40968bpc GRAY Compr Level 9infoLayer_placementCollision.png2048×20484096×40968bpc GRAY Compr Level 9infoLayer_placementCollisionGenerated.png2048×20484096×40968bpc GRAY Compr Level 9infoLayer_fieldType.png4096×40968192×81928bpc GRAY Compr Level 9infoLayer_indoorMask.png4096×40968192×81928bpc GRAY Compr Level 9infoLayer_limeLevel.png4096×40968192×81928bpc GRAY Compr Level 9infoLayer_plowLevel.png4096×40968192×81928bpc GRAY Compr Level 9infoLayer_rollerLevel.png4096×40968192×81928bpc GRAY Compr Level 9infoLayer_sprayLevel.png4096×40968192×81928bpc GRAY Compr Level 9infoLayer_stubbleShredLevel.png4096×40968192×81928bpc GRAY Compr Level 9infoLayer_tipCollision.png4096×40968192×81928bpc GRAY Compr Level 9infoLayer_tipCollisionGenerated.png4096×40968192×81928bpc GRAY Compr Level 9infoLayer_weed.png4096×40968192×81928bpc GRAY Compr Level 9soilMap.png1024×10241024×1024* keep it as it is unless trial @ error* When these new PNGs are in your data folder for your map, remove all files with the ending .gdm and .grle. Open up your map.i3d in NotePad++ and change the following lines *NOT the ID#*. Use Find.. inside the text editor to search for the GDM and GRLE file names if listed. Remember that all the files above aren’t listed in the i3D itself. Some are listed in config/weed.xml – fieldGround.xml – farmlands.xml. Replace the file ending with .png instead of gdm/grle, and then hit the SAVE button in NotePad++ when done. Open up map.i3d in GIANTS Editor, check for errors in the console panel, and if so, hit the SAVE icon and CLOSE the editor. New GRLE and GDMs are now available in your map’s data folder. When all the above steps done, run Farming Simulator with your map, and make a new game save at the save game slot number one (if available). If not then remember the save game slot number. Exit Farming Simulator after saving. Navigate to your Farming Simulator game saves folder. You will find new GRLE and GDMs there. Copy and Paste all GRLE and GDMs to your map’s data folder. You better also check the fieldGround.xml and weed.xml: Example how these infoLayers are listed inside the map’s i3D: XML<File fileId="ID#" filename="data/infoLayer_environment.png"/> <File fileId="ID#" filename="data/infoLayer_farmlands.png"/> <File fileId="ID#" filename="data/infoLayer_fieldType.png"/> <File fileId="ID#" filename="data/infoLayer_indoorMask.png"/> <File fileId="ID#" filename="data/infoLayer_navigationCollision.png"/> <File fileId="ID#" filename="data/infoLayer_placementCollision.png"/> <File fileId="ID#" filename="data/infoLayer_placementCollisionGenerated.png"/> <File fileId="ID#" filename="data/infoLayer_tipCollision.png"/> <File fileId="ID#" filename="data/infoLayer_tipCollisionGenerated.png"/><File fileId="ID#" filename="data/infoLayer_environment.png"/> <File fileId="ID#" filename="data/infoLayer_farmlands.png"/> <File fileId="ID#" filename="data/infoLayer_fieldType.png"/> <File fileId="ID#" filename="data/infoLayer_indoorMask.png"/> <File fileId="ID#" filename="data/infoLayer_navigationCollision.png"/> <File fileId="ID#" filename="data/infoLayer_placementCollision.png"/> <File fileId="ID#" filename="data/infoLayer_placementCollisionGenerated.png"/> <File fileId="ID#" filename="data/infoLayer_tipCollision.png"/> <File fileId="ID#" filename="data/infoLayer_tipCollisionGenerated.png"/> Example on infoLayers listed inside fieldGround.xml: XML<sprayLevel filename="mymap/data/infoLayer_sprayLevel.png" firstChannel="0" numChannels="2" maxValue="2"/> <limeLevel filename="mymap/data/infoLayer_limeLevel.png" firstChannel="0" numChannels="2" /> <plowLevel filename="mymap/data/infoLayer_plowLevel.png" firstChannel="0" numChannels="1" /> <stubbleShredLevel filename="mymap/data/infoLayer_stubbleShredLevel.png" firstChannel="0" numChannels="1" /> <rollerLevel filename="mymap/data/infoLayer_rollerLevel.png" firstChannel="0" numChannels="1" /><sprayLevel filename="mymap/data/infoLayer_sprayLevel.png" firstChannel="0" numChannels="2" maxValue="2"/> <limeLevel filename="mymap/data/infoLayer_limeLevel.png" firstChannel="0" numChannels="2" /> <plowLevel filename="mymap/data/infoLayer_plowLevel.png" firstChannel="0" numChannels="1" /> <stubbleShredLevel filename="mymap/data/infoLayer_stubbleShredLevel.png" firstChannel="0" numChannels="1" /> <rollerLevel filename="mymap/data/infoLayer_rollerLevel.png" firstChannel="0" numChannels="1" /> Example on infoLayers listed inside weed.xml: XML<infoLayer filename="mymap/data/infoLayer_weed.png" firstChannel="0" numChannels="1"><infoLayer filename="mymap/data/infoLayer_weed.png" firstChannel="0" numChannels="1"> 9. Adding the .GDM and .GRLE file endings (updating the map’s i3D and other XMLs with text editor) Previously we changed the file paths to .png. Now we will change the file paths for PNGs related to all the files listed in the Conversion Table back to GRLE and GDMs. For example, fieldGround.xml: XML<sprayLevel filename="mymap/data/infoLayer_sprayLevel.grle" firstChannel="0" numChannels="2" maxValue="2"/> <limeLevel filename="mymap/data/infoLayer_limeLevel.grle" firstChannel="0" numChannels="2" /> <plowLevel filename="mymap/data/infoLayer_plowLevel.grle" firstChannel="0" numChannels="1" /> <stubbleShredLevel filename="mymap/data/infoLayer_stubbleShredLevel.grle" firstChannel="0" numChannels="1" /> <rollerLevel filename="mymap/data/infoLayer_rollerLevel.grle" firstChannel="0" numChannels="1" /><sprayLevel filename="mymap/data/infoLayer_sprayLevel.grle" firstChannel="0" numChannels="2" maxValue="2"/> <limeLevel filename="mymap/data/infoLayer_limeLevel.grle" firstChannel="0" numChannels="2" /> <plowLevel filename="mymap/data/infoLayer_plowLevel.grle" firstChannel="0" numChannels="1" /> <stubbleShredLevel filename="mymap/data/infoLayer_stubbleShredLevel.grle" firstChannel="0" numChannels="1" /> <rollerLevel filename="mymap/data/infoLayer_rollerLevel.grle" firstChannel="0" numChannels="1" /> So you’ll need to add these file endings to every file path within your map.i3D and the other XML files. NOTE: Not the file itself, but the file paths with the ending file name as shown above. 10. Updating the map’s PDA The PDA is the map/chart you look at inside Farming Simulator when opening up the main menu with the ESCAPE (ESC) key. The PDA is connected to a DDS file named overview.dds.By default, the PDA is sized to 4096×4096 pixels. We will resize this to 8192×8192, and scale it back to 4096×4096 pixels to make a border inside GIMP. But anyway if you want to have a border or not, the final size must be 8192×8192 pixels, exported as PNG 8 bpc RGB. To make this into a DDS file, we can use GIANTS Texture Tool https://gdn.giants-software.com/downloads.php (drag and drop to convert PNGs to DDS.) 11. Debugging (Trial Test Run) The simple way to debugg this map, is to run Farming Simulator 25, select your map, mow some grass. Why this method?Because if the mowed grass isn’t displayed on ground, then the layer is faulty.Also try to paint some grass textures and foliage. If anything appears very blocky or squared, that’s an indication that the WEIGHT files are faulty. Bring up the developer console in-game to look for warnings or errors. Some warnings are vanilla warnings. Tagged:bitsfieldgroundGIANTS Editorgrleheightmapi3DinfolayerlimemapmapASmapEUmapUSmodmoddingnotepadplusoverviewpixelplowprefabsprayterraintextureunitweight