Author Topic: glowing outline code fails to export  (Read 698 times)

Offline yourlocalcrow

  • Dedicated Supporter
  • ***
  • Posts: 412
  • Country: us
  • Floof-O-Meter: 43
  • they/them
    • View Profile
    • my deviantArt
glowing outline code fails to export
« on: July 15, 2018, 05:17:58 pm »
As we all should know, a few years back a code for a glowing outline came out (alongside some other neat effects!). Being quite excited to see some fresh effects out there, I jumped at the chance and downloaded them all. Upon trying to use the glowing outline code, I found that it fails to export. It looks like in preview, but I cannot export it.

I'd love to play around with it, make some adoptables/auctions to sell with it, and it still fails to export. I'm not going to sell a preset that you can't even use! I've seen other people that managed to get it to work, and can't help but wonder where in the coding I went wrong.

Here's what I'm using:

Code: [Select]
material preset_4_bodyMatL
{
 technique
 {
  pass
  {
   texture_unit
   {
    texture preset_4body.png
   }
   texture_unit
      {
             cubic_texture RIM.dds combinedUVW
            tex_address_mode clamp
            colour_op_ex add src_texture src_current
             colour_op_multipass_fallback one one
            env_map cubic_normal
   }
  }
 }
}
material preset_4_bodyMatR
{
 technique
 {
  pass
  {
   texture_unit
   {
    texture preset_4body.png
   }
   texture_unit
      {
             cubic_texture RIM.dds combinedUVW
            tex_address_mode clamp
            colour_op_ex add src_texture src_current
             colour_op_multipass_fallback one one
            env_map cubic_normal
   }
  }
 }
}
material preset_4_headMatL
{
 technique
 {
  pass
  {
   texture_unit
   {
    texture preset_4head.png
   }
   texture_unit
      {
             cubic_texture RIM.dds combinedUVW
            tex_address_mode clamp
            colour_op_ex add src_texture src_current
             colour_op_multipass_fallback one one
            env_map cubic_normal
   }
  }
 }
}
material preset_4_headMatR
{
 technique
 {
  pass
  {
   texture_unit
   {
    texture preset_4head.png
   }
   texture_unit
      {
             cubic_texture RIM.dds combinedUVW
            tex_address_mode clamp
            colour_op_ex add src_texture src_current
             colour_op_multipass_fallback one one
            env_map cubic_normal
   }
  }
 }
}
material preset_4_eyeMatL
{
 technique
 {
  pass
  {
   texture_unit
   {
    texture preset_4eye.png
   }
   texture_unit
      {
             cubic_texture RIM.dds combinedUVW
            tex_address_mode clamp
            colour_op_ex add src_texture src_current
             colour_op_multipass_fallback one one
            env_map cubic_normal
   }
  }
 }
}
material preset_4_eyeMatR
{
 technique
 {
  pass
  {
   texture_unit
   {
    texture preset_4eye.png
   }
   texture_unit
      {
             cubic_texture RIM.dds combinedUVW
            tex_address_mode clamp
            colour_op_ex add src_texture src_current
             colour_op_multipass_fallback one one
            env_map cubic_normal
   }
  }
 }
}
material preset_4_tailMat
{
 technique
 {
  pass
  {
   texture_unit
   {
    texture preset_4tail.png
   }
   texture_unit
      {
             cubic_texture RIM.dds combinedUVW
            tex_address_mode clamp
            colour_op_ex add src_texture src_current
             colour_op_multipass_fallback one one
            env_map cubic_normal
   }
  }
 }
}
material preset_4_maneMat
{
 technique
 { 
  pass
  {
   alpha_rejection greater_equal 128
   texture_unit
   {
    texture preset_4mane.png
   }
   scene_blend alpha_blend
     texture_unit
   {
   cubic_texture RIM.dds combinedUVW
   tex_address_mode clamp
   colour_op_ex add src_texture src_current
   alpha_op_ex modulate src_current src_manual 1
   env_map cubic_normal
   }
  }
 }
}

Any and all help would be appreciated!

Lucius

  • Guest
Re: glowing outline code fails to export
« Reply #1 on: July 15, 2018, 06:04:22 pm »
At first glance, there's nothing wrong with your code. Just to be sure though, I've tested it on a premade preset with added rimlights and there was no issue with the export.

So the problem either lies with the image files in your preset, or you've got the rare glitch where some presets fail to export.



Does the preset export correctly when you remove the RIM.dds file and the coding associated with it?

Where did you get the RIM.dds file from?

Have you modified the RIM.dds file in GIMP?

If you open the RIM.dds file, does it look like this?


Offline yourlocalcrow

  • Dedicated Supporter
  • ***
  • Posts: 412
  • Country: us
  • Floof-O-Meter: 43
  • they/them
    • View Profile
    • my deviantArt
Re: glowing outline code fails to export
« Reply #2 on: July 15, 2018, 06:18:29 pm »
To your first question, yes it does export without the associated coding.

To the second, I got the RIM.dds file from this thread.

Lastly, considering GIMP doesn't let me open the file, I cannot say I've modified it, nor was I able to open it to check that it looks like that.

Lucius

  • Guest
Re: glowing outline code fails to export
« Reply #3 on: July 15, 2018, 06:40:27 pm »
That's bizarre. Unfortunately this is one of those cases where I don't have that many suggestions which could work.



Some people have reported success by copy pasting the code into a brand new material file and overwriting the old one.

Others have moved their presets into other folders and were then able to export.

Another solution that I've seen was to untick the box that saves the username.



If that doesn't work, then I truly do apologize. The problem of presets failing to export has occurred before and is so arbitrary that I can't seem to find any probable cause for it.