Repository navigation
Releases
Alter Ego - first release (Apple //e + VERA, Apple IIgs + Commander X16)
Alter Ego - the 2011 ZX Spectrum game by Denis Gratschev, ported from the NES conversion (Shiru; hacked by Alex Shabanov) to the Apple //e + VERA card, to the Apple IIgs and, from that Apple II VERA code, to the Commander X16.
None of the ports is a bundled emulator. Each runs the original 32 KB NES program, its FamiTone2 music and SFX and its level data on top of a native runtime: on the //e the cc65 C game engine drives VERA directly (NMOS 6502, any slot-based Apple II with a VERA card); on the IIgs silky-gs (Super Hi-Res graphics, DOC audio, 65816); on the X16 the same C engine, compiled for the 65C02S, driving VERA.
This is the repository's first release. The tag is v0.0.2 (it was iigs-v0.0.2 until 2026-11-06, when the X16 package joined it), and it points at the 2026-11-06 commit so the source archive carries every port. The Apple //e + VERA and X16 assets were rebuilt after the 2026-11-08 pause-cue fixes, so those images are a little newer than what that tree produces.
Play in a browser
| Target | Link | What runs |
|---|---|---|
| NES (original conversion) | https://anomixer.github.io/alter-ego/nes/index.html | jsnes with the 32 KB ROM compiled from src/ at deploy time |
| Apple //e + VERA | https://apple2ts.com/?slot2=vera&tab=vera#https://github.com/anomixer/alter-ego/releases/download/v0.0.2/alter-ego-vera.hdv | Apple2TS streaming this release's alter-ego-vera.hdv. The download sends no CORS header, so Apple2TS falls back to proxy.corsfix.com; the proxied GET answers 200 with the full 819,200 bytes |
| Apple IIgs | https://a2gsemu-ia.pages.dev/?lang=en&game=https%3A%2F%2Fgithub.com%2Fanomixer%2Falter-ego | a2gsemu-ia, which resolves this repository to the released AlterEgo.2mg itself (a direct asset URL is rejected) |
| Commander X16 | https://anomixer.github.io/alter-ego/x16/index.html | the X16Community r49 WebAssembly emulator with x16/spike/dist/ copied into its virtual drive |
Downloads
| Asset | Bytes | What it is |
|---|---|---|
alter-ego-vera.hdv |
819,200 | Apple //e + VERA: the default FamiTone build, an 800 KB ProDOS volume named ALTER.EGO with 40 files. Boot it with a VERA card in slot 2 or 4 |
alter-ego-vera-psg.hdv |
819,200 | the same game with the converted .PSG streams instead of live FamiTone decoding, 51 files. Its STARTUP title line ends with PSG VER; the FTM image has no such tag |
alter-ego-vera-D1.po |
143,360 | FamiTone dual floppy, disk 1 (ALTER.EGO): ProDOS, BASIC.SYSTEM, STARTUP, both Slot 2/4 game binaries and the music overlay |
alter-ego-vera-D2.po |
143,360 | FamiTone dual floppy, disk 2 (ALTER.EGO.2): the 26 levels, tiles, palettes and screen art, and the D2READY marker. Mount D1 in drive 1 and D2 in drive 2 of the same Disk II controller |
AlterEgo.2mg |
819,264 | Apple IIgs: an 800 KiB GS/OS boot disk, the game is /SYSTEM/START and there is no Finder, so it boots straight into the game. Q, then Y ends the game for good on an ALTER EGO HAS EXITED screen; only the reset button starts the machine again |
AlterEgo-full.2mg |
3,670,080 | the same game on a full System 6 volume (/ALTEREGO/AlterEgoGS.S16), an ordinary GS/OS disk. Q, then Y returns to the Finder |
alter-ego-x16-sd.zip |
41,061 | Commander X16: the SD-card package, unzip into the card's root. 37 files - LOADER.PRG, GAME, MUSIC, the tile set and the screens, LV00-LV25, and a plain-text README.TXT with install, start and the controls |
Both IIgs images are 2IMG images in ProDOS order; the boot disk also carries README.TXT (the keys) at its root. The two images do not hold the same program: 316,161 bytes on the boot disk (the exit-screen build) and 313,376 bytes on the full volume (the Finder build). What Q can do is a property of the disk, so each disk gets the build it can support.
Every image here is byte for byte the tracked file in this repository (vera/build/, iigs/build/, x16/build/); nothing is repacked for the release.
SHA256:
DAE41352EB651EA7AE34050CEAD8BB2C25287CF8822DA28284980D859CD8C832 alter-ego-vera.hdv
3DDC7EF97C36B1CDACB9EDABF4169C3FE71D01AB5B3D60B1CC7B609CFD178E7C alter-ego-vera-psg.hdv
C93F2B3D9F0C3BF9D24145135BF6D992BB115D5E1D3B2DC5328FA15FEB4D78B1 alter-ego-vera-D1.po
F4D03DCA36EE717488ABCBF6A52012BB859011F43F39B4B4187E3DD4F26FF664 alter-ego-vera-D2.po
4115CB7FB6D1CA9B68F6C82BE6D428BBEBB27A4934382929128B89B78870C912 AlterEgo.2mg
3D7EA71E36ED892A7F77CE4D4F6381000D77E498F904CDD439DEACBE0308DCB0 AlterEgo-full.2mg
C4BB7516FDA2CE1A38ADCCC6169814B56FDDEC5133F8D5A04FCE227CC78F232A alter-ego-x16-sd.zip
Apple //e + VERA
Mount alter-ego-vera.hdv and boot. The image runs on any slot-based Apple II - a II+ with 64 KB, or an enhanced //e - with the VERA card in slot 2 or slot 4; both slots are auto-detected. For AppleWin, use the VERA fork:
AppleWin.exe -h1 <absolute path>\alter-ego-vera.hdv -s6 empty -s7 hdc -model apple2ee -s2 vera -no-full-screen -power-on
STARTUP.BAS probes for the card, prints BY ANOMIXER https://github.com/anomixer, the keys and HIT ANY KEY OR WAIT 5 SECS TO START..., and shows an install error if no card answers. Any key continues; the original Credits then run for 2.5 s (Space or joystick button 2 skips them), and the title music starts at the menu.
For the floppy pair, boot D1 with both disks mounted:
AppleWin.exe -d1 <absolute path>\alter-ego-vera-D1.po -d2 <absolute path>\alter-ego-vera-D2.po -s6 diskii -s7 empty -model apple2ee -s2 vera -no-full-screen -power-on
STARTUP loads the matching slot binary from D1, checks for D2 (showing PLEASE INSERT DISK 2 IN DRIVE 2 if it is missing), then sets the ProDOS prefix to D2 and runs the game. Both disks are required; the HDV stays the single-volume install.
Controls:
| Input | Action |
|---|---|
| WASD / arrow keys / joystick | Move, climb |
| J / K / joystick button 1 | Exchange Egos |
| Space / joystick button 2 | Start, pause, confirm Resume or Restart |
| W / S / Up / Down while paused | Choose menu entry |
| Left / Right on the title | Change the level, or toggle the selected audio option |
| Space on the title | Start the selected game/level, or toggle the selected audio option |
| G | Detect a joystick connected or enabled after boot |
| M / N | Toggle music mute / sound effects (the other stays audible) |
| 1 on the title | Select the hidden cow level |
| T on the title | Sound test (SFX NN / BGM N): WASD selects, K plays, J stops, T or Esc exits |
In AppleWin, set Joystick 1 to your gamepad, or NumPad for keyboard emulation (NumPad 4/6/8/2 directions, 0 button 1, decimal button 2). An II+ keyboard does not report key release, so a pressed direction keeps moving until another key is pressed; an enhanced //e stops on release. That is a hardware property, not a game setting.
The disk is a 1600-block ProDOS volume; the FTM build uses 40 files (1162 free blocks), the PSG build 51 files (983 free blocks), D1 79 and D2 34 free blocks after the marker file. The floppy pair uses the same FTM game binaries as the FTM HDV.
Checked in AppleWin and on the browser player above: cold boot through Credit, title and Level 1 on both HDVs and both slots, all 26 levels loaded and the ending reached, the pause menu (Resume/Restart/Exit, with Restart disabled at zero reserves), the sound test, music/SFX mute, and the joystick/keyboard regressions in vera/tools/. The 2026-11-08 fix is in these images: the pause-confirm cue now plays on EXIT GAME as well, and RESTART's cue no longer holds a PSG voice through the level read.
Sources and the build recipe are in vera/ (vera/build/build_a2vera.ps1); vera/AGENTS.md and vera/README.md are the work log and the version notes.
Apple IIgs
GSplus at 16 MHz - the release baseline - reaches the title in about 10 s. A stock 2.8 MHz IIgs also runs it: gameplay at about 30 fps and a 2-3 minute boot, so playable rather than pleasant; a TransWarp GS at 7.1 MHz sits proportionally in between, because the renderer's per-frame cost is fixed. Mount the .2mg and boot; the boot disk needs no other steps.
Commander X16
Copy every file in the zip to the root of the SD card, then, at the BASIC prompt with the card as drive 8:
LOAD "LOADER.PRG",8,1
RUN
Rename LOADER.PRG to AUTOBOOT.X16 and the machine starts the game by itself at power-on. No DOS is needed or included; 512 KB of banked RAM is required (stock machines have it).
Controls: the cursor keys move, climb and jump (or a SNES pad in port 1-4); X or J is action (A), Z or K is exchange / pick up (B); Enter or Space is START (title and pause menu); 1 is SELECT (the cow level); T opens the sound test, M and N mute music and SFX.
Checked on x16emu r49 only: the title, all 26 level files, the exchange, the pause menu, the special keys, the credits and the ending. A real SD card with cmdr-dos is untested, and so is autoboot - x16emu's HostFS refuses upper-case names and cannot run it. The package is reproducible: x16/tools/pack-sd.ps1 repacks the same x16/spike/dist/ to the same bytes, and the asset is byte for byte the tracked x16/build/alter-ego-x16-sd.zip (41,061 bytes; the 41,042-byte asset first uploaded with this release predated the 2026-11-08 cue fix and has been replaced).
Notes
- The IIgs
.pois not an asset.npm run make:poiniigs/derives it fromAlterEgo.2mg(the same ProDOS blocks without the 64-byte 2IMG header) if an emulator wants a bare ProDOS-order volume. - A disk you have played is not the released disk: the IIgs game saves its preferences (
ae.prefs) to the volume it runs from, so the copy in your emulator differs from the packed image. The Apple //e and X16 builds do not write to their disks. - Sources and build recipes are in
vera/,iigs/andx16/;vera/AGENTS.md,iigs/AGENTS.mdandx16/README.mdare the work logs, including what was measured rather than guessed.