Community Forum

Creating .gdm from .png

Forum Overview >> Farming Simulator 19

CategoryFarming Simulator 19
Created14.06.2020 17:02


Boris Klinko (Boris555) 14.06.2020 17:02
Hello,
I am trying to convert .png file to .gdm. So far I have converted .gdm to .png, edited.png in Gipm and exported .png from Gimp with default settings. I have removed .gdm from map folder and placed .png. If I understood process on next start of GE, .gdm should be automatically created from .png, or am I wrong?

When I start GE I get this error:

GDM file cannot be opened
DensityMap: failed to load GDM file.
Error: Can't load resource 'H:/Games/FS19 mods/modsTestMap/FS19_TestMap/maps/mapDE/fruit_density.gdm'.

Bilbo Beutlin (BBeutlin) 14.06.2020 19:14
Yes, you are wrong. *g*
Only the game converts automatically PNG to GDM.
For the GE you must rename the file in <files> explicitely to *.png

Boris Klinko (Boris555) 15.06.2020 16:12
Thank you very much Bilbo. It is working. :)

Another thing I would like to do is to edit textures terrain. Is this working same as with fruits? Is there a file that can be edited as .png? fruit_density.gdm exits also in savegame folder, is there a file that is used for ground textures? If yes which one is it?

Bilbo Beutlin (BBeutlin) 15.06.2020 18:08
The "fruit_density.gdm" is for the growth state (crops etc.).

The ground/terrain textures are in the "map.i3d.terrain.nmap.cache", level-of-detail in "map.i3d.terrain.lod.type.cache". These use a proprietary format and are not editable by external programs (afaik).

Boris Klinko (Boris555) 15.06.2020 18:56
OK, thank you for quick reply. Too bad textures can't be edited in same way as growth state, it would be so much easier to put textures on map.

Just one final question in this context. I remember when I was placing textures in Trainz 2012 I could rotate them by holding key (shift I believe), so as they were placed each was rotated and map had a nice look. Is this possible in Giants Editor?

Bilbo Beutlin (BBeutlin) 15.06.2020 19:23
No - but each basic terrain type has several subtypes which are slightly different. Use these to get more variation in display.
Example: ROUGHDIRT -> roughDirt01, roughDirt02, roughDirt03, roughDirt04
If you like, you can also create other textures yourself.

Boris Klinko (Boris555) 15.06.2020 19:51
I will try to play around with textures, I believe your solution should work nicely.
Again, thank you very much for quick and detailed answers, you are a very nice and helpful person :)


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