Feral Heart

Help & Guidance => Game Help => Topic started by: Kitterr on June 30, 2020, 12:45:19 am

Title: (SOLVED) Unable to view preset body in preset maker
Post by: Kitterr on June 30, 2020, 12:45:19 am
So, I got some preset textures from a friend in a group, and I'm using them to make myself a preset. I made the body, exported it out of gimp, and opened feral heart to view the preset. Body didn't show up. "Huh, that must be weird. Did I name it wrong or put it in the wrong slot?" Nope. Correct slot, correct name. Next, I remembered that the preset texture for the body was 1024x1024. So I scaled it down to regular size. No luck. What could be happening that is not allowing me to view the body?
Title: Re: Unable to view preset body in preset maker
Post by: Garfield. on June 30, 2020, 12:47:05 am
You should maybe check out in the code and maybe renaming it could work.
properties:
512x512
png or jpg (need to be coded in the material file aswell)
this thread can also help ya
https://feral-heart.com/smf/index.php?topic=68509.0
in case you maybe used any special code, make sure it is all right and take a peek at the tutorial for it.
Title: Re: Unable to view preset body in preset maker
Post by: Kitterr on June 30, 2020, 01:25:39 am
You should maybe check out in the code and maybe renaming it could work.
properties:
512x512
png or jpg (need to be coded in the material file aswell)
this thread can also help ya
https://feral-heart.com/smf/index.php?topic=68509.0
in case you maybe used any special code, make sure it is all right and take a peek at the tutorial for it.
It is 512x512, I used special code, not the culprit. All my preset images are PNGs. Always. Everything is coded correctly, as said in thread, file name, type, and size matches. I did have to scale down the image though, since it was 1024x1024, as stated.
Title: Re: Unable to view preset body in preset maker
Post by: Garfield. on June 30, 2020, 01:31:14 am
Hmm, did you try renaming it? it could help.
Title: Re: Unable to view preset body in preset maker
Post by: Kitterr on June 30, 2020, 01:41:18 am
Hmm, did you try renaming it? it could help.
No luck.
EDIT: I had used the gradient tool in gimp, thought that may have been the culprit, but nope. no luck.
EDIT 2: I also set the body image to a COMPLETELY RANDOM image. No luck. I'll try maybe getting rid of the code used, since anyways I don't think I'll use the code, it's just something I put in there for fun..
EDIT 3: Nope. Didn't work. Body is still showing as black & yellow.
Title: Re: Unable to view preset body in preset maker
Post by: LadySigyn on June 30, 2020, 01:54:16 am
Could you possibly paste the code for me?
Definitely sounds like a coding problem.
Title: Re: Unable to view preset body in preset maker
Post by: Kitterr on June 30, 2020, 02:27:42 am
The code? Sure, let me grab that..
Code: [Select]
material preset_4_bodyMatL
{
technique
{
pass
{
texture_unit
{
texture genebody.png
}
}
}
}
material preset_4_bodyMatR
{
technique
{
pass
{
texture_unit
{
texture genebody.png
}
}
}
}
material preset_4_headMatL
{
technique
{
pass
{
texture_unit
{
texture genehead.png
}
}
}
}
material preset_4_headMatR
{
technique
{
pass
{
texture_unit
{
texture genehead.png
}
}
}
}
material preset_4_eyeMatL
{
technique
{
pass
{
cull_hardware none
cull_software none
texture_unit
{
texture geneeyes.png
}
}
}
}
material preset_4_eyeMatR
{
technique
{
pass
{
cull_hardware none
cull_software none
texture_unit
{
texture geneeyes.png
}
}
}
}
material preset_4_tailMat
{
technique
{
pass
{
texture_unit
{
texture genetail.png
}
}
}
}
material preset_4_maneMat
{
technique
{
pass
{
lighting off
cull_hardware none
cull_software none
scene_blend alpha_blend
depth_write off
texture_unit
{
texture genemane.png
}
}
}
}
There it is. If there's anything wrong, please tell me or give me a fixed version. <3
Title: Re: Unable to view preset body in preset maker
Post by: SpicyDirt on June 30, 2020, 03:58:57 am
So half of me thinks that this is connected to the name of the preset. Just to test, I'd recommend changing the code/image back to preset_4body.png and see if that fixes it.

If you don't mind my asking, you said that you have used special code ~ is that only to change the images to .png or do you have a glow added? I know with glow you have to make the glow image first to get the body image to show up. c:
Title: Re: Unable to view preset body in preset maker
Post by: Kitterr on June 30, 2020, 04:05:55 am
Nah, it was just an inside texture code thingy. Don't use glow stuff. Also, no luck with changing the filename.
Title: Re: Unable to view preset body in preset maker
Post by: SpicyDirt on June 30, 2020, 04:15:30 am
Ohhh texture inside of the preset? If so, the coding should look something like this:

Quote
material preset_4_bodyMatL
{
   receive_shadows off
   technique
   {
      pass
      {
         ambient 1.000000 1.000000 1.000000 1.000000
         diffuse 1.000000 1.000000 1.000000 1.000000
         specular 0.010000 0.010000 0.010000 1.000000
         emissive 0.000000 0.000000 0.000000 1.000000
         cull_hardware none
         cull_software none
         alpha_rejection greater_equal 128
         texture_unit
         {
            texture BOTTOM TEXTURE.png
            tex_address_mode wrap
            filtering trilinear
         }
      }
      pass
      {
         ambient 1.000000 1.000000 1.000000 1.000000
         diffuse 1.000000 1.000000 1.000000 1.000000
         specular 0.010000 0.010000 0.010000 1.000000
         emissive 0.000000 0.000000 0.000000 1.000000
         alpha_rejection greater_equal 128
         texture_unit
         {
            texture TOP TEXTURE.png
            tex_address_mode wrap
            filtering trilinear
         }
      }
   }
}
material preset_4_bodyMatR
{
   receive_shadows off
   technique
   {
      pass
      {
         ambient 1.000000 1.000000 1.000000 1.000000
         diffuse 1.000000 1.000000 1.000000 1.000000
         specular 0.010000 0.010000 0.010000 1.000000
         emissive 0.000000 0.000000 0.000000 1.000000
         cull_hardware none
         cull_software none
         alpha_rejection greater_equal 128
         texture_unit
         {
            texture BOTTOM TEXTURE.png
            tex_address_mode wrap
            filtering trilinear
         }
      }
      pass
      {
         ambient 1.000000 1.000000 1.000000 1.000000
         diffuse 1.000000 1.000000 1.000000 1.000000
         specular 0.010000 0.010000 0.010000 1.000000
         emissive 0.000000 0.000000 0.000000 1.000000
         alpha_rejection greater_equal 128
         texture_unit
         {
            texture TOP TEXTURE.png
            tex_address_mode wrap
            filtering trilinear
         }
      }
   }
}




The post that I got this from is right here: https://feral-heart.com/smf/index.php?topic=67295.0 (Hopefully that helps with it all)
Title: Re: Unable to view preset body in preset maker
Post by: Kitterr on June 30, 2020, 04:26:36 am
That is the code I used. As said, I didn't really need it, it's just something I add if I wanna use it.
Title: Re: Unable to view preset body in preset maker
Post by: SpicyDirt on June 30, 2020, 04:32:34 am
Oh I apologize. Have you tried "starting over" with the code? That may be able to get your issue down to something more specific.
Title: Re: Unable to view preset body in preset maker
Post by: Kitterr on June 30, 2020, 04:41:01 am
What would that entail? I removed the special code, and turned it back into the original code. Is that what you mean?
Title: Re: Unable to view preset body in preset maker
Post by: SpicyDirt on June 30, 2020, 05:10:00 am
Yes, completely copy and paste the code from a working preset and then change the names again ~ maybe it could be something small in the code like a space somewhere outta place.
Title: Re: Unable to view preset body in preset maker
Post by: Kitterr on June 30, 2020, 05:20:24 am
I did that, actually, let me check a working preset's material file and the problem preset's file, maybe it is just a simple error. Thanks for suggesting that to me, I'll edit this if it works!
EDIT: No. Cigar. Gosh darnit..
Title: Re: Unable to view preset body in preset maker
Post by: LadySigyn on June 30, 2020, 05:57:46 am
I did that, actually, let me check a working preset's material file and the problem preset's file, maybe it is just a simple error. Thanks for suggesting that to me, I'll edit this if it works!
EDIT: No. Cigar. Gosh darnit..

If you'd like, you could send me a copy of the preset files and I could try to see if I can get it to work on my end?
Title: Re: Unable to view preset body in preset maker
Post by: Kitterr on June 30, 2020, 06:07:46 am
I did that, actually, let me check a working preset's material file and the problem preset's file, maybe it is just a simple error. Thanks for suggesting that to me, I'll edit this if it works!
EDIT: No. Cigar. Gosh darnit..

If you'd like, you could send me a copy of the preset files and I could try to see if I can get it to work on my end?
Aight, let me grabbie them. Preset slot is 4. link is here (https://www.dropbox.com/sh/fdqbkl0bv07d18b/AACuXxyboJ-9oq3uFNHM0Cxha?dl=0) Tell me if you can't download it from that link.
Title: Re: Unable to view preset body in preset maker
Post by: LadySigyn on June 30, 2020, 07:33:41 am
They're showing up for me:

(https://i.imgur.com/Imz08zO.png)(https://i.imgur.com/sn80f1u.png)

Download: Click me (https://drive.google.com/file/d/12G6qr40_ZG5uoKt9fclXGE1WaKNpDXXI/view?usp=sharing)

Just copy the whole preset_4 folder from the download and replace the other one with it. Let me know how you go with it!
Title: Re: Unable to view preset body in preset maker
Post by: Kitterr on June 30, 2020, 07:52:20 am
They're showing up for me:

(https://i.imgur.com/Imz08zO.png)(https://i.imgur.com/sn80f1u.png)

Download: Click me (https://drive.google.com/file/d/12G6qr40_ZG5uoKt9fclXGE1WaKNpDXXI/view?usp=sharing)

Just copy the whole preset_4 folder from the download and replace the other one with it. Let me know how you go with it!
Sadly, it didn't work. Exact same problem. Here's what it looks like on my end: (https://i.imgur.com/ZzOFNsK.png)
This is really weird, if it shows up for others, but not me, then what's going on? It's something MY end, but what? What do you guys think could be causing the issue? With other presets it's fine, I have no antivirus and why would it target a PNG anyway.. I am so confused.
Title: Re: Unable to view preset body in preset maker
Post by: Dark_heart on June 30, 2020, 07:59:44 am
Hmmm. Really don't know what should you do, but maybe copyright every .png file and reinstall game? Or, if you tried it already, try to use diffrent slot (first rename files and codes!)… Never met something like this, weird.
Title: Re: Unable to view preset body in preset maker
Post by: LadySigyn on June 30, 2020, 08:11:07 am
Well that usually means there's something wrong with the files and not the coding, it's weird that it's working for me and not you though. Perhaps try reinstalling your game and replacing the fresh preset_4 folder with the one I gave you. I know it's a pain, but I can't think of what's causing just the body to appear like that, especially when it's fine for me.
Title: Re: Unable to view preset body in preset maker
Post by: Kitterr on June 30, 2020, 08:12:17 am
Hmmm. Really don't know what should you do, but maybe copyright every .png file and reinstall game? Or, if you tried it already, try to use diffrent slot (first rename files and codes!)… Never met something like this, weird.
Oh, it just seems to be that slot! The body is showing up just fine now. I'll add a SOLVED to the title. Thanks for suggesting- I forgot to do this XD
Title: Re: (SOLVED) Unable to view preset body in preset maker
Post by: LadySigyn on June 30, 2020, 08:14:47 am
Hmmm. Really don't know what should you do, but maybe copyright every .png file and reinstall game? Or, if you tried it already, try to use diffrent slot (first rename files and codes!)… Never met something like this, weird.
Oh, it just seems to be that slot! The body is showing up just fine now. I'll add a SOLVED to the title. Thanks for suggesting- I forgot to do this XD

That was a good idea, perhaps that slot broke lol. Hopefully it'll be fixed eventually. Glad you were able to find a solution for the issue!
Title: Re: (SOLVED) Unable to view preset body in preset maker
Post by: Dark_heart on June 30, 2020, 09:03:40 am
Small thing can change big things  ;D Glad you fixed!
Title: Re: (SOLVED) Unable to view preset body in preset maker
Post by: SpicyDirt on June 30, 2020, 02:34:04 pm
Awesome! Thank you Sigyn for helping out! I'll be locking this now. c: