Hey everyone, I built FE Infinity, a proof of concept system that uses AI and buildfiles to create original ROM hacks with any number of chapters in one shot. This is a demo of an early prototype, and this post will discuss its strengths, weaknesses, and use-cases, as well as ask the community how it feels about AI tools in ROM hacking.
Demo Video (If only interested in the game demo, watch from 3:27-14:08)
Open Source Code (Feel free to run it yourself and/or look through the code)
tl;dr: It works! But doesn’t produce great games by itself. However it’s cool tech and something like it could be used as a tool for ROM hackers.
How it Works
For a technical overview, check out the demo video at 14:08. Otherwise, here’s a summary. There’s a complex workflow of AI calls that craft the story, create characters, decide unit placement on maps, and more. This workflow passes its output to another part of the system that writes it to buildfiles, which can be run to create a .gba
file containing the new hack.
Strengths
- It’s quick and cheap. In my example, it created a 3 chapter game in 100 seconds and it cost less than a penny in AI cost.
- LLMs are good at story ideas, characters, and conversations (although it takes prompting to not get generic ideas)
- This is an early prototype - there’s a lot of low-hanging fruit that could easily be implemented to up the quality of generated games
Weaknesses
- The quality is nowhere near dedicated human ROM hackers. In no way am I claiming that it’s even close! This is a proof of concept, remember?
- LLMs (even multi-modal ones like GPT4o) struggle with making sense of a chapter’s map, resulting in sub-par unit placement. Further prompt refinement could make this better.
- It is not able to handle complex game mechanics, such as creating game code to check for flags such as character deaths across chapters. This would be somewhat straightforward to add.
- In its current state, there’s no control over having the AI change things as it makes the game. It just makes the whole game on its own. In the future it could stop and get feedback from the creator and course-correct.
Use-Cases
- For solo players who want to explore a niche world (think: a FE game set in the world of your favorite anime, book, or other game)
- For ROM hackers who want to quickly get to a working starting point, and manually tweak from there
- The
.gba
is openable in FEBuilder but it’s a little hard to work with. This could be improved though.
- The
Where to Go From Here?
Which would you rather use:
- An individual game system that will generate the next chapter after you finish one, based on decisions made in the story and objectives the player is able to achieve in battle
- Unlike its current state, where it generates the whole game at once
- A set of AI-powered tools to assist ROM hackers by taking on work the hackers don’t have fun doing, allowing ROM hackers to more easily bring their vision to life
- A hybrid tool that generates most of a game but pauses for user input at key moments (e.g., unit placement, chapter objectives). Even after the game is created, you can go back in and tell the AI to change the story in a specific way, etc.
My Ask of You
- How do you feel about AI tools in FE ROM hacking? I’m open to hearing all opinions, and I certainly don’t want to build things the community doesn’t want.
- Your thoughts on the Where to Go From Here section.
- I’ll have it make a hack for you! Comment with a one-sentence description of the game you want the AI to create and I’ll make a 3 chapter game and send it to you to demo.
Closing Thoughts
FE Infinity is not meant to replace the creativity and effort of human ROM hackers but rather be an idea of how AI can complement and accelerate development. As you can see, it doesn’t do a great job creating a game on its own, but I think some version of this tool could help ROM hackers bring their visions to life.
I appreciate your time and would love to hear your thoughts,
Neon
Credits
The buildfiles part of this system was adapted from Legends of Avenir
Character portrait options for AI to choose from are by Kanna