Skip to content

hakasapl/ParallaxGen

Repository files navigation

ParallaxGen

NIF patcher to patch meshes for various things in your load order.

See the Nexus Page for full description.

Contributing

Contributors are welcome. Thank you in advance! This is a CMake project with VCPKG for packages. Supported IDEs are Visual Studio 2022 or Visual Studio Code. Personally I use Visual Studio Code with the clangd extension. It tends to be much faster than VS2022.

Visual Studio Code

  • Visual Studio 2022 with desktop development for C++ is still required as this project uses the MSVC toolchain.

  • Install CMake Tools extension.

  • Install C/C++ extension for a debugger.

  • Install clangd extension for the language server.

  • Create a project-level .vscode/cmake-kits.json. You can get the name by editing the user-level kit file. The command in VS code is CMake: Edit User-Local CMake Kits to do so.

    [
      {
        "name": "VS2022-VCPKG",
        "visualStudio": "6f297109",  // << Change this to whatever is on your system
        "visualStudioArchitecture": "x64",
        "isTrusted": true,
        "cmakeSettings": {
          "CMAKE_TOOLCHAIN_FILE": "C:/Program Files/Microsoft Visual Studio/2022/Community/VC/vcpkg/scripts/buildsystems/vcpkg.cmake"  // << Change this to where it is on your system
        }
      }
    ]

Visual Studio 2022

You should be able to just open the directory in Visual Studio and everything should automatically work.

Initializing Project

  1. Install pre-commit from here
  2. Install pre-commit hook: pre-commit install
  3. Get git submodules: git submodule init and git submodule update
  4. Configure CMake