Axelay Native

Axelay Native is a fan-made native remake-style port of Axelay for the Super Nintendo Entertainment System that renders at any resolution with a smoothed bending horizon.

README

Axelay Native

An unofficial fan project: a native remake-style port of Konami's Axelay (Super Nintendo, 1992), written in C# on .NET 10 with MonoGame. It plays like the original (ship physics, weapons, enemies, bosses, stage scripts and timings are ported from it and checked against recordings of the real game), but is drawn natively at any resolution, with the bending horizon done on the GPU. Not affiliated with or endorsed by Konami.

Parts of this project, including much of the code and the documentation, were written with the help of AI (Claude by Anthropic).

You need your own game

This repository contains no game data: no ROM, no art, no music. You need your own copy of Axelay (USA) as a .sfc file (the headerless dump, SHA-1 5ef7d869547a47cfb73402151330140a83ffed45; the game checks the exact version and tells you both hashes if yours differs; copier-header files are refused). On the first run the game converts your ROM into an asset pack in your user folder (%AppData%/Axelay/pack on Windows); the ROM is not needed again afterwards.

Download (Windows, Linux, Steam Deck)

Ready-made builds (64-bit, no .NET install needed, no game data) are under Releases on the repository page. Each version tag (v*) builds them on GitHub from this code (.github/workflows/release.yml).

  • Windows: Axelay-Native-win-x64.zip. Unzip it, start Axelay.Game.exe and give it your ROM when asked; PLAY.txt in the zip has the details.
  • Linux: Axelay-Native-x86_64.AppImage. Put your Axelay (USA).sfc next to the AppImage (or in ~/Axelay), make the AppImage executable (chmod +x, or the file's properties) and start it. It finds the ROM, builds the game data into ~/.config/Axelay/pack once, and starts; if it finds no ROM, the window says where to put it. Sound goes through PulseAudio or PipeWire (standard on current desktops).
  • Steam Deck: in Desktop Mode, copy the AppImage and the ROM into one folder (for example ~/Axelay), make the AppImage executable, and add it to Steam with "Add a Non-Steam Game". In Game Mode it plays with the Deck's controls: Start pauses, and Select and Start together open the options menu (D-pad moves, A chooses, B closes; Quit is in the menu).

Build and run

Requires the .NET 10 SDK.

dotnet tool restore
dotnet build -c Release
dotnet src/Axelay.Game/bin/Release/net10.0/Axelay.Game.dll --rom "path/to/Axelay (USA).sfc"
  • With --rom <file> (or the AXELAY_ROM environment variable, or by typing the path when asked) the game builds the pack, checks it, and starts. If you start it without a pack and without a ROM, it asks for the ROM on the console.
  • --rom always rebuilds the pack. A failed build leaves nothing behind.
  • The 64-byte sound-chip boot ROM the converter also needs ships in tools/boot-rom/ (see THIRD-PARTY-NOTICES.md); you can supply your own dump with --spc-boot <file>.
  • A pack can also be given as a folder argument; the lookup order is: that folder, %AppData%/Axelay/pack, assets/base next to the code.
  • You can make the pack without starting the game: dotnet src/Axelay.Convert/bin/Release/net10.0/Axelay.Convert.dll "<rom>" <outFolder>.

Controls

Arrows move, X fires, Z second fire, A / S change weapon, Enter is Start (pause). F1 opens the options menu (display, sound, controls); F3 rebinds keys, F4 resets them. F6 switches game mode (Classic is the original; New adds extras such as a boss rush, decision 0006). F7 display filter, F8 vsync, F9 smooth bend (top-view stages only), F10 integer scale, F11 or Alt+Enter fullscreen, Esc quits. Settings are saved in %AppData%/Axelay/settings.json. Command-line aids: --stage 2..6, --level 0..3, --lives <n|inf>, --mute, --mode classic|new, --dev (developer keys).

Features

The original game (Classic mode)

Classic mode is the original, kept exact. Every replay test runs in it.

  • Everything from power-on to the ending: Konami logo, intro story, title and demos, set-up screen, weapon select, all six stages with their bosses, continue and game over, and the ending at all four levels (easy, normal, hard and beyond hard).
  • Ship physics, weapons, enemies, bosses, stage scripts and timings ported from the original. Play sessions recorded in an emulator are replayed through the port and match it step by step.
  • The original's music and sound effects, played by an emulated sound chip (decision 0004), including the pause cue.
  • The original's look: the bending horizon, the side-view and flooded stages, palettes, and shots that flicker as on the console.
Added in this port
  • Native rendering at any resolution, windowed or fullscreen, with integer scaling as an option; sharp under Windows display scaling.
  • Smooth bend (on by default): the curved horizon is smoothed between rows at high resolution instead of stepping per line.
  • Smooth motion (option, off by default): on screens faster than 60 Hz, movement is blended between game frames (decision 0008). The game logic is unchanged.
  • Display filters: sharp bilinear, scanlines, shadow mask, bloom, colour grade, CRT, and CRT v2 (light and heavy, with curvature, glow and phosphor decay).
  • Sound output options: higher-quality resampling and optional "clear" and "wide" (stereo width) settings; the emulated chip itself is untouched.
  • New mode (boss rush): nine boss fights in a row, from stage 1's mid-boss to stage 6's final boss, with one weapon select at the start (decision 0006). Classic mode stays exact.
  • Options menu (F1), rebindable keys, gamepad support, and settings saved between runs.
  • Practice aids: start at any stage (--stage), choose the difficulty level (--level, including beyond hard without clearing hard first), and set the number of lives or keep them from running out (--lives <n|inf>).
  • Runs without the ROM after the first start: the game data is built once from your own ROM.

What is missing, and honest limits

  • Only the USA version is supported.
  • Gamepad support is built in but has not been tested with a real pad; the controls editor is basic.
  • CRT v2 has been checked by eye; the older display filters have not been judged for looks yet.
  • Windows is the tested platform; other platforms are untested.
  • The verification captures (captures/) and the emulator are not part of this repository, so the replay tests skip unless you produce your own with Mesen2 (tools/mesen/). Tests that need the pack or the ROM skip cleanly without them.

How it works

your ROM --> Axelay.Convert --> asset pack (art, stage data, sound sets; in your user folder)
Axelay.Core (game logic, deterministic, no graphics) --> frame view --> Axelay.Game (renderer, window, audio)
  • Logic first, picture second. Each logic step (about 60.1 Hz) produces a frame view: layers, camera, entities, HUD and effects. The renderer draws only from that and the pack, so new art can never change how the game plays.
  • Packs are layered, so redrawn art or new content can be added on top of the converted base pack.
  • Faithfulness is tested, not assumed: play sessions recorded in an emulator (inputs plus game state per step) are replayed through the port and compared step by step.

Layout

src/Axelay.Core deterministic game logic (no framework) · src/Axelay.Game window, input, renderer, audio output · src/Axelay.Sound emulated sound chip (LGPL) · src/Axelay.Assets pack format · src/Axelay.RomTools and src/Axelay.Convert the only parts that read the ROM · src/Axelay.PackView pack viewer · tests/ · docs/ (notes on how the original works, written as descriptions; docs/README.md is the map).

What is not in this repository

  • The ROM, or anything extracted or generated from it (the asset pack, previews, emulator captures, save states).
  • A disassembly of the original. The game logic is a reimplementation in C#; the notes in docs/ describe the original in our own words.

Legal

Axelay and the Konami logo are trademarks or works of Konami; this is an unofficial fan project, not affiliated with or endorsed by Konami. No game files are included or distributed; you need a legally obtained copy of the game. If the rights holder asks, the project will be renamed or taken down.

Licence

MIT for the code, except src/Axelay.Sound (LGPL 2.1 or later, derived from snes_spc). See LICENSE and THIRD-PARTY-NOTICES.md.