ModOrganizer2 VCPKG Registry
May 31, 2025 ยท View on GitHub
Custom registry for VCPKG.
How to use?
Add the following to your vcpkg-configuration.json - update the baseline and the list
of packages to your needs:
{
"registries": [
{
"kind": "git",
"repository": "https://github.com/ModOrganizer2/vcpkg-registry",
"baseline": "27d8adbfe9e4ce88a875be3a45fadab69869eb60",
"packages": ["mo2-cmake", "spdlog"]
}
]
}
Included ports
| Port | Description |
|---|---|
asmjit | Fork of the official asmjit port to use a (very) old version of asmjit that is compatible with USVFS. |
libloot | Port for libloot, using the prebuilt release available. |
mo2-cmake | CMake utilities for ModOrganizer2 components, especially plugins. |
mo2-dds-header | Small port to bring the DirectXTex DDS.h header. |
mo2-libbsarch | Port for libbsarch, using the prebuilt release available. |
spdlog | For of the official spdlog port to remove fmt dependency and force the use of std::format instead. |
Updating a dependency
-
Manually modify
vcpkg.jsonandportfile.cmakefor the dependency you want to update under ports:- Update the version (and other stuff if needed) in
vcpkg.json. - Update (at least) the HASH of the file in
portfile.cmake.
- Update the version (and other stuff if needed) in
-
Make a commit with the change, see format of previous commit, e.g.,
[mo2-libloot] Bump to 0.26.2.
-
Run the following:
vcpkg --x-builtin-ports-root=./ports ` --x-builtin-registry-versions-dir=./versions x-add-version ` --all --verbose --overwrite-version -
Make a commit with all changes under
versionswith message[registry] Update versions database.
-
Push the change to the repository.