Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Custom Shader Mod Tool!
Romulator Offline
Not Tech Support ;-)

Posts: 3,628
Threads: 63
Joined: Jan 2013
Reputation: 195
#4
RE: Custom Shader Mod Tool!

This is the original post, detailing the manual instructions and/or full explanation of what happens.

Quote:Only the "posteffect_color_conv_tex_frag.glsl" file is accepted in this app due to the fact that it was the only one discussed in the above thread and also because I don't understand .glsl files and do not want to ruin the original installation. (If anyone has any information regarding these files, what they do, and if there is even a point for the program to manipulate the other .glsl files, please let me know.)

You can use a differing file but it must use the same file name. This file can only be read from the core/shaders folder as core is loaded from Amnesia independently from the resources. You cannot use a differing filename - quite simply to avoid Amnesia crashing. Think of it like your application - it looks for a particular file. If it cannot find it, it will likely crash. From what I know, this particular .glsl file messes with the graphics using code called when FadeSepiaColorTo(); is used.

In reality, the .glsl file does not need to be backed up, but is a good idea regardless.

Also - the program does not need to modify any files other than the posteffect_color_conv_tex_frag.glsl. Since you mentioned programming, I assume you are aware of something called Scope. Seeing as your applications purpose is to modify the core files required to create a shader effect, your application does not need to do anything else - which means it is not a Functional Requirement.

Quote:Select the target shader folder in which to install your shader mod (preferably in "core/shaders.")

I would personally not recommend putting the colorconv_sepia.tga file in the core/shaders folder (if this is what you are saying, because that's what it seems like). If you're replacing, it will go in textures/shaders/, otherwise you can 'trick' Amnesia by putting the effect in another folder, and having that placed above the textures entry in the resources.cfg. I'm sorry if that sounds like gibberish, but give it a few reads and you'll understand.



In terms of your future app development:
- Get a readme or a help file. This is called User's Documentation. It tells the user what to do. Put it within the application or in a seperate text file. Perhaps using ToolTips over the text box or the respective button could work too. When programming, assume a user has no idea what to do. How/Where could they get or be helped?
- If you have an idea for the program and do not know how to go about it, as long as it is in VB, feel free to ask.

Chrome may say the file is malicious. It is a false flag. https://www.virustotal.com/en/file/58259...411723044/

Discord: Romulator#0001
[Image: 3f6f01a904.png]
(This post was last modified: 09-26-2014, 10:24 AM by Romulator.)
09-26-2014, 09:06 AM
Find


Messages In This Thread
Custom Shader Mod Tool! - by Viper85626 - 09-26-2014, 07:21 AM
RE: Custom Shader Mod Tool! - by Mudbill - 09-26-2014, 07:26 AM
RE: Custom Shader Mod Tool! - by Viper85626 - 09-26-2014, 07:28 AM
RE: Custom Shader Mod Tool! - by Romulator - 09-26-2014, 09:06 AM
RE: Custom Shader Mod Tool! - by Viper85626 - 09-26-2014, 06:55 PM
RE: Custom Shader Mod Tool! - by Mudbill - 09-26-2014, 12:38 PM
RE: Custom Shader Mod Tool! - by Daemian - 09-26-2014, 03:50 PM
RE: Custom Shader Mod Tool! - by Acies - 10-01-2014, 03:20 PM
RE: Custom Shader Mod Tool! - by Viper85626 - 10-01-2014, 07:06 PM
RE: Custom Shader Mod Tool! - by Romulator - 10-01-2014, 10:27 PM
RE: Custom Shader Mod Tool! - by Viper85626 - 10-01-2014, 10:45 PM
RE: Custom Shader Mod Tool! - by Acies - 10-01-2014, 11:53 PM
RE: Custom Shader Mod Tool! - by Romulator - 10-02-2014, 03:40 AM
RE: Custom Shader Mod Tool! - by Viper85626 - 10-02-2014, 04:55 AM
RE: Custom Shader Mod Tool! - by Radiance - 09-17-2015, 02:57 PM
RE: Custom Shader Mod Tool! - by Romulator - 09-17-2015, 03:33 PM
RE: Custom Shader Mod Tool! - by Radiance - 09-17-2015, 03:40 PM
RE: Custom Shader Mod Tool! - by Traggey - 09-17-2015, 04:17 PM
RE: Custom Shader Mod Tool! - by Radiance - 09-17-2015, 06:38 PM
RE: Custom Shader Mod Tool! - by Mudbill - 09-17-2015, 07:07 PM
RE: Custom Shader Mod Tool! - by Traggey - 09-17-2015, 07:23 PM
RE: Custom Shader Mod Tool! - by Radiance - 09-17-2015, 08:40 PM
RE: Custom Shader Mod Tool! - by Traggey - 09-17-2015, 09:31 PM
RE: Custom Shader Mod Tool! - by Radiance - 09-17-2015, 09:35 PM
RE: Custom Shader Mod Tool! - by Traggey - 09-17-2015, 09:58 PM
RE: Custom Shader Mod Tool! - by Radiance - 09-17-2015, 10:11 PM
RE: Custom Shader Mod Tool! - by Traggey - 09-17-2015, 10:18 PM



Users browsing this thread: 1 Guest(s)