Hello.
We only support building it on Linux (you can also use WSL on Windows for this).
First run the 0.sh script from this repository:
If the script fails you probably miss some packages such as pkg-config, unzip or patch.
When the script fails due to this run “3.sh” and then “0.sh” again.
Now about building Player. Run the following cmake command in the Player repository:
Replace TOOLCHAIN_DIR
with the path to the cloned buildscripts dir (the one containing emscripten
, linux-static
etc.
export EASYRPG_BUILDSCRIPTS=TOOLCHAIN_DIR
cmake --preset emscripten-release -DPLAYER_BUILD_LIBLCF=ON
Then build and install:
cmake --preset emscripten-release --build --target install
The build/emscripten-release
dir will contain the files you need.