This repository contains a sample configuration for using Ceres with pure Lua.
There is also a template for setting up Ceres with TypeScript, if you prefer to use TypeScript over lau.
- Make sure you have downloaded Ceres and put it either into this project, or your
$PATH
- Clone the repository -
git clone [email protected]:ceres-wc3/ceres-lua-template.git. - Run
ceres build -- --map mpq.w3x --output mpqto build the map. The final map will be placed intarget/
If you want to make Ceres to run WC3 by itself, you can use the ceres run command. However, before you can do that, it requires some configuration on your part.
Open up runconfig.lua and fill out the necessary configuration parameters. As a minimal example:
ceres.runConfig = {
command = "C:/Program Files/Warcraft III/x86_64/Warcraft III.exe",
args = {"-windowmode", "windowed"}
}maps/ - folder to put your map files in
src/ - where Ceres will read Lua files from
target/ - directory where build artifacts will be placed
build.lua - Ceres build script, can be used to customize the build process
runconfig.lua - user-local configuration for `ceres.runConfig`