- Install Deno
- Add OPENAI_API_KEY to
.envfile in theserverdirectory (see.env.examplefor 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 mainWrite 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-testIf 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.shThe buildfiles part of this system was adapted from Legends of Avenir Character portrait options for AI to choose from are by Kanna