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.
- Host: GitHub
- URL: https://github.com/nukem9/starfield-shader-injector
- Owner: Nukem9
- Created: 2023-10-28T16:45:55.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2025-03-15T12:21:08.000Z (over 1 year ago)
- Last Synced: 2025-03-19T02:38:30.088Z (about 1 year ago)
- Topics: d3d12, hlsl, hlsl-shader, mod, sfse, starfield, starfield-mod, starfield-script-extender
- Language: C++
- Homepage:
- Size: 126 KB
- Stars: 12
- Watchers: 3
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.