An open API service indexing awesome lists of open source software.

https://github.com/nukem9/starfield-shader-injector

SFSE plugin code for Starfield Shader Injector.
https://github.com/nukem9/starfield-shader-injector

d3d12 hlsl hlsl-shader mod sfse starfield starfield-mod starfield-script-extender

Last synced: about 1 year ago
JSON representation

SFSE plugin code for Starfield Shader Injector.

Awesome Lists containing this project

README

          

# Starfield Shader Injector

A plugin that allows people to use custom shaders without needing to rebuild or extract Starfield's BA2 shader package. Live shader updates are also supported for easy debugging at runtime.

## Building

- CMake and vcpkg are expected to be set up beforehand. Visual Studio 2022 is recommended.
- \ is `asiloader` or `sfse`.
- \ is `asiloader-release`, `asiloader-debug`, `sfse-release`, or `sfse-debug`.

```
git clone --recurse-submodules https://github.com/Nukem9/sf-shader-injector.git
cmake --preset
cmake --build --preset
```

## Installation

- For developers, edit `CMakeUserEnvVars.json` and set `GAME_ROOT_DIRECTORY` to Starfield's root directory. The build script will automatically copy library files to the game folder.

- For manual SFSE (Steam) installs, place `SFShaderInjector.dll` in the corresponding `Starfield\Data\SFSE\Plugins` folder. An example path is: `C:\steamapps\common\Starfield\Data\SFSE\Plugins\SFShaderInjector.dll`

- For manual ASI loader (Game Pass) installs, place `SFShaderInjector.asi` in the game root directory next to `Starfield.exe`. An example path is: `C:\XboxGames\Starfield\Content\SFShaderInjector.asi`

## Custom Shader Installation

- Shaders must be installed under the `Data\shadersfx` folder in Starfield's root directory.

- A Steam edition path looks like this: `C:\steamapps\common\Starfield\Data\shadersfx\ColorGradingMerge\ColorGradingMerge_FF81_cs.bin`

- A Game Pass edition path looks like this: `C:\XboxGames\Starfield\Content\Data\shadersfx\ColorGradingMerge\ColorGradingMerge_FF81_cs.bin`

## License

- No license provided. TBD.
- Dependencies are under their respective licenses.