Crate reshaderlib

source ·
Expand description

reshaderlib

This library contains the common code for the ReShader installer.

You can use this crate as a base to create your own ReShade installer.

Examples

For examples, please look at the ReShader installer.

Modules

Common ReShader types and functions

Structs

A shader repository

Functions

Clones ReShade shaders from their repositories
Downloads a file from the given URL to the given path
Downloads ReShade and d3dcopmiler_47.dll to the given directory.
Fetches the latest ReShade version from GitHub.
Installs the GShade presets and shaders to the given game directory by symlinking
Installs GShade presets and shaders to the given directory.
Installs ReShade to the given game directory by symlinking the ReShade dll and d3dcompiler_47.dll to the game directory.
Installs ReShade shaders and textures to a game directory by symlinking them
Uninstalls ReShade from the given game directory by removing the ReShade dll (dxgi.dll) and d3dcompiler_47.dll.