Repository navigation
v0.2 — Android Alpha (Settings Fix + DXVK Stability)
v0.2 — Android Alpha
Settings menu crash fixed, DXVK rendering stability improved.
What's fixed since v0.1
- ✅ Settings menu crash — the Settings button no longer crashes the app (#2). The engine tried to enumerate desktop display modes which don't exist on Android.
- ✅ ANativeWindow race condition — added a wait loop that ensures the Android Surface is attached before DXVK creates the Vulkan swapchain. Fixes the
CreateAndroidSurfaceKHRnull-pointer crash on some devices. - ✅ DXVK allocator isolation — DXVK's internal allocations now use standard
malloc/freeinstead of the engine's custom memory pool, preventing free-list corruption. Survival time before the DXVK crash increased from ~10s to ~39s. - ✅ Audio backend — OpenAL now uses the Oboe audio backend (AAudio/OpenSL ES) with
PerformanceMode::Noneto avoid OEM audio policy denials. FFmpeg is integrated for audio file decoding. (Audio is still being tested — let us know if you hear sound!)
Known issues
- 🔄 DXVK rendering crash — after ~30-40 seconds of gameplay or menu interaction, DXVK may crash in
DxvkResourceAllocationPool::alloc(). This is a Vulkan memory management issue under investigation. The game auto-restarts. - ❌ Samsung/Exynos (Scudo) — the engine's memory allocator still probes memory in a way that triggers Scudo's "invalid chunk state" abort on Samsung devices (#4). Working on a fix.
- 🔄 High RAM usage — the engine uses 2-3GB RAM due to the legacy memory pool design (#3).
Requirements
- arm64-v8a Android tablet (Android 7.0+, API 24+)
- Vulkan-capable GPU (Adreno 7xx+, Mali-G77+)
- ~3GB free RAM
- Your own copy of C&C Generals Zero Hour (Steam ~$5)
How to install
- Download
GeneralsZH-full.apkbelow adb install GeneralsZH-full.apk(uninstall v0.1 first if installed)- Copy your game's
.bigfiles to/sdcard/Android/data/me.generalsx.zh/files/GameData/Data/ - Launch "Generals Zero Hour"
See the README for detailed instructions.
Legal
No game assets are distributed. You must own a legal copy of the game.