- Install Deno
- Add OPENAI_API_KEY to
.env
file in theserver
directory (see.env.example
for an example)
Run the whole flow, including using AI to generate a new game and then write it to a ROM:
cd server # If in root directory
deno run main
Write example data to the romBuilder
using no AI (example data is in server/testData/test-game-obj.ts
):
cd server # If in root directory
deno run write-test
If the game data has already been written (either with deno run main
or deno run write-test
), you can write the ROM using:
cd romBuilder # If in root directory
chmod +x ./run.sh # Only need to do this once
./run.sh
The buildfiles part of this system was adapted from Legends of Avenir Character portrait options for AI to choose from are by Kanna