Completing Dragon Warrior End to End on a Physical Console: Custom Perception Models, a Quest Engine, and a Decision-Transformer Combat Policy
This paper documents a system that plays the original Nintendo Entertainment System game Dragon Warrior end to end, from the king’s opening dialogue to the closing “THE END” screen, fully automated, on a physical cartridge in a RetroN 5 console. The host PC has no connection to the console’s internal emulator: it sees only the video output and acts only through a microcontroller that emulates the gamepad’s shift register. Three parts make this work. A UPS patch, applied by the console at load, prints the map, position and hidden game state in the status window. A harness of custom models and structured code—a glyph OCR network, a Faster R-CNN object detector, tile-exact maps, a quest engine and a Decision Transformer that proposes every combat command—supplies every input of the complete process. The end-to-end run on the unmodified game took 24.37 h of play: the model made 5,126 combat decisions, 98.09% of them dispatched as its own label, the harness answered all 164 yes/no prompts, and the Dragonlord was defeated at level 23. Video available at: https://youtu.be/Nx9595G_K3Y
Authors
- Robert Renis (ORCID: https://orcid.org/0009-0005-4649-7600)
Publication Details
- Journal
- Zenodo (CERN European Organization for Nuclear Research)
- Published
- 2026-11-22
- DOI
- https://doi.org/10.5281/zenodo.24446671
- Primary Topic
- Artificial Intelligence in Games
- Type
- preprint