-
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 Source
and select the folder containing the repository - Create a new folder for the build output in the repository folder
- Click on
Browse Build
and select your build folder - Click on
Configure
and selectVisual Studio 20XX
as the generator - Choose
x64
as the optional platform - After the configuration process finishes, click on
Generate
to create the Visual Studio solution and project files in the build folder - Open the solution file in Visual Studio.
- Build the project under the
Build
menu and selectingBuild Solution
- After the build is complete, the generated files will be placed in the mod folder located at
%zenova_data%/mods/