Author Topic: Preset Creator and Files  (Read 1698 times)

Offline Frenchfries271

  • Forum Newcomer
  • *
  • Posts: 5
  • Country: us
  • Floof-O-Meter: 0
  • hiey
    • View Profile
Preset Creator and Files
« on: June 07, 2018, 01:42:21 am »
Heya, so my friend made me a preset and I'm having trouble exporting it.

Whenever I go to Preset Creator, and click on the appropriate preset, the game just freezes then shuts down. I think it may have something to do with having two different eye and head files, but I have another preset with the same thing, and it works perfectly fine. I changed the material file folder coding, whatever it's called, to accommodate for the L and R files, but it's still not working.
I've re downloaded the files, changed them to a different preset folder, and renamed them but it's still not working.

Any help or advice?

sorryiftheresanotherthreadonthisalreadyoop
heno

Offline D-ead7Dog

  • AFK NPC
  • Pack & Pride Representative
  • ****
  • Posts: 1,452
  • Country: us
  • Floof-O-Meter: 97
  • BUMPY SNOW
    • D-ead7Dog
    • d-ead7dog
    • View Profile
Re: Preset Creator and Files
« Reply #1 on: June 07, 2018, 01:45:38 am »
Try changing the files from like .png to .jpg or if they're already .jpg then switch it to .png and see how that goes. : o

Adding L and R shouldn't have any effect on the game.
WORK IN PROGRESS
Artwork (c) LynxBrush & Majorest

Originally registered January 15, 2011

Offline Frenchfries271

  • Forum Newcomer
  • *
  • Posts: 5
  • Country: us
  • Floof-O-Meter: 0
  • hiey
    • View Profile
Re: Preset Creator and Files
« Reply #2 on: June 07, 2018, 02:03:24 am »
Try changing the files from like .png to .jpg or if they're already .jpg then switch it to .png and see how that goes. : o

Adding L and R shouldn't have any effect on the game.

Just tried it, no luck. I realized that I named the head files as the eye files, and I thought that could be the problem. Unfortunately after changing it, it still doesn't work
heno

Offline SenseiRei

  • Dedicated Supporter
  • ***
  • Posts: 476
  • Country: us
  • Floof-O-Meter: 25
  • ❤️ Plz Nuzzle me! I'm super Cuddly ❤️
    • royaldog12
    • View Profile
Re: Preset Creator and Files
« Reply #3 on: June 07, 2018, 02:42:04 am »
Try changing the files from like .png to .jpg or if they're already .jpg then switch it to .png and see how that goes. : o

Adding L and R shouldn't have any effect on the game.

Just tried it, no luck. I realized that I named the head files as the eye files, and I thought that could be the problem. Unfortunately after changing it, it still doesn't work

Check the size of each image file... if they are anywhere above 512x512 pixels. resize em.

Offline D-ead7Dog

  • AFK NPC
  • Pack & Pride Representative
  • ****
  • Posts: 1,452
  • Country: us
  • Floof-O-Meter: 97
  • BUMPY SNOW
    • D-ead7Dog
    • d-ead7dog
    • View Profile
Re: Preset Creator and Files
« Reply #4 on: June 07, 2018, 03:17:22 am »
Can you send me a screenshot of the material file code and your preset images to make sure they all match up correctly?
 If your files are .png then use this code
Code: [Select]
material preset_1_bodyMatL
{
technique
{
pass
{
alpha_rejection greater_equal 128
texture_unit
{
texture preset_1body.png
}
}
}
}
material preset_1_bodyMatR
{
technique
{
pass
{
alpha_rejection greater_equal 128
texture_unit
{
texture preset_1body.png
}
}
}
}
material preset_1_headMatL
{
technique
{
pass
{
alpha_rejection greater_equal 128
texture_unit
{
texture preset_1head.png
}
}
}
}
material preset_1_headMatR
{
technique
{
pass
{
alpha_rejection greater_equal 128
texture_unit
{
texture preset_1head.png
}
}
}
}
material preset_1_eyeMatL
{
 technique
 {
  pass
  {
   ambient 0.5 0.5 0.5 1.0
   texture_unit
   {
    texture preset_1eye.png
   }
  }
pass
  {
   emissive 1.0 1.0 1.0 1.0
   scene_blend alpha_blend
   texture_unit
   {
    texture preset_1eye.png
   }
  }
 }
}
material preset_1_eyeMatR
{
 technique
 {
  pass
  {
   ambient 0.5 0.5 0.5 1.0
   texture_unit
   {
    texture preset_1eye.png
   }
  }
pass
  {
   emissive 1.0 1.0 1.0 1.0
   scene_blend alpha_blend
   texture_unit
   {
    texture preset_1eye.png
   }
  }
 }
}
material preset_1_tailMat
{
technique
{
pass
{
alpha_rejection greater_equal 128
texture_unit
{
texture preset_1tail.png
}
}
}
}
material preset_1_maneMat
{
technique
{
pass
{
ambient 2.0 2.0 2.0
cull_hardware none
cull_software none
scene_blend alpha_blend
alpha_rejection greater_equal 250
texture_unit
{
texture preset_1mane.png
}
}
}
}

if they're .jpg then use this code
Code: [Select]
material preset_1_bodyMatL
{
technique
{
pass
{
alpha_rejection greater_equal 128
texture_unit
{
texture preset_1body.jpg
}
}
}
}
material preset_1_bodyMatR
{
technique
{
pass
{
alpha_rejection greater_equal 128
texture_unit
{
texture preset_1body.jpg
}
}
}
}
material preset_1_headMatL
{
technique
{
pass
{
alpha_rejection greater_equal 128
texture_unit
{
texture preset_1head.jpg
}
}
}
}
material preset_1_headMatR
{
technique
{
pass
{
alpha_rejection greater_equal 128
texture_unit
{
texture preset_1head.jpg
}
}
}
}
material preset_1_eyeMatL
{
 technique
 {
  pass
  {
   ambient 0.5 0.5 0.5 1.0
   texture_unit
   {
    texture preset_1eye.jpg
   }
  }
pass
  {
   emissive 1.0 1.0 1.0 1.0
   scene_blend alpha_blend
   texture_unit
   {
    texture preset_1eye.jpg
   }
  }
 }
}
material preset_1_eyeMatR
{
 technique
 {
  pass
  {
   ambient 0.5 0.5 0.5 1.0
   texture_unit
   {
    texture preset_1eye.jpg
   }
  }
pass
  {
   emissive 1.0 1.0 1.0 1.0
   scene_blend alpha_blend
   texture_unit
   {
    texture preset_1eye.jpg
   }
  }
 }
}
material preset_1_tailMat
{
technique
{
pass
{
alpha_rejection greater_equal 128
texture_unit
{
texture preset_1tail.jpg
}
}
}
}
material preset_1_maneMat
{
technique
{
pass
{
ambient 2.0 2.0 2.0
cull_hardware none
cull_software none
scene_blend alpha_blend
alpha_rejection greater_equal 250
texture_unit
{
texture preset_1mane.jpg
}
}
}
}
« Last Edit: June 07, 2018, 03:23:45 am by D-ead7Dog »
WORK IN PROGRESS
Artwork (c) LynxBrush & Majorest

Originally registered January 15, 2011

Offline Frenchfries271

  • Forum Newcomer
  • *
  • Posts: 5
  • Country: us
  • Floof-O-Meter: 0
  • hiey
    • View Profile
Re: Preset Creator and Files
« Reply #5 on: June 07, 2018, 10:02:20 pm »
The files are all 382x382, and of course:
Also, I tried both of the coding for png and jpg, the whole preset link just disappeared in the game
And sorry, I have absolutely no idea how to do the table scrolling for future preferences

material preset_10_bodyMatL
{
   technique
   {
      pass
      {
         texture_unit
         {
            texture preset_10body.jpg
         }
      }
   }
}
material preset_10_bodyMatR
{
   technique
   {
      pass
      {
         texture_unit
         {
            texture preset_10body.jpg
         }
      }
   }
}
material preset_10_headMatL
{
   technique
   {
      pass
      {
         texture_unit
         {
            texture preset_10headL.jpg
         }
      }
   }
}
material preset_10_headMatR
{
   technique
   {
      pass
      {
         texture_unit
         {
            texture preset_10headR.jpg
         }
      }
   }
}
material preset_10_eyeMatL
{
   technique
   {
      pass
      {
   
         texture_unit
         {
            texture preset_10eyeL.jpg
         }
      }
   }
}
material preset_10_eyeMatR
{
   technique
   {
      pass
      {
         texture_unit
         {
            texture preset_10eyeR.jpg
         }
      }
   }
}
material preset_10_tailMat
{
   technique
   {
      pass
      {
         texture_unit
         {
            texture preset_10tail.jpg
         }
      }
   }
}
material preset_10_maneMat
{
   technique
   {
      pass
      {
         lighting off
         cull_hardware none
         cull_software none
         scene_blend alpha_blend
         depth_write off
         texture_unit
         {
            texture preset_10mane.png
         }
      }
   }
}
heno

Offline D-ead7Dog

  • AFK NPC
  • Pack & Pride Representative
  • ****
  • Posts: 1,452
  • Country: us
  • Floof-O-Meter: 97
  • BUMPY SNOW
    • D-ead7Dog
    • d-ead7dog
    • View Profile
Re: Preset Creator and Files
« Reply #6 on: June 07, 2018, 10:30:32 pm »
Can you show me a picture of your files too? Just so we can match it up.
You're welcome to cross and draw all over it i just want to make sure they match up with the material. Just in case.
Also make sure the files are 512x512.
« Last Edit: June 07, 2018, 10:37:36 pm by D-ead7Dog »
WORK IN PROGRESS
Artwork (c) LynxBrush & Majorest

Originally registered January 15, 2011

Offline Frenchfries271

  • Forum Newcomer
  • *
  • Posts: 5
  • Country: us
  • Floof-O-Meter: 0
  • hiey
    • View Profile
Re: Preset Creator and Files
« Reply #7 on: June 07, 2018, 11:00:15 pm »
The problem was indeed the sizing, after I resized them to 512x512, the images came back. The only problem now is with the two different eyes and heads. I added the Rs and Ls where needed, but it's not showing back again. I think I can fix it on my own though, thanks for all your help the both of you ^^
heno

Offline D-ead7Dog

  • AFK NPC
  • Pack & Pride Representative
  • ****
  • Posts: 1,452
  • Country: us
  • Floof-O-Meter: 97
  • BUMPY SNOW
    • D-ead7Dog
    • d-ead7dog
    • View Profile
Re: Preset Creator and Files
« Reply #8 on: June 07, 2018, 11:01:09 pm »
The problem was indeed the sizing, after I resized them to 512x512, the images came back. The only problem now is with the two different eyes and heads. I added the Rs and Ls where needed, but it's not showing back again. I think I can fix it on my own though, thanks for all your help the both of you ^^

I'm so glad! Good luck on your preset. :)
WORK IN PROGRESS
Artwork (c) LynxBrush & Majorest

Originally registered January 15, 2011

Offline SenseiRei

  • Dedicated Supporter
  • ***
  • Posts: 476
  • Country: us
  • Floof-O-Meter: 25
  • ❤️ Plz Nuzzle me! I'm super Cuddly ❤️
    • royaldog12
    • View Profile
Re: Preset Creator and Files
« Reply #9 on: June 08, 2018, 02:49:08 am »
Check the size of each image file... if they are anywhere above 512x512 pixels. resize em.

*Flails arms and leaves* i tried momma! I tried!