The OpenConstructionSet 3.0.1 Hotfix
The Open Construction Set
The OCS is a modding SDK for Kenshi written in C#
It provides services for dealing with the various folders and data files used by the game.
As well as providing a managed context for loading multiple mods for editing (Similar to FCS)
A single cs file example patcher for SCAR's pathfinding fix can be found here.
Features
- Load, edit and save the game's various data files.
- Read and edit the enabled mods (Ticked in the launcher) and the load order.
- Locate Steam and Gog installations of the game and their folders. Including Steam's Workshop content folder and the old save folder.
- Discover the structure of mod and save folders as well as the files contained within.
- Load multiple base and/or active mods into a
ModDataContextfor editing and saving.
Thanks
Massive shout out to SCARaw for his help throughout the project.
Nuget
https://www.nuget.org/packages/OpenConstructionSet/3.0.0
https://www.nuget.org/packages/OpenConstructionSet.DependencyInjection/3.0.0
Version 3.0.1
Bug fix - Instance equality now works correctly
Version 3.0
Version 3 is refactor of OCS 2.1 to make it easier to use and prevent some data issues that were present in 2.X
This will (hopefully hehe) be the last big refactor.
The repo will now use semantic versioning going forward.
Version 2.1
- Adds the ability to load multiple mods in a non editable way. This removes the overhead of change tracking if it isn't needed.
- Adds Data models. These are editable versions of other models (i.e. Item, Reference, Instance) and are now used by the OcsDataContext.
- Multiple bug fixes.
Version 2.0
A complete rewrite that removes the dependency on FCS and therefore the need to run applications from within the game's folder.