Code Monkey home page Code Monkey logo

sf-shader-injector's Introduction

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.
  • <configure_preset> is asiloader or sfse.
  • <build_preset> is asiloader-release, asiloader-debug, sfse-release, or sfse-debug.
git clone --recurse-submodules https://github.com/Nukem9/sf-shader-injector.git
cmake --preset <configure_preset>
cmake --build --preset <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.

sf-shader-injector's People

Contributors

nukem9 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.