Reshade

Discuss the game Trespasser here!

Moderators: TresCom Support Team, TresCom Board Managers

cenelle
Dinosaur egg
Dinosaur egg
Posts: 13
Joined: Mon Jun 06, 2022 8:21 pm

Reshade

Post by cenelle »

I did just join Trescom to show you how to get Trespasser working with Reshade and get a fairly stunning result (and this will work on a low-end PC).

This most important thing to do is to make sure your GPU driver/control panel is set to "Full RGB" and that V-sync is Forced On.

Install Reshade (just load everything up because I don't know right now how to export a preset specifically) and then paste the following to a created Preset.

Reshade in the Settings will have a flag so that it only loads these Shaders, so do that once you've selected it.

If everything works right, you'll notice...

=====
Preset
=====
Spoiler: show
PreprocessorDefinitions=temporal_dither=0
Techniques=CinematicDOF@CinematicDOF.fx,Directionally_Localized_Anti_Aliasing_Plus@DLAA_Plus.fx,ContrastAdaptiveSharpen@CAS.fx,Colourfulness@Colourfulness.fx,DPX@DPX.fx,AdaptiveTonemapper@AdaptiveTonemapper.fx
TechniqueSorting=CinematicDOF@CinematicDOF.fx,Directionally_Localized_Anti_Aliasing_Plus@DLAA_Plus.fx,ContrastAdaptiveSharpen@CAS.fx,Colourfulness@Colourfulness.fx,DPX@DPX.fx,AdaptiveTonemapper@AdaptiveTonemapper.fx

[AdaptiveTonemapper.fx]
AdaptFocalPoint=0.500000,0.500000
AdaptPrecision=0
AdaptRange=0.000000,1.000000
AdaptSensitivity=1.000000
AdaptTime=1.000000
Amount=1.000000
Exposure=0.000000
FixWhitePoint=1
TonemapOperator=1

[CAS.fx]
Contrast=0.000000
Sharpening=1.000000

[CinematicDOF.fx]
AutoFocusPoint=0.500000,0.500000
AutoFocusTransitionSpeed=0.200000
BlurQuality=5.000000
BokehBusyFactor=0.500000
FarPlaneMaxBlur=0.150000
FNumber=2.800000
FocalLength=100.000000
FocusCrosshairColor=1.000000,0.000000,1.000000,1.000000
FocusPlaneColor=0.000000,0.000000,1.000000
HighlightAnamorphicAlignmentFactor=0.000000
HighlightAnamorphicFactor=1.000000
HighlightAnamorphicSpreadFactor=0.000000
HighlightBoost=0.900000
HighlightGammaFactor=2.200000
ManualFocusPlane=10.000000
MitigateUndersampling=0
NearPlaneMaxBlur=0.000000
OutOfFocusPlaneColor=0.800000,0.800000,0.800000
OutOfFocusPlaneColorTransparency=0.700000
PostBlurSmoothing=0.000000
ShowCoCValues=0
ShowOutOfFocusPlaneOnMouseDown=0
UseAutoFocus=1
UseMouseDrivenAutoFocus=0

[Colourfulness.fx]
backbuffer_bits=8.000000
colourfulness=0.400000
col_noise=1
enable_dither=0
lim_luma=0.700000

[DLAA_Plus.fx]
De_Artifact=0.500000
Long_Edge_Mask_H=0.000000
Long_Edge_Mask_V=0.000000
Short_Edge_Mask=0.250000
Text_Preservation=0.500000
View_Mode=0

[DPX.fx]
Colorfulness=2.500000
Contrast=0.100000
RGB_C=0.360000,0.360000,0.340000
RGB_Curve=8.000000,8.000000,8.000000
Saturation=3.000000
Strength=0.200000
===============
CE DX9 - Trespasser.ini
===============
Spoiler: show
; Example/reference configuration for running the game with DirectX 9 HW rendering, with higher quality settings
; that may affect framerate noticably or not run at all on lower end systems (especially with integrated graphics)
; Copy this file to the game installation directory and rename it to trespasser.ini
;
; see reference file doc\trespasser.ini for description and additional configuration parameters

;--------
[Debug]
;--------

LogDevInfo=1

;--------
[General]
;--------

;TimestampScreenshots=True

;EnableQuickSaveKey=True

;EnableDualStow=True

TryIncompleteInstall=True


;---------
[Controls]
;---------

MouseSensX=0.5
MouseSensY=0.5


;--------
[Display]
;--------

ScreenBitDepth=32

; if necessary adjust this to match the refresh rate of your display (+1 to give it a small margin)
MaxFramerate=60


;-----------
[DisplayDX9]
;-----------

UseDX9=True

;MultiSamplingLevel=16

EnableVSync=False

;LimitGpuCommandBuffer=1

;Enable10bitDisplay=True

ScaleModeMenus=2

WaterRefraction=True

ATOCMode=1

EnhancedSky=True


;------
[Sound]
;------

NoSavegameSysSettings=True

MixerFrequency=44100


;------------
[SoundOpenAL]
;------------

UseAL=True

Device=Generic Software

DisableEAX=True


;-------
[Memory]
;-------

SysMemSizeD3D=8192

MemSizeD3D=350

TexPoolSizeD3D=24000

MaxTerrainMem=30000

MaxTerrainDynaShadowMem=24000

ExtraTerrainNodes=10

;ForceManagedMemD3D=True


;-------
[Render]
;-------

32bitHardwareTextures=True

;FOV=75.0


CacheMinDist=150.0

MaxCullDistance=600.0

MinCullDistance=100.0
MinCullDistanceShadow=30.0

ObjectCullDistScale=5.0
ObjectCullDistScaleShadow=1.25

CachedObjectCullDistScale=10.0

MinObjectCullDist=125.0
MinObjectCullDistShadow=30.0
MinCachedObjectCullDist=450.0

MinTerrainNodeEvalDist=35

ForceMaxObjectDetail=True

TexFilterD3D=0

ForceNoBlendTrans=True

MipMapMode=2
AutoMipMap=2


;-----------------
[MaxQualityParams]
;-----------------

MinSubdivison=8
AltMinSubdivision=16

DetailReductionScale=12.0

CullDistScale=12.0
CullShadowDistScale=4.0

WaterResScale=3.0

TerrainTexelScale=3.0

TerrainDistanceScale=3.0

PixelTolAdj=0.25

ResolutionScale=2.0
Last edited by cenelle on Wed Jun 08, 2022 10:27 am, edited 4 times in total.
User avatar
TheIdiot
T-Rex
T-Rex
Posts: 4345
Joined: Thu Feb 20, 2014 9:13 pm
Location: Canada, eh?

Re: Reshade

Post by TheIdiot »

Hi, welcome to the forum. :)
Just want to let you know that I have placed your preset and .ini settings into Spoilers in order to avoid excessive scrolling. :)

I and some others have done experimenting with ReShade in the past - check out the threads here:
https://www.trescomforum.org/viewtopic. ... de&start=0
https://www.trescomforum.org/viewtopic. ... it=reshade

Haven't really touched it much since then, but I'm glad to see there has been more experimentation into getting this to work as it can produce some quite nice results when tuned appropriately.
cenelle
Dinosaur egg
Dinosaur egg
Posts: 13
Joined: Mon Jun 06, 2022 8:21 pm

Re: Reshade

Post by cenelle »

TheIdiot wrote:Hi, welcome to the forum. :)
Just want to let you know that I have placed your preset and .ini settings into Spoilers in order to avoid excessive scrolling. :)

I and some others have done experimenting with ReShade in the past - check out the threads here:
https://www.trescomforum.org/viewtopic. ... de&start=0
https://www.trescomforum.org/viewtopic. ... it=reshade

Haven't really touched it much since then, but I'm glad to see there has been more experimentation into getting this to work as it can produce some quite nice results when tuned appropriately.
The Reshade configuration looks different.
You've got: "a reshade folder" "a reshade.fx file" "d3d9.dll" and you put that with the CE .exe.
I notice "displaydepth" is in there (for dof).

Must be an old Reshade version (but with similar older shaders).

Have you tried it out.

*** When installing Reshade, 'tick' the following (I don't know how to do Trescom's configuration download so users can try it out like that):
AstrayFX by BlueSkyDefender
OtisFX by Otis Inf
FGFX by AkexTuduran
FXShaders by luluco250
User avatar
TheIdiot
T-Rex
T-Rex
Posts: 4345
Joined: Thu Feb 20, 2014 9:13 pm
Location: Canada, eh?

Re: Reshade

Post by TheIdiot »

I've tried out that old version, used to use it all the time. It definitely works, though many levels need tweaks to the fog settings in order to avoid things looking washed-out. Never really checked out newer ReShade versions as I'm not really a huge fan of the way it implements its shaders, or the end result. But I would nonetheless like to see some screenshots if you happen to have any.
cenelle
Dinosaur egg
Dinosaur egg
Posts: 13
Joined: Mon Jun 06, 2022 8:21 pm

Re: Reshade

Post by cenelle »

tpassp6 2022-06-08 10-32-05.jpg
tpassp6 2022-06-08 10-32-05.jpg (1.46 MiB) Viewed 1909 times
tpassp6 2022-06-08 10-09-24.jpg
tpassp6 2022-06-08 10-09-24.jpg (1.79 MiB) Viewed 1912 times
tpassp6 2022-06-08 09-11-00.jpg
tpassp6 2022-06-08 09-11-00.jpg (1.15 MiB) Viewed 1916 times
TheIdiot wrote:I've tried out that old version, used to use it all the time. It definitely works, though many levels need tweaks to the fog settings in order to avoid things looking washed-out. Never really checked out newer ReShade versions as I'm not really a huge fan of the way it implements its shaders, or the end result. But I would nonetheless like to see some screenshots if you happen to have any.
Last edited by cenelle on Wed Jun 08, 2022 9:35 am, edited 2 times in total.
cenelle
Dinosaur egg
Dinosaur egg
Posts: 13
Joined: Mon Jun 06, 2022 8:21 pm

Re: Reshade

Post by cenelle »

TheIdiot wrote:I've tried out that old version, used to use it all the time. It definitely works, though many levels need tweaks to the fog settings in order to avoid things looking washed-out. Never really checked out newer ReShade versions as I'm not really a huge fan of the way it implements its shaders, or the end result. But I would nonetheless like to see some screenshots if you happen to have any.
The trick with Reshade is keeping the shader cpu and gpu times as low as possible; the shaders used here are below 1ms, but both dof and dlaa is 5ms.

The other trick is to make sure the shaders are loaded in the correct order:
dof
dlaa
cas
colourfulness
dpx
adaptivetonemapper

dpx has to be above adaptive and dpx below colourfulness.

The display depth (preprocessor definition) should look like this:
PreprocessorDefinitions=RESHADE_DEPTH_LINEARIZATION_FAR_PLANE=1000.0,RESHADE_DEPTH_INPUT_IS_UPSIDE_DOWN=0,RESHADE_DEPTH_INPUT_IS_REVERSED=1,RESHADE_DEPTH_INPUT_IS_LOGARITHMIC=0
That's not in the preset itself; I'd have to add that in the original post, but it's here anyway.

The screenshot doesn't do it justice when you play the game (because the shaders are adaptive in most cases; they change depending on what you're doing or how you look around).
User avatar
Draconisaurus
T-Rex Killer
T-Rex Killer
Posts: 14048
Joined: Mon Dec 06, 2004 5:21 pm
Antispam: No
Location: Isla Sorna
Contact:

Re: Reshade

Post by Draconisaurus »

I appreciate the textures I'm seeing as using original square pixels instead of blurred.
User avatar
tatu
-=TresCom Website Manager=-
-=TresCom Website Manager=-
Posts: 5088
Joined: Fri Jun 24, 2005 9:40 pm
Antispam: No
Location: Sweden
Contact:

Re: Reshade

Post by tatu »

I like how ReShade looks and I have little experience with it myself. I think screenshots looks good but they always put me off from using it myself as it seems in many cases ReShade makes the game focus on everything close around you, making everything further away look blurry. But I do really like the look of the IJ gorge part :)
Active project: Trespasser: Isla Sorna
Status:
BE-PH1: Released
PH2-IT: Pre-released
PL-SUM: In production

"...there used to be more benches, but InGen's workers removed them during the evacuation in the name of framerate."
cenelle
Dinosaur egg
Dinosaur egg
Posts: 13
Joined: Mon Jun 06, 2022 8:21 pm

Re: Reshade

Post by cenelle »

tatu wrote:I like how ReShade looks and I have little experience with it myself. I think screenshots looks good but they always put me off from using it myself as it seems in many cases ReShade makes the game focus on everything close around you, making everything further away look blurry. But I do really like the look of the IJ gorge part :)
I've been working on a new Reshade preset.
You'll like this one.
I've solved dof transition (you have to slow it down so that other shaders have time to finish their cycle/loop).
It's moved from DLAA to CMAA_2 and that in combination with a dither shader, also solves dof transition.
And I've knocked off* almost 5ms in overall GPU time (not sure about the CPU but it's probably lower; I didn't check).
So dof looks great and you don't even notice it.

But then you have a very particular* sepia touch to it combined with dpx and the tonemapper shader.
tpassp6 2022-06-09 09-53-16.jpg
tpassp6 2022-06-09 09-53-16.jpg (1.8 MiB) Viewed 1888 times
tpassp6 2022-06-09 09-49-22.jpg
tpassp6 2022-06-09 09-49-22.jpg (1.96 MiB) Viewed 1888 times
tpassp6 2022-06-09 10-35-35.jpg
tpassp6 2022-06-09 10-35-35.jpg (1.46 MiB) Viewed 1881 times
cenelle
Dinosaur egg
Dinosaur egg
Posts: 13
Joined: Mon Jun 06, 2022 8:21 pm

Re: Reshade

Post by cenelle »

Make sure the Preset in the Reshade appears in this order, otherwise it won't look right:

Cinematic Dof
CMAA_2
Dither
DPX
Adaptive Tonemapper
Tint[Sepia]

=====
Preset 2
=====
Spoiler: show
PreprocessorDefinitions=CMAA2_PERFORMANCE_HACK=0,CMAA2_STATIC_QUALITY_PRESET=1
Techniques=CinematicDOF@CinematicDOF.fx,CMAA_2@CMAA_2.fx,Dither@Dither.fx,DPX@DPX.fx,AdaptiveTonemapper@AdaptiveTonemapper.fx,Tint@Sepia.fx
TechniqueSorting=CinematicDOF@CinematicDOF.fx,CMAA_2@CMAA_2.fx,Dither@Dither.fx,DPX@DPX.fx,AdaptiveTonemapper@AdaptiveTonemapper.fx,Tint@Sepia.fx

[AdaptiveTonemapper.fx]
AdaptFocalPoint=0.500000,0.500000
AdaptPrecision=0
AdaptRange=0.000000,1.000000
AdaptSensitivity=1.000000
AdaptTime=1.000000
Amount=0.500000
Exposure=0.000000
FixWhitePoint=1
TonemapOperator=1

[CinematicDOF.fx]
AutoFocusPoint=0.500000,0.500000
AutoFocusTransitionSpeed=0.040000
BlurQuality=5.000000
BokehBusyFactor=0.500000
FarPlaneMaxBlur=0.400000
FNumber=2.800000
FocalLength=100.000000
FocusCrosshairColor=1.000000,0.000000,1.000000,1.000000
FocusPlaneColor=0.000000,0.000000,1.000000
HighlightAnamorphicAlignmentFactor=0.000000
HighlightAnamorphicFactor=1.000000
HighlightAnamorphicSpreadFactor=0.000000
HighlightBoost=0.900000
HighlightGammaFactor=2.200000
ManualFocusPlane=10.000000
MitigateUndersampling=0
NearPlaneMaxBlur=0.000000
OutOfFocusPlaneColor=0.800000,0.800000,0.800000
OutOfFocusPlaneColorTransparency=0.700000
PostBlurSmoothing=0.000000
ShowCoCValues=0
ShowOutOfFocusPlaneOnMouseDown=0
UseAutoFocus=1
UseMouseDrivenAutoFocus=0

[CMAA_2.fx]
DebugEdges=0
UIHELP=0

[Dither.fx]
fDithering=0.400000
fQuantization=0.000000
iDitherMode=0

[DPX.fx]
Colorfulness=1.500000
Contrast=0.200000
RGB_C=0.360000,0.360000,0.340000
RGB_Curve=8.000000,8.000000,8.000000
Saturation=2.500000
Strength=0.500000

[Sepia.fx]
Strength=0.250000
Tint=0.550000,0.430000,0.420000
tpassp6 2022-06-09 14-33-14.jpg
tpassp6 2022-06-09 14-33-14.jpg (1.55 MiB) Viewed 1870 times
User avatar
TheIdiot
T-Rex
T-Rex
Posts: 4345
Joined: Thu Feb 20, 2014 9:13 pm
Location: Canada, eh?

Re: Reshade

Post by TheIdiot »

cenelle - please make sure you're editing your previous post instead of making a new one if you're going to be posting twice in a row within 24 hours. :) I couldn't merge your last two posts as the attachments were getting messed up.

That looks great! Not so overblown as my preset. I think you could probably get away with a tiny amount of bloom as well, if you can avoid having the fog get overly bright. Not so much a fan of the sepia tone as much as the regular colours as I find it changes the look of the levels too much.
cenelle
Dinosaur egg
Dinosaur egg
Posts: 13
Joined: Mon Jun 06, 2022 8:21 pm

Re: Reshade

Post by cenelle »

TheIdiot wrote:cenelle - please make sure you're editing your previous post instead of making a new one if you're going to be posting twice in a row within 24 hours. :) I couldn't merge your last two posts as the attachments were getting messed up.

That looks great! Not so overblown as my preset. I think you could probably get away with a tiny amount of bloom as well, if you can avoid having the fog get overly bright. Not so much a fan of the sepia tone as much as the regular colours as I find it changes the look of the levels too much.
The thumbnail didn't work with the existing attachments. I don't want to mess up anything trying it again... did you try and it didn't work for you either?

The sepia is not really a sepia; I used it to create the correct orange/red/brown [orb] (over the dpx shader) the game inherently had before directx.
The bright background isn't really bright- it's a tone map adaption to what you're looking at (just like real life on a bright sunny day). The dither controls it (and also gives it a nifty software renderer look).

I won't be doing any further attachments/Reshade/presets. The presets here do what they do for the graphics you get in Trespasser until it goes to another game engine- which is probably never with the original content in it.
User avatar
TheIdiot
T-Rex
T-Rex
Posts: 4345
Joined: Thu Feb 20, 2014 9:13 pm
Location: Canada, eh?

Re: Reshade

Post by TheIdiot »

The thumbnail didn't work with the existing attachments. I don't want to mess up anything trying it again... did you try and it didn't work for you either?
Yeah, that's why I ended up leaving the second post. Not sure why it was doing that - haven't heard reports of anything else odd going on with attachments recently so I'm thinking it might simply be the name of the image you attached, or a caveat of the way attachments are handled. No big deal. :)
cenelle
Dinosaur egg
Dinosaur egg
Posts: 13
Joined: Mon Jun 06, 2022 8:21 pm

Re: Reshade

Post by cenelle »

Who would like to see my new preset that will blow you away.

Just one shader makes it possible and makes it work the way it does.

***I can't get the thumbnail to work... and it still won't work trying to do it the third time with small naming files...
3dtrick2.jpg
3dtrick2.jpg (810.8 KiB) Viewed 1807 times
3dtrick.jpg
3dtrick.jpg (868.03 KiB) Viewed 1807 times
The attachment 3dtrick3.jpg is no longer available
Attachments
3dtrick3.jpg
3dtrick3.jpg (1.08 MiB) Viewed 1807 times
User avatar
Double_G
Brachiosaurus
Brachiosaurus
Posts: 108
Joined: Sun Jul 15, 2012 6:40 am
Antispam: No

Re: Reshade

Post by Double_G »

I will be doing another playthrough and i plan on using your reshade preset. I kind of like the pixely, dithery look as it reminds me of how the game looks like in software mode
Post Reply