Cachegard
super famicom · original game · in development
This one is my own game, an original Super Famicom RPG written from scratch on a816. Cachegard is a working title, it's a side project, for the fun.

The story¶
You wake up in a fantasy kingdom with no memory, and your programming skills come back as combat abilities, as you go through the dungeons: print(), loop(), query(), up to sudo(). Something called PID-1 keeps finding you in between.
There is a twist and more than one ending, but I keep those for me for now.
What's in the engine¶
- Field scenes with collision, sprites, and room scripts on a small event VM.
- Dialogue and HUD text through the variable-width font, built with katsuji.
- A battle system with an ATB bar, enemies driven by their own little AI VM, and the HUD composited with HDMA.
- I wrote my own SPC700 sound driver. It streams songs and samples into ARAM, has mute and audition commands, and a
PLAY_SONGopcode so room scripts can change the music. - Sample tooling around it: an exact BRR codec, importing and ripping samples, and banks baked with only the samples a song uses.
- A macOS studio with a sprite editor and a tracker that plays through the real SPC driver, and that injects rooms and maps into the ROM at fixed addresses without reassembling.

Where I'm at¶
It boots and runs in kintsuki and ares, with a test suite that drives it there. Right now I'm mostly working on the battle, the music already runs on the real driver. Lately I put the ATB gauge in the party window, and in the studio I added palette swaps by hue and a choice of player character.
For the places, I take the Ninja Adventure tileset by Pixel-boy and AAA, it's CC0, and a script cuts out what each scene uses and fits it to the SNES palettes. Nothing to play yet.