-
Visual Studio - Make sure to select C++ support in the installer.
-
CMake - ZenovaAPI currently only supports 64-bit
-
Python Packages -
pip3 install pywin32
No spaces in the modname
In the files change Example to your modname
CMakeLists.txt
set(ModName Example)
resources/modinfo.json
"nameId": "Example"
- Open the CMake GUI application
- Click on
Browse Sourceand select the folder containing the repository - Create a new folder for the build output in the repository folder
- Click on
Browse Buildand select your build folder - Click on
Configureand selectVisual Studio 20XXas the generator - Choose
x64as the optional platform - After the configuration process finishes, click on
Generateto create the Visual Studio solution and project files in the build folder - Open the solution file in Visual Studio.
- Build the project under the
Buildmenu and selectingBuild Solution - After the build is complete, the generated files will be placed in the mod folder located at
%zenova_data%/mods/