Looking up at the rain no longer drags the frame rate down, and mods gain
native textures and reload without a restart. A very experimental, unsupported
import of Metroid Prime Remastered's models from your own copy is included too.
Linux, Windows and Android, all built from one commit (b8b8576c).
You need your own disc image. Metroid Prime (USA) v1.00, GM8E01 disc 0
revision 0. Nothing here contains any part of the game — no disc, no assets.
What changed
Fixes
- Rain on the visor no longer costs most of the frame rate. Looking at the
sky in a rainy room (Landing Site, for one) could take the game from 120 fps
to 25 while the simulation stayed at full speed. Every drop on the visor
copied the screen to refract it, and each copy ended the render pass and,
with MSAA on, resolved the whole frame. The screen is now copied once per
effect. The same applies to any other refracting particle effect. - Overlay clicks and taps that were ignored, then replayed in a burst. Two
parts of the port wrote the gamepad state for the F1 overlay, and when they
disagreed its input queue grew every frame. There is one writer now. - Textures are no longer re-hashed every time they are bound, which took a
large share of the render thread in heavy rooms.
New
The Remastered import and everything built on it are very experimental and
currently unsupported. That covers the model import, room environments and
room geometry below. Expect wrong or missing models, lighting that is off,
crashes and heavy memory use, and a re-import after most updates. Bug reports
about a game running with that mod are not handled for now; remove
mods/remastered-modelsto get the retail game back. Nothing changes unless
you run the import yourself.
- Import Remastered's models from your own copy (very experimental, unsupported). F1 > Extras > Mods >
"Metroid Prime Remastered models" takes your.nspandprod.keysand
writes a mod with 342 models and the lighting environment of 275 rooms; or
--import-remastered <nsp> [keys]on the command line. Nothing of
Remastered ships with the port. - Room environments (very experimental, unsupported). PBR models reflect the room they are in and take its
baked ambient light and exposure, from a mod's.roomenvfiles. - Room geometry (very experimental, unsupported). A mod's
.roomgeoreplaces an area's static
geometry. The import writes it only when asked (MP_REMASTERED_GEOMETRY=all);
expect rough edges, and a larger memory arena while one is installed. - Native textures in mods. A
<id>.dds(BC7/BC5/BC3/BC1/RGBA8, with mips)
beside a texture is drawn in its place, outside the game's own heap. - Reload mods without a restart, from F1 > Extras > Mods.
- Importers. Programs in
<pref>/importersget a Run button in the Mods
panel and--import [name]. - An Invulnerable cheat, in F1 > Debug (
MP_GODMODE=1). The escape timer
still kills.
Details for mod authors are in docs/NATIVE_PORT.md.
Downloads
| Platform | File | Notes |
|---|---|---|
| Linux | MetroidPrime-x86_64.AppImage
| Self-contained. chmod +x, then run.
|
| Linux | MetroidPrimePort.flatpak
| flatpak install --user ./MetroidPrimePort.flatpak
|
| Linux | metroid-prime-port-0.8.0-linux-x86_64.tar.gz
| Bare binary, textures and licences |
| Windows | metroid-prime-port-0.8.0-windows-x86_64.zip
| Unzip anywhere; needs a Visual C++ redistributable |
| Android | metroid-prime-port-0.8.0-android-arm64.apk
| Sideload; arm64-v8a, Android 9+ |
The APK is signed with the same key as before, so it installs over 0.7.1 and
keeps your save.
Verified
All 25 port tests pass. The Linux binary, AppImage and Flatpak were built
here and report this commit; CI built the Windows zip and started it. The APK
carries versionCode 10. The rain fix was checked on Linux by eye (the drops
still draw and refract the scene); the frame-rate gain on Windows was not
measured here. The import panel, mod reload button and cheat checkbox were
driven through the console and command line, not clicked on screen, and the
import has not been run on Windows or Android.
Licence
Unchanged. MIT covers this project's own work, but not the game code under
src/ and include/, which remains Nintendo's. See LICENSE and NOTICE.
Metroid Prime is a trademark of Nintendo. This project is unaffiliated with
Nintendo and Retro Studios.