Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TIP] custom .fx file per game #235

Open
wildtruc opened this issue Mar 21, 2024 · 0 comments
Open

[TIP] custom .fx file per game #235

wildtruc opened this issue Mar 21, 2024 · 0 comments

Comments

@wildtruc
Copy link

wildtruc commented Mar 21, 2024

Because vkBasalt has no possibility to create customs sets per game, you can create a custom .fx file dedicated to this game, example (BDO here):
You need to customize Denoise.fx for your game/software.
In ~/.local/share/reshade create a customs folder:
mkdir -p ~/.local/share/reshade/customs

Make a copy of Denoise.fx into customs folder and rename it as you wish:
cp -f ~/.local/share/reshade/Denoise.fx ~/.local/share/reshade/customs/DenoiseBDO.fx

Edit the new file as you wish (will need probably many tests at least you already know what you need).

The editable fx code section are like this one:

uniform float LerpCoefficeint < __UNIFORM_SLIDER_FLOAT1
	ui_min = 0.0; ui_max = 1.00;
	ui_label = "Lerp Coefficient";
	ui_tooltip = "Amount of blending between the original and the processed image.";
// > = 0.8;  # < default
> = 0.5;     # < custom

When done, go to ~/.config/vkBasalt.
Make a copy of vkBasalt.conf to bdo.conf.
cp -f ~/.config/vkBasalt/vkBasalt.conf ~/.config/vkBasalt/bdo.conf

Edit the new file and set the DenoiseBDO.fx in the list of fx files (GOverlay formated conf files):

Denoise = /home/user/.local/share/reshade/Shaders/Denoise.fx
DenoiseBDO = /home/[user]/.local/share/reshade/Shaders/customs/DenoiseBDO.fx

Then in the same conf file, call the custom Denoise.fx files in the effect chain:
effects = SMAA:Colourfulness:DenoiseBDO:FakeHDR:cas

The last thing is to symlink bdo.conf file to vkBasalt.conf where the game executable is located.
ln -sf ~/.config/vkBasalt/bdo.conf ~/.[SteamApps]/[Games]/BlackDesert/bin64/vkBasalt.conf

Done and enjoy.

Note : remind you to only edit in custom file the > = 0.5; lines, nothing else which could be sensitive and that tests will need many game launch to get the fine result.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant