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§

prelude
Common ReShader types and functions

Structs§

Shader
A shader repository

Functions§

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