# Liberty Pro Max **Grand Theft Auto IV (PC 1.0.8.0) running natively on Apple silicon Macs and iPads, and experimentally on the iPhone and Apple TV.** The game's own x86 code is statically recompiled with [x86recomp](https://github.com/JTM-rootstorm/x86recomp) to C++ and built for Apple silicon: no Wine, no emulation, no virtual machine. Only the platform underneath is new: a Metal renderer, a real-time audio mixer, a launcher with all of the port's options, Game Mode and ultrawide screens on the Mac. > **This repository contains no part of the game.** You build it on your own > Mac from your own copy of GTA IV, for the Mac and, if you like, your iPad, > iPhone or Apple TV. **Beta.** The story can be played from a save and around the city on the Mac and the iPad; the iPhone and the Apple TV are experimental. Expect rough edges, and please report what you find in the [issues](https://github.com/Awis13/liberty-pro-max/issues). ## Quick start The Builder includes 7-Zip and can install Apple's Command Line Tools from its window. Homebrew and Terminal are optional. 1. Download **Liberty Pro Max Builder** from the [releases](https://github.com/Awis13/liberty-pro-max/releases) and open it. It is not signed by Apple: the first time, go to System Settings, Privacy & Security, and press **Open Anyway**. 2. Drop your GTA IV folder or `GTAIV.exe` on the Builder. For the Complete Edition, follow the [Patch 8 steps](docs/install-mac.md#complete-edition-with-the-builder). Install Apple's Command Line Tools if the Builder asks. 3. To restore the radio, select the [optional radio settings](docs/install-mac.md#restore-the-radio) in the Builder. 4. Click **Build Liberty Pro Max**. The app goes in Applications after about 5 to 20 minutes. 5. Open Liberty Pro Max and click **Play**. For the iPad, the iPhone and the Apple TV, see [Install](#install). ## What you get | | Mac | iPad and iPhone | |---|---|---| | **Renderer** | Metal, written for this port: drawing encoded on its own thread, geometry read in place from the game's memory, several frames in flight | the same | | **Frame rate** | about 125 fps indoors, 60–100 fps outdoors at 3440×1440, maximum settings, M3 Pro; no frame rate cap unless you set the launcher's frame limit (30, 60 or 120 fps) | 60 fps indoors, 45–60 outdoors at 1792×1344, iPad Air (M4) | | **Anti-aliasing** | TAA (default), SMAA, MetalFX temporal and SMAA + MetalFX spatial upscaling; TAA and MetalFX sharpened (AMD RCAS, off to high) | SMAA (default), TAA (sharpened as on the Mac) | | **Ray tracing** (experimental) | off by default; on Macs with an M3 or newer: shadows from the sun, street lamps and headlights traced by the GPU, reflections on car paint, glass and wet streets, the sun's light bounced once, fog in the low sun; about 40 fps in the city at 3440×1440 on an M3 Pro | not available | | **Screens** | any resolution, ultrawide included, field of view, full screen as a macOS Space with Game Mode | 1536×1152 to 2732×2048 (iPhone: half to all of its own screen), field of view | | **Launcher** | a window with all options before the game | a settings screen with all options and **Play** | | **Language** | same as the system, English, French, German, Italian, Spanish, or Russian | the same | | **Fixes built in** | about 100 fixes (high frame rate physics, cameras, timers, lights, mirrors, water), each a switch in the launcher | the same | | **Extras** | the launcher's Extras tab, off until you turn them on: the episodes (their radio songs kept to their own episode, on), turn indicators, pad icons, DualSense triggers and light bar, Spatial Audio (on), phone cheats, full damage, local achievements | the same, in the settings screen's Extras section, but Spatial Audio | | **More options** | stun punch and executions on anyone, fast loading, continuing the last save, a mods folder, saves shared through iCloud Drive | the same | | **Controls** | keyboard and mouse, controllers | touch controls, controllers, keyboard | The iPad's build also runs on an iPhone (experimental): the same, at the phone's own wide resolutions, played with a controller or a keyboard (the iPad's touch controls are there too, but small on a phone). ## What you need - **Your own GTA IV for PC.** Use the folder with `GTAIV.exe`, `pc/` and `common/`. The Complete Edition also has `TLAD/` and `TBoGT/`. Liberty Pro Max compiles Rockstar's signed `GTAIV.exe` version 1.0.8.0. Check its SHA-256 against `3d90e7c516fa450ca002e5031e62c0f66b404590f33e6cc9793b0da4fffbfd0f`. If you own the game on Steam, you can download this version from your own account with [DepotDownloader](https://github.com/SteamRE/DepotDownloader) (`brew tap steamre/tools && brew install depotdownloader`): ```sh depotdownloader -app 12210 -depot 12211 -manifest 4406763129603688303 \ -username -dir GTAIV-1.0.8.0 shasum -a 256 GTAIV-1.0.8.0/GTAIV/GTAIV.exe # must match the SHA-256 above ``` - **A Mac with Apple silicon** (M1 or newer), macOS 15 or newer, with **Apple's Command Line Tools** and about 6 GB free for the build. The Mac builds every version. The [Terminal build](docs/install-mac.md#mac-from-the-terminal) uses Homebrew. - **For the iPad**, also: - an iPad with an M-series chip, iPadOS 17 or newer, in Developer Mode and connected to the Mac by cable, with about 16 GB free; - full **Xcode** with a **paid Apple developer account** signed in (Xcode › Settings › Accounts): the app needs the *Extended Virtual Addressing* and *Increased Memory Limit* capabilities, which free accounts do not have; - a controller or a keyboard. - **For the iPhone** (experimental): an iPhone with iOS 17 or newer, in Developer Mode and connected to the Mac by cable, with about 16 GB free; the same Xcode and paid account; a controller or a keyboard. Which iPhones have the memory for the game is not known yet. - **For the Apple TV** (experimental): an Apple TV 4K (3rd generation, A15) with tvOS 17 or newer, paired with Xcode (Window › Devices and Simulators) and in Developer Mode, on Ethernet (the game's 15 GB go over the network), about 16 GB free; the same paid account; a controller. ## Install - **Mac:** see [Quick start](#quick-start); the Complete Edition, restoring the radio and building from the Terminal are in [docs/install-mac.md](docs/install-mac.md). - **iPad, iPhone and Apple TV:** [docs/install-devices.md](docs/install-devices.md). ## More - [Using it](docs/using.md): saves, the episodes, the game's language, your own music, mods, and what to do if something goes wrong. - [Fixes and options](docs/fixes-and-options.md): everything the launcher can switch. - [Known issues](docs/known-issues.md). - [Building by hand and how it works](docs/building.md). ## Credits - [x86recomp](https://github.com/JTM-rootstorm/x86recomp), the static recompiler this port is built on. - [FusionFix](https://github.com/ThirteenAG/GTAIV.EFLC.FusionFix) by ThirteenAG and contributors, and ZolikaPatch by Zolika1351: the fixes ported here follow theirs. - [WidescreenFixesPack](https://github.com/ThirteenAG/WidescreenFixesPack) by ThirteenAG (the ultrawide fix). - XLivelessAddon and the GTA modding community, for how the PC version's launcher checks work. Grand Theft Auto IV is a trademark of Take-Two Interactive Software. This project is not affiliated with or endorsed by Rockstar Games or Take-Two. **Rights holders:** to have anything here taken down, open an [issue](https://github.com/Awis13/liberty-pro-max/issues) in this repository. It will be taken down on request, without dispute. ## License GPL-3.0 (see `LICENSE`), as several fixes follow FusionFix's code.