Merge branch 'neutralino' of https://gitlab.com/KRypt0n_/an-anime-game-launcher into neutralino

This commit is contained in:
Observer KRypt0n_ 2021-12-31 19:23:35 +02:00
commit d42ad9e04f
3 changed files with 35 additions and 27 deletions

View file

@ -1,6 +1,6 @@
name: Prime Preset v2
name: Prime Preset v3
author: notahuman
uri: https://notabug.org/Krock/GI-on-Linux/issues/200
uri: https://notabug.org/notahuman/presets/raw/master/Resin-Impact/vkBasalt.conf
images:
- file: preview.png
caption:
@ -8,4 +8,4 @@ images:
de-de: Gesichter der Charaktere
ja-jp: キャラクターの顔
ko-kr: 캐릭터의 얼굴
ru-ru: Лица персонажей
ru-ru: Лица персонажей

View file

@ -1,37 +1,40 @@
# Prime Preset v2 by notahuman
# Prime Preset v3 by notahuman
# https://notabug.org/notahuman/presets
# Hotkey: Home
effects = clarity:fakeHDR:sharp
ffects = FakeHDR:Clarity:AdaptiveSharpen
reshadeTexturePath = "/usr/share/reshade/textures"
reshadeIncludePath = "/usr/share/reshade/shaders"
## FakeHDR ##
HDRPower=1.39841
radius1=0.85213
radius2=0.88853
## AdaptiveSharpen ##
curve_height=0.37657
L_compr_low=0.24841
L_compr_high=0.43627
D_compr_low=1.301
D_compr_high=0.3203
# Setting HDRPower higher makes dark things darker.
HDRPower=1.22039
# The difference between radius1 and radius2 decides the peak brightness.
# Setting radius2 higher than radius1 makes bright things brighter.
radius1=0.98731
radius2=1.00693
## Clarity ##
ClarityRadius=4
ClarityOffset=8.0
ClarityBlendMode=0
ClarityBlendIfDark=60
ClarityBlendIfLight=137
ClarityStrength=0.42023
ClarityDarkIntensity=0.6101
ClarityLightIntensity=5.2453
ClarityRadius=2
ClarityOffset=0.7
ClarityBlendMode=2
ClarityBlendIfDark=59
ClarityBlendIfLight=157
ClarityStrength=0.60449
ClarityDarkIntensity=0.5
ClarityLightIntensity=0.2
sharp = /usr/share/reshade/shaders/AdaptiveSharpen.fx
clarity = /usr/share/reshade/shaders/Clarity.fx
fakeHDR = /usr/share/reshade/shaders/FakeHDR.fx
## AdaptiveSharpen ##
curve_height=0.52501
L_compr_low=0.17477
L_compr_high=0.43627
D_compr_low=0.60133
D_compr_high=0.10459
FakeHDR = /usr/share/reshade/shaders/FakeHDR.fx
Clarity = /usr/share/reshade/shaders/Clarity.fx
AdaptiveSharpen = /usr/share/reshade/shaders/AdaptiveSharpen.fx
depthCapture = off
toggleKey = Home

View file

@ -48,6 +48,11 @@ class Stream extends AbstractInstaller
* Remove test version restrictions from the main patch
*/
() => Neutralino.os.execCommand(`cd '${patchDir}' && sed -i '/^echo "If you would like to test this patch, modify this script and remove the line below this one."/,+5d' patch.sh`),
/**
* Remove /etc/hosts editing due to sudo permissions
*/
() => Neutralino.os.execCommand(`cd '${patchDir}' && sed -i '/^# ===========================================================/,+68d' patch.sh`),
/**
* Remove test version restrictions from the anti-login crash patch