Feral Heart

Help & Guidance => Game Help => Topic started by: aryana100 on March 22, 2020, 06:08:29 pm

Title: Game crashes when i try to change the mask name (Map Maker)
Post by: aryana100 on March 22, 2020, 06:08:29 pm
So i wanted to try again doing a map (the last time it didn't wroked and i gave up)

(I used Paint Tool Sai)
So i did the terrain like that and i named it BorkTerrain.png
(https://i.imgur.com/2r05ngL.png)

And the mask (i named it BorkMask.png)
(https://i.imgur.com/muXPzMF.png)

I saved them in FeralHeart>>Media>>Terrains, when i opened the map maker and i writed the terrain name in the World selection it didn't crashed the game but when i clicked to change the mask name it, it crashed
Title: Re: Game crashes when i try to change the mask name (Map Maker)
Post by: l3irdie on March 22, 2020, 06:42:39 pm
There is an issue with loading up that mask, is the map's size ratio the same as the terrain (513x513), make sure the alpha channel in your program is off?
If all else fails, maybe try and remake it on one layer if it's not already. Sometimes the masks can be a little too finnicky.

Title: Re: Game crashes when i try to change the mask name (Map Maker)
Post by: aryana100 on March 22, 2020, 06:59:21 pm
The size of the map and mask is 513x513 and my program doesn't have alpha channel
Title: Re: Game crashes when i try to change the mask name (Map Maker)
Post by: VortexAlive on March 22, 2020, 11:12:29 pm
Are you absolutely sure they are 513x513? It looks like they are two different sizes from what I can see here. You can also copy the images to GIMP and save them there to be sure it's not just SAI being goofy.
Title: Re: Game crashes when i try to change the mask name (Map Maker)
Post by: Likuu on March 23, 2020, 02:07:41 am
Is the gray border around the mask apart of the mask? If so, recommend changing it to like a rgb (red, green, blue) color rather than gray. (not entirely sure if the gray would cause any issues for the mask but just a suggestion to try!)

Like Vortex said, it does indeed look like the sizing may be off for the Mask as well, maybe try making a new blank "mask" and setting the size to 513x513 and name it something different from "BorkMask.png" then export.

If none of that helps, maybe try changing it from .png to .jpg and see if that could help?

Also be sure to double check if you happen to have layers that they are all merged into one layer and not separate as I've had issues where my mask has crashed due to there being layers when I export! (can simply hide them or merge them either works!)

~ Hope this helps some!!
Title: Re: Game crashes when i try to change the mask name (Map Maker)
Post by: aryana100 on March 23, 2020, 10:18:55 am
Are you absolutely sure they are 513x513? It looks like they are two different sizes from what I can see here. You can also copy the images to GIMP and save them there to be sure it's not just SAI being goofy.

They are screenshots that's why the size isn't 513x513, i will try again with gimp (i uninstalled it that's why i used another program)
Title: Re: Game crashes when i try to change the mask name (Map Maker)
Post by: aryana100 on March 23, 2020, 11:32:04 am
These are the originaly
(https://i.imgur.com/fYRkEhp.png)

And here they're size
(https://i.imgur.com/Eb9j2XE.png)

(https://i.imgur.com/Xlh0HmI.png)
Title: Re: Game crashes when i try to change the mask name (Map Maker)
Post by: VortexAlive on March 23, 2020, 01:46:41 pm
My apologies, Aryana, I did not know. xD

Though with that out of the way, there must be something going on when it's saving them or a small thing that's gone unnoticed that would cause this. An example would be that SAI could be saving transparency where there is none, which you'd need to change the bit depth of the file to fix. The heightmap should have an 8-bit channel meaning there is only 1 value saved, and the mask should have a 24-bit channel and not 32-bit which would include a 4th value for transparency.

I'd recommend having a look here: https://feral-heart.com/smf/index.php?topic=57751.msg789556#msg789556
here: https://feral-heart.com/smf/index.php?topic=51619.msg700957#msg700957
and here: https://simple.wikipedia.org/wiki/Color_depth
for a better understanding of why it may not be working as expected.

From what I understand, SAI doesn't have a "Grayscale Mode" which is what would save the heightmap image as 8-bit instead of as if it were RGB with 24 or 32-bit.

Hope this helps at least a little!
...and sorry if it's too much tech talk. xD
Title: Re: Game crashes when i try to change the mask name (Map Maker)
Post by: aryana100 on March 23, 2020, 02:10:14 pm
So i tryed to do the mask in gimp and i removed the alpha channel and now i named the terrain "MapTerrain" and the mask "MaTerrainMask" and they are png, it still doing the same thing
Title: Re: Game crashes when i try to change the mask name (Map Maker)
Post by: SpicyDirt on March 23, 2020, 02:19:26 pm
Do you happen to have any transparent parts in the mask? If you use a bucket fill tool then it will leave some transparent pieces behind that are not always seen.
Title: Re: Game crashes when i try to change the mask name (Map Maker)
Post by: aryana100 on March 23, 2020, 02:22:10 pm
Well i used only the Paintbroosh and Smudge Tool
Title: Re: Game crashes when i try to change the mask name (Map Maker)
Post by: VortexAlive on March 23, 2020, 02:38:49 pm
Did you try gimp with the heightmap too? I feel like it's not the mask that's causing this because the mask can have transparency and color all it wants without issue, but the heightmap would still crash it if it has any color in it (even if you used only gray, SAI and gimp both would still save it as RGB unless you change the color mode).

Umm this:
(https://i.imgur.com/63nWkxY.png)

See where it says Grayscale at the top? Make sure it says that there for the heightmap. If not, click on the "Image" button and then the "Mode" button to change it.
Title: Re: Game crashes when i try to change the mask name (Map Maker)
Post by: aryana100 on March 23, 2020, 03:49:36 pm
so i did a new terrain but i wanted to be sure if it's ok, and i used the grayscale (it doesn't have alpha channel)

(https://i.imgur.com/IplcK8J.png)
Title: Re: Game crashes when i try to change the mask name (Map Maker)
Post by: VortexAlive on March 23, 2020, 03:56:22 pm
It looks like that should work but this "D6S Grayscale with sRGB TRC" bit at the very top is something I'm not familiar with. I've stuck with gimp version 2.6 very specifically because of FH being very picky. xD

It looks like it should work because all the settings are right except for that one thing so if it still doesn't work then trying an older gimp version is my recommendation.
Title: Re: Game crashes when i try to change the mask name (Map Maker)
Post by: aryana100 on March 23, 2020, 04:00:19 pm
The problem is that i don't know wich version was the older one
Title: Re: Game crashes when i try to change the mask name (Map Maker)
Post by: VortexAlive on March 23, 2020, 04:24:52 pm
Here is where you can find the older version:
https://download.gimp.org/mirror/pub/gimp/v2.6/windows/
Look for "gimp-2.6.2-x64-setup.exe" and click on that one.
Title: Re: Game crashes when i try to change the mask name (Map Maker)
Post by: aryana100 on March 23, 2020, 04:37:43 pm
so i tested the terrain and it's working, i think it's not neccesary the mask
Title: Re: Game crashes when i try to change the mask name (Map Maker)
Post by: VortexAlive on March 23, 2020, 04:53:54 pm
The terrain is working? Awesome!

Is the game still crashing at all? :o
Title: Re: Game crashes when i try to change the mask name (Map Maker)
Post by: aryana100 on March 23, 2020, 05:07:03 pm
well if i don't click/edit the "defaultMask.png" it will not crash, well i will try tommorow with another terrain but with a mask to see if it works the mask
Title: Re: Game crashes when i try to change the mask name (Map Maker)
Post by: Ame88 on March 23, 2020, 05:55:30 pm
Just took a look at your images. Looks like your colors aren't correct on the terrain mask.

When making a terrain mask, you need to make sure all base colors, red, green and blue, are "hard" colors.

(https://tinyurl.com/w4rlle7)

The numbers circled need to be at 0 on all colors (for red) when applying them to the mask. Otherwise, it'll crash and or just not work period. So if you need red, blue and green will be 0. If you need blue, green and red will be 0. So on and so forth.

(https://tinyurl.com/rzzowat)

^ Red ^

(https://tinyurl.com/t39vsyp)

^ Green ^

(https://tinyurl.com/ujqv3op)

^ Blue ^

So now that you're working with "hard" RGB, you can of course blur them together as much as you'd like.

Hope this helps~
Title: Re: Game crashes when i try to change the mask name (Map Maker)
Post by: aryana100 on March 24, 2020, 08:57:55 pm
So i tryed to do the mask and now is working it's not crashing the game anymore when i write in Terrain Alpha Map, but how do i save the progress i do in map maker and can continue later?
Title: Re: Game crashes when i try to change the mask name (Map Maker)
Post by: Ame88 on March 24, 2020, 09:36:37 pm
So glad it worked!

All you do is put names and a title for the map, and click "Save" on the first tab.

The "Map Name" is what shows up in the bottom box. That box contains the maps that you have saved and can edit at any time.

The "Map Display Name" is what shows up when you stand in front of it's portal, as well as when you enter the map.
Title: Re: Game crashes when i try to change the mask name (Map Maker)
Post by: aryana100 on March 24, 2020, 09:52:13 pm
And how i can move the portal, it's everytime besides the map
Title: Re: Game crashes when i try to change the mask name (Map Maker)
Post by: Ame88 on March 24, 2020, 10:42:41 pm
(https://tinyurl.com/vodmzms)
I can't draw circles shhh

You need to place the bottom numbers (circled red, blue, and black) in the corresponding boxes above.

To find where you want to place your portal, you need to hover your mouse over the spot where you want your portal. Once there, take a peace of paper and write down all the numbers before the "." as you don't need the extra numbers after it. It will help if you label them which one is which.
An example being;

X [numbers] (circled in red)
Y [numbers] (circled in blue)
Z [numbers]  (circled in black)

Be careful not to move your mouse while you write them down. If you accidentally move your mouse, then restart writing them down.

After you've written them down, go ahead and enter the numbers into the boxes and test your map to make sure the portal is where you want it to be.

Quick note; X is left and right, Y is up and down, and Z is forwards and backwards.



The arrival yaw is for your character entering the map. To set that up, you need to move your in-game camera to where you want to load into the map (this includes what direction you want to be facing). Once there, you need to write down the Arrival Yaw (circled in yellow) and input all the numbers. This means even the ones past the "." into the final box.

Once done if you want to check it out and make sure everything is working properly, go into Cape and find the portal to your map and enter it. From there you should spawn where you put the concordance. Simply just adjust it if it's not what you want.

Hope that helps!
Title: Re: Game crashes when i try to change the mask name (Map Maker)
Post by: aryana100 on March 25, 2020, 07:47:36 pm
And how i can make the map more bigger
Title: Re: Game crashes when i try to change the mask name (Map Maker)
Post by: aryana100 on March 25, 2020, 08:40:24 pm
Well it doesn't work to save the map, it says "Invalid map name"
Title: Re: Game crashes when i try to change the mask name (Map Maker)
Post by: SpicyDirt on March 25, 2020, 10:00:52 pm
The "Map Name" shouldn't have any spaces in it. Also, to change the size you'll see 2 boxes on the first or second page that says "border size." If you change those numbers the map will be bigger 😁
Title: Re: Game crashes when i try to change the mask name (Map Maker)
Post by: Ame88 on March 26, 2020, 04:57:42 am
To make the map smaller or larger, higher or lower, you need to edit the Width and Height margins in the World tab.

(https://tinyurl.com/v7vf8dl)

The Width will change the size. So if you want to make the map bigger or smaller, then mess with the Width numbers. A bigger number means a bigger map, and a smaller number means a smaller map.

The Height will change the height. So if you want to make mountains or hills bigger or smaller, then mess with the Height numbers. A bigger number means a higher hill, and a smaller number means a smaller hill.



As for the name, like Spicy said, you cannot have a space in the Map Name.

(https://tinyurl.com/rs6xmhq)

The Map Display Name can have spaces in it, but the Map Name cannot have spaces.
Title: Re: Game crashes when i try to change the mask name (Map Maker)
Post by: VortexAlive on March 26, 2020, 05:36:28 am
You can also use this guide for a simplified step-by-step process of mapmaking. c:
https://feral-heart.com/smf/index.php?topic=62143.0