2a6c8ae7eedcb9693a897f1703046bc028b9c219
ChestPreview
Requirements for the solution
- .NET 8 SDK for 1.21
- .NET 10 SDK when building
Version22for 1.22 - Vintage Story install - 1.21 or 1.22, with environment variables describing the paths.
- env vars described below
Required env vars
VINTAGE_STORY: path to the 1.21 game install (on Windows default is %appdata%/VintageStory)VINTAGE_STORY_DATA: path to the 1.21 game data directory (on Windows default is %appdata%/VintageStoryData)VINTAGE_STORY_22: for 1.22 (Version22configuration)VINTAGE_STORY_DATA_22: for 1.22 (Version22configuration)VS_CONFIGLIB: path toconfiglib.dll. If not set, will compile with a warning and without configlib support
Running
If you know what you're doing, dotnet build etc obviously will work. This was created with the official mod template.
VS Code with C# Dev Kit extension
- select appropriate solution configuration:
F1(run command) ->.NET: Select a configuration - for 1.21 select
DebugorRelease, for 1.22 selectVersion22 - run action
Start debuggingorStart without debugging(might bef5andctrl+f5by default).
Visual Studio
- use configuration picker at the top -
DebugorReleasefor 1.21,Version22for 1.22 - set ChestPreview project as the startup project
- run
Description
Vintage Story mod.
See containers' contents without opening them
https://mods.vintagestory.at/chestpreview
Readme
MIT
144 KiB