2021-06-23 updated.
System to GIMP paint fields and roads, then use GraphicsMagick to generate all images (cultivator_density.png, fruit_density.png and roughDirt01_weight.png).
Farming Simulator 19 (FS19) _density and _weight image file setup is quite complex for beginner to understand, therefore this GraphicsMagick setup makes it easy one click solution to get all the GIMP source images sorted into FS19 readable format. There is no point preparing and exporting these images from GIMP using FS19 formats when GraphicsMagick does all of it automatically.
GraphicsMagick not only sets the image resolutions and formats properly, but it generates grass cutting fruit_density image for you without you ever needing to paint that in GIMP.
Every time you do edits to GIMP source images, all you need to do is to export and then run these batch files (or just the one which was edited).
See our individual pages for more detailed instructions how to GIMP paint cultivator_density and GIMP paint roads.
GIMP image painting colors:
Our terrains are large so we use 8192 x 8192 pixel resolution for our _density images and 4096 x 4096 pixel resolution for our _weight images. If you use smaller size for example to make 2-5km terrains, then its recommended to use 4096 and 2048 resolutions. Note: its recommended but not necessary, you can do small 3km terrain just fine with large image resolutions.
cultivator_density background color RGB 63,63,63 and fields RGB 255,0,0 exported to filename: satellite_texture_cultivator_density.png
Roads RGB 255,0,0 and background transparent exported to filename: satellite_texture_roads.png
You obviously need to have graphicsmagick downloaded, installed and working before proceeding to use these batch files. If your GIMP source images are not exported properly, then graphicsmagick bat files will not work.
Download PMC graphicsmagick batch files: PMC.GraphicsMagick.Batch.Files.2021-06-23.7z Batch.Files.And.Scripts.2024-03-18 Torrent Magnet.
Use in this order:
1. _run_graphicsmagick_create_cultivator_density.bat
2. _run_graphicsmagick_create_roads_roughdirt01.bat
3. _run_graphicsmagick_create_fruit_density.bat
Bat files automatically check if necessary source image is present, if not it will inform you PNG is missing and abort.
Common mistake: these three bat files are listed in windows explorer in order of cultivator, fruit and roads, well this is NOT the order you should to run them, sometimes its easy to just filename wise alphabetically run these bat's and that is wrong. Do them in the correct order as shown above :)
Once all three bat files are ran in that order, you have new PNGs named: cultivator_density.png, fruit_density.png and roughDirt01_weight.png which can be directly copied over to your TERRAIN\maps\CLASSNAME\ directory.
_weight images found in TERRAIN\maps\CLASSNAME\ directory contain white and black pixels to designate where ground detail textures are placed. These images come in series of 1 through 4, if two or more of the images have white pixels in the same coordinates it will fail. When it fails Giants Editor/game reverts to the first available texture, in mapDE/mapUS this is pigmud or similar looking brown texture.
What this means is you need to "punch a hole" into your basic grass weight image for where your roads are located. This is assuming you only have plain green grass painted currently, this is the case when you are creating a new terrain, ie roads just painted. If you have different _weight image setup, then clean/erase ground texture painting so that you only have basic grass.
I open roughtDirt01_weight roads image in GIMP, invert colors so white becomes black, then SHIFT-O select by color click black color, now all roads are selected. Then I paste this selected black area over ALL grass0*_weight images where I want to "punch a hole", once pasted and layers merged GIMP creates alpha channel for transparency, it needs to be removed by using layer -> transparency -> remove alpha channel.