Skip to content

hakasapl/PG

Folders and files

NameName
Last commit message
Last commit date

Latest commit

7676779 · Feb 22, 2025
Feb 7, 2025
Jan 16, 2025
Feb 21, 2025
Feb 21, 2025
Feb 21, 2025
Feb 21, 2025
Oct 6, 2024
Feb 21, 2025
Nov 20, 2024
Jan 16, 2025
Jan 18, 2025
Feb 7, 2025
Sep 29, 2024
May 27, 2024
Jan 17, 2025
Feb 21, 2025
Feb 21, 2025
Jun 6, 2024
Feb 11, 2025
Sep 22, 2024
Feb 11, 2025
Nov 20, 2024
Feb 21, 2025

Repository files navigation

PGPatcher

Dynamic patcher to patch meshes or textures for various things in your load order.

See the Nexus Page for full description.

A wiki is available here

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