franksouza183
New member
Does anyone know any way to convert a 16-bit PNG into RAW file compatible with the game? I mean, that file carrying the heightmap info.
What I already tried (on Linux):
Using ImageMagick:
"stream -map r -storage-type short image.png image.raw"
The command can convert the image to 16 bit RAW, but the result is exactly the same as a dtm.png file (requires the swa command to be executed while in game to generate the smooth terrain).
Gimp: The output file is twice as big as it should be, and doesn't work in the game.
Nitrogen: Just like the swa command, it doesn't allow me to selectively smooth terrain (I want the roads I drew (not from app) smoothed differently than terrain)
Any idea?
What I already tried (on Linux):
Using ImageMagick:
"stream -map r -storage-type short image.png image.raw"
The command can convert the image to 16 bit RAW, but the result is exactly the same as a dtm.png file (requires the swa command to be executed while in game to generate the smooth terrain).
Gimp: The output file is twice as big as it should be, and doesn't work in the game.
Nitrogen: Just like the swa command, it doesn't allow me to selectively smooth terrain (I want the roads I drew (not from app) smoothed differently than terrain)
Any idea?
Last edited by a moderator: