Skip to content

Releases

StarTropics native port 1.3.4

Choose a tag to compare

@jsp244 jsp244 released this 17 Nov 23:54

A native port of StarTropics (NES, 1990) for Windows, macOS, Linux, Steam Deck and Android, made by static recompilation: the game's 6502 code is translated to C and compiled. This repository contains no game code or data, and every build, the packages below included, runs only with a StarTropics (USA) .nes cartridge dump you supply; the graphics, music and data come from it. It has a launcher menu, save states, rewind, CRT shaders, a widescreen overworld decoded from your ROM, remastered textures and music, RetroAchievements, and updates from the menu.

New in 1.3.4: macOS

The game now comes as a Mac app, startropics-macos.zip: one app for Apple silicon and Intel Macs, on macOS 11 or newer.

  1. Unzip it and move StarTropics to your Applications folder (or any other folder: an app opened straight from Downloads can't update itself).
  2. The app isn't signed through Apple's developer program, so the first time you open it macOS says it can't check it for malware. Close that message, open System Settings > Privacy & Security, scroll down and choose Open Anyway beside the app's name. This is needed once.
  3. Choose your .nes file on the ROM tab, drop it onto the window or onto the app's icon, or put it in the folder the app is in.

Settings, saves and RetroAchievements logins go to ~/Library/Application Support/StarTropicsPort/StarTropics/ (a remaster.pak goes there or beside the app). Keys that differ on a Mac: Option+Return switches fullscreen, Cmd+R resets, and on a laptop keyboard the F keys (save states, screenshots) need the fn key. Updates work from the menu as on Windows and Linux: the whole app is replaced and the previous one goes to the Trash.

The Mac app is new: it was built and tested on GitHub's Mac machines (Apple silicon, with the Intel half under Rosetta, both drawing the same frames as the Windows build), but not yet on every kind of Mac display or controller.

Windows, Linux, the Steam Deck and Android are unchanged apart from the version number.

1.3.3 made Android start again after Quit, 1.3.2 made the game work with the RetComM launcher, 1.3.1 made the original music the default, and 1.3.0 brought the remastered music and stereo output; their notes are on those releases.

Coming from 1.2.x or 1.3.x? Updates > Check for updates installs this one (on a Mac, from 1.3.4 on). Versions before 1.2.0 have no Updates tab, so install it by hand once. On Android the Updates tab opens this page: install the new APK over the app you have, and your saves and settings stay.

Downloads

file for
startropics-win64.zip Windows, 64-bit
startropics-macos.zip macOS 11 or newer, Apple silicon and Intel Macs: unzip it and move StarTropics to Applications (first start: see above)
startropics-linux-x86_64.tar.gz Linux desktops with glibc 2.34 or newer
startropics-steamdeck.tar.gz Steam Deck: unpack it in Desktop Mode, put your .nes in the folder and run python3 add-to-steam.py there (see STEAMDECK.txt). Already on 1.2 or later? Use the Updates tab
startropics-android-handheld.apk Android gaming handhelds with built-in controls (Android 7 or newer, arm64)
startropics-android-phone.apk Android phones and tablets, with the on-screen controller (Android 7 or newer, arm64)

Unpack the package (or install the APK) and choose your .nes file on the ROM tab, or put it next to the program. The port checks the file's hash and refuses anything that is not StarTropics (USA).

Lower latency than the original and than emulators

average, button press to the reaction on screen
NES on a CRT ~50 ms
Mesen 2 or RetroArch, default settings ~50 ms or more
this port, PC with a 60 Hz display ~20 ms
this port, AYANEO Pocket EVO (Android, 120 Hz) ~31 ms

The game's own delay is gone. StarTropics reads the controller during vblank, acts on it in the next frame and shows the result a frame later: two frames (33 ms) of built-in lag. A real NES has it, and so do Mesen 2 and RetroArch at their defaults, which leave run-ahead off. The port runs two frames ahead: it emulates the real frame, emulates two more with the same input, shows that picture and restores the state. The reaction appears on the frame of the press, which the original hardware cannot do. A self-test checks that the timeline stays bit-identical.

The pad is read as late as possible. The loop waits until just before the display needs the next frame, then reads the pad, emulates and hands the frame over: about 3 ms from reading the pad to presenting on a PC, 5.4 ms on the Pocket EVO. An emulator with vsync on reads the pad, emulates, then waits for the display, up to a whole frame.

No frame waits in a queue. On Windows the loop is locked to the monitor's vertical blank with a one-frame swap chain. On Android each frame is locked to the compositor's own deadlines (Android 13 frame timelines), and the display runs at 120 Hz where it can: on the Pocket EVO a frame reaches the screen 12.9-13.7 ms after it is queued and stays there for exactly two refreshes. On Linux, the Steam Deck and macOS frames go out without vsync, as in Mesen's default, so the compositor always shows the newest one (the Mac app's latency hasn't been measured yet).

Sound follows closely. Dynamic rate control keeps the audio queue at 25-45 ms. Mesen's default audio latency is 60 ms, RetroArch's 64 ms (128 ms on Android).

With Mesen's run-ahead also set to 2, the port is about even when Mesen runs without vsync, and about 8 ms ahead on average when Mesen's vsync is on. The averages are built from the measured stages, not from a high-speed camera; docs/LATENCY.md has the breakdown and the sources for the emulator defaults.

Building from source

Put your StarTropics (USA) dump in rom/, then in an MSYS2 MinGW64 shell (Windows) or a Linux shell with SDL2:

make recomp        # translates the ROM's code to C in generated/
make startropics   # builds the game

Linux and Steam Deck packages are built with tools/linux/ (Docker), the Mac app with tools/macos/build.sh (on a Mac), the Android APK with python android/build_apk.py; the README has the details.

StarTropics is a trademark of Nintendo. This is an unofficial fan project.

StarTropics native port 1.3.3

Choose a tag to compare

@jsp244 jsp244 released this 16 Nov 04:54

A native port of StarTropics (NES, 1990) for Windows, Linux, Steam Deck and Android, made by static recompilation: the game's 6502 code is translated to C and compiled. This repository contains no game code or data, and every build, the packages below included, runs only with a StarTropics (USA) .nes cartridge dump you supply; the graphics, music and data come from it. It has a launcher menu, save states, rewind, CRT shaders, a widescreen overworld decoded from your ROM, remastered textures and music, RetroAchievements, and updates from the menu.

New in 1.3.3

  • Android: the game starts again after Quit. After you chose Quit in the menu, Android kept the app's process, and from then on the game closed a moment after every start, until the system cleared the process (or the device restarted). The app now ends its process when it closes, so every start begins fresh. Your saves and settings are written before it closes, as before. Windows, Linux and the Steam Deck are unchanged apart from the version number.

1.3.2 made the game work with the RetComM launcher, 1.3.1 made the original music the default, and 1.3.0 brought the remastered music and stereo output; their notes are on those releases.

Coming from 1.2.x or 1.3.x? Updates > Check for updates installs this one. Versions before 1.2.0 have no Updates tab, so install it by hand once. On Android the Updates tab opens this page: install the new APK over the app you have, and your saves and settings stay.

Downloads

file for
startropics-win64.zip Windows, 64-bit
startropics-linux-x86_64.tar.gz Linux desktops with glibc 2.34 or newer
startropics-steamdeck.tar.gz Steam Deck: unpack it in Desktop Mode, put your .nes in the folder and run python3 add-to-steam.py there (see STEAMDECK.txt). Already on 1.2 or later? Use the Updates tab
startropics-android-handheld.apk Android gaming handhelds with built-in controls (Android 7 or newer, arm64)
startropics-android-phone.apk Android phones and tablets, with the on-screen controller (Android 7 or newer, arm64)

Unpack the package (or install the APK) and choose your .nes file on the ROM tab, or put it next to the program. The port checks the file's hash and refuses anything that is not StarTropics (USA).

Lower latency than the original and than emulators

average, button press to the reaction on screen
NES on a CRT ~50 ms
Mesen 2 or RetroArch, default settings ~50 ms or more
this port, PC with a 60 Hz display ~20 ms
this port, AYANEO Pocket EVO (Android, 120 Hz) ~31 ms

The game's own delay is gone. StarTropics reads the controller during vblank, acts on it in the next frame and shows the result a frame later: two frames (33 ms) of built-in lag. A real NES has it, and so do Mesen 2 and RetroArch at their defaults, which leave run-ahead off. The port runs two frames ahead: it emulates the real frame, emulates two more with the same input, shows that picture and restores the state. The reaction appears on the frame of the press, which the original hardware cannot do. A self-test checks that the timeline stays bit-identical.

The pad is read as late as possible. The loop waits until just before the display needs the next frame, then reads the pad, emulates and hands the frame over: about 3 ms from reading the pad to presenting on a PC, 5.4 ms on the Pocket EVO. An emulator with vsync on reads the pad, emulates, then waits for the display, up to a whole frame.

No frame waits in a queue. On Windows the loop is locked to the monitor's vertical blank with a one-frame swap chain. On Android each frame is locked to the compositor's own deadlines (Android 13 frame timelines), and the display runs at 120 Hz where it can: on the Pocket EVO a frame reaches the screen 12.9-13.7 ms after it is queued and stays there for exactly two refreshes. On Linux and the Steam Deck frames go out without vsync, as in Mesen's default, so the compositor always shows the newest one.

Sound follows closely. Dynamic rate control keeps the audio queue at 25-45 ms. Mesen's default audio latency is 60 ms, RetroArch's 64 ms (128 ms on Android).

With Mesen's run-ahead also set to 2, the port is about even when Mesen runs without vsync, and about 8 ms ahead on average when Mesen's vsync is on. The averages are built from the measured stages, not from a high-speed camera; docs/LATENCY.md has the breakdown and the sources for the emulator defaults.

Building from source

Put your StarTropics (USA) dump in rom/, then in an MSYS2 MinGW64 shell (Windows) or a Linux shell with SDL2:

make recomp        # translates the ROM's code to C in generated/
make startropics   # builds the game

Linux and Steam Deck packages are built with tools/linux/ (Docker), the Android APK with python android/build_apk.py; the README has the details.

StarTropics is a trademark of Nintendo. This is an unofficial fan project.

StarTropics native port 1.3.2

Choose a tag to compare

@jsp244 jsp244 released this 14 Nov 04:22

A native port of StarTropics (NES, 1990) for Windows, Linux, Steam Deck and Android, made by static recompilation: the game's 6502 code is translated to C and compiled. This repository contains no game code or data, and every build, the packages below included, runs only with a StarTropics (USA) .nes cartridge dump you supply; the graphics, music and data come from it. It has a launcher menu, save states, rewind, CRT shaders, a widescreen overworld decoded from your ROM, remastered textures and music, RetroAchievements, and updates from the menu.

New in 1.3.2

  • Works with the RetComM launcher. The game now understands that launcher's options and loads the ROM it names in a rom.cfg beside the program. Before, it took those options for the ROM's path and loaded nothing. Started on its own, everything works as before.

1.3.1 made the original music the default, and 1.3.0 brought the remastered music and stereo output; their notes are on those releases.

Coming from 1.2.x or 1.3.x? Updates > Check for updates installs this one. Versions before 1.2.0 have no Updates tab, so install it by hand once.

Downloads

file for
startropics-win64.zip Windows, 64-bit
startropics-linux-x86_64.tar.gz Linux desktops with glibc 2.34 or newer
startropics-steamdeck.tar.gz Steam Deck: unpack it in Desktop Mode, put your .nes in the folder and run python3 add-to-steam.py there (see STEAMDECK.txt). Already on 1.2 or later? Use the Updates tab
startropics-android-handheld.apk Android gaming handhelds with built-in controls (Android 7 or newer, arm64)
startropics-android-phone.apk Android phones and tablets, with the on-screen controller (Android 7 or newer, arm64)

Unpack the package (or install the APK) and choose your .nes file on the ROM tab, or put it next to the program. The port checks the file's hash and refuses anything that is not StarTropics (USA).

Lower latency than the original and than emulators

average, button press to the reaction on screen
NES on a CRT ~50 ms
Mesen 2 or RetroArch, default settings ~50 ms or more
this port, PC with a 60 Hz display ~20 ms
this port, AYANEO Pocket EVO (Android, 120 Hz) ~31 ms

The game's own delay is gone. StarTropics reads the controller during vblank, acts on it in the next frame and shows the result a frame later: two frames (33 ms) of built-in lag. A real NES has it, and so do Mesen 2 and RetroArch at their defaults, which leave run-ahead off. The port runs two frames ahead: it emulates the real frame, emulates two more with the same input, shows that picture and restores the state. The reaction appears on the frame of the press, which the original hardware cannot do. A self-test checks that the timeline stays bit-identical.

The pad is read as late as possible. The loop waits until just before the display needs the next frame, then reads the pad, emulates and hands the frame over: about 3 ms from reading the pad to presenting on a PC, 5.4 ms on the Pocket EVO. An emulator with vsync on reads the pad, emulates, then waits for the display, up to a whole frame.

No frame waits in a queue. On Windows the loop is locked to the monitor's vertical blank with a one-frame swap chain. On Android each frame is locked to the compositor's own deadlines (Android 13 frame timelines), and the display runs at 120 Hz where it can: on the Pocket EVO a frame reaches the screen 12.9-13.7 ms after it is queued and stays there for exactly two refreshes. On Linux and the Steam Deck frames go out without vsync, as in Mesen's default, so the compositor always shows the newest one.

Sound follows closely. Dynamic rate control keeps the audio queue at 25-45 ms. Mesen's default audio latency is 60 ms, RetroArch's 64 ms (128 ms on Android).

With Mesen's run-ahead also set to 2, the port is about even when Mesen runs without vsync, and about 8 ms ahead on average when Mesen's vsync is on. The averages are built from the measured stages, not from a high-speed camera; docs/LATENCY.md has the breakdown and the sources for the emulator defaults.

Building from source

Put your StarTropics (USA) dump in rom/, then in an MSYS2 MinGW64 shell (Windows) or a Linux shell with SDL2:

make recomp        # translates the ROM's code to C in generated/
make startropics   # builds the game

Linux and Steam Deck packages are built with tools/linux/ (Docker), the Android APK with python android/build_apk.py; the README has the details.

StarTropics is a trademark of Nintendo. This is an unofficial fan project.

StarTropics native port 1.3.1

Choose a tag to compare

@jsp244 jsp244 released this 13 Nov 18:46

A native port of StarTropics (NES, 1990) for Windows, Linux, Steam Deck and Android, made by static recompilation: the game's 6502 code is translated to C and compiled. This repository contains no game code or data, and every build, the packages below included, runs only with a StarTropics (USA) .nes cartridge dump you supply; the graphics, music and data come from it. It has a launcher menu, save states, rewind, CRT shaders, a widescreen overworld decoded from your ROM, remastered textures and music, RetroAchievements, and updates from the menu.

New in 1.3.1

  • The music starts as the original. Audio > Music now has two choices, Original, the default, and Remastered, and only that setting turns the remastered music on. The textures no longer do: with Graphics > Textures > Remastered you keep the NES's music until you choose Remastered on the Audio tab. A copy updated from 1.3.0 starts with the original music too; if you had chosen Remastered there, that choice is kept.

1.3.0 brought the remastered music (the game's own music on the SNES's sound chip, with new instruments) and stereo output; its notes are on the 1.3.0 release.

Coming from 1.2.x or 1.3.0? Updates > Check for updates installs this one. Versions before 1.2.0 have no Updates tab, so install it by hand once.

Downloads

file for
startropics-win64.zip Windows, 64-bit
startropics-linux-x86_64.tar.gz Linux desktops with glibc 2.34 or newer
startropics-steamdeck.tar.gz Steam Deck: unpack it in Desktop Mode, put your .nes in the folder and run python3 add-to-steam.py there (see STEAMDECK.txt). Already on 1.2 or later? Use the Updates tab
startropics-android-handheld.apk Android gaming handhelds with built-in controls (Android 7 or newer, arm64)
startropics-android-phone.apk Android phones and tablets, with the on-screen controller (Android 7 or newer, arm64)

Unpack the package (or install the APK) and choose your .nes file on the ROM tab, or put it next to the program. The port checks the file's hash and refuses anything that is not StarTropics (USA).

Lower latency than the original and than emulators

average, button press to the reaction on screen
NES on a CRT ~50 ms
Mesen 2 or RetroArch, default settings ~50 ms or more
this port, PC with a 60 Hz display ~20 ms
this port, AYANEO Pocket EVO (Android, 120 Hz) ~31 ms

The game's own delay is gone. StarTropics reads the controller during vblank, acts on it in the next frame and shows the result a frame later: two frames (33 ms) of built-in lag. A real NES has it, and so do Mesen 2 and RetroArch at their defaults, which leave run-ahead off. The port runs two frames ahead: it emulates the real frame, emulates two more with the same input, shows that picture and restores the state. The reaction appears on the frame of the press, which the original hardware cannot do. A self-test checks that the timeline stays bit-identical.

The pad is read as late as possible. The loop waits until just before the display needs the next frame, then reads the pad, emulates and hands the frame over: about 3 ms from reading the pad to presenting on a PC, 5.4 ms on the Pocket EVO. An emulator with vsync on reads the pad, emulates, then waits for the display, up to a whole frame.

No frame waits in a queue. On Windows the loop is locked to the monitor's vertical blank with a one-frame swap chain. On Android each frame is locked to the compositor's own deadlines (Android 13 frame timelines), and the display runs at 120 Hz where it can: on the Pocket EVO a frame reaches the screen 12.9-13.7 ms after it is queued and stays there for exactly two refreshes. On Linux and the Steam Deck frames go out without vsync, as in Mesen's default, so the compositor always shows the newest one.

Sound follows closely. Dynamic rate control keeps the audio queue at 25-45 ms. Mesen's default audio latency is 60 ms, RetroArch's 64 ms (128 ms on Android).

With Mesen's run-ahead also set to 2, the port is about even when Mesen runs without vsync, and about 8 ms ahead on average when Mesen's vsync is on. The averages are built from the measured stages, not from a high-speed camera; docs/LATENCY.md has the breakdown and the sources for the emulator defaults.

Building from source

Put your StarTropics (USA) dump in rom/, then in an MSYS2 MinGW64 shell (Windows) or a Linux shell with SDL2:

make recomp        # translates the ROM's code to C in generated/
make startropics   # builds the game

Linux and Steam Deck packages are built with tools/linux/ (Docker), the Android APK with python android/build_apk.py; the README has the details.

StarTropics is a trademark of Nintendo. This is an unofficial fan project.

StarTropics native port 1.3.0

Choose a tag to compare

@jsp244 jsp244 released this 13 Nov 02:41

A native port of StarTropics (NES, 1990) for Windows, Linux, Steam Deck and Android, made by static recompilation: the game's 6502 code is translated to C and compiled. This repository contains no game code or data, and every build, the packages below included, runs only with a StarTropics (USA) .nes cartridge dump you supply; the graphics, music and data come from it. It has a launcher menu, save states, rewind, CRT shaders, a widescreen overworld decoded from your ROM, remastered textures and music, RetroAchievements, and updates from the menu.

New in 1.3.0

  • Remastered music. Audio > Music > Remastered plays the game's own music on the SNES's sound chip, with instruments made for it: the melodies on a steel drum and a marimba, a plucked bass, a shaker and a conga, all with the chip's echo. The notes still come from your ROM, taken from the game's sound engine as it plays them, so every song is there; the sound effects stay on the NES's chip, as they were. Music: As the textures, the default, plays it whenever Graphics > Textures is set to Remastered, so with the remastered textures on you hear it as soon as you update; Original brings back the NES's music. The music is as loud as the NES's, costs about 0.1 ms a frame and leaves the emulated game untouched: save states, rewind and achievements work as before. The instruments are synthesized by tools/snesmusic (no recorded samples), and the SNES sound chip is LakeSnes's emulation (MIT licence, included as LICENSE-lakesnes.txt).
  • Stereo output. The sound is now stereo: the NES's in the middle, the remastered music spread across.

Coming from 1.2.x? Updates > Check for updates installs this one. Versions before 1.2.0 have no Updates tab, so install it by hand once. 1.2 brought the Updates tab and the remastered textures; their notes are on the 1.2.x releases.

Downloads

file for
startropics-win64.zip Windows, 64-bit
startropics-linux-x86_64.tar.gz Linux desktops with glibc 2.34 or newer
startropics-steamdeck.tar.gz Steam Deck: unpack it in Desktop Mode, put your .nes in the folder and run python3 add-to-steam.py there (see STEAMDECK.txt). Already on 1.2.x? Use the Updates tab
startropics-android-handheld.apk Android gaming handhelds with built-in controls (Android 7 or newer, arm64)
startropics-android-phone.apk Android phones and tablets, with the on-screen controller (Android 7 or newer, arm64)

Unpack the package (or install the APK) and choose your .nes file on the ROM tab, or put it next to the program. The port checks the file's hash and refuses anything that is not StarTropics (USA).

Lower latency than the original and than emulators

average, button press to the reaction on screen
NES on a CRT ~50 ms
Mesen 2 or RetroArch, default settings ~50 ms or more
this port, PC with a 60 Hz display ~20 ms
this port, AYANEO Pocket EVO (Android, 120 Hz) ~31 ms

The game's own delay is gone. StarTropics reads the controller during vblank, acts on it in the next frame and shows the result a frame later: two frames (33 ms) of built-in lag. A real NES has it, and so do Mesen 2 and RetroArch at their defaults, which leave run-ahead off. The port runs two frames ahead: it emulates the real frame, emulates two more with the same input, shows that picture and restores the state. The reaction appears on the frame of the press, which the original hardware cannot do. A self-test checks that the timeline stays bit-identical.

The pad is read as late as possible. The loop waits until just before the display needs the next frame, then reads the pad, emulates and hands the frame over: about 3 ms from reading the pad to presenting on a PC, 5.4 ms on the Pocket EVO. An emulator with vsync on reads the pad, emulates, then waits for the display, up to a whole frame.

No frame waits in a queue. On Windows the loop is locked to the monitor's vertical blank with a one-frame swap chain. On Android each frame is locked to the compositor's own deadlines (Android 13 frame timelines), and the display runs at 120 Hz where it can: on the Pocket EVO a frame reaches the screen 12.9-13.7 ms after it is queued and stays there for exactly two refreshes. On Linux and the Steam Deck frames go out without vsync, as in Mesen's default, so the compositor always shows the newest one.

Sound follows closely. Dynamic rate control keeps the audio queue at 25-45 ms. Mesen's default audio latency is 60 ms, RetroArch's 64 ms (128 ms on Android).

With Mesen's run-ahead also set to 2, the port is about even when Mesen runs without vsync, and about 8 ms ahead on average when Mesen's vsync is on. The averages are built from the measured stages, not from a high-speed camera; docs/LATENCY.md has the breakdown and the sources for the emulator defaults.

Building from source

Put your StarTropics (USA) dump in rom/, then in an MSYS2 MinGW64 shell (Windows) or a Linux shell with SDL2:

make recomp        # translates the ROM's code to C in generated/
make startropics   # builds the game

Linux and Steam Deck packages are built with tools/linux/ (Docker), the Android APK with python android/build_apk.py; the README has the details.

StarTropics is a trademark of Nintendo. This is an unofficial fan project.

StarTropics native port 1.2.2

Choose a tag to compare

@jsp244 jsp244 released this 04 Nov 10:01

A native port of StarTropics (NES, 1990) for Windows, Linux, Steam Deck and Android, made by static recompilation: the game's 6502 code is translated to C and compiled. This repository contains no game code or data, and every build, the packages below included, runs only with a StarTropics (USA) .nes cartridge dump you supply; the graphics, music and data come from it. It has a launcher menu, save states, rewind, CRT shaders, a widescreen overworld decoded from your ROM, remastered textures, RetroAchievements, and updates from the menu.

New in 1.2.2

  • Water in the manner of the Pixel Remaster's. With Graphics > Textures > Remastered the sea's blues keep their saturation in shadow, a deep royal blue, and turn turquoise where the light catches them, as the Pixel Remaster's water does; the shallows are turquoise. Stone (rocks, cave walls, masonry) is a warm grey instead of a cool one.
  • Hand-made tile packs work in the dungeons. A pack's ink can name another of a tile's colors; it now takes that color from the palette the line was drawn with, so it stays right under the dungeons' status bar, where the game changes palettes partway down the screen. Packs made with this version's tools/remaster are format 2, which earlier versions skip. Coming from 1.2.x? Updates > Check for updates installs this one.

New in 1.2.1

  • Fixed: text looked embossed with remastered textures. The automatic shading lit every shape's top and left edges and darkened its bottom and right ones. The font's strokes are only 2-3 pixels thick, so each letter came out half white and half grey. Tiles that look like lettering (letters, digits, punctuation and the borders of text boxes) now keep their colors, so text is as crisp as on the NES. Terrain keeps its shading; speckled textures such as grass and paths look as they did. Coming from 1.2.0? Updates > Check for updates installs it.

New in 1.2.0

  • Updates from the menu. The new Updates tab checks this page for a newer release when you choose Check for updates. On Windows, Linux and the Steam Deck, Install then downloads the package for your system, checks it against the SHA-256 checksum GitHub lists for it, puts it in place of the program and restarts into it. On the Deck that happens inside the same Steam session: no Desktop Mode needed. Settings, saves, the ROM and texture packs stay as they are, and the previous version is kept as startropics.old. On Android the tab opens this page; the new APK installs over the app and keeps its data. Versions before 1.2.0 have no Updates tab, so install 1.2.x by hand once.
  • Remastered textures. Graphics > Textures > Remastered recolors and shades every tile as it is drawn, after the Pixel Remaster editions of the early Final Fantasy games. The pixel grid stays the same, but each tile gets many more colors, with shadows leaning toward blue and highlights toward yellow, and the sea, grass and sand get natural tones (the NES's pink beaches become sand). It is worked out from your ROM's own tiles while you play, the widescreen map gets it too, and it costs well under a millisecond a frame. A hand-made tile pack (remaster.pak) next to the program can replace it tile by tile. None is included, since a pack is drawn over the cartridge's own tiles; tools/remaster in the source shows how to make one.

Downloads

file for
startropics-win64.zip Windows, 64-bit
startropics-linux-x86_64.tar.gz Linux desktops with glibc 2.34 or newer
startropics-steamdeck.tar.gz Steam Deck: unpack it in Desktop Mode, put your .nes in the folder and run python3 add-to-steam.py there (see STEAMDECK.txt). Already on 1.2.x? Use the Updates tab
startropics-android-handheld.apk Android gaming handhelds with built-in controls (Android 7 or newer, arm64)
startropics-android-phone.apk Android phones and tablets, with the on-screen controller (Android 7 or newer, arm64)

Unpack the package (or install the APK) and choose your .nes file on the ROM tab, or put it next to the program. The port checks the file's hash and refuses anything that is not StarTropics (USA).

Lower latency than the original and than emulators

average, button press to the reaction on screen
NES on a CRT ~50 ms
Mesen 2 or RetroArch, default settings ~50 ms or more
this port, PC with a 60 Hz display ~20 ms
this port, AYANEO Pocket EVO (Android, 120 Hz) ~31 ms

The game's own delay is gone. StarTropics reads the controller during vblank, acts on it in the next frame and shows the result a frame later: two frames (33 ms) of built-in lag. A real NES has it, and so do Mesen 2 and RetroArch at their defaults, which leave run-ahead off. The port runs two frames ahead: it emulates the real frame, emulates two more with the same input, shows that picture and restores the state. The reaction appears on the frame of the press, which the original hardware cannot do. A self-test checks that the timeline stays bit-identical.

The pad is read as late as possible. The loop waits until just before the display needs the next frame, then reads the pad, emulates and hands the frame over: about 3 ms from reading the pad to presenting on a PC, 5.4 ms on the Pocket EVO. An emulator with vsync on reads the pad, emulates, then waits for the display, up to a whole frame.

No frame waits in a queue. On Windows the loop is locked to the monitor's vertical blank with a one-frame swap chain. On Android each frame is locked to the compositor's own deadlines (Android 13 frame timelines), and the display runs at 120 Hz where it can: on the Pocket EVO a frame reaches the screen 12.9-13.7 ms after it is queued and stays there for exactly two refreshes. On Linux and the Steam Deck frames go out without vsync, as in Mesen's default, so the compositor always shows the newest one.

Sound follows closely. Dynamic rate control keeps the audio queue at 25-45 ms. Mesen's default audio latency is 60 ms, RetroArch's 64 ms (128 ms on Android).

With Mesen's run-ahead also set to 2, the port is about even when Mesen runs without vsync, and about 8 ms ahead on average when Mesen's vsync is on. The averages are built from the measured stages, not from a high-speed camera; docs/LATENCY.md has the breakdown and the sources for the emulator defaults.

Building from source

Put your StarTropics (USA) dump in rom/, then in an MSYS2 MinGW64 shell (Windows) or a Linux shell with SDL2:

make recomp        # translates the ROM's code to C in generated/
make startropics   # builds the game

Linux and Steam Deck packages are built with tools/linux/ (Docker), the Android APK with python android/build_apk.py; the README has the details.

StarTropics is a trademark of Nintendo. This is an unofficial fan project.

StarTropics native port 1.2.1

Choose a tag to compare

@jsp244 jsp244 released this 04 Nov 07:55

A native port of StarTropics (NES, 1990) for Windows, Linux, Steam Deck and Android, made by static recompilation: the game's 6502 code is translated to C and compiled. This repository contains no game code or data, and every build, the packages below included, runs only with a StarTropics (USA) .nes cartridge dump you supply; the graphics, music and data come from it. It has a launcher menu, save states, rewind, CRT shaders, a widescreen overworld decoded from your ROM, remastered textures, RetroAchievements, and updates from the menu.

New in 1.2.1

  • Fixed: text looked embossed with remastered textures. The automatic shading lit every shape's top and left edges and darkened its bottom and right ones. The font's strokes are only 2-3 pixels thick, so each letter came out half white and half grey. Tiles that look like lettering (letters, digits, punctuation and the borders of text boxes) now keep their colors, so text is as crisp as on the NES. Terrain keeps its shading; speckled textures such as grass and paths look as they did. Coming from 1.2.0? Updates > Check for updates installs this one.

New in 1.2.0

  • Updates from the menu. The new Updates tab checks this page for a newer release when you choose Check for updates. On Windows, Linux and the Steam Deck, Install then downloads the package for your system, checks it against the SHA-256 checksum GitHub lists for it, puts it in place of the program and restarts into it. On the Deck that happens inside the same Steam session: no Desktop Mode needed. Settings, saves, the ROM and texture packs stay as they are, and the previous version is kept as startropics.old. On Android the tab opens this page; the new APK installs over the app and keeps its data. Versions before 1.2.0 have no Updates tab, so install 1.2.x by hand once.
  • Remastered textures. Graphics > Textures > Remastered recolors and shades every tile as it is drawn, after the Pixel Remaster editions of the early Final Fantasy games. The pixel grid stays the same, but each tile gets many more colors, with shadows leaning toward blue and highlights toward yellow, and the sea, grass and sand get natural tones (the NES's pink beaches become sand). It is worked out from your ROM's own tiles while you play, the widescreen map gets it too, and it costs well under a millisecond a frame. A hand-made tile pack (remaster.pak) next to the program can replace it tile by tile. None is included, since a pack is drawn over the cartridge's own tiles; tools/remaster in the source shows how to make one.

Downloads

file for
startropics-win64.zip Windows, 64-bit
startropics-linux-x86_64.tar.gz Linux desktops with glibc 2.34 or newer
startropics-steamdeck.tar.gz Steam Deck: unpack it in Desktop Mode, put your .nes in the folder and run python3 add-to-steam.py there (see STEAMDECK.txt). Already on 1.2.0? Use the Updates tab
startropics-android-handheld.apk Android gaming handhelds with built-in controls (Android 7 or newer, arm64)
startropics-android-phone.apk Android phones and tablets, with the on-screen controller (Android 7 or newer, arm64)

Unpack the package (or install the APK) and choose your .nes file on the ROM tab, or put it next to the program. The port checks the file's hash and refuses anything that is not StarTropics (USA).

Lower latency than the original and than emulators

average, button press to the reaction on screen
NES on a CRT ~50 ms
Mesen 2 or RetroArch, default settings ~50 ms or more
this port, PC with a 60 Hz display ~20 ms
this port, AYANEO Pocket EVO (Android, 120 Hz) ~31 ms

The game's own delay is gone. StarTropics reads the controller during vblank, acts on it in the next frame and shows the result a frame later: two frames (33 ms) of built-in lag. A real NES has it, and so do Mesen 2 and RetroArch at their defaults, which leave run-ahead off. The port runs two frames ahead: it emulates the real frame, emulates two more with the same input, shows that picture and restores the state. The reaction appears on the frame of the press, which the original hardware cannot do. A self-test checks that the timeline stays bit-identical.

The pad is read as late as possible. The loop waits until just before the display needs the next frame, then reads the pad, emulates and hands the frame over: about 3 ms from reading the pad to presenting on a PC, 5.4 ms on the Pocket EVO. An emulator with vsync on reads the pad, emulates, then waits for the display, up to a whole frame.

No frame waits in a queue. On Windows the loop is locked to the monitor's vertical blank with a one-frame swap chain. On Android each frame is locked to the compositor's own deadlines (Android 13 frame timelines), and the display runs at 120 Hz where it can: on the Pocket EVO a frame reaches the screen 12.9-13.7 ms after it is queued and stays there for exactly two refreshes. On Linux and the Steam Deck frames go out without vsync, as in Mesen's default, so the compositor always shows the newest one.

Sound follows closely. Dynamic rate control keeps the audio queue at 25-45 ms. Mesen's default audio latency is 60 ms, RetroArch's 64 ms (128 ms on Android).

With Mesen's run-ahead also set to 2, the port is about even when Mesen runs without vsync, and about 8 ms ahead on average when Mesen's vsync is on. The averages are built from the measured stages, not from a high-speed camera; docs/LATENCY.md has the breakdown and the sources for the emulator defaults.

Building from source

Put your StarTropics (USA) dump in rom/, then in an MSYS2 MinGW64 shell (Windows) or a Linux shell with SDL2:

make recomp        # translates the ROM's code to C in generated/
make startropics   # builds the game

Linux and Steam Deck packages are built with tools/linux/ (Docker), the Android APK with python android/build_apk.py; the README has the details.

StarTropics is a trademark of Nintendo. This is an unofficial fan project.

StarTropics native port 1.2.0

Choose a tag to compare

@jsp244 jsp244 released this 04 Nov 07:17

A native port of StarTropics (NES, 1990) for Windows, Linux, Steam Deck and Android, made by static recompilation: the game's 6502 code is translated to C and compiled. This repository contains no game code or data, and every build, the packages below included, runs only with a StarTropics (USA) .nes cartridge dump you supply; the graphics, music and data come from it. It has a launcher menu, save states, rewind, CRT shaders, a widescreen overworld decoded from your ROM, remastered textures, RetroAchievements, and updates from the menu.

New in 1.2.0

  • Updates from the menu. The new Updates tab checks this page for a newer release when you choose Check for updates. On Windows, Linux and the Steam Deck, Install then downloads the package for your system, checks it against the SHA-256 checksum GitHub lists for it, puts it in place of the program and restarts into it. On the Deck that happens inside the same Steam session: no Desktop Mode needed. Settings, saves, the ROM and texture packs stay as they are, and the previous version is kept as startropics.old. On Android the tab opens this page; the new APK installs over the app and keeps its data. Versions before 1.2.0 have no Updates tab, so install this one by hand once.
  • Remastered textures. Graphics > Textures > Remastered recolors and shades every tile as it is drawn, after the Pixel Remaster editions of the early Final Fantasy games. The pixel grid stays the same, but each tile gets many more colors, with shadows leaning toward blue and highlights toward yellow, and the sea, grass and sand get natural tones (the NES's pink beaches become sand). It is worked out from your ROM's own tiles while you play, the widescreen map gets it too, and it costs well under a millisecond a frame. A hand-made tile pack (remaster.pak) next to the program can replace it tile by tile. None is included, since a pack is drawn over the cartridge's own tiles; tools/remaster in the source shows how to make one.

New in 1.1.1

  • Fixed: after you log in to RetroAchievements, the Password row on the Achievements tab read "(none)", as if the password still had to be entered. It now says "(token saved)": only a session token is kept, never the password, and the app logs in with it by itself at every start.

New in 1.1.0

  • Two Android apps: pick the one for your device. startropics-android-handheld.apk is for gaming handhelds with built-in controls (AYANEO, Retroid, AYN and the like). startropics-android-phone.apk is for phones and tablets: a translucent on-screen controller (d-pad, B, A, Select, Start, MENU) over the picture. It installs as its own app, "StarTropics Touch", and its controls step aside while a Bluetooth or USB controller is in use.
  • Integer scaling fills the screen. With a widescreen aspect in fullscreen, Integer keeps whole pixel multiples and fills the rest of the screen with more of the map, above, below and at the sides: all of the Steam Deck's 1280x800 at 3x, and any screen up to 32:9. The 16 lines the overworld leaves blank at the bottom show the map too.
  • Villagers beyond the old edge. The game keeps every villager in memory but shows only those on its 256-pixel screen. The extra area now shows them where they stand, drawn with the game's own sprite rules, so they no longer pop in near the old screen edge.

Downloads

file for
startropics-win64.zip Windows, 64-bit
startropics-linux-x86_64.tar.gz Linux desktops with glibc 2.34 or newer
startropics-steamdeck.tar.gz Steam Deck: unpack it in Desktop Mode, put your .nes in the folder and run python3 add-to-steam.py there (see STEAMDECK.txt). Already installed? Use the Updates tab from now on
startropics-android-handheld.apk Android gaming handhelds with built-in controls (Android 7 or newer, arm64)
startropics-android-phone.apk Android phones and tablets, with the on-screen controller (Android 7 or newer, arm64)

Unpack the package (or install the APK) and choose your .nes file on the ROM tab, or put it next to the program. The port checks the file's hash and refuses anything that is not StarTropics (USA).

Lower latency than the original and than emulators

average, button press to the reaction on screen
NES on a CRT ~50 ms
Mesen 2 or RetroArch, default settings ~50 ms or more
this port, PC with a 60 Hz display ~20 ms
this port, AYANEO Pocket EVO (Android, 120 Hz) ~31 ms

The game's own delay is gone. StarTropics reads the controller during vblank, acts on it in the next frame and shows the result a frame later: two frames (33 ms) of built-in lag. A real NES has it, and so do Mesen 2 and RetroArch at their defaults, which leave run-ahead off. The port runs two frames ahead: it emulates the real frame, emulates two more with the same input, shows that picture and restores the state. The reaction appears on the frame of the press, which the original hardware cannot do. A self-test checks that the timeline stays bit-identical.

The pad is read as late as possible. The loop waits until just before the display needs the next frame, then reads the pad, emulates and hands the frame over: about 3 ms from reading the pad to presenting on a PC, 5.4 ms on the Pocket EVO. An emulator with vsync on reads the pad, emulates, then waits for the display, up to a whole frame.

No frame waits in a queue. On Windows the loop is locked to the monitor's vertical blank with a one-frame swap chain. On Android each frame is locked to the compositor's own deadlines (Android 13 frame timelines), and the display runs at 120 Hz where it can: on the Pocket EVO a frame reaches the screen 12.9-13.7 ms after it is queued and stays there for exactly two refreshes. On Linux and the Steam Deck frames go out without vsync, as in Mesen's default, so the compositor always shows the newest one.

Sound follows closely. Dynamic rate control keeps the audio queue at 25-45 ms. Mesen's default audio latency is 60 ms, RetroArch's 64 ms (128 ms on Android).

With Mesen's run-ahead also set to 2, the port is about even when Mesen runs without vsync, and about 8 ms ahead on average when Mesen's vsync is on. The averages are built from the measured stages, not from a high-speed camera; docs/LATENCY.md has the breakdown and the sources for the emulator defaults.

Building from source

Put your StarTropics (USA) dump in rom/, then in an MSYS2 MinGW64 shell (Windows) or a Linux shell with SDL2:

make recomp        # translates the ROM's code to C in generated/
make startropics   # builds the game

Linux and Steam Deck packages are built with tools/linux/ (Docker), the Android APK with python android/build_apk.py; the README has the details.

StarTropics is a trademark of Nintendo. This is an unofficial fan project.

StarTropics native port 1.1.1

Choose a tag to compare

@jsp244 jsp244 released this 04 Nov 00:02

A native port of StarTropics (NES, 1990) for Windows, Linux, Steam Deck and Android, made by static recompilation: the game's 6502 code is translated to C and compiled. This repository contains no game code or data, and every build, the packages below included, runs only with a StarTropics (USA) .nes cartridge dump you supply; the graphics, music and data come from it. It has a launcher menu, save states, rewind, CRT shaders, a widescreen overworld decoded from your ROM, and RetroAchievements.

New in 1.1.1

  • Fixed: after you log in to RetroAchievements, the Password row on the Achievements tab read "(none)", as if the password still had to be entered. It now says "(token saved)": only a session token is kept, never the password, and the app logs in with it by itself at every start.

New in 1.1.0

  • Two Android apps: pick the one for your device. startropics-android-handheld.apk is for gaming handhelds with built-in controls (AYANEO, Retroid, AYN and the like). startropics-android-phone.apk is for phones and tablets: a translucent on-screen controller (d-pad, B, A, Select, Start, MENU) over the picture. It installs as its own app, "StarTropics Touch", and its controls step aside while a Bluetooth or USB controller is in use.
  • Integer scaling fills the screen. With a widescreen aspect in fullscreen, Integer keeps whole pixel multiples and fills the rest of the screen with more of the map, above, below and at the sides: all of the Steam Deck's 1280x800 at 3x, and any screen up to 32:9. The 16 lines the overworld leaves blank at the bottom show the map too.
  • Villagers beyond the old edge. The game keeps every villager in memory but shows only those on its 256-pixel screen. The extra area now shows them where they stand, drawn with the game's own sprite rules, so they no longer pop in near the old screen edge.

Downloads

file for
startropics-win64.zip Windows, 64-bit
startropics-linux-x86_64.tar.gz Linux desktops with glibc 2.34 or newer
startropics-steamdeck.tar.gz Steam Deck: unpack it in Desktop Mode, put your .nes in the folder and run python3 add-to-steam.py there (see STEAMDECK.txt)
startropics-android-handheld.apk Android gaming handhelds with built-in controls (Android 7 or newer, arm64)
startropics-android-phone.apk Android phones and tablets, with the on-screen controller (Android 7 or newer, arm64)

Unpack the package (or install the APK) and choose your .nes file on the ROM tab, or put it next to the program. The port checks the file's hash and refuses anything that is not StarTropics (USA).

Lower latency than the original and than emulators

average, button press to the reaction on screen
NES on a CRT ~50 ms
Mesen 2 or RetroArch, default settings ~50 ms or more
this port, PC with a 60 Hz display ~20 ms
this port, AYANEO Pocket EVO (Android, 120 Hz) ~31 ms

The game's own delay is gone. StarTropics reads the controller during vblank, acts on it in the next frame and shows the result a frame later: two frames (33 ms) of built-in lag. A real NES has it, and so do Mesen 2 and RetroArch at their defaults, which leave run-ahead off. The port runs two frames ahead: it emulates the real frame, emulates two more with the same input, shows that picture and restores the state. The reaction appears on the frame of the press, which the original hardware cannot do. A self-test checks that the timeline stays bit-identical.

The pad is read as late as possible. The loop waits until just before the display needs the next frame, then reads the pad, emulates and hands the frame over: about 3 ms from reading the pad to presenting on a PC, 5.4 ms on the Pocket EVO. An emulator with vsync on reads the pad, emulates, then waits for the display, up to a whole frame.

No frame waits in a queue. On Windows the loop is locked to the monitor's vertical blank with a one-frame swap chain. On Android each frame is locked to the compositor's own deadlines (Android 13 frame timelines), and the display runs at 120 Hz where it can: on the Pocket EVO a frame reaches the screen 12.9-13.7 ms after it is queued and stays there for exactly two refreshes. On Linux and the Steam Deck frames go out without vsync, as in Mesen's default, so the compositor always shows the newest one.

Sound follows closely. Dynamic rate control keeps the audio queue at 25-45 ms. Mesen's default audio latency is 60 ms, RetroArch's 64 ms (128 ms on Android).

With Mesen's run-ahead also set to 2, the port is about even when Mesen runs without vsync, and about 8 ms ahead on average when Mesen's vsync is on. The averages are built from the measured stages, not from a high-speed camera; docs/LATENCY.md has the breakdown and the sources for the emulator defaults.

Building from source

Put your StarTropics (USA) dump in rom/, then in an MSYS2 MinGW64 shell (Windows) or a Linux shell with SDL2:

make recomp        # translates the ROM's code to C in generated/
make startropics   # builds the game

Linux and Steam Deck packages are built with tools/linux/ (Docker), the Android APK with python android/build_apk.py; the README has the details.

StarTropics is a trademark of Nintendo. This is an unofficial fan project.

StarTropics native port 1.1.0

Choose a tag to compare

@jsp244 jsp244 released this 03 Nov 23:50

A native port of StarTropics (NES, 1990) for Windows, Linux, Steam Deck and Android, made by static recompilation: the game's 6502 code is translated to C and compiled. This repository contains no game code or data, and every build, the packages below included, runs only with a StarTropics (USA) .nes cartridge dump you supply; the graphics, music and data come from it. It has a launcher menu, save states, rewind, CRT shaders, a widescreen overworld decoded from your ROM, and RetroAchievements.

New in 1.1.0

  • Two Android apps: pick the one for your device. startropics-android-handheld.apk is for gaming handhelds with built-in controls (AYANEO, Retroid, AYN and the like). startropics-android-phone.apk is for phones and tablets: a translucent on-screen controller (d-pad, B, A, Select, Start, MENU) over the picture. It installs as its own app, "StarTropics Touch", and its controls step aside while a Bluetooth or USB controller is in use.
  • Integer scaling fills the screen. With a widescreen aspect in fullscreen, Integer keeps whole pixel multiples and fills the rest of the screen with more of the map, above, below and at the sides: all of the Steam Deck's 1280x800 at 3x, and any screen up to 32:9. The 16 lines the overworld leaves blank at the bottom show the map too.
  • Villagers beyond the old edge. The game keeps every villager in memory but shows only those on its 256-pixel screen. The extra area now shows them where they stand, drawn with the game's own sprite rules, so they no longer pop in near the old screen edge.

Downloads

file for
startropics-win64.zip Windows, 64-bit
startropics-linux-x86_64.tar.gz Linux desktops with glibc 2.34 or newer
startropics-steamdeck.tar.gz Steam Deck: unpack it in Desktop Mode, put your .nes in the folder and run python3 add-to-steam.py there (see STEAMDECK.txt)
startropics-android-handheld.apk Android gaming handhelds with built-in controls (Android 7 or newer, arm64)
startropics-android-phone.apk Android phones and tablets, with the on-screen controller (Android 7 or newer, arm64)

Unpack the package (or install the APK) and choose your .nes file on the ROM tab, or put it next to the program. The port checks the file's hash and refuses anything that is not StarTropics (USA).

Lower latency than the original and than emulators

average, button press to the reaction on screen
NES on a CRT ~50 ms
Mesen 2 or RetroArch, default settings ~50 ms or more
this port, PC with a 60 Hz display ~20 ms
this port, AYANEO Pocket EVO (Android, 120 Hz) ~31 ms

The game's own delay is gone. StarTropics reads the controller during vblank, acts on it in the next frame and shows the result a frame later: two frames (33 ms) of built-in lag. A real NES has it, and so do Mesen 2 and RetroArch at their defaults, which leave run-ahead off. The port runs two frames ahead: it emulates the real frame, emulates two more with the same input, shows that picture and restores the state. The reaction appears on the frame of the press, which the original hardware cannot do. A self-test checks that the timeline stays bit-identical.

The pad is read as late as possible. The loop waits until just before the display needs the next frame, then reads the pad, emulates and hands the frame over: about 3 ms from reading the pad to presenting on a PC, 5.4 ms on the Pocket EVO. An emulator with vsync on reads the pad, emulates, then waits for the display, up to a whole frame.

No frame waits in a queue. On Windows the loop is locked to the monitor's vertical blank with a one-frame swap chain. On Android each frame is locked to the compositor's own deadlines (Android 13 frame timelines), and the display runs at 120 Hz where it can: on the Pocket EVO a frame reaches the screen 12.9-13.7 ms after it is queued and stays there for exactly two refreshes. On Linux and the Steam Deck frames go out without vsync, as in Mesen's default, so the compositor always shows the newest one.

Sound follows closely. Dynamic rate control keeps the audio queue at 25-45 ms. Mesen's default audio latency is 60 ms, RetroArch's 64 ms (128 ms on Android).

With Mesen's run-ahead also set to 2, the port is about even when Mesen runs without vsync, and about 8 ms ahead on average when Mesen's vsync is on. The averages are built from the measured stages, not from a high-speed camera; docs/LATENCY.md has the breakdown and the sources for the emulator defaults.

Building from source

Put your StarTropics (USA) dump in rom/, then in an MSYS2 MinGW64 shell (Windows) or a Linux shell with SDL2:

make recomp        # translates the ROM's code to C in generated/
make startropics   # builds the game

Linux and Steam Deck packages are built with tools/linux/ (Docker), the Android APK with python android/build_apk.py; the README has the details.

StarTropics is a trademark of Nintendo. This is an unofficial fan project.