The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 906 - File: showthread.php PHP 7.2.24-0ubuntu0.18.04.17 (Linux)
File Line Function
/showthread.php 906 errorHandler->error



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!
Viper85626 Offline
Junior Member

Posts: 46
Threads: 6
Joined: Apr 2013
Reputation: 2
#1
Custom Shader Mod Tool!

Hey everybody! Let me first say that this is my first ever contribution to these forums and I'm really excited about it!

So, I was lurking around the development forums while I was at school a couple days ago and I came upon this thread from 12/30/2012: Black and White Screen Effects?

The only reason I really saw it was because it was still an active thread. The last post was actually a few days ago. But to make a long story short, if you don't know what's in that thread, or you don't want to read through all 6 pages, TheGreatCthulhu actually figured out a way to change the sepia screen effect to a custom one! He created a greyscale and "Predator" effect.

[Image: 8336640972_145a71fa1b_b.jpg]

Now on the very recent posts, everyone was talking about making a tool that could manage these shader mods and incorporate them into FCs since the "/core/shaders" folder is hardcoded into the game and isn't on the "resources.cfg." I figured I would practice some of my programming again and took the first step into this new-ish feature!

Keep in mind that this is a very early/basic tool at the moment. If anyone would like to suggest or even contribute to further this tool, it would be greatly appreciated!

[Image: zTwA153.png]

Instructions:
- Select the target shader folder in which to install your shader mod (preferably in "core/shaders."
- Option to make a backup of .glsl file(s) into a new folder in the target folder called "Original Backup." File extension is also changed to .glslORIG during this process.
- Find your custom shader file from anywhere on your computer. Name does not matter.
- "Load Custom Shader" will take your modded shader, rename it to the proper shader file, then overwrite it in the target folder.

Congratulations! Your new shader is now installed!

There are a few drawbacks to this app at the moment:
- 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.)
- This app does NOT have any association with the .tga files that are the actual gradient maps used by this shader. (Planned in a future update.)

Well, without further ado, here is the download link! Hope you guys enjoy and are able to make a use of this! Big Grin (You can alternatively download the RAR packed file in the attachments below.)

https://www.dropbox.com/s/joe6tz3q9hxwmv...l.exe?dl=1


Attached Files
.rar   Amnesia Shader Tool.rar (Size: 330.32 KB / Downloads: 180)
(This post was last modified: 09-26-2014, 07:32 AM by Viper85626.)
09-26-2014, 07:21 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)