reVC Android Evolved — ENHANCED MOD
reVC Android Evolved — ENHANCED MOD is an Android port of the reVC Grand Theft Auto: Vice City engine for the "vc enhanced" mod.
- Type: PC port
- Game: Grand Theft Auto: Vice City
- Runs on Android
- By codepdbh
- Latest release v1.1.0, 2026-09-21
- Source: https://github.com/codepdbh/reVC-android-evolved-ENHANCED-MOD
README
reVC Android Evolved — ENHANCED MOD
reVC Enhanced & Fixed is an Android edition of the reVC reverse-engineered
GTA: Vice City engine, tuned to run the "vc enhanced" Vice City mod (a much bigger map, heavier textures,
new models, a new main.scm) on a phone.
This repository contains source code only. No game data and no mod data is included or distributed. You need your own legitimate copy of GTA: Vice City, plus the "vc enhanced" mod files, which this project is not affiliated with.
🇪🇸 Este repositorio contiene solo código. No incluye datos del juego ni del mod: necesitas tu copia original de GTA Vice City y los archivos del mod "vc enhanced".
Install / Instalación
- Install the APK from the Releases page (
reVC Enhanced & Fixed, packagecom.revc.game.enhanced). It installs side by side with a normal reVC — it has its own name, icon and data folder. - Grant "All files access" when asked (the game reads its data from shared storage).
- Build the game folder
/sdcard/reVC-EnhancedFixed/(internal storage →reVC-EnhancedFixed):- Copy the original GTA: Vice City game files (the same layout reVC uses:
audio/,data/,models/,txd/,TEXT/,mp3/,anim/,movies/,neo/,gamecontrollerdb.txt, …). - Copy the "vc enhanced" mod files on top, overwriting (
Anim,Audio,Data,Models,Movies,Skins,Txd, …). PC-only files (Vice City.exe,ddraw.dll,*.asi) are not needed.
- Copy the original GTA: Vice City game files (the same layout reVC uses:
- ⚠️ Do NOT copy
models/txd.imgandmodels/txd.dir(nordata/caps.dat). They are a per-device texture cache that the engine generates by itself on the first launch ("Converting textures", well under a minute). A cache copied from a vanilla install makes the engine ignore the mod's textures — the symptom is white textures on characters, car interiors and vegetation. If you ever see that: delete those two files and start the game again. - Start the game. Do not copy old savegames (
userfiles/) from a vanilla install — they don't match the mod's script.
Device compatibility / Compatibilidad
| GPU / SoC | Status | Notes |
|---|---|---|
| Snapdragon (Adreno) — tested on Galaxy S25 Ultra | ✅ Works, optimized | Native DXT textures, ~430 MB of graphics memory in game, smooth. Any Adreno GPU with S3TC follows the same path. |
| Exynos (Xclipse) — tested on Galaxy A55 | 🧪 Experimental — not playable yet | Boots, converts textures, starts a game and renders the map, but Android's low-memory killer ends the game after ~10–20 s (see below). |
| Mali (Dimensity, Tensor, older Exynos…) | 🧪 Experimental — untested | Same code path as Xclipse (no S3TC), expected to behave the same. |
Compatibility work for GPUs without S3TC — progress: ≈ 65 % (a rough estimate of the milestones below, not a benchmark)
██████████████░░░░░░ 4 of 6 milestones
- Game launches and reaches the menu
- DXT textures are decoded on the CPU and stored uncompressed (
librw), including non-power-of-two ones - The texture cache (
models/txd.img) is generated without corruption (>2 GB cache offsets fixed) - Starting a game no longer crashes; the map loads and renders with textures
- The game stays alive: on the A55 the graphics memory of the driver (ANGLE over Vulkan) jumps from ~0.4 GB to 4+ GB once the world starts drawing and Android kills the process. It does not depend on texture size (64 px behaves like 256 px), on the number of live textures, on quality settings or on 2D/3D immediate-mode buffers — all tested. The cause is still unknown.
- Playable performance on those GPUs
What is already in the code for these devices (harmless on Snapdragon): CPU DXT decoding with padded buffers for
non-multiple-of-4 sizes, a 256 px cap on cached textures and a 512 MB streaming budget when the GPU has no S3TC,
exact-size uploads for the 2D/3D immediate-mode buffers. Ideas not done yet: ETC2/ASTC recompression, a real
Vulkan backend for librw, or GPU profiling (Perfetto / AGI) on an Exynos device. Help and reports are welcome.
🇪🇸 Snapdragon (Adreno): funciona y está optimizado (probado en S25 Ultra). Exynos (Xclipse) y Mali: experimental, aún no jugable — el juego arranca, convierte texturas y carga el mapa, pero Android lo cierra por falta de memoria a los 10–20 s. Progreso del trabajo de compatibilidad para GPUs sin S3TC: ≈ 65 % (estimación por hitos, no un benchmark).
What's different from plain reVC
Engine limits sized for this mod (only in this edition, so the other apps don't pay the memory):
~2× vanilla's map placements (NUMBUILDINGS 20000, sector-list and entry pools, collision models, 600 time-model
slots, visible-entity lists, coronas, …). Nothing that changes the savegame layout was touched.
Bugs found and fixed along the way (these also affect any other heavy mod):
- Non-power-of-two DXT textures (e.g. a 1920×1080 menu background) were sized wrongly per mip level in
librw's GL backend → heap overflow → crash when starting a game. - Collision models bigger than the 55000-byte scratch buffer (7 of them in this mod) overflowed it → crash while loading the map. They now use their own 128 KB buffer with bounds checks.
- Paletted (8-bit / 4-bit) D3D textures were converted with a 4-byte colour copier over 1-byte pixels → shifted indices and a 3-byte heap overflow per texture. Fixes wrong/white tires and other paletted textures.
- Texture level sizes read from a TXD are now bounded by the buffer that was allocated for them.
- On GPUs without S3TC, decoding DXT textures on the CPU overflowed the output buffer for sizes that are not a multiple of 4 (e.g. the 1920×1080 menu images) → crash on the first "Start game".
- The native-texture cache writer used a signed 32-bit file position; once the cache passed 2 GB the directory entries went bogus and the game hung after loading (only reachable on GPUs that store textures uncompressed).
- The streaming memory budget came from
sysinfo().freeram(≈100 MB on a 12 GB phone, because Android counts the page cache as used) → constant model/texture eviction, stutter and dropped textures. It now usesMemAvailable(capped, ≈895 MB max) — a large performance win.
Quality of life: San Andreas-style driving camera on by default (Options → Display → Free camera; it is the engine's
built-in FREE_CAM, the equivalent of the PC "SACarCam" plugin, which cannot run on Android); cutscene letterbox bars off by default (still a toggle in Options); help messages are drawn
centered at the top instead of over the radar; extra touch buttons (look-behind / side-mission R3, drive-by,
duck, horn, …), more visible touch controls, and 16 KB-page-size compatible packaging.
Controls / Controles
- Follows the last device you used. The on-screen controls are hidden while a gamepad or a keyboard/mouse is in use, and come back as soon as you touch the screen (or when the gamepad turns off / disconnects). Before, they could stay hidden for good after using a Bluetooth pad.
- Xbox / PlayStation look. Tap the gear (bottom center) → ESTILO cycles
PROPIO(our own art) →XBOX→PLAYSTATION. Same buttons and positions (your edited layout is kept), drawn like a real pad, with the action as a small caption. The choice is remembered. - Keyboard and mouse. A hardware keyboard uses the game's default PC keys; the mouse turns the camera in game (Android pointer capture) and works as a cursor in the menus. Sensitivity is in Options.
- Touch controls, Bluetooth pads and keyboard/mouse can be mixed: whichever you use last is active.
🇪🇸 Los controles táctiles se ocultan al usar mando o teclado/ratón y vuelven al tocar la pantalla o al desconectar el mando. Engranaje (abajo al centro) → ESTILO: Propio / Xbox / PlayStation. Teclado y ratón funcionan en partida y en los menús.
Building
git clone --recursive https://github.com/codepdbh/reVC-android-evolved-ENHANCED-MOD.git
cd reVC-android-evolved-ENHANCED-MOD/android/launcher
./gradlew assembleEnhancedRelease # gradlew.bat on Windows
Needs the Android SDK, NDK 27.2.12479018 and CMake 3.22.1. vendor/librw is a vendored, patched copy
of aap/librw (via mrxenginner/librw) — the fixes above
live there; vendor/ogg, vendor/opus and vendor/opusfile are regular submodules.
Credits
- reVC / re3 — the reverse-engineering team and contributors.
- librw — aap.
- The "vc enhanced" mod — its respective authors (not included, not affiliated).
- The original README of reVC is kept in
README-reVC-upstream.md; the licence terms are those of the upstream project (seeLICENSE).