This project builds a static unit database table from the Beyond All Reason game files.
- Clone the game data repo to access the source files.
- Run
units2json.luato convert unit definitions intosrc/_data/units.json. - Convert i18n unit names and descriptions into
src/_locales/en.yml. - Convert buildpics (
Beyond-All-Reason/unitpics) to optimized PNGs insrc/images/unitpics. - Copy and optimize unit icons (
Beyond-All-Reason/icons) intosrc/images/icons. - Use Bridgetown to generate the static site and table view.
- Install tool versions:
mise install
- Install dependencies:
bundle installnpm installluarocks install luafilesystemluarocks install dkjson
- Clone the BAR game repo:
rake bar:clone
- Generate the unit data:
rake publish
- Start the dev server:
./bin/bt dev