[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-107738":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":9,"language":10,"languages":9,"totalLinesOfCode":9,"stars":11,"forks":12,"watchers":13,"openIssues":14,"contributorsCount":15,"subscribersCount":15,"size":15,"stars1d":16,"stars7d":17,"stars30d":18,"stars90d":15,"forks30d":15,"starsTrendScore":19,"compositeScore":20,"rankGlobal":9,"rankLanguage":9,"license":21,"archived":22,"fork":22,"defaultBranch":23,"hasWiki":22,"hasPages":22,"topics":24,"createdAt":9,"pushedAt":25,"updatedAt":26,"readmeContent":27,"aiSummary":28,"trendingCount":15,"starSnapshotCount":15,"syncStatus":29,"lastSyncTime":30,"discoverSource":31},107738,"gtav-recomp","andrewnakas\u002Fgtav-recomp","andrewnakas","GTA V (Xbox 360, TU27) static recompilation with ReXGlue",null,"C++",322,37,13,42,0,4,64,202,38,82.7,"GNU General Public License v3.0",false,"main",[],"2026-11-23 20:12:24","2026-11-23 18:56:12","Just want to play the game on Windows, Android, IOS, Mac or Linux? go here https:\u002F\u002Fgithub.com\u002Fandrewnakas\u002Fgtav-recomp\u002Freleases\n\n# GTA V (Xbox 360) recompiled: Windows, Linux, macOS, iPhone and Android\n\nGrand Theft Auto V for Xbox 360 (Title Update 27), **statically recompiled** from the console's\nPowerPC executable into native code, with a new renderer, for PCs, Macs and phones. Built with\n[ReXGlue](https:\u002F\u002Fgithub.com\u002Frexglue\u002Frexglue-sdk) v0.10.0.\n\n**No game is included, ever.** Not in this repository, not in any release. You bring your own\nXbox 360 discs and title update; everything made from them (the recompiled code, the game files,\nthe translated shaders) is made on your own computer and stays there.\n\n> [!WARNING]\n> **Forking, mirroring or publishing your own builds?** Read\n> [Keeping it clean](#keeping-it-clean-rules-for-forks-and-downstream-releases) first. The\n> recompiled game code, the game's shaders and anything else made from the discs are **Rockstar\n> Games' copyrighted work**. They must never be in a repository, release, ipa, apk, mirror or\n> download link. This project's GPL license covers only our own code and cannot give anyone the\n> right to share Rockstar's.\n\n**Downloads: [Releases](https:\u002F\u002Fgithub.com\u002Fandrewnakas\u002Fgtav-recomp\u002Freleases).** Pick the package\nfor your computer (Windows, Linux or macOS). Every package can also build the **iPhone** and\n**Android** versions, so you never need a separate phone download.\n\n---\n\n## Contents\n- [How it works](#how-it-works)\n- [What you need](#what-you-need)\n- [Windows](#windows) · [Linux](#linux) · [macOS](#macos)\n- [iPhone](#iphone) · [Android](#android)\n- [Performance](#performance)\n- [Troubleshooting](#troubleshooting)\n- [Building from source](#building-from-source)\n- [Repository layout](#repository-layout)\n- [Keeping it clean: rules for forks and downstream releases](#keeping-it-clean-rules-for-forks-and-downstream-releases)\n- [License and legal](#license-and-legal)\n\n---\n\n## How it works\n\n1. **Setup copies and checks your game.** The launcher reads your Disc 1 and Disc 2 (ISO images or\n   extracted folders) and your Title Update 27, copies the game files into its game folder, and\n   checks every file against known-good SHA-256 hashes, so a damaged or wrong dump is caught\n   up front.\n2. **Your executable is recompiled on your machine.** The bundled ReXGlue codegen turns the game's\n   PowerPC code into C++ (811 source files). Their hashes are checked against the reference build,\n   so every player gets the same code. Then the bundled LLVM\u002Fclang compiles them into a native game\n   library (`gtav_game.dll`, `.so` or `.dylib`). This takes 15-30 minutes once.\n3. **The game runs on our runtime and renderer.** An Xbox 360 runtime (kernel, file system, audio)\n   and a new Vulkan renderer (MoltenVK on Apple devices) that replays the game's draws natively.\n   Game shaders are translated to SPIR-V the first time they are seen.\n4. **Phones are built the same way, on your computer.** iOS and Android can't run a compiler or a\n   shader translator, so your PC or Mac builds the phone's game library and shaders from your\n   installed game (\"Build for iPhone\", \"Build for Android\"). The phone app then installs the game\n   files itself from your discs.\n\nWhat the downloads contain: our launcher and runtime, the renderer, the codegen tool, LLVM clang\nand lld, the shader tools (XenosRecomp, dxc), phone app shells without any game code, and\nreference hashes. Every release is taint-scanned against the game's files and the code generated\nfrom them.\n\n## What you need\n\n- **Your own GTA V for Xbox 360**: Disc 1 (Install) and Disc 2 (Play), as ISO images or extracted\n  folders, and **Title Update 27** (the `tu00000009_00000000` file from your console, or a folder\n  with `disc002\u002Fdefault.xexp` and `disc002\u002Fupdate.rpf`). Other title updates won't work: the\n  recompilation is made for TU27's executable.\n- **A computer** (pick one):\n\n  | | Windows | Linux | macOS |\n  |---|---|---|---|\n  | OS | Windows 10\u002F11 x64 | x86-64 with glibc 2.35 + GCC 13 libstdc++ (Ubuntu 24.04, Debian 13, Fedora 39, Arch...) | macOS 15 or newer |\n  | CPU | AVX2 (Intel Haswell \u002F AMD Zen or newer) | AVX2 | Apple silicon (M1 or newer) |\n  | GPU | Vulkan driver | Vulkan driver + loader | built in (Metal) |\n  | Extra | none (the Visual C++ runtime is included) | a desktop session (X11 or Wayland) | none |\n\n  8 GB RAM or more. About 25 GB free during setup, about 17 GB afterwards. A controller is\n  recommended (Xbox or PlayStation through SDL; Windows: XInput). The keyboard works on Mac and Linux.\n- **For the phones** (optional): see [iPhone](#iphone) and [Android](#android).\n\n## Windows\n\n1. Download `gtav-recomp-windows-x64.zip`, unzip it somewhere with enough space, and run\n   `gtav_launcher.exe`.\n2. Pick **Disc 1**, **Disc 2** and the **title update** (File... or Folder...), then press **Install**.\n3. When setup finishes, press **Play**.\n\nLater: running `gtav_launcher.exe` starts the game directly. Hold **Shift** while starting it to\nget the setup window (redo setup, or **Build for iPhone** \u002F **Build for Android**). Logs: `data\\logs`.\n\n## Linux\n\n1. Download `gtav-recomp-linux-x64.tar.gz` and unpack it: `tar xf gtav-recomp-linux-x64.tar.gz`.\n2. Open `gtav_launcher` (double-click it, or run `.\u002Fgtav_launcher`). The setup window opens: choose\n   Disc 1, Disc 2 and the title update, then press **Install**. (Without a desktop, setup runs in the\n   terminal: `.\u002Fgtav_launcher --setup \"Disc 1.iso\" \"Disc 2.iso\" tu00000009_00000000`.)\n3. Press **Play**. Setup also adds \"GTA V recomp\" to your applications menu.\n\nLater: the menu entry or `.\u002Fgtav_launcher` starts the game. `.\u002Fgtav_launcher --setup` (or the menu\nentry's \"Run setup again\") opens the setup window with the phone buttons. Logs: `data\u002Flogs`.\n\n## macOS\n\n1. Download `gtav-recomp-macos-arm64.zip`, unzip it, and move `GTAV.app` to Applications.\n2. The app is not notarized, so open it once, then go to System Settings > Privacy & Security >\n   **Open Anyway** (or run `xattr -dr com.apple.quarantine \u002FApplications\u002FGTAV.app`).\n3. Choose Disc 1, Disc 2, the title update and a game folder (default\n   `~\u002FLibrary\u002FApplication Support\u002FGTAV Recomp`), then press **Install**, then **Play**.\n\nLater: opening `GTAV.app` starts the game. Hold **Option** while opening it to get the setup window\nwith **Build for iPhone** \u002F **Build for Android**. Esc in game opens the settings menu.\n\n## iPhone\n\nNeeds an **iPhone 12 or newer** (A14 chip or later) on **iOS 17+**, about **17 GB** free, and a\nsideloading tool that signs apps with your own Apple ID:\n[Sideloadly](https:\u002F\u002Fsideloadly.io) (Windows, macOS) or [AltStore](https:\u002F\u002Faltstore.io).\nA free Apple ID works, but the app has to be re-signed every 7 days.\n\n1. **Install and play the game on your computer first, for a while.** The phone gets the shaders your\n   computer has seen, so drive around and go inside some buildings.\n2. **Build for iPhone.** Open the setup window (Windows: hold Shift starting the launcher; macOS:\n   hold Option opening the app; Linux: `.\u002Fgtav_launcher --setup`) and press **Build for iPhone**\n   (or run the launcher with `--iphone`). It takes about 15-25 minutes and shows you\n   `iphone\u002FGTAV.ipa` in your game folder.\n3. **Install the ipa** with Sideloadly or AltStore, with the iPhone connected.\n4. **Put your discs on the phone.** Copy your Disc 1 ISO, Disc 2 ISO and the TU file\n   (`tu00000009_00000000`) into GTA V's folder on the phone: Finder > your iPhone > Files > GTA V on\n   a Mac, Apple Devices or iTunes > File Sharing on Windows, or the Files app. You can also keep\n   them on a USB drive plugged into the phone.\n5. **Open GTA V on the phone.** Its setup screen finds the files, copies and checks about 16 GB (a\n   couple of minutes), offers to delete the disc images, and starts the game.\n\nControls: on-screen touch controls; a Bluetooth controller hides them. The game renders at 75% of\n720p. **Missing objects?** Copy the phone's `GTA V\u002Fshader_cache` folder to `iphone\u002Fshader_cache` in\nyour game folder, press Build for iPhone again (a few minutes) and reinstall the ipa. Your game files\non the phone stay.\n\n## Android\n\nNeeds a recent **Snapdragon** phone (tested: Galaxy S23 FE, Snapdragon 8 Gen 1) with about 40 GB\nfree during setup.\n\n1. **Install and play the game on your computer first, for a while** (as for iPhone).\n2. **Build for Android** in the setup window (or `--android`). You get\n   `android\u002Fgtav-android-pack.zip` (your game code + shaders) and `android\u002FGTAV.apk` (the app; no\n   game inside).\n3. **Copy both files and your Disc 1 ISO, Disc 2 ISO and TU file** to the phone (for example its\n   Download folder).\n4. **Install `GTAV.apk`** on the phone (allow installing apps from that source).\n5. **Open GTA V**, choose the pack and the three disc files, and press **Install**. It copies and\n   checks about 16 GB, then starts. You can delete the disc images and the pack afterwards.\n\n**Missing objects?** Copy the phone's `Android\u002Fdata\u002Fcom.gtavrecomp.app\u002Ffiles\u002Fshader_cache` folder to\n`android\u002Fshader_cache` in your game folder, press Build for Android again, and choose the new pack on\nthe phone.\n\n## Performance\n\nRough numbers measured during development; your hardware will differ.\n\n| Device | Typical |\n|---|---|\n| Apple M1 Mac (8 GB) | ~45-60 fps in the open world |\n| iPhone 13 mini | ~30 fps in the city and the prologue, ~20 fps in the heaviest scenes; slower when the phone is hot |\n| Galaxy S23 FE | ~28-29 fps cool, 14-17 fps when thermally throttled (on the charger) |\n\nPhones get faster after the first session: compiled pipelines are cached, so a new effect stutters\nonly the first time it appears. Phones throttle when hot: play unplugged, or out of a case.\n\n## Troubleshooting\n\n- **Setup says files differ from a known good dump**: your ISO or TU is damaged or modified.\n  Re-dump it. The title update must be TU27.\n- **Missing objects (holes, invisible things) right after starting**: shaders are being translated.\n  On a computer this fixes itself within minutes. On a phone, use the shader_cache round trip above.\n- **iPhone app expired**: re-sign it with Sideloadly or AltStore (free Apple IDs: every 7 days). Your\n  game files stay.\n- **iPhone app closes on its own**: the phone ran out of memory. Close other apps, and restart the\n  phone if you've been using it heavily. The game needs about 1.5-1.7 GB.\n- **Logs**: `data\u002Flogs` in the game folder (`gtav.log`, `install.log`, `iphone_unattended.txt`...),\n  and on the phone in the app's `logs` folder. Please attach them when you report a problem.\n\n## Building from source\n\nThe release is built from this repository plus three upstream trees with our patches:\n`rexglue-sdk-gtav-linux.patch` (ReXGlue SDK v0.10.0, all platforms), `xenosrecomp-gtav.patch`\n(XenosRecomp), `plume-gtav.patch` (plume). Each release attaches a source archive with everything at\nthe exact commits used. Platform notes:\n\n- Release process, clean-room rules and taint scanning: [`docs\u002FRELEASE_CLEANROOM.md`](docs\u002FRELEASE_CLEANROOM.md)\n- iPhone port (build, deploy, performance, release layout): [`docs\u002FIOS_PORT.md`](docs\u002FIOS_PORT.md)\n- Android port: [`docs\u002FANDROID_STATUS.md`](docs\u002FANDROID_STATUS.md)\n- Phone builds from any PC: [`docs\u002FHANDOFF_ANDROID_PC_BUILD.md`](docs\u002FHANDOFF_ANDROID_PC_BUILD.md),\n  [`docs\u002FHANDOFF_WINDOWS_PHONES.md`](docs\u002FHANDOFF_WINDOWS_PHONES.md)\n- ARM64 \u002F Apple notes: [`docs\u002FARM64_NOTES_FOR_ANDROID.md`](docs\u002FARM64_NOTES_FOR_ANDROID.md)\n\nRelease scripts: `tools\u002Frelease\u002Fbuild_release_macos.sh` (+ `IOS_SHELL=1` for the iPhone shell),\n`tools\u002Frelease\u002Fmake_release.py` (Windows), `tools\u002Frelease\u002Fmake_release_linux.py`; phone shells:\n`tools\u002Fios\u002Fmake_shell.sh`, `tools\u002Fandroid\u002Fmake_shell.sh`.\n\n## Repository layout\n\n- `gtav\u002F`: the game project: CMake, manifest of entry points, `src\u002F` hooks, fixes and the native\n  renderer (`src\u002Fnative\u002F`), iPhone setup screen (`src\u002Fios_setup.mm`), Android shim and setup\n- `gtav\u002Ffs\u002F`: freestanding headers the game library is compiled with (no OS or compiler SDK headers)\n- `loader\u002F`: the launcher and installer (`install.cpp` is shared by all platforms, including the\n  phone builds), `main.cpp` (Windows), `main_linux.cpp` (GTK\u002Fterminal), `main_mac.mm` (AppKit)\n- `tools\u002Fgame_dll\u002F`: interface generation, the reference hashes' sources, dev builds of the game library\n- `tools\u002Fios\u002F`, `tools\u002Fandroid\u002F`: phone builds, shells, shader tools, deploy scripts\n- `tools\u002Frelease\u002F`: release packaging, taint scanning, READMEs shipped in the packages\n- `scripts\u002F`: manifest derivation, XEX \u002F STFS \u002F ISO extraction\n- `docs\u002F`: status, handoffs and process documents\n\n## Keeping it clean: rules for forks and downstream releases\n\nThis project only works because it **never distributes Rockstar Games' or Microsoft's work**. The\ndownloads contain our launcher, runtime, renderer and tools, and nothing from the game. Every player\nrecompiles their own copy from their own discs. If you fork this repository, mirror the releases,\npackage it for a store or distro, or share builds with friends, the same rules apply to you.\n\n### Never distribute any of these\n\n| What | Why it is Rockstar's \u002F Microsoft's |\n|---|---|\n| Disc images (ISO), extracted disc folders, `default.xex` \u002F `default.xexp`, `.rpf` archives, install packages | the game itself |\n| Title updates (`tu00000009_00000000`, `update.rpf`), or links to sites that host them | the game's executable and data |\n| Extracted assets: models, textures, audio, maps, scripts, text | the game's data |\n| **The generated C++** (the 811 files the codegen writes) | a mechanical translation of the game's code is still the game's code |\n| **Compiled game libraries**: `gtav_game.dll`, `gtav_game.so`, `gtav_game.dylib`, `libgtav_game.so`, or any exe or app with the game linked in | compiled game code |\n| **Game shaders in any form**: the originals, HLSL, SPIR-V (`data\u002Fspirv`), Metal, pipeline caches, a phone's `shader_cache` | translated game code |\n| **A `GTAV.ipa` or Android pack made by Build for iPhone \u002F Android** | they contain your compiled game library and shaders |\n| Your game folder (`data\u002F`), saves, memory dumps, GPU captures, traces, and logs that contain game memory | game data |\n\nOnly the \"empty\" shells may be shared: the release packages, the iPhone shell (`ios\u002F`) and the\nAndroid APK as they ship. They contain no game code, and they are useless without a game the player\nbuilds from their own discs.\n\n### Rules for working on the code\n\n- **Never use the leaked Rockstar source code**, not even for names, comments or structure. Work only\n  from your own analysis of your own copy of the game.\n- Don't commit anything game-derived, even temporarily. Git history is permanent, and a deleted\n  file stays downloadable from old commits.\n- Function addresses, sizes and hook names (our manifest, the codegen partition, `expected.txt`\n  hashes) are our own analysis and are fine. Code copied from the game is not, including code\n  pasted from a disassembly or from the generated C++.\n\n### Before you publish anything\n\n1. Build the release from a clean checkout with the release scripts in `tools\u002Frelease\u002F`.\n2. Run the taint scan on the finished package: `tools\u002Frelease\u002Fscan_release.sh` (Linux),\n   `tools\u002Frelease\u002Fscan_release_macos.sh` (macOS) or `tools\\release\\scan_release.cmd` (Windows).\n   It checks the package byte for byte against the generated code, a compiled game library and\n   the game's shaders, and it must pass. Explain any match it reports, as our release notes do.\n3. Unpack your own download and look at what is in it before you share the link.\n\nThe process is described in [`docs\u002FRELEASE_CLEANROOM.md`](docs\u002FRELEASE_CLEANROOM.md).\n\n### Why this matters\n\n- **The GPL can't help you here.** The GNU GPL covers *our* code, and you may share and modify that\n  freely under its terms. It gives no rights to Rockstar's or Microsoft's work, because nobody here\n  owns them. Sharing a build with the game inside is copyright infringement by whoever shares it,\n  whatever license file sits next to it.\n- **Recompiling isn't a clean room.** The output of the recompiler is the game's code in another\n  form. It is legal for you to make it from a copy you own. It isn't legal to hand it to someone else.\n- **One bad mirror can end the project for everyone.** A takedown aimed at a build with game content\n  can take this repository with it.\n\nIf you find game content in this repository, in a release, or in a fork that links here, please open\nan issue (without attaching the content) so it can be removed.\n\n## License and legal\n\nThis project is free software under the **GNU GPL, version 3 or later** (`LICENSE`). Bundled\nthird-party components keep their own licenses; every package carries them in `LICENSES\u002F`, and each\nrelease attaches the complete corresponding source.\n\nNo Rockstar Games or Microsoft code, data, shaders or title-update files are in this repository or\nin any release, and the project never used leaked source code. What you make from your own discs is\nfor you alone: don't share your game folder, your `GTAV.ipa` or your Android pack (see\n[Keeping it clean](#keeping-it-clean-rules-for-forks-and-downstream-releases)). The GPL applies\nto this project's own code only; it grants no rights to Rockstar Games' or Microsoft's work.\n\nGrand Theft Auto V is a trademark of Take-Two Interactive Software. This project is not affiliated\nwith or endorsed by Rockstar Games, Take-Two Interactive, Microsoft, Apple or Google.\n","这是一个将《GTA V》Xbox 360版（TU27）PowerPC可执行文件静态重编译为跨平台原生代码的技术项目。核心功能包括：基于ReXGlue SDK对原始游戏二进制进行静态反汇编与C++代码生成，再通过LLVM编译为Windows\u002FLinux\u002FmacOS\u002FiOS\u002FAndroid原生库；配套自研Xbox 360运行时环境与Vulkan（MoltenVK）渲染器，支持动态着色器SPIR-V翻译。项目不包含任何游戏资源，需用户自行提供合法ISO及更新包，在本地完成全部转换与构建。适用于希望在非Xbox平台（尤其是移动设备）运行原版Xbox 360《GTA V》的合规技术验证与个人使用场景。",2,"2026-11-24 04:32:46","CREATED_QUERY"]