Skip to content

Releases

NFSMW android 1.0

Choose a tag to compare

@DEBARSHI-SARKAR DEBARSHI-SARKAR released this 18 Oct 04:53
0f66c15

Release — first playable Android build (pre-compiled APK)

Release name: NFSMW Recomp — Android preview 1
Artifact: app-debug.apk (debug build, arm64-v8a)
Target: Android 10+ (API 29+), arm64 phones with Vulkan 1.1+. Tested on a
Moto E13 (Unisoc T606, Mali-G57 MP1, Android 13).

A pre-compiled APK does not include the game. You must own the original
PC release and put its files on the phone yourself — see "Give it the game"
below. The build the APK was made from refuses mismatched game data anyway.

What is new

The headline fix: races render. Previous builds reached the menus and a
race, but the 3D world stayed black while the HUD, videos and sound worked.

  • Root cause (what made the world black): the game's per-view projection
    math reads a slot table the core.nfsmw mod fills at runtime. On Android
    the mod engine requires symbols.json beside the mods it discovers; the
    APK never shipped that file, so the loader stopped before any discovery, no
    mod loaded, the slots stayed zero, and every race-world triangle clipped
    away (gl_Position.w == 0). Fixed by packaging symbols.json and unpacking
    it to the app's data root at start. The mod now loads automatically
    (mods: loaded core.nfsmw 1.0.0 in logcat) and the widescreen view and
    race-world projection are correct.
  • Widescreen: the game now runs at the screen's shape (1280x720 on the
    reference device) instead of the original 4:3 640x480-style pipeline,
    per-view FOV filled by the built-in core.nfsmw mod.
  • Android platform fixes: Vulkan surface creation no longer depends on an
    extension name that Android's loader may not enumerate
    (VK_KHR_android_surface is added unconditionally); the launcher platform
    object outlives the SDL window lifecycle (a background import survives the
    activity being rebuilt).
  • Build tooling: the desktop host also configures without X11's XTEST
    dependency, so smoke/headless builds work on machines without it.

Performance reality check

This is a preview, not an optimized release:

Device Screen Runnable
Moto E13 (T606, Mali-G57 MP1) — reference menus ~15-16 FPS with default settings playable menus, races render, far below 60

Two levers inside the app before you judge it:

  1. In-game settings page (gear icon → mods settings): set Simulation and frame rate (Hz) from 120 to 60. The mod defaults to a 120 Hz simulation
    on a port of a 60 Hz console-era engine — halving it halves the guest CPU
    work, which is the bottleneck on this class of GPU.
  2. Let the first race run 30-60 seconds; shader/texture caches warm up.

The white screen you saw in races is covered below (known issues).

Known issues in this build

  • Frame rate on budget phones is low; the guest simulation dominates (GPU is
    fast enough). A 60 Hz sim-rate setting is the first lever; more reduction
    work is queued.
  • Occasional white flash after the car renders in a race (visual glitch on
    Mali; under investigation).
  • Debug-signed APK: keep Play Protect aside on install, as with any adb-sideloaded build.
  • The build offers no dynamic resolution or quality options yet — one Graphics
    resolution control is preserved by design.

Give it the game (required)

The APK carries no copyrighted data. Install your retail PC game files:

  • copy the game folder (with speed.exe) under
    /sdcard/Android/data/dev.recompkit.nfsmw/files/ (any folder name), or
  • in-app import via launcher — pick a ZIP or folder, or "Open with" on the
    ZIP from a file manager.

First start then finds the folder and activates it. Saves go to
files/profile/ and survive game-data updates.

Full walkthrough (build it your own; from the SDK to a race): docs/build-your-own.md

image

Full Changelog: https://github.com/DEBARSHI-SARKAR/nfsmw-recomp-android/commits/v1.0

Full Changelog: v1.0...v1.0