diff --git a/data_from_portwine/Reshade/ReShade.ini b/data_from_portwine/Reshade/ReShade.ini new file mode 100644 index 00000000..1d8ea0bc --- /dev/null +++ b/data_from_portwine/Reshade/ReShade.ini @@ -0,0 +1,88 @@ +[DEPTH] +DepthCopyAtClearIndex=0 +DepthCopyBeforeClears=0 +UseAspectRatioHeuristics=1 + +[GENERAL] +EffectSearchPaths=.\Shaders +IntermediateCachePath=C:\users\steamuser\Temp +NoDebugInfo=1 +NoEffectCache=0 +NoReloadOnInit=0 +NoReloadOnInitForNonVR=0 +PerformanceMode=0 +PreprocessorDefinitions= +PresetPath=.\ReShadePreset.ini +PresetShortcutKeys= +PresetShortcutPaths= +PresetTransitionDelay=1000 +PresetTransitionDuration=1000 +SkipLoadingDisabledEffects=0 +StartupPresetPath= +TextureSearchPaths=.\Textures + +[INPUT] +ForceShortcutModifiers=1 +InputProcessing=2 +KeyEffects=0,0,0,0 +KeyNextPreset=0,0,0,0 +KeyOverlay=36,0,0,0 +KeyPerformanceMode=0,0,0,0 +KeyPreviousPreset=0,0,0,0 +KeyReload=0,0,0,0 +KeyScreenshot=44,0,0,0 + +[OVERLAY] +AutoSavePreset=1 +ClockFormat=0 +Docking=[Docking][Data],DockSpace ID=0x7E010B79 Window=0x995B0CF8 Pos=8,,8 Size=1904,,1064 Split=X, DockNode ID=0x00000001 Parent=0x7E010B79 SizeRef=671,,1080 Selected=0xAF9E06C0, DockNode ID=0x00000002 Parent=0x7E010B79 SizeRef=1247,,1080 CentralNode=1 +FPSPosition=1 +NoFontScaling=1 +SaveWindowState=0 +ShowClock=0 +ShowForceLoadEffectsButton=1 +ShowFPS=0 +ShowFrameTime=0 +ShowPresetTransitionMessage=1 +ShowScreenshotMessage=1 +TutorialProgress=4 +VariableListHeight=300.000000 +VariableListUseTabs=0 +Window=[Window][Home],Pos=8,,8,Size=671,,1064,Collapsed=0,DockId=0x00000001,,0,[Window][Add-ons],Pos=8,,8,Size=671,,1064,Collapsed=0,DockId=0x00000001,,1,[Window][Settings],Pos=8,,8,Size=671,,1064,Collapsed=0,DockId=0x00000001,,2,[Window][Statistics],Pos=8,,8,Size=671,,1064,Collapsed=0,DockId=0x00000001,,3,[Window][Log],Pos=8,,8,Size=671,,1064,Collapsed=0,DockId=0x00000001,,4,[Window][About],Pos=8,,8,Size=671,,1064,Collapsed=0,DockId=0x00000001,,5,[Window][###editor],Collapsed=0,DockId=0x00000002,[Window][Viewport],Pos=0,,0,Size=1920,,1080,Collapsed=0,[Window][Debug##Default],Pos=60,,60,Size=400,,400,Collapsed=0 + +[SCREENSHOT] +ClearAlpha=1 +FileFormat=1 +FileNaming=%AppName% %Date% %Time% +FileNamingFormat=0 +JPEGQuality=90 +PostSaveCommand= +PostSaveCommandArguments="%TargetPath%" +PostSaveCommandNoWindow=0 +PostSaveCommandWorkingDirectory=.\ +SaveBeforeShot=0 +SaveOverlayShot=0 +SavePath= +SavePresetFile=0 +SoundPath= + +[STYLE] +Alpha=1.000000 +ChildRounding=0.000000 +ColFPSText=1.000000,1.000000,0.784314,1.000000 +EditorFont= +EditorFontSize=13 +EditorStyleIndex=0 +Font= +FontSize=13 +FPSScale=1.000000 +FrameRounding=0.000000 +GrabRounding=0.000000 +HdrOverlayBrightness=203.000000 +HdrOverlayOverwriteColorSpaceTo=0 +PopupRounding=0.000000 +ScrollbarRounding=0.000000 +StyleIndex=2 +TabRounding=4.000000 +WindowRounding=0.000000 + diff --git a/data_from_portwine/Reshade/d3d8.dll b/data_from_portwine/Reshade/d3d8.dll new file mode 100644 index 00000000..e56c2c85 Binary files /dev/null and b/data_from_portwine/Reshade/d3d8.dll differ diff --git a/data_from_portwine/scripts/functions_helper b/data_from_portwine/scripts/functions_helper index 70b04a98..22e0b142 100755 --- a/data_from_portwine/scripts/functions_helper +++ b/data_from_portwine/scripts/functions_helper @@ -507,9 +507,10 @@ pw_reshade_check () { if [[ "${ENABLE_RESHADE}" == 1 ]] && [[ "${PW_VULKAN_USE}" != "3" ]] ; then ln -is "${PORT_WINE_PATH}/data/Reshade/ReShade64.dll" "${PATH_TO_GAME}/dxgi.dll" ln -is "${PORT_WINE_PATH}/data/Reshade/ReShade32.dll" "${PATH_TO_GAME}/d3d9.dll" - var_winedlloverride_update "d3d9,dxgi=n,b" + ln -is "${PORT_WINE_PATH}/data/Reshade/d3d8.dll" "${PATH_TO_GAME}/d3d8.dll" + var_winedlloverride_update "d3d8,d3d9,dxgi=n,b" - LINKS="ReShade32.json ReShade64.json Shaders Textures" + LINKS="ReShade32.json ReShade64.json ReShade.ini Shaders Textures" for link in $LINKS; do if [[ ! -L "${PATH_TO_GAME}/$link" ]] ; then