Put everything in a folder by default

  • Nazo
  • Topic Author
More
4 months 6 days ago - 4 months 6 days ago #1 by Nazo Put everything in a folder by default was created by Nazo
After a lot of experimentation a while back I found I could do this manually, however I think it would be overall a much cleaner/better default for ReShade as a whole.  There are a couple of exceptions though.  ReShade.ini and ReShade.log can't be relocated as nearly as I can tell.

Basically this.  You have *only* the actual injection DLL itself (eg dxgi.dll, opengl32.dll, or whatever else may be needed) in the game's directory and a reshade folder.  Within said reshade folder there is the cache, shaders themselves, and textures as well as all other files it uses.

Essentially like with this ReShade.ini setup:
[GENERAL]
EffectSearchPaths=.\reshade\Shaders\,.\reshade\Shaders\SweetFX\
IntermediateCachePath=.\reshade\Cache
PresetPath=.\reshade\ReShadePreset.ini
StartupPresetPath=.\reshade\
TextureSearchPaths=.\reshade\Textures\,.\reshade\Textures\SweetFX\

And look for the ini and create the log in there as well.  Perhaps do like many things do and look in the current folder first for the ini files first, then look there second, but create new files there.  (That allows for a quick and easy way to override without overwriting, so two birds with one stone.)

This makes a much cleaner setup.  There are only two extra things in the actual game's folder, which is especially useful for games with lots of files to sort through if you have to do any adjustment (eg due to crashing or whatever.)

Also, I've said this before, but using the %TEMP% folder as the location for caching shaders causes conflicts and just a general mess, but at least with the above I found a way to manually override this.  However, I think that should be the default.  The cache is not that big, -- just a lot of files -- and they may conflict with other installations potentially.  (With a minimal installation I see just under 227KiB of cache files, so this really isn't an issue of needing to try to minimize usage since they're really just not that big.  Also I don't see any reason it replaces the path with a full path even though it has no problem with a relative.  Only the cache folder option does this (the rest stay relative unless I manually use the interface's browser to set something.)

Of course, there is no reason a user couldn't edit their ini to move those files elsewhere if they really wanted.  I don't propose that it should only be the reshade folder, just that it should be by default.  So it would be nice also if there was an option in the ReShade.ini file for setting the logfile location/name.  (Obviously the ReShade.ini file's location would be a matter of search paths as mentioned above which has to be program level.)  So most of this suggestion is largely just that the default ini and folder structure should be that way, but the ini and log files aren't a thing that can currently be modified that way.
Last edit: 4 months 6 days ago by Nazo.

Please Log in or Create an account to join the conversation.

We use cookies
We use cookies on our website. Some of them are essential for the operation of the forum. You can decide for yourself whether you want to allow cookies or not. Please note that if you reject them, you may not be able to use all the functionalities of the site.