erago is a Go runtime/CLI for Emuera-style game files (.erb, .erh, .csv).
- Go
1.25+
Run directly from source:
go run ./cmd/erago -base ./era_files/1_adventure -entry TITLEAll build/deploy source assets are under build/:
build/web/index.html: web runner UIbuild/web/main_js.go: wasm entry (js/wasm)build/mobile/bridge.go: gomobile bridge API
Use Makefile for build/release commands.
Build Linux/macOS/Windows binaries and web wasm bundle:
make buildOutput artifacts:
dist/linux-amd64/eragodist/linux-arm64/eragodist/darwin-amd64/eragodist/darwin-arm64/eragodist/windows-amd64/erago.exedist/windows-arm64/erago.exedist/web/index.htmldist/web/wasm_exec.jsdist/web/erago.wasm
Run desktop binary:
./dist/linux-amd64/erago -base ./era_files/2_dialog_tool -entry TITLERun web build locally:
make serve-webIn the browser:
- choose a game folder that contains
.erb/.erh/.csv - add expected
INPUTvalues to the queue - click
Run
Install gomobile (one-time):
go install golang.org/x/mobile/cmd/gomobile@latestBuild Android/iOS packages:
make mobileOutput artifacts:
dist/mobile/erago_mobile.aar(Android)dist/mobile/EragoMobile.xcframework(iOS)
-base: base directory containing game files and save files-dir: deprecated alias of-base-entry: entry function (default:TITLE)
Show help:
go run ./cmd/erago -h- Save files are written to the same path as
-base. cmd/eragowritesSAVEVAR/SAVECHARAas Emuera-style binary.dat.