NativeActivity shell that packages the recompiled game (libge.so) + the ReXGlue
runtime (librexruntime.so) into an APK. Controller-driven; no touch controls.
Status: the ReXGlue SDK builds end-to-end for
arm64-v8a, and the Android window/Vulkan-surface/input-loop backends are implemented. A runnable APK additionally needs (a) the recompiled game code from your own XEX and (b) the remaining runtime work tracked in the SDD plan (real fibers, content-URI fd, gamepad input driver). See the project plan for the full status.
- Android SDK + NDK 27.1.12297006 (Vulkan-capable).
- A local checkout of the ReXGlue SDK:
SunJaycy/GoldenEye-Recomp-rexglue(pointrexSdkDirat it — default../../GoldenEye-Recomp-rexglue). - The
rexglueCLI and your own GoldenEye 007 XBLA XEX (this repo ships none).
# 1. From the repo root: generate the recompiled game code from YOUR copy.
rexglue codegen --max_jump_table_entries 2048 ge_config.toml # creates generated/
# 2. Build the APK (CMake is driven by Gradle's externalNativeBuild).
cd android
./gradlew assembleRelease -PrexSdkDir=/path/to/GoldenEye-Recomp-rexglue
# APK: android/app/build/outputs/apk/release/AndroidManifest.xmldeclaresandroid.app.NativeActivitywithandroid.app.lib_name=ge→ loadslibge.so.- The SDK's
rexglue_setup_targetlinksandroid_native_app_glue(exportsANativeActivity_onCreate) andwindowed_app_main_android.cpp(android_main). android_maincreates anAndroidWindowedAppContext, looks up the registered app, and runs the ALooper loop.APP_CMD_INIT_WINDOWhands theANativeWindowtoAndroidWindow, which builds aVK_KHR_android_surfacefor the existing Vulkan renderer.
arm64-v8aonly (the guest reserves a 4 GiB address space).- Render backend is Vulkan; SDL3 (GLES/AAudio) is bundled for audio/input.
- Game assets/XEX delivery (APK assets vs app-scoped storage) is not yet wired —
see
OpenAndroidContentFileDescriptor(Phase 2 TODO) and the SDK filesystem.