Feral Heart

Help & Guidance => Game Help => Topic started by: KrystalStarSoul on July 25, 2019, 06:50:30 pm

Title: Splitting Heightmap but Game Crashes with New Terrain
Post by: KrystalStarSoul on July 25, 2019, 06:50:30 pm
My friend had the idea to split the main map into three segments, but to our surprise it wouldn't load
resulting in crashing.

My friend and i are mapping experts and this is a strange sudden.
 The Debug at the end says "File not Grayscale" which should mean the file isnt grayscale right?

Welllll.
  We use FireAlpaca to make the mainframe of the map, then flatten it and save as a random PNG, then we open that PNG in GIMP and convert to Grayscale and export as a new_terrain.png file. and ususally that works 100% fullproof.

This time is strange.

its obviously a PNG
The sizing is correct. (513x513)
no layers at the final step.
grayscale.
Alpha Channel is obviously unmarked.
And is set on Linear Mode (Not sRGB mode) [which is a full grayscale, and no rgb sub pixels]

The game crashes, HOORAY (not really cool though)
 
So we tried redownloading the game to clear cache but that doesnt work either. oh man were in for a haul...

(https://images-wixmp-ed30a86b8c4ca887773594c2.wixmp.com/f/efcf0b4b-7269-4f28-bf49-c6ded8a3d3d3/ddcid1c-cd7a6df0-5138-430e-8e54-8a2f73d4fdff.png/v1/fill/w_1192,h_670,q_70,strp/screen_shot_2019_07_25_at_11_48_47_am_by_theroyalrebellion_ddcid1c-pre.jpg?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJ1cm46YXBwOjdlMGQxODg5ODIyNjQzNzNhNWYwZDQxNWVhMGQyNmUwIiwiaXNzIjoidXJuOmFwcDo3ZTBkMTg4OTgyMjY0MzczYTVmMGQ0MTVlYTBkMjZlMCIsIm9iaiI6W1t7ImhlaWdodCI6Ijw9NzIwIiwicGF0aCI6IlwvZlwvZWZjZjBiNGItNzI2OS00ZjI4LWJmNDktYzZkZWQ4YTNkM2QzXC9kZGNpZDFjLWNkN2E2ZGYwLTUxMzgtNDMwZS04ZTU0LThhMmY3M2Q0ZmRmZi5wbmciLCJ3aWR0aCI6Ijw9MTI4MCJ9XV0sImF1ZCI6WyJ1cm46c2VydmljZTppbWFnZS5vcGVyYXRpb25zIl19.7bekQl_v2gH3HySTmZWF-UD8WVr5HBJFMQuAeSJ-z2g)

(note: We even attempted re-applying one of the previous map files that was loaded before and worked successfully, it didn't work at all)
[/color]
Title: Re: Splitting Heightmap but Game Crashes with New Terrain
Post by: Aico on July 25, 2019, 11:07:42 pm
Perhaps try copying the image onto a new document and re-saving it? I've never heard of this problem in particular.
Title: Re: Splitting Heightmap but Game Crashes with New Terrain
Post by: KrystalStarSoul on July 25, 2019, 11:26:21 pm
pretty much exactly what i did @@
Perhaps try copying the image onto a new document and re-saving it? I've never heard of this problem in particular.
Title: Re: Splitting Heightmap but Game Crashes with New Terrain
Post by: VortexAlive on July 26, 2019, 10:26:19 am
At what point does it crash at? At the game start-up? Or when you try loading the map in the map maker? Or when you mess with a setting in map maker?
Title: Re: Splitting Heightmap but Game Crashes with New Terrain
Post by: KrystalStarSoul on July 26, 2019, 10:16:52 pm
At what point does it crash at? At the game start-up? Or when you try loading the map in the map maker? Or when you mess with a setting in map maker?

Let me repeat

(The debug at the end says “file not grayscale”)

If you haven’t figured where that is. That’s where I’m uploading the map into the game.

I usually know if it crashes as it starts (run error, or particle error)

And if it’s within a setting after upload then no.



UPDATE: a friend helped us, saying it’s bit depth. Which we cannot access that. But so far the game just freezes as it’s loading the map. We had it sit for a few hours and nope. We had to ‘Force Quit’ the problem.

REMINDER: we use Macintosh (Apple/OSX)
Title: Re: Splitting Heightmap but Game Crashes with New Terrain
Post by: WolfQueen on July 26, 2019, 10:29:52 pm
hey there! im the friend who helped them on discord

i'll put the files in a zip folder and send it to them because i'm thinking sending images through discord converts them to another file type.
for future reference, the bit depth has to do with flattening the image through gimp or another program. normally a file is 32 in bitdepth but flattening the image decreases it to 8. make sure to always flatten the heightmap image before loading it through the map maker.
Title: Re: Splitting Heightmap but Game Crashes with New Terrain
Post by: KrystalStarSoul on July 27, 2019, 05:55:38 am
@WolfQueen

Credited for

PROBLEM SOLVING