(Using npm
here, yarn
is fine too)
npm install
git submodule update --init --recursive
npm run build-type-index
- Place
assetHashes.json
,eventHashes.json
andInterfaceIDs
indata
- Add a game
- Create a game directory in
static
(e.g.static/venice
) - Register the game in
src/viewer.ts
(search forconst registries
) - Place an EBX JSON dump in
static/<game>/ebx
npm run build-file-index
npm run build-partition-index
Should look something like this:
static
\---venice
+---ebx
+ +---AI
| | ...
| | +---DriverSettings
| | +---Entries
| | +---Pickups
| | \---Weapons
| +---Animations
| | +---Characters
| ...
+---files.json
\---partitions.json
npm run dev
- Delete
dist
npm run build
- Upload the contents of
dist
to a web server serving static files - https://router.vuejs.org/guide/essentials/history-mode.html#example-server-configurations