[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-115097":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":13,"stars7d":16,"stars30d":16,"stars90d":15,"forks30d":15,"starsTrendScore":17,"compositeScore":18,"rankGlobal":9,"rankLanguage":9,"license":19,"archived":20,"fork":20,"defaultBranch":21,"hasWiki":20,"hasPages":20,"topics":22,"createdAt":9,"pushedAt":33,"updatedAt":34,"readmeContent":35,"aiSummary":36,"trendingCount":15,"starSnapshotCount":15,"syncStatus":37,"lastSyncTime":38,"discoverSource":39},115097,"gt5-recomp","MormonFTP-hub\u002Fgt5-recomp","MormonFTP-hub","Unofficial PC port of Gran Turismo 5 on ps3recomp. Needs your own GT5 disc, EBOOT v1.00, no update: Europe BCES00569 (tested) or US BCUS98114 (untested). Code and tools only: no game files, keys or firmware.",null,"C",80,4,3,20,0,17,12,58.3,"MIT License",false,"main",[23,24,25,26,27,28,29,30,31,32],"directx12","gran-turismo","gran-turismo-5","modding","ps3","ps3recomp","racing-game","recompilation","reverse-engineering","static-recompilation","2026-11-23 18:41:37","2026-11-23 20:19:43","\u003Cp align=\"center\">\n  \u003Cimg src=\"docs\u002Fbanner.png\" alt=\"GT5 Recomp: Gran Turismo 5, PS3 to PC static recompilation\" width=\"100%\">\n\u003C\u002Fp>\n\n\u003Cp align=\"center\">\n  \u003Ca href=\"https:\u002F\u002Fgithub.com\u002FMormonFTP-hub\u002Fgt5-recomp\u002Freleases\">\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Fv\u002Frelease\u002FMormonFTP-hub\u002Fgt5-recomp?style=for-the-badge&color=34C759&label=version\" alt=\"Newest version\">\u003C\u002Fa>\n  \u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FEurope_BCES00569-tested-2E8BFF?style=for-the-badge\" alt=\"Europe BCES00569: tested\">\n  \u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FUS_BCUS98114-works_(players)-2E8BFF?style=for-the-badge\" alt=\"US BCUS98114: works, run by players\">\n  \u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FWindows_x64-Direct3D_12-5CC8FF?style=for-the-badge\" alt=\"Windows x64, Direct3D 12\">\n  \u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FLinux_x64-Vulkan_(early)-5CC8FF?style=for-the-badge\" alt=\"Linux x64, Vulkan (early)\">\n  \u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Flicense-MIT-E8312F?style=for-the-badge\" alt=\"MIT license\">\n  \u003Ca href=\"https:\u002F\u002Fdiscord.gg\u002F9cVPS7r5Ha\">\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FDiscord-join_the_Workshop-5865F2?style=for-the-badge&logo=discord&logoColor=white\" alt=\"Discord: join the Workshop\">\u003C\u002Fa>\n\u003C\u002Fp>\n\u003Cp align=\"center\">\n  \u003Ca href=\"https:\u002F\u002Fdiscord.gg\u002F9cVPS7r5Ha\">\u003Cb>💬 Discord\u003C\u002Fb>\u003C\u002Fa> ·\n  \u003Ca href=\"#install\">\u003Cb>Install\u003C\u002Fb>\u003C\u002Fa> ·\n  \u003Ca href=\"#launcher\">\u003Cb>Launcher\u003C\u002Fb>\u003C\u002Fa> ·\n  \u003Ca href=\"#updating\">\u003Cb>Updating\u003C\u002Fb>\u003C\u002Fa> ·\n  \u003Ca href=\"VERSIONS.md\">\u003Cb>Version history\u003C\u002Fb>\u003C\u002Fa> ·\n  \u003Ca href=\"CHANGELOG.md\">\u003Cb>Changelog\u003C\u002Fb>\u003C\u002Fa> ·\n  \u003Ca href=\"STATUS.md\">\u003Cb>Status\u003C\u002Fb>\u003C\u002Fa> ·\n  \u003Ca href=\"#faq\">\u003Cb>FAQ\u003C\u002Fb>\u003C\u002Fa> ·\n  \u003Ca href=\"MODDING.md\">\u003Cb>Modding\u003C\u002Fb>\u003C\u002Fa> ·\n  \u003Ca href=\"CONTRIBUTING.md\">\u003Cb>Contributing\u003C\u002Fb>\u003C\u002Fa> ·\n  \u003Ca href=\"LICENSE\">\u003Cb>License\u003C\u002Fb>\u003C\u002Fa>\n\u003C\u002Fp>\n\u003Cp align=\"center\">\n  \u003Ca href=\"https:\u002F\u002Fdiscord.gg\u002F9cVPS7r5Ha\">\u003Cimg src=\"docs\u002Fdiscord.png\" width=\"100%\" alt=\"Join MormonFTP's Workshop on Discord: install help, test reports, new releases and racing talk\">\u003C\u002Fa>\n\u003C\u002Fp>\n\n# GT5 Recomp\n\nAn unofficial PC port of **Gran Turismo 5** (PS3) made by static recompilation: the game's\nPowerPC and SPU code is translated into C++ that is compiled for Windows x64, and the PS3's graphics,\nsound, input and system calls are reimplemented on Windows (Direct3D 12 for the RSX). A native\n[Linux build](#linux) (Vulkan) is new and early.\n\nIt is built on [ps3recomp](https:\u002F\u002Fgithub.com\u002Fsp00nznet\u002Fps3recomp) and borrows from the\n[GT5 Prologue port](https:\u002F\u002Fgithub.com\u002Fsp00nznet\u002FGT5P), both by Ned Heller (sp00nznet).\n\n> **Game version required:** your own **Gran Turismo 5** Blu-ray disc, using the disc's own\n> executable (version **01.00**, with **no game update** installed):\n>\n> - **Europe, BCES00569**: tested. This is the copy the port was built from.\n> - **North America, BCUS98114**: works; players have raced on it (thanks!). The lift finds the few addresses\n>   that differ between releases in your own executable.\n>\n> See [Which copy of GT5](#which-copy-of-gt5) for how to check your files.\n\n## 📑 Contents\n\n| 🚀 Getting started | 📈 How it's going | 🛠️ Setting up by hand | 📚 About the project |\n|---|---|---|---|\n| [Install](#install) | [Current state](#current-state) | [Requirements](#requirements) | [What this repository contains](#repo-contents) |\n| [The launcher](#launcher) | [Try it, tell me how it went](#feedback) | [Which copy of GT5](#which-copy-of-gt5) | [Fork it, mod it](#modding) |\n| [Updating](#updating) | [FAQ](#faq) | [Setup](#setup) | [Credits](#credits) |\n| [Controls](#controls) | | [Switches](#switches) | [License](#license) |\n| [Linux](#linux) | | | |\n\n**More pages:** [Version history](VERSIONS.md) · [Changelog](CHANGELOG.md) · [Status board](STATUS.md) · [Modding guide](MODDING.md) · [Contributing](CONTRIBUTING.md) · [License](LICENSE)\n\n\u003Ca id=\"install\">\u003C\u002Fa>\n\n## ⬇️ Install\n\n**The easy way, on Windows 10 or 11:**\n\n1. Download **[GT5-Installer.bat](https:\u002F\u002Fgithub.com\u002FMormonFTP-hub\u002Fgt5-recomp\u002Freleases\u002Flatest\u002Fdownload\u002FGT5-Installer.bat)**\n   and double-click it. If Windows warns about a downloaded file, choose **Run** (or **More info**, then\n   **Run anyway**).\n2. In its window, pick two things and press **Install**:\n   - **your GT5 game**: the folder of your disc dump (the one with `PS3_GAME` in it) or an `.iso`;\n   - **PS3UPDAT.PUP**, Sony's free PS3 system software (the window has a button that opens Sony's page).\n\nThat's all, and it all happens in that one window: the steps, a progress bar, and what went wrong if\nsomething does. Nothing is installed into Windows. It downloads this code and, into the install folder,\nits own copies of Git (38 MB, only when the PC has none), Python (17 MB) and the compiler tools\n(about 1.5 GB, into the install folder: **no Visual Studio is installed or changed**), unlocks your game's executable and the system software (with the port's own small tool; RPCS3 is fetched\nonly if that fails, as a tool:\nthe game itself runs natively as `gt5.exe`, not in an emulator), builds the game (about an hour the\nfirst time) with both renderers (DirectX 12 and Vulkan), adds AMD FSR 3 frame generation and, on a PC with\nan NVIDIA RTX card, NVIDIA DLSS, and puts **Gran Turismo 5 (PC)** on your desktop, which opens the\n[launcher](#launcher). Nothing from the game is ever uploaded or shared. Some of what it downloads comes\nunder another company's licence (Microsoft's C++ libraries in the compiler tools, when it fetches those;\nNVIDIA DLSS): the line by the **Install** button names them, with links, and pressing Install accepts them.\n\nRather do it by hand? See [Setup](#setup). On Linux? See [Linux](#linux).\n\n\u003Ca id=\"launcher\">\u003C\u002Fa>\n\n## 🎛️ The launcher\n\n\u003Cp align=\"center\">\n  \u003Cimg src=\"docs\u002Flauncher.png\" alt=\"The GT5 launcher: Display settings, with a big Play button\" width=\"80%\">\n\u003C\u002Fp>\n\n**Gran Turismo 5 (PC)** on your desktop (or `GT5Launcher.exe` in your `gt5-recomp` folder) opens the\nlauncher: every setting in one window, then **Play**. No more editing `play.bat`.\n\n- **Display:** the renderer, resolution, anti-aliasing (NVIDIA DLSS, on an RTX card), shadows, frame\n  generation, **borderless full screen** (the default), a maximized window or a window size, screen shape\n  (ultrawide) and the frame rate (60 or 30 fps). The rows say what the game's own menu says; a row that\n  means nothing with another setting's value is left out, as in the game (no Multiplier while frame\n  generation is off), and with Vulkan chosen the rows it can't do yet are greyed.\n- **Controls:** the controller's triggers (throttle and brake, or as on a PS3 pad), steering wheel on\u002Foff,\n  wheel rotation, force feedback strength and direction, pad in the background, mouse clipping,\n  [mouse steering](#mouse-steering), keyboard keys.\n- **Game:** the [cockpit view](#cockpit-view) (field of view, seat position), the game's language (as far as\n  your disc has it), the volume and muting in the background, your mods from `GT5\\mods`, the launcher's\n  own language (English or 中文).\n\nThe game's own settings menu (**F1** in the game, or **Select + Start** held on a controller) has the same\nsettings and writes the same file; the launcher reads it again when the game ends.\n- **Updates:** shows your version and the newest one with what's new, and **Update now** does the\n  whole update for you in its own window (your newest Photo Mode pictures behind it, a car on the\n  progress bar, **Details** for the full text) and opens the launcher again.\n- **Help:** **Save logs for a report** puts your logs on the desktop as `.txt` files GitHub accepts,\n  plus the logs folder, the problem form, this FAQ and **Clear the shader cache** (also\n  `ClearShaders.bat` in the install folder; see the FAQ).\n\nIt's built on your PC from [`launcher\u002FGT5Launcher.cs`](launcher\u002FGT5Launcher.cs) with the C# compiler that\ncomes with Windows, every time the game is built, so it updates with the game; its picture is the logo\nfrom your own disc. Settings are saved in `GT5\\settings.bat`, which `play.bat` reads, so `play.bat`\nstill works and starts the game the same way. (`GT5Launcher.exe --play` starts the game straight away.)\n\n\u003Ca id=\"updating\">\u003C\u002Fa>\n\n## 🔄 Updating\n\nEvery change to the port comes out as a numbered version (v0.1.0, v0.1.1, ...) on the\n[Releases page](https:\u002F\u002Fgithub.com\u002FMormonFTP-hub\u002Fgt5-recomp\u002Freleases), with what changed. To hear\nabout new ones, click **Watch** at the top of this page, then **Custom** and tick **Releases**.\n\n### The easy way\n\n- **The launcher** checks for a new version when it opens: its **Updates** page shows what's new, and\n  **Update now** does everything below in an update window and opens the launcher again. If the update\n  stops, the window shows why and keeps the full text in `GT5\\logs\\update.log` for a report.\n- Or **double-click `Update.bat`** in your `gt5-recomp` folder.\n\nBoth run `update.ps1`, so everything below applies. (No launcher or `Update.bat` yet? Your next update\nbrings them: run the command below once.)\n\n### Are you out of date?\n\nClose the game, open PowerShell in your `gt5-recomp` folder and run:\n\n```\npowershell -ExecutionPolicy Bypass -File update.ps1 -List\n```\n\nIt lists every version and marks the one you have (`\u003C- installed`) and the newest (`[newest]`).\nIf they're different, you're out of date.\n\n### Update to the newest version\n\n```\npowershell -ExecutionPolicy Bypass -File update.ps1\n```\n\nThat one command does everything:\n\n1. It downloads the new version.\n2. It swaps the old ps3recomp patch for the new one.\n3. It re-generates the game code only if that version needs it (about 10 minutes).\n4. It rebuilds only what changed.\n\nKept as they are:\n- your saves (`GT5\\gamedata`), a game update's data (`GT5\\hdd0`) and game files (`GT5\\input`, `GT5\\vfs`, `GT5\\dev_flash`);\n- the shader cache;\n- edits you made to files such as `play.bat`.\n\nThe previous `gt5.exe` is kept as `GT5\\build\\gt5.previous.exe`. If one of your edits clashes with a\nchange in the new version, the new version's file is used and your edit is saved in `backups\\` so\nyou can copy it back.\n\n**If you're several versions behind,** run the same command. It goes straight to the newest version;\nthere's no need to step through the ones in between.\n\n### Installed before update.ps1 existed?\n\nIf your folder has no `update.ps1` (you set up before v0.1.0), get it first, then update:\n\n```\ngit pull\npowershell -ExecutionPolicy Bypass -File update.ps1\n```\n\nIf `git pull` says your local changes would be overwritten (usually `play.bat`), run `git stash`,\nthen `git pull`, then `git stash pop`, then the update. Your first update re-generates the game code\nonce (about 10 minutes), because older installs have no record of what their code was made from.\n\n### Downloaded the ZIP instead of cloning?\n\nA ZIP download can't update itself. Clone the repository fresh as in [Setup](#setup), step 1. Then\nmove these folders over from your old copy and run `update.ps1`:\n- your game files: `GT5\\input`, `GT5\\vfs`, `GT5\\dev_flash`;\n- your saves: `GT5\\gamedata` (and `GT5\\hdd0`, if you set up a game update).\n\n### Go back to an older version\n\nIf a new version gives you trouble, switch back to the one that worked (see `-List` for the names):\n\n```\npowershell -ExecutionPolicy Bypass -File update.ps1 -Version v0.1.0\n```\n\nTo play the previous build right away instead, copy `GT5\\build\\gt5.previous.exe` over\n`GT5\\build\\gt5.exe` (the last update kept it). Please also\n[report what went wrong](https:\u002F\u002Fgithub.com\u002FMormonFTP-hub\u002Fgt5-recomp\u002Fissues\u002Fnew?template=2-problem.yml).\n\n### Other options\n\n| Command | What it does |\n|---|---|\n| `update.ps1 -Dev` | The newest changes, before they're released. |\n| `update.ps1 -NoBuild` | Switch versions without building; build later with `GT5\\scripts\\build.cmd gt5`. |\n| `update.ps1 -Force` | Re-generate and rebuild everything, even when nothing changed. |\n\n\u003Ca id=\"controls\">\u003C\u002Fa>\n\n## 🎮 Controls\n\nA DualSense, DualShock 4 or XInput pad works, and so does the keyboard, with a pad connected or without one.\n\n**On a pad, while you drive** (new): the right trigger is the throttle and the left the brake, both\nby how far you pull them; the bumpers shift up and down; the left stick press looks back and the right\none works the lights. The face buttons still accelerate (✕ \u002F A) and brake (□ \u002F X) fully. It follows\nthe buttons you set in the game's own options (with throttle on R2 there, R2 stays the throttle). At\nthe menus, in replays and in the in-game menu the pad is laid out as a PS3 pad. The in-game menu's\nControls page has **Triggers**: *As on a PS3 pad* puts everything back (R2 \u002F L2 shift, ✕ \u002F □ on and\noff). Every pad gets the same small round dead zone on its sticks.\n\n**Keyboard**: Z = Cross, X = Circle, A = Square, S = Triangle, arrow keys = D-pad, Enter = Start, Tab = Select.\nAn arrow-key tap moves one place in the menus, and in a race Left\u002FRight steer as the D-pad does on a PS3\npad, eased in by the game (`PS3_KEYS_ARROWS` under [Switches](#switches) has the other ways).\nEsc quits the game, after asking (`set \"PS3_ESC_CONFIRM=0\"` in `play.bat` quits at once).\n\n\u003Ca id=\"keyboard-keys\">\u003C\u002Fa>\n\n**Your own keys** (new): the launcher's Controls page has a **Keyboard keys** list, one row per PS3\nbutton, labelled with what that button does in GT5. Click a row and press the key you want (Esc\ncancels); right-click a row to give it a second key, **×** to clear it, **Reset to defaults** to start\nover. A key that's already used moves to the row you picked. Or put it in `GT5\\settings.bat` (or\n`play.bat`) yourself, `button:key` pairs split by commas:\n\n```bat\nset \"PS3_KEYS=cross:W,square:Space,l2:Q,r2:E,circle:LAlt\"\n```\n\nThat one is W = accelerate, Space = brake, Q \u002F E = shift down \u002F up, Left Alt = handbrake. A bound\nbutton takes only its new keys, and a key you bind stops doing its old job (above, W no longer works\nthe headlights and Z no longer accelerates). Two keys for one button: `cross:W\u002FUp`; no key: `l1:none`.\nWith nothing set, the keys above are unchanged. On Linux the same line goes in `GT5\u002Fsettings.sh`:\n`export PS3_KEYS=\"cross:W,square:Space,l2:Q,r2:E,circle:LAlt\"` (letters are where they are on a US\nkeyboard there).\n\n- **Buttons:** `cross` `circle` `square` `triangle` `l1` `r1` `l2` `r2` `l3` `r3` `start` `select`,\n  the D-pad `up` `down` `left` `right`, and the sticks pushed all the way: `lstick_up` `lstick_down`\n  `lstick_left` `lstick_right` `rstick_up` `rstick_down` `rstick_left` `rstick_right`.\n- **Keys:** `A`-`Z`, `0`-`9`, `F1`-`F24`, `Space` `Enter` `Tab` `Backspace` `CapsLock`, `LShift` `RShift`\n  `LCtrl` `RCtrl` `LAlt` `RAlt`, `Up` `Down` `Left` `Right`, `Insert` `Delete` `Home` `End` `PageUp`\n  `PageDown`, the number pad `Num0`-`Num9` `NumPlus` `NumMinus` `NumMultiply` `NumDivide` `NumDecimal`,\n  `Comma` `Period` `Slash` `Semicolon` `Apostrophe` `LBracket` `RBracket` `Backslash` `Minus` `Equals`\n  `Grave` `IntlBackslash` (the extra key next to Left Shift on European keyboards), and the mouse's side\n  buttons `Mouse4` `Mouse5`. Any case. Esc stays the quit key. A name the game doesn't know is left out,\n  with a `[keys]` line in `logs\\play.err`.\n- With Alt or F10 bound, the game window no longer opens its window menu (or beeps) on them; Alt+Tab and\n  Alt+F4 work as before.\n\nWhat each button does is GT5's own setting (in the game: **Options > Hardware > Change Button\nAssignments**). Its defaults, as the game shows them:\n\n| Button | GT5 does (default) | Default key |\n|---|---|---|\n| Cross | Accelerate (OK in the menus) | Z |\n| Square | Brake | A |\n| R2 \u002F L2 | Shift up \u002F Shift down | 2 \u002F 1 |\n| Circle | Handbrake (Back in the menus) | X |\n| Triangle | Reverse | S |\n| L1 | Rear view (look back) | Q |\n| R1 | Flash and toggle high\u002Flow beam | W |\n| L3 \u002F R3 | Horn \u002F Windscreen wipers | none |\n| Select \u002F Start | Change view \u002F Pause | Tab \u002F Enter |\n| D-pad up | Ghost | Up |\n| D-pad left\u002Fright, left stick left\u002Fright | Steering | Left \u002F Right |\n| Right stick up \u002F down | Accelerate \u002F Brake | none |\n\nLeft View, Right View, Flash Lights (on its own) and Toggle High\u002FLow Beam have no pad button by\ndefault: give one of the free buttons (D-pad down, the left stick's up\u002Fdown, the right stick's\nleft\u002Fright) that action in GT5's Change Button Assignments, then bind a key to that button here. The\nkeys press the pad's buttons, so they follow whatever you set there. With mouse steering (below) GT5\nstill takes the pad's buttons, so the keys work the same.\n\nA steering wheel works too, with force feedback (new; one real wheel tried so far): see the\n[FAQ](#faq).\n\n\u003Ca id=\"mouse-steering\">\u003C\u002Fa>\n\n**Mouse steering** (new, off unless you turn it on): tick *Steer with the mouse* on the launcher's\nControls page, or `set \"PS3_MOUSE_STEER=1\"` in `play.bat`. In races, move the mouse left and right to\nsteer: **left button = throttle, right button = brake, middle button = straighten the wheel**. The\nkeyboard and pads keep working alongside (Z still accelerates). While you steer, the cursor is hidden\nand kept inside the window. At the menus and when paused the mouse doesn't steer: there **left click = OK\n(Cross), right click = back (Circle) and the mouse wheel moves the cursor up and down**, and the keyboard\nand pads work as before (`set \"PS3_MOUSE_MENU=0\"` leaves the mouse out of the menus). Alt+Tab frees the\nmouse at any time. The game sees a steering wheel\n(the same emulated G27 a real wheel uses, with its fine steering), so a real wheel isn't used while\nmouse steering is on.\n\n| Setting (launcher, or `play.bat`) | Default | What it does |\n|---|---|---|\n| Mouse steering speed, `PS3_MOUSE_STEER_SENS` | 100 | Percent, 1 to 1000, decimals allowed (2.5); the launcher steps it by 0.5. At 100, mouse movement about the width of a 1080p screen (at Windows' default pointer speed) turns the wheel from straight ahead to full lock; 200 is twice as quick. GT5 turns sharply on little wheel, so small movements go a long way. Windows' pointer speed and acceleration don't change it. |\n| Wheel straightens by itself, `PS3_MOUSE_STEER_CENTER` | off | Once you stop moving the mouse, the wheel goes back to straight ahead, at this percent of full lock a second (the launcher's Slowly \u002F Medium \u002F Quickly are 50 \u002F 100 \u002F 200). Off: it stays where you left it. |\n\n\u003Ca id=\"current-state\">\u003C\u002Fa>\n\n## 📋 Current state\n\n\u003Cp align=\"center\">\n  \u003Cimg src=\"docs\u002Fstatus.png\" alt=\"Playable: 45 to 58 fps in races on an i9-14900KF and RTX 4070 Ti SUPER\" width=\"100%\">\n\u003C\u002Fp>\n\n**Playable.** Races run at 45 to 58 fps on the tested rig, and most of the game's modes work. The full\nboard (tested rig, what works, what's being worked on, known issues, recent changes) is in\n[STATUS.md](STATUS.md); updates are also posted in\n[Announcements](https:\u002F\u002Fgithub.com\u002FMormonFTP-hub\u002Fgt5-recomp\u002Fdiscussions\u002Fcategories\u002Fannouncements).\nEverything done on the port since the first day, with dates, is in [CHANGELOG.md](CHANGELOG.md).\n\n\u003Ca id=\"feedback\">\u003C\u002Fa>\n\n## 🏁 Try it, then tell me how it went\n\nIf you own the game, please set it up and play. Every result helps decide what gets fixed next,\nwhether it runs great, half works, or doesn't build at all. Laptops, integrated graphics and AMD cards\nespecially: the port was tuned on one desktop with an NVIDIA card.\n\n| You want to... | Go here |\n|---|---|\n| Say how it went (takes two minutes, mostly quick picks) | [Tried it: here's how it went](https:\u002F\u002Fgithub.com\u002FMormonFTP-hub\u002Fgt5-recomp\u002Fissues\u002Fnew?template=1-tried-it.yml) |\n| Report something broken | [Something's broken](https:\u002F\u002Fgithub.com\u002FMormonFTP-hub\u002Fgt5-recomp\u002Fissues\u002Fnew?template=2-problem.yml) |\n| Ask for a change | [Suggest a change](https:\u002F\u002Fgithub.com\u002FMormonFTP-hub\u002Fgt5-recomp\u002Fissues\u002Fnew?template=3-idea.yml) |\n| Post quick results, screenshots of it running, or ask for help | [Discussions](https:\u002F\u002Fgithub.com\u002FMormonFTP-hub\u002Fgt5-recomp\u002Fdiscussions\u002F1) |\n| Chat, get help live, share results | **[The Workshop Discord](https:\u002F\u002Fdiscord.gg\u002F9cVPS7r5Ha)**: #gt5-help, #gt5-test-reports, #gt5-chat (I'm **mormonftp** there) |\n\n\u003Ca id=\"faq\">\u003C\u002Fa>\n\n## ❓ FAQ\n\n| Question | Short answer |\n|---|---|\n| Steering wheels? | 🧪 New. First real wheel: a Genius Speed Wheel 3 Vibration (`0458:3017`, tested by brocolison, [#29](https:\u002F\u002Fgithub.com\u002FMormonFTP-hub\u002Fgt5-recomp\u002Fpull\u002F29)) attaches as an emulated G27; since 13 Nov it's found by itself and its one-axis pedals work as throttle and brake (a full race on v0.1.39). Logitech, Thrustmaster and Fanatec wheels are picked up by themselves but still untried: [wheel owners wanted](#faq) |\n| Force feedback? | 🧪 New, with wheel support, also untried on a real wheel |\n| Widescreen (16:9)? | ✅ Yes, GT5 is a 16:9 game |\n| Ultrawide (21:9, 32:9)? | ✅ New: a wider view, with the HUD kept 16:9 in the middle |\n| Wider cockpit view, seat position? | ✅ New: the launcher's Game > Cockpit view ([more](#cockpit-view)) |\n| Which controllers? | ✅ DualSense, DualShock 4, Xbox pads, keyboard; new: [keys of your choice](#keyboard-keys), [steering with the mouse](#mouse-steering) |\n| US copy (BCUS98114)? | ✅ Yes, players have raced on it |\n| Version 1.02, or a game update (2.xx)? | 🧪 New: game updates run: 2.17 (the last) tested on the US and European releases, 2.01 on the Asian one, 2.11 with the Master Mod on the US one by a player ([how to set one up](#game-updates)); 1.02 untried |\n| Settings without editing files? | ✅ New: the [launcher](#launcher) |\n| Full screen? | ✅ New: borderless full screen in the launcher (Alt+Enter is switched off since v0.1.17: it used to freeze the picture) |\n| Vulkan instead of DirectX 12? | 🧪 The launcher's Display > Renderer: built in, slower than DirectX 12 for now ([more](#faq)) |\n| Higher than 1080p (4K)? | ⚠️ The game's top mode is its 1080p one (races drawn at 1728x972), scaled up to your window; drawing above that isn't there yet |\n| Japanese or Asian release (BCJS, BCAS)? | ✅ Hong Kong \u002F Asia (BCAS20108) runs, reported by a player, and its disc 01.00 and update 2.01 race in tests too; Japanese untried, please report |\n| Slow PC or laptop? | 🛠️ Laptops now use their dedicated graphics card. On most PCs the CPU sets the pace (the game's own threads), so the launcher's **Speed: 30 fps** rarely helps: it's for a graphics card at its limit. **On a laptop:** plug it in and set Windows' power mode to *Best performance* (and the maker's performance mode, e.g. in HP Command Center or Lenovo Vantage): a tester's i5-1135G7 ran into its power limit 88% of the time, which held its cores at 2.9 GHz instead of 4.2, while its graphics were only 30% busy. Speed-ups for 4-6 core CPUs are being worked on |\n| Linux? | 🧪 New and early: a [native Linux build](#linux). First test (no graphics card) reached the race start; races on a real GPU untested |\n| Steam Deck, Proton, Wine? | 🟡 Steam Deck: the Linux build in a distrobox runs (menus ~25-30 fps, races ~8-10; [Steam Deck](#steam-deck)). Proton and Wine not tried. Reports welcome |\n| Android? | 🛠️ Being worked on |\n| Online? | ❌ No |\n| Is it legal? | ✅ No game files here: you build it from your own disc |\n| Ready-made download? | ❌ No, but [GT5-Installer.bat](#install) builds it for you |\n| Errors during setup? | 🛠️ Use [GT5-Installer.bat](#install), or run `setup.ps1` (see below) |\n| Black screen, `draws: 0`? | 🛠️ Fixed: update; if it's still black, `GT.VOL` may be missing or in pieces (see below) |\n| Clear or refresh the shaders? | ✅ New: launcher **Help > Clear the shader cache**, or double-click `ClearShaders.bat` (see below) |\n\n**Q: Does it support steering wheels and force feedback?**\n\n**A: Yes, new in v0.1.2, and one real wheel has been tried so far.** On a PS3, GT5 talks to its\nLogitech wheels directly over USB, for both steering and force feedback. The port now plays that\npart: your PC wheel appears to the game as a **Logitech G27** (900°, three pedals, paddles and an\nH-shifter), and the game's force-feedback commands (the centring spring, the steering forces in a race)\nare played on your wheel through DirectInput, which Logitech, Thrustmaster, Fanatec and other wheels\nsupport. Plug the wheel in before you start the game; it's picked up by itself, and pads work as before.\n\nWhat has been checked, without a wheel: the game accepts the emulated G27, a race steers from it, and\nthe force-feedback commands the game sends are decoded and logged.\n\nThe first real wheel (thanks to brocolison, [#29](https:\u002F\u002Fgithub.com\u002FMormonFTP-hub\u002Fgt5-recomp\u002Fpull\u002F29)):\na **Genius Speed Wheel 3 Vibration** attaches as the G27, and the game sends it its wheel commands in a\nrace. It has no force feedback, and both pedals sit on one axis. Since 13 Nov the port finds it by\nitself (Windows calls it a joystick, so before that it needed `set \"PS3_WHEEL=0458:3017\"`) and splits\nthat axis where it rests: one way is throttle, the other is brake. If they're the wrong way round:\n`set \"PS3_WHEEL_PEDALS=throttle=Yinv\"`. Other wheels with pedals on one axis get the same. On v0.1.39\nbrocolison raced a full 16-car field with it, throttle and brake both working, with the keyboard for\nthe menus: GT5's menus move with the d-pad, and that wheel has none. Since 15 Nov a wheel with no d-pad\nmoves through the menus by itself: **at the menus, turn the rim for left \u002F right and press the throttle\n\u002F brake for down \u002F up** (hold to scroll); Cross (button 1) chooses and Circle (button 3) goes back. In a\nrace the rim and pedals only drive. A pad or the keyboard works alongside any wheel.\n\nWhat hasn't been checked: force feedback on a real wheel, including which way the forces push. So\n**wheel owners are wanted**: please\n[tell us how it went](https:\u002F\u002Fgithub.com\u002FMormonFTP-hub\u002Fgt5-recomp\u002Fissues\u002Fnew?template=1-tried-it.yml)\n(or [report a problem](https:\u002F\u002Fgithub.com\u002FMormonFTP-hub\u002Fgt5-recomp\u002Fissues\u002Fnew?template=2-problem.yml)),\nand attach `GT5\\logs\\play.err`: its `[wheel]` lines say which wheel was found, its axes, and what the\ngame asked of it.\n\nIf something is off, add a line to `GT5\\settings.bat` (right-click it > Edit; updates replace\n`play.bat`, and the launcher keeps lines you add to `settings.bat`, anywhere in it, since v0.1.86):\n\n| Problem | Fix |\n|---|---|\n| The forces push the wrong way (the wheel pulls away from the centre) | `set \"PS3_WHEEL_FFB_INVERT=1\"` |\n| Forces too strong or too weak | `set \"PS3_WHEEL_FFB=60\"` (percent, 0 = off) |\n| Steering too quick or too slow | set your wheel's rotation to 900° in its software (G HUB, ...), or tell the port what it is: `set \"PS3_WHEEL_RANGE=1080\"` |\n| A pedal does nothing, or the wrong thing | `set \"PS3_WHEEL_TRACE=1\"`, press each pedal, and see which axis moves in the `[wheel] axes` lines of `play.err`; then e.g. `set \"PS3_WHEEL_PEDALS=throttle=Y,brake=RZ,clutch=Z\"` (add `inv` to one that works backwards: `brake=RZinv`) |\n| Throttle and brake swapped on a wheel whose pedals share one axis | `set \"PS3_WHEEL_PEDALS=throttle=Yinv\"` (`play.err` names the shared axis: `[wheel] throttle and brake share the Y axis`) |\n| A button is wrong | `set \"PS3_WHEEL_BUTTONS=cross=1,circle=3,start=10\"`, with button numbers as Windows' *Set up USB game controllers* window (`joy.cpl`) shows them; names: cross square circle triangle r1 l1 r2 l2 select start r3 l3 gear1..gear6 gearr plus minus dialcw dialccw, and up down left right for the d-pad |\n| No d-pad on the wheel, and you'd rather move through menus with buttons | `set \"PS3_WHEEL_BUTTONS=up=7,down=8\"` (any spare buttons; left= and right= too). Without it, the rim and pedals move through menus on such a wheel; `set \"PS3_WHEEL_MENU=off\"` turns that off |\n| No Start button on the wheel (to pause) | give Start a spare button: `set \"PS3_WHEEL_BUTTONS=start=8\"` (the defaults put Start on button 10, which smaller wheels don't have) |\n| No pedals plugged in, or a broken one | a button can be a pedal: `set \"PS3_WHEEL_BUTTONS=brake=4\"` brakes fully while button 4 is held (`throttle=` and `clutch=` too) |\n| No H-shifter, and you want reverse | `set \"PS3_WHEEL_BUTTONS=gearr=6\"`: holding button 6 is the shifter's R. GT5 takes it with the manual gearbox (MT): hold it and accelerate to back up, then a shift-up paddle puts you in 1st again. With the automatic gearbox GT5 ignores it |\n| Several of these | one line, commas between: `set \"PS3_WHEEL_BUTTONS=cross=1,circle=3,brake=4,gearr=6\"`. A button given a job here loses its default one |\n| The wrong device is used, or none | `set \"PS3_WHEEL=G29\"` (part of its name, or its `046d:c24f` VID:PID); `play.err` lists every controller it saw |\n| You don't want it | `set \"PS3_WHEEL=off\"` |\n\nButtons and pedals are set up for Logitech's G29 \u002F G923 \u002F G920 out of the box; other wheels steer and\nget force feedback the same way but may need the pedal and button lines above. Thrustmaster wheels get\nThrustmaster's pedal layout (accelerator, brake, clutch), in the control panel's normal pedal mode and in\ncombined mode alike; their buttons still follow the G29's numbers.\n\n**Q: Does it support widescreen and ultrawide?**\n\n**A: Yes, both; ultrawide is new.** GT5 is a 16:9 game, so a normal widescreen monitor (1920×1080,\n2560×1440, 4K) is filled edge to edge, as on a PS3. On an ultrawide monitor (21:9 or 32:9) the game now\ndraws a wider picture itself: races and replays show more of the track at the sides (nothing is\nstretched), the 3D scenes behind the menus widen the same way, and the HUD and menus stay a 16:9 block\nin the middle of the screen. `play.bat` sets `PS3_ASPECT=auto`, the shape of your monitor; the window\nopens at that shape, so maximize it or drag it to the size you like.\n\n| In `play.bat` | What you get |\n|---|---|\n| `set \"PS3_ASPECT=auto\"` | the shape of your monitor (the default; on a 16:9 monitor nothing changes) |\n| `set \"PS3_ASPECT=21:9\"` (or `32:9`, `3440x1440`, `2.37`) | that shape, whatever the monitor |\n| `set \"PS3_ASPECT=16:9\"` | the PS3's own 16:9 picture, as before |\n| `set \"PS3_WINDOW_SIZE=2560x1080\"` | the window opens at exactly that size (and shape, unless `PS3_ASPECT` says otherwise) |\n\nThe game draws 720 lines at the wider shape, as many pixels across as it needs up to 1920: about\n1700×720 for 21:9, as sharp as its usual 1280×720. Shapes wider than 8:3 (32:9) are drawn at 1920×720\nand spread sideways to fill the window, so they're a little softer side to side. The window title shows\nthe size it draws at. This works on the European release (BCES00569, disc 01.00); on any other release\nthe picture stays 16:9 for now, and `logs\\play.err` says so in a `[widescreen]` line.\n\n\u003Ca id=\"cockpit-view\">\u003C\u002Fa>\n**Q: Can I widen the cockpit view, or move the seat?**\n\n**A: Yes, new: the [launcher](#launcher)'s Game page, under Cockpit view.** On a PS3 the view from\nthe driver's seat is fixed: GT5 shows every car's cockpit at 52.4° from the top of the screen to the\nbottom, with the eye where the car's own data puts the driver. The port can widen (or narrow) that view\nand move the eye forward, back, up or down. Only the cockpit view changes: the chase, bumper and roof\nviews and the menus stay as they are. All three are off by default, and then nothing changes.\n\n| In `play.bat` (or `settings.bat`) | What you get |\n|---|---|\n| `set \"PS3_COCKPIT_FOV=20\"` | the cockpit view 20° wider, top to bottom (72.4° instead of 52.4°; the sides widen with it); negative is narrower |\n| `set \"PS3_COCKPIT_SEAT=10\"` | the eye 10 cm further forward, toward the windscreen; negative moves it back |\n| `set \"PS3_COCKPIT_HEIGHT=5\"` | the eye 5 cm higher; negative is lower |\n\n`logs\\play.err` has a `[cockpit]` line with the game's number and the new one. The in-car camera is found\nby its name in the game's code, so this isn't tied to one release: tested on the European disc, and the\nsame camera code is in the 2.17 update and the Asian disc and 2.01.\n\n**Q: What resolution does it render at?**\n\n**A: GT5's own 1080p mode, as on a PS3 connected to a 1080p TV, scaled to fit your window.** Races are\ndrawn at 1728×972 (the game keeps a black border around them for TVs that cut off the edges), the HUD\nand menus at 1920×1080. Choose it in the [launcher](#launcher) (Display, Resolution), or in `play.bat`:\n\n| In `play.bat` | |\n|---|---|\n| `set \"PS3_VIDEO_MODE=1080\"` | the 1080p mode (the default since v0.1.12) |\n| `set \"PS3_VIDEO_MODE=720\"` | the 720p mode, races at 1152×648: for a slow graphics chip |\n\nOn the tested rig both run at the same speed, since the CPU is the limit; on a laptop's built-in\ngraphics 720 may be faster, but often the CPU is the limit there too (an Iris Xe laptop's graphics were\n30% busy at 1080p). (v0.1.10 had the 1080p mode on too, but its window showed only the top-left\npart of the picture; v0.1.11 went back to 720 until v0.1.12 fixed it.) On an ultrawide monitor the 720p\nmode draws the wider view pixel for pixel (about 1700×720), and the 1080p mode draws it into 1920×1080\nand spreads it sideways. Rendering above the PS3's resolutions is on the list.\n\n**Q: Can I use Vulkan instead of DirectX 12?**\n\n**A: Yes: the [launcher](#launcher)'s Display > Renderer.** DirectX 12 is the port's main renderer and stays\nthe default. Vulkan is the renderer the Linux build and the Android work use. On Windows it's slower for\nnow (see the numbers in [CHANGELOG.md](CHANGELOG.md), 15 Nov), some effects may look different, and some\nsettings do nothing with it yet (render resolution, DLSS, the frame generator and multiplier, texture dumps:\nthe launcher greys them while Vulkan is chosen). The game is built with both renderers: setup (so the\ninstaller) fetches the source code of SDL2 and glslang (about 60 MB, from GitHub, checked against the exact\nreleases) and builds them before the game's first build, and an update does the same for an install made\nbefore that. If they can't be had (no internet at that moment, say), the game is built with DirectX 12\nalone, the launcher doesn't list Vulkan, and the next update tries again. By hand: `add_vulkan.ps1\n-Prepare` gets them for the next build, `add_vulkan.ps1` also rebuilds `gt5.exe` with Vulkan now, and\n`add_vulkan.ps1 -Remove` builds it without (and setup and updates then leave it out until you add it\nagain). Vulkan's shaders are kept in `GT5\\shadercache` (cleared by ClearShaders.bat with the rest).\n\n**Q: Which controllers work?**\n\n**A: DualSense and DualShock 4 (USB or Bluetooth), Xbox and other XInput pads, and the keyboard.** See\n[Controls](#controls) for the keyboard layout. The mouse can steer in races too (off by default): see\n[Mouse steering](#mouse-steering).\n\n**Q: Can I use a US copy?**\n\n**A: Yes.** Players have raced on the US disc. Its executable has the same layout as the European one,\nand the tools find the few spots that could differ between releases in your own copy anyway (see\n[Which copy of GT5](#which-copy-of-gt5)). Only ultrawide is still Europe-only.\n\n**Q: My copy says version 1.02, or I have a game update (2.xx). Does that work? What about the Master Mod?**\n\n**A: Game updates work now, as far as they've been tried.** 2.17, the last update, runs on the US\nrelease (menus, GT Mode and a full 16-car Arcade race at 60 fps) and on the European one (its first-start\nquestions, the opening movie, Arcade and a 16-car race). The Asian release's 2.01 boots,\nloads a career save and races. An update needs two things from your PS3 (or RPCS3): its executable\nand its data, see [Game updates](#game-updates).\n\n**The GT5 Master Mod runs too** (Nenkai's, 1.9.2 on update 2.11, US release; a player's report on\n13 Nov): its boot screen, the menus, its SELECT debug menu and an A-Spec race. Set it up like an\nupdate: install 2.11 and the mod in RPCS3, copy the data, and use the mod's `EBOOT.BIN` as the\nexecutable (`setup.ps1` unlocks it from RPCS3's `dev_hdd0` by itself since v0.1.35). The data alone,\nwith the disc's executable, gives a black screen before the main menu.\n\nThe Asian 2.17 hasn't been tried yet: each update can change the game's SPU programs again, so please\nreport what setup prints (`version_addrs.py`'s lines and `SPU jobs found in EBOOT.elf: N of 15`; 2.17\nshows 13 of 15 plus 3 of its own, and that is complete). Another disc version, like 1.02, hasn't been tried either; the same lines tell us how\nclose it is.\n\n**Q: Does online work?**\n\n**A: No.** GT5's online services were shut down, and the port doesn't connect to anything.\n\n**Q: Is there a ready-to-go build I can just download?**\n\n**A: No, and there can't be.** A built `gt5.exe` contains GT5's own code converted for PC, so\nsharing one would be sharing the game itself. That's what gets projects like this taken down, and\nit's why this one only works from your own disc. Please don't ask for builds or share them. What we\ncan do is make building easy: [GT5-Installer.bat](#install) asks for your game and Sony's PS3 system\nsoftware file and does all the rest, ending with a shortcut on your desktop. If you get stuck, post its output in the\n[discussions](https:\u002F\u002Fgithub.com\u002FMormonFTP-hub\u002Fgt5-recomp\u002Fdiscussions) and someone will help.\n\n**Q: I get errors like \"venv\\Scripts\\python.exe is not recognized\" or \"cannot find analysis\\version.json\". What's wrong?**\n\n**A: Setup hasn't finished, so the tools that later steps use aren't there yet.** `venv` is the Python\nenvironment `setup.ps1` makes. `analysis\\version.json` is made by the build itself from your EBOOT.elf,\nso it isn't a file you add. Open PowerShell in the `gt5-recomp` folder (the one with `setup.ps1`, not\n`GT5\\scripts`) and run `powershell -ExecutionPolicy Bypass -File setup.ps1`. It installs what's\nmissing, lists any of your files that are missing or in the wrong place, and once everything is there\nit generates and builds the game for you. If Python itself is missing (the download of the port's own copy failed), run `setup.ps1` again or install Python 3.11 or newer\nfrom python.org with \"Add python.exe to PATH\" ticked, then run setup again.\n\n**Q: The game starts but the window stays black, and the title says `draws: 0`. What's wrong?**\n\n**A: Builds made before 10 November did that; it's fixed.** Setup didn't compile the game's SPU code\n(the PS3's co-processors), so the game waited forever for work that never ran. Update and it's\nrebuilt with that code: in the `gt5-recomp` folder run `powershell -ExecutionPolicy Bypass -File update.ps1`\n(or double-click `setup.bat`; if you downloaded the ZIP, download it again and move your `input`,\n`vfs` and `dev_flash` folders into the new `GT5` folder). While it builds, it prints\n`SPU jobs found in EBOOT.elf: N of 15`.\n\n**Still black on a new version?** Look in `GT5\\logs\\play.err` for `open FAIL '\u002Fdev_bdvd\u002FPS3_GAME\u002FUSRDIR\u002FGT.VOL'`.\nThat means the game's data file, `GT.VOL` (about 12 GB), isn't in `GT5\\vfs\\PS3_GAME\\USRDIR`. Dumps made\nto a FAT32 USB drive split it into pieces (`GT.VOL.66600`, `GT.VOL.66601`, ...); since v0.1.19 they're\njoined automatically by `Update.bat`, setup and the launcher's **Play**. If there's no `GT.VOL` at all,\ncopy it from `PS3_GAME\\USRDIR` in your dump. Otherwise attach the whole `GT5\\logs\\play.err` to a\n[problem report](https:\u002F\u002Fgithub.com\u002FMormonFTP-hub\u002Fgt5-recomp\u002Fissues\u002Fnew?template=2-problem.yml), with\nthat line.\n\n**Q: The picture froze on one screen, but the menu sounds still react when I press buttons. What now?**\n\n**A: Restart the game, and send us the log of the frozen run.** The game kept running; only the picture\nstopped. Before v0.1.17, **Alt+Enter** always did this (Windows switched the window to exclusive full\nscreen behind the port's back); it's switched off now, so update, and use the launcher's **borderless\nfull screen** for full screen. If it froze without Alt+Enter, the graphics driver most likely reset or\nrefused a frame. (A frozen opening movie at the first start, the Earth from space, was another cause;\nsince v0.1.21 that movie is skipped.) Attach that run's log to\n[issue #10](https:\u002F\u002Fgithub.com\u002FMormonFTP-hub\u002Fgt5-recomp\u002Fissues\u002F10), with your graphics card: it's\n`GT5\\logs\\play.err` until you start the game again, then `GT5\\logs\\play.prev.err` (each start keeps the\nprevious log under that name; builds before v0.1.10 didn't, so there copy `play.err` before restarting). A\nline in it starting with `[d3d-fail]` says what failed, and that decides the fix.\n\n**Q: How do I attach my log to an issue? GitHub won't take it.**\n\n**A: Rename it first.** GitHub refuses `.err` files, so rename `GT5\\logs\\play.err` to `play.err.txt` (or put\nit in a `.zip`) and drag it into the issue. The installer's `GT5-Installer.log` attaches as it is. For a\ngraphics problem, also say the mode, the track and its time or weather (for example Arcade, Chamonix,\nsnow): some problems show on one track and not another.\n\n**Q: How do I clear the shader cache?**\n\n**A: Launcher, Help, Clear the shader cache, or double-click `ClearShaders.bat` in your install\nfolder (close the game first).** The game turns each of GT5's shaders into a PC shader the first time\nit's needed and keeps the result in `GT5\\scratch\\rsx_shader_cache_v2` (on Linux `GT5\u002Fshadercache`), so\nthe next visit doesn't stutter. Clearing it frees the space (it grows with every car and track you\nsee) and gives a fresh start; the first visit to each menu, car and track then stutters again for a\nwhile. It can't fix or cause a wrong picture: a cached shader is only used for exactly the same\nsource, so a game update, a mod or a new version of the port never picks up an old one by mistake.\nSaves, settings and game files are not touched. On Linux, delete `GT5\u002Fshadercache` by hand.\n\n**Q: Is this legal? Do I need the game?**\n\n**A: You need your own copy of GT5, and nothing from the game is in this repository.** It holds only\ncode written for the port. You build the game yourself from your own disc, and builds must never be\nshared (see below).\n\n\u003Ca id=\"linux\">\u003C\u002Fa>\n\n## 🐧 Linux\n\nA native x86-64 build using Vulkan and SDL2. See [Requirements](#requirements) for hardware and\nbuild dependencies, and [Which copy of GT5](#which-copy-of-gt5) for supported game releases.\n\n**Experimental:** it runs, races included, on a Radeon RX 7900 XTX, but with picture bugs there that\nare still open. See [Linux testing status](#linux-testing-status).\n\n### Set it up\n\nAfter cloning, run all commands from `gt5-recomp`. Replace `\u002Fpath\u002Fto\u002F...` with your own paths.\n\n**1. Install the build dependencies**\n\n```bash\ngit clone https:\u002F\u002Fgithub.com\u002FMormonFTP-hub\u002Fgt5-recomp\ncd gt5-recomp\nbash setup.sh --install-deps\n```\n\n`--install-deps` installs packages using apt, dnf, pacman or zypper and may ask for your password.\nWithout it, setup prints the install command. Three `[missing]` game-file entries are normal on\nthe first run: the next steps supply them.\n\n**2. Prepare the firmware with RPCS3**\n\nDownload and open the Linux AppImage from [RPCS3 downloads](https:\u002F\u002Frpcs3.net\u002Fdownload).\nRPCS3 is a free PS3 emulator, used here to extract firmware and decrypt the game executable.\nYou can close it once those jobs are done.\n\nDownload `PS3UPDAT.PUP` from [Sony's PS3 system software page](https:\u002F\u002Fwww.playstation.com\u002Fsupport\u002Fhardware\u002Fps3\u002Fsystem-software\u002F).\nIn RPCS3, choose **File > Install Firmware** and select that file. Once installation finishes,\ncopy the extracted firmware:\n\n```bash\nmkdir -p GT5\u002Fdev_flash\ncp -a ~\u002F.config\u002Frpcs3\u002Fdev_flash\u002F. GT5\u002Fdev_flash\u002F\n```\n\nIf RPCS3 stores `dev_flash` elsewhere, use that location instead.\n\n**3. Copy the game data**\n\nCopy the whole `PS3_GAME` folder from your disc dump:\n\n```bash\nmkdir -p GT5\u002Fvfs\u002FPS3_GAME\ncp -a \"\u002Fpath\u002Fto\u002Fyour\u002Fdisc\u002FPS3_GAME\u002F.\" GT5\u002Fvfs\u002FPS3_GAME\u002F\n```\n\n**4. Decrypt the game executable**\n\nIn RPCS3, choose **Utilities > Decrypt PS3 Binaries** and select your disc dump's\n`PS3_GAME\u002FUSRDIR\u002FEBOOT.BIN`. Copy the decrypted output to `GT5\u002Finput\u002FEBOOT.elf`:\n\n```bash\nmkdir -p GT5\u002Finput\ncp \"\u002Fpath\u002Fto\u002Fdecrypted\u002FEBOOT.elf\" GT5\u002Finput\u002FEBOOT.elf\n```\n\nUse the file produced by decryption; renaming the encrypted `EBOOT.BIN` does not decrypt it.\nFor a game update, follow [Game updates](#game-updates-2xx) to keep the executable and data matched.\n\n**5. Check and build**\n\nCheck these paths exist, without an extra `dev_flash` or `PS3_GAME` folder nested inside:\n\n```text\nGT5\u002Fdev_flash\u002Fsys\u002F\nGT5\u002Finput\u002FEBOOT.elf\nGT5\u002Fvfs\u002FPS3_GAME\u002FPARAM.SFO\nGT5\u002Fvfs\u002FPS3_GAME\u002FUSRDIR\u002FGT.VOL\n```\n\nCheck the files and build only if the check succeeds:\n\n```bash\nbash setup.sh --no-build && bash setup.sh\n```\n\nIf setup reports `[missing]`, follow its message and rerun the command.\nThe first build takes about 20 to 60 minutes and produces `GT5\u002Fbuild-linux\u002Fgt5`.\n\n### Play\n\n```\nbash GT5\u002Fplay.sh\n```\n\nLogs go to `GT5\u002Flogs` (`play.err` is the one to attach to a report). Settings: the switches in\n`GT5\u002Fplay.sh` (full screen, resolution, watch mode), or your own `export NAME=value` lines in\n`GT5\u002Fsettings.sh`, which win and survive updates.\n\nFull screen, kept across updates (thanks, melroy89):\n\n```bash\necho 'export PS3RECOMP_VK_FULLSCREEN=1' >> GT5\u002Fsettings.sh\n```\n\nOr just once: `PS3RECOMP_VK_FULLSCREEN=1 bash GT5\u002Fplay.sh`.\n\nControls: any controller SDL2 knows (DualSense, DualShock 4, Xbox, 8BitDo, the Steam Deck's own\ncontrols through Steam Input), or the keyboard as on Windows: Z = Cross, X = Circle, A = Square,\nS = Triangle, Q\u002FW = L1\u002FR1, 1\u002F2 = L2\u002FR2, arrows = D-pad, Enter = Start, Tab = Select, Esc = quit.\n[Your own keys](#keyboard-keys) work too, with `export PS3_KEYS=...` in `GT5\u002Fsettings.sh`.\n\n### Updating\n\n```\ngit pull\nbash setup.sh\n```\n\nIt re-patches ps3recomp, re-generates the game code only when the new version needs it, and rebuilds\nonly what changed. Your saves (`GT5\u002Fgamedata`, `GT5\u002Fhdd0`) and game files stay.\n\n### Linux testing status\n\n**How far it's been tested (12 Nov 2026):** on Ubuntu 24.04 with no graphics card at all (Mesa's\nsoftware Vulkan driver, on a virtual display), so speed and the picture on a real GPU are untested.\n`setup.sh` ran the whole setup from a fresh clone: tools, ps3recomp, the game code (the same code the\nWindows setup generates, checked file by file) and the build. The game boots, does the first-start\nscreens and saves them, and reaches the top menu with its 3D scene, GT Mode (My Home), and Arcade\nthrough track select, car select (the 3D car), colour and the pre-race screen with the 3D track.\n**The race itself stayed black** in that test. The same race does draw with this renderer on a real\ngraphics card (checked on Windows), so that was the software driver.\n\n**First test on a real graphics card (13 Nov 2026, melroy89, [#20](https:\u002F\u002Fgithub.com\u002FMormonFTP-hub\u002Fgt5-recomp\u002Fissues\u002F20)):**\nLinux Mint 22.3, Threadripper 7960X, Radeon RX 7900 XTX. `setup.sh` and the build went through, the\nmenus draw correctly, an Xbox controller works out of the box, and there were no crashes or frame drops.\nStill wrong there at first: races drew in the top half of the picture, the intro's 3D scene looked\nwhite, and sound effects played late. The squashed races and the late sound are fixed since 13 Nov\n(see the changelog); the white city is how GT5 draws that scene.\n\n**Second report (14 Nov 2026, melroy89, v0.1.43, the same PC):** races and licence tests run, mostly\nat a steady 60 frames per second. Wrong there: freezes of 0.3 to 0.7 s (once 1.7 s) whenever something\nnew came on screen, fixed since 14 Nov (new shaders now build in the background); car bodies whose\nlighting flickers; in the B-2 licence intro on Tokyo R246, flickering parts and a road you can see\nthrough; most textures missing in a braking licence test; a dark title-screen scene. None of those\nlast four showed on an NVIDIA card here, so they may be specific to AMD's driver: being looked into\non #20.\n\nIf you have a Linux PC with a graphics card, please\n[tell us how it goes](https:\u002F\u002Fgithub.com\u002FMormonFTP-hub\u002Fgt5-recomp\u002Fissues\u002Fnew?template=1-tried-it.yml)\n(attach `GT5\u002Flogs\u002Fplay.err`).\n\n### Not there yet on Linux\n\n- No launcher and no installer: setup is `setup.sh`, settings are in `play.sh` \u002F `settings.sh`.\n- Steering wheels and force feedback (Windows only so far).\n- Ultrawide (21:9, 32:9): the Linux renderer draws 16:9.\n- The Vulkan renderer is younger than the Windows one; picture bugs the Windows build fixed may\n  still show here. Please report them with a screenshot.\n- The first time a car, track or menu needs new shaders, something can be missing for a few frames\n  while they build (instead of the whole game freezing). `export PS3RECOMP_VK_ASYNC_SHADERS=0` in\n  `GT5\u002Fsettings.sh` goes back to freezing.\n- The title screen's white model city is meant to be white (the Windows build draws it the same),\n  but its depth-of-field blur and darker roads may still be missing on Linux.\n- Movies and the on-screen keyboard (naming a save, Course Maker) are untried on Linux.\n\n\u003Ca id=\"steam-deck\">\u003C\u002Fa>\n\n### Steam Deck\n\n**Tried on a Steam Deck OLED** (SteamOS 3.9, update 2.17 with DLC, the build in an Arch distrobox;\nthe Ubuntu box below is the same route): it builds, boots, races and plays sound in time. More reports\nwelcome. The route is the Linux build in a distrobox. SteamOS keeps its system files read-only, so `setup.sh` can't install the build tools there\n(it says so and stops). Distrobox, part of SteamOS 3.5 and later, gives you an Ubuntu container that\nshares your home folder, screen, sound and graphics. In desktop mode, in Konsole:\n\n```\ndistrobox create --name gt5 --image ubuntu:24.04\ndistrobox enter gt5\ngit clone https:\u002F\u002Fgithub.com\u002FMormonFTP-hub\u002Fgt5-recomp\ncd gt5-recomp\nbash setup.sh --install-deps\n```\n\n(`sudo` inside the box needs no password.) Then copy your files in as above and run `bash setup.sh`\nagain, still inside the box. Keep `gt5-recomp` on the internal drive: it needs about 30 GB. The first\nsetup is slow on the Deck's 4 cores: expect one to two hours for generating the code and building\n(an estimate; it runs one compile per 2 GB of free memory).\n\nTo play from Game Mode: in desktop mode, Steam > *Add a Non-Steam Game*, browse to\n`\u002Fusr\u002Fbin\u002Fdistrobox-enter`, and in its properties set the launch options to\n`-n gt5 -- bash \u002Fhome\u002Fdeck\u002Fgt5-recomp\u002FGT5\u002Fplay.sh` (setup prints the exact line). Started from\nSteam, the Deck's controls reach the game as a controller; from a terminal they act as mouse and\nkeyboard. Leave full screen off in `play.sh`: Game Mode fits the 16:9 window onto the 16:10 screen\nwith bars, while full screen would stretch it.\n\nPlay from Game Mode. In desktop mode Steam's desktop controller layout turns the Deck's buttons into\nkeys, and the menu button becomes Esc, which quits the game.\n\nWhat to expect, measured on the Deck: the main menu at about 25-30 frames a second and races at about\n8-10 (100-130 ms a frame). GT5's pace is set by the CPU: in a race the GPU is mostly idle (locking its\nclock at 1600 MHz changed nothing), and the game's own threads set the frame rate. The first races\nafter an update recompile their shaders once and stutter. B-Spec races and replays in watch mode\n(`export LD_WATCH=1` in `GT5\u002Fsettings.sh`) are the realistic use. Suspend and resume are untested:\nquit the game first.\n\nThe Windows build under **Proton** is untried too. Direct3D 12 would go through vkd3d-proton; start\n`GT5\\play.bat` (it sets the game's switches), not `gt5.exe` on its own.\n\n\u003Ca id=\"requirements\">\u003C\u002Fa>\n\n## 🧰 Requirements\n\n- **Windows:** Windows 10 or 11 (x64) and a Direct3D 12 graphics card. The compiler is the\n  [standalone tools](#no-visual-studio) (what the installer fetches), or a Visual Studio 2022 you already\n  have with *Desktop development with C++*, *C++ Clang tools for Windows* and a Windows SDK.\n- **Linux (experimental):** an x86-64 distribution with FFmpeg 6.1 or newer (such as Ubuntu 24.04\n  or Linux Mint 22), and a Vulkan-compatible GPU with a Vulkan driver. Follow the\n  [Linux setup](#linux) to install build dependencies and prepare the game.\n- An AVX2-capable CPU and 16 GB of RAM for the first build.\n- Git and Python are not needed: `setup.ps1` fetches the port's own copies into `tools\\git` (MinGit,\n  only when the PC has no Git) and `tools\\python` (python.org's 3.11.9, 17 MB) and runs every tool on\n  them; nothing is installed in Windows.\n- About 25 GB free on Windows or 30 GB on Linux, including about 17 GB of game files.\n- Your own GT5 disc (BCES00569, BCUS98114 or BCAS20108) and the means to dump it, and\n  [RPCS3](https:\u002F\u002Frpcs3.net\u002Fdownload) to install PS3 firmware and decrypt the game's executable.\n\n\u003Ca id=\"pc-check\">\u003C\u002Fa>\n\n### A processor that calculates wrongly\n\nThe game is built on your PC by long calculations, and they assume every processor gives the right\nanswer. On some PCs one or two logical processors don't (seen on a 14th generation Intel desktop\nprocessor: two of its 28 failed a fixed job most of the time, the other 26 never). The signs are tools\nstopping with errors that make no sense, compiler crashes, or a game that misbehaves.\n\nSetup checks for this before it generates and builds the game: a small fixed job runs on every\nprocessor, and any processor that gives an error or a different result is left out of the whole install.\nYou are told which. The result is kept for 30 days in `.gt5\\pc-check.json`. To run the check by hand:\n\n```\npowershell -ExecutionPolicy Bypass -File pc-check.ps1\n```\n\nLeaving processors out gets the game built, but the PC still has the fault, and other programs (and the\ngame itself) can hit it. What usually cures it: the newest BIOS for your motherboard (for Intel 13th and\n14th generation processors it carries Intel's fix), the processor maker's default settings in the BIOS\ninstead of the motherboard's \"performance\" ones, memory at its standard speed, and current drivers.\n\n\u003Ca id=\"no-visual-studio\">\u003C\u002Fa>\n\n### No Visual Studio needed\n\n`GT5-Installer.bat` never installs or changes Visual Studio. When the PC has no Visual Studio with the\nClang tools and a Windows SDK, it runs `get-toolchain.ps1`, which puts the same compiler tools in the\ninstall folder (`tools\\toolchain`). By hand, the script puts them in one folder you choose, on any drive.\nIn the `gt5-recomp` folder, in PowerShell:\n\n```\npowershell -ExecutionPolicy Bypass -File get-toolchain.ps1\n```\n\n- It suggests a `toolchain` folder next to `gt5-recomp`. Type another folder to put it somewhere else,\n  for example on a second drive.\n- It downloads about 1.5 GB and keeps about 1.5 GB: LLVM 19.1.5 (clang-cl), CMake and Ninja from\n  their official GitHub pages, and Microsoft's C++ libraries and Windows SDK, fetched from Microsoft by\n  [mmozeiko's portable-msvc.py](https:\u002F\u002Fgist.github.com\u002Fmmozeiko). Every download is checked.\n- Microsoft's part comes under Microsoft's licence. The script shows you the link and only goes on when\n  you type `yes`.\n- No administrator rights, and nothing is installed into Windows. To remove the tools, delete the folder.\n\nThen run `setup.ps1` as usual (it also offers to run `get-toolchain.ps1` when it finds no Visual Studio).\nWhen there's no Visual Studio, the build uses these tools.\n\n\u003Ca id=\"which-copy-of-gt5\">\u003C\u002Fa>\n\n## Which copy of GT5\n\nUse the Blu-ray disc's own executable, `PS3_GAME\\USRDIR\\EBOOT.BIN`, application version **01.00**\n(the `APP_VER` in `PS3_GAME\\PARAM.SFO`), or the executable of a game update together with that\nupdate's data (see [Game updates](#game-updates)).\n\n| Release | Title ID | Status | SHA-1 of the disc's files |\n|---|---|---|---|\n| Europe \u002F PAL | **BCES00569** | tested | `EBOOT.BIN` `1FFABF4C029CF3099579B73425C91C1FD48CAFCA`, decrypted `EBOOT.elf` `1535B865EC7DD58E7704B378B8621532ECF844E1` |\n| North America | **BCUS98114** | works (run by players) | decrypted `EBOOT.elf` `40126D2D14B0A95B9601BB11E3A6E778186067AC` |\n| Hong Kong \u002F Asia | **BCAS20108** | tested (and run by a player) | decrypted `EBOOT.elf` `49A3662D4B541BB4E0C2E72D2602F89FEB710E71` |\n| Hong Kong \u002F Asia, update 2.01 | **BCAS20108** | tested: menus, career save, Arcade race | decrypted update `EBOOT.elf` `96DEA35B194AA80E993CAD9EBE42E96072F3A3D5` |\n| North America, update 2.17 | **BCUS98114** | tested: menus, GT Mode, 16-car Arcade race | decrypted update `EBOOT.elf` `12EF249F9B95591E08251AC85F103B1451DA23BF` |\n| Europe, update 2.17 | **BCES00569** | tested: first-start questions, opening movie, 16-car Arcade race | decrypted update `EBOOT.elf` `306F86C62B9F03041C903BE96AC59E5C3F130452` |\n\nAlmost everything in the port works for any release, because the recompiled code is generated from\nyour own executable. Only three things are tied to where the code sits in one executable: the end of\nthe code, the game's setjmp\u002Flongjmp routines, and one jump table the game builds while it runs.\n`GT5\\scripts\\relift.ps1` starts by running `GT5\\scripts\\version_addrs.py`, which finds all three in\nyour EBOOT by what the code looks like, not by address, and prints your EBOOT's SHA-1:\n\n- If every line is found, carry on: your release should work.\n- If it prints `NOT FOUND`, that release differs in those places. Please open an issue with that\n  output (the text only, never any game file).\n\nCheck a file's hash with `Get-FileHash \u003Cfile> -Algorithm SHA1` in PowerShell.\n\n\u003Ca id=\"game-updates\">\u003C\u002Fa>\n\n### Game updates (2.xx)\n\nA game update brings a new executable and data the game reads from the PS3's hard disk (for 2.01,\nabout 2.2 GB of files in `PDIPFS`). The port needs both.\n\n**The easy way, from your update's `.pkg` files (since v0.1.45):** in the launcher, *Help > Install a game\nupdate or DLC (.pkg)*, and pick the update packages. Pick all of them from the first one (1.05, 1.06\n... up to the version you want): RPCS3 installs updates only in order, and the ones it already has are\nskipped. This runs `GT5\\scripts\\install_pkg.ps1`. It installs the packages with RPCS3 (its window opens\nfor each one; leave it be), copies the game's folder into `GT5\\hdd0` and unlocks the new executable:\nsteps 1 to 3 below. Then run `setup.bat` once (step 4). It needs RPCS3: the installer's own copy in\n`tools\\rpcs3` is found by itself, or set `GT5_RPCS3` to your `rpcs3.exe`. Without the launcher:\n`powershell -ExecutionPolicy Bypass -File GT5\\scripts\\install_pkg.ps1 \u003Cfolder with the .pkg files>`.\n\nBy hand:\n\n1. **Get the update's files**: install the update in [RPCS3](https:\u002F\u002Frpcs3.net) (*File > Install\n   Packages\u002FRaps\u002FEdats* with the update's `.pkg`), or copy the game's folder from your PS3's hard disk.\n   Either way they're in `dev_hdd0\\game\\\u003Ctitle ID>\\USRDIR` (for example `dev_hdd0\\game\\BCES00569\\USRDIR`).\n2. **The executable**: decrypt that folder's `EBOOT.BIN` (RPCS3, *Utilities > Decrypt PS3 Binaries*) and\n   save the result as `GT5\\input\\EBOOT.elf`. The disc's `PS3_GAME` stays as it is in `GT5\\vfs`.\n   **Don't skip this step.** With the update's data but the disc's executable, the game stops before\n   the main menu (a black screen). `setup.ps1` (and `Update.bat`) now does it for you when it can: it\n   finds the update's `EBOOT.BIN` in `GT5\\hdd0\\game\\\u003Ctitle ID>\\USRDIR` or in RPCS3's `dev_hdd0` (a mod\n   that comes with its own `EBOOT.BIN` puts it there too), unlocks it with RPCS3, and keeps the disc's\n   as `GT5\\input\\EBOOT.disc-01.00.elf`. If your RPCS3 isn't found, set `GT5_RPCS3` to its `rpcs3.exe`,\n   or do this step by hand.\n3. **The data**: copy everything else in that `USRDIR` folder (`PDIPFS` and the rest, not `EBOOT.BIN`)\n   to `GT5\\hdd0\\game\\\u003Ctitle ID>\\USRDIR`, keeping the folder names. Without it the game starts, but\n   Arcade Mode has no courses to choose.\n4. Run `setup.ps1` again: it lifts and builds the new executable (about an hour).\n\nIf your disc folder's `PS3_GAME\\PARAM.SFO` already says version 02.xx, it holds the update's\nexecutable, but usually not its data: step 3 is still needed. `GT5-Installer.bat` doesn't do these\nsteps yet.\n\n\u003Ca id=\"dlc\">\u003C\u002Fa>\n\n### DLC\n\nGT5's DLC works once it's installed, with update 2.17 (tested on the US release): the Racing Car\nPack, Car Packs 2 and 3, the 2012 car packs, the Course Pack, Speed Test, Twin Ring Motegi and the\ngift cars. Each DLC item is a small \"voucher\" file the game unlocks it from; the cars and tracks\nthemselves come with the updates. Only DLC you bought unlocks: a voucher opens only with the key of\nits licence.\n\n1. **The vouchers**: pick the DLC `.pkg` files in the launcher's *Help > Install a game update or DLC\n   (.pkg)*, which puts them in place. Or install them in RPCS3 (*File > Install Packages\u002FRaps\u002FEdats*),\n   or use your PS3's hard disk, and copy `dev_hdd0\\game\\\u003Ctitle ID>\\USRDIR\\vou` to\n   `GT5\\hdd0\\game\\\u003Ctitle ID>\\USRDIR\\vou`.\n2. **The licence keys**: for each voucher, the 16-byte key of its licence, saved as\n   `GT5\\hdd0\\home\\00000001\\exdata\\\u003Ccontent ID>.rifkey`. The content ID is the name of the licence\n   file (`\u003Ccontent ID>.rap`), for example `UP9000-BCUS98114_00-TWINRINGMOTEGI00`. The key comes from your\n   licence; this repository holds no keys and doesn't make it for you.\n3. Start the game. The gift cars arrive in the garage at the first start (\"The following Gift Cars have\n   been added to your garage\"); the packs are in **Downloadable Content** on the main menu, under\n   Purchased Content, each with *Install*. That screen wants a PSN sign-in: when `play.bat` finds\n   vouchers, it tells the game it's signed in, with a local profile and no connection to anything.\n\nA voucher without its key stays locked, and the game shows nothing for it.\n\n\u003Ca id=\"setup\">\u003C\u002Fa>\n\n## 🚦 Setup\n\n**`setup.ps1` does almost everything.** Run it as often as you like. Each time it does what's still\nto do, checks your files, and tells you exactly what's missing and how to fix it. Once everything is\nin place it builds the game for you. You never need to run the scripts in `GT5\\scripts` yourself.\n\n1. Install the tools from [Requirements](#-requirements): Git (Python is fetched by `setup.ps1`; if you would rather use your own: 3.11 or newer, tick \"Add\n   python.exe to PATH\"), and Visual Studio 2022 with C++ and the Clang tools.\n2. Get the port and run setup once. In PowerShell:\n\n   ```\n   git clone https:\u002F\u002Fgithub.com\u002FMormonFTP-hub\u002Fgt5-recomp\n   cd gt5-recomp\n   powershell -ExecutionPolicy Bypass -File setup.ps1\n   ```\n\n   Or, without typing commands: after the `git clone`, double-click **`setup.bat`** in the\n   `gt5-recomp` folder. It runs the same setup and keeps the window open so you can read the result.\n\n   It fetches and patches ps3recomp, makes the Python environment and downloads FFmpeg. Then it lists\n   the game files you still need to add, marked `[missing]`. Use Git rather than the ZIP download, so\n   you can update later.\n3. Add your own game files (setup checks each one and catches the usual mistakes):\n   - **Game data:** dump your own GT5 disc (BCES00569 or BCUS98114) and copy its `PS3_GAME` folder to\n     `GT5\\vfs`, so that `GT5\\vfs\\PS3_GAME\\USRDIR` exists.\n   - **System software:** in RPCS3, install the PS3 firmware (File > Install Firmware, with\n     `PS3UPDAT.PUP` from Sony). Then copy RPCS3's `dev_flash` folder to `GT5\\dev_flash`, so that\n     `GT5\\dev_flash\\sys` exists.\n   - **The executable:** in RPCS3, Utilities > Decrypt PS3 Binaries, choose your disc's\n     `PS3_GAME\\USRDIR\\EBOOT.BIN`, and save the decrypted file as `GT5\\input\\EBOOT.elf`. It must be the\n     decrypted one: setup tells you if it's still encrypted.\n4. Run setup again (the same command, or double-click `setup.bat`):\n\n   ```\n   powershell -ExecutionPolicy Bypass -File setup.ps1\n   ```\n\n   When nothing is missing, it generates the game code from your EBOOT.elf (about 10 minutes) and\n   builds `gt5.exe` (20 to 50 minutes the first time, depending on your PC).\n5. Play: `GT5\\play.bat`. Saves go to `GT5\\gamedata`; logs go to `GT5\\logs`.\n\nIf setup stops with an error, post its whole output in the\n[discussions](https:\u002F\u002Fgithub.com\u002FMormonFTP-hub\u002Fgt5-recomp\u002Fdiscussions) or the\n[problem form](https:\u002F\u002Fgithub.com\u002FMormonFTP-hub\u002Fgt5-recomp\u002Fissues\u002Fnew?template=2-problem.yml).\n\nWhen it is set up, the folder looks like this (the parts you add are marked):\n\n```\ngt5-recomp\\\n  setup.bat, setup.ps1, update.ps1, README.md, LICENSE\n  ps3recomp\\          fetched and patched by setup.ps1\n  ffmpeg\\             fetched by setup.ps1\n  venv\\               made by setup.ps1\n  GT5\\\n    input\\            YOU ADD: EBOOT.elf (decrypted)\n    vfs\\PS3_GAME\\     YOU ADD: the PS3_GAME folder from your disc\n    dev_flash\\        YOU ADD: from RPCS3 after installing Sony's firmware\n    generated\\, src\\gen\\, analysis\\   made by setup.ps1 from your EBOOT.elf\n    build\\            made by setup.ps1 (gt5.exe)\n    hdd0\\, logs\\      made when you play\n```\n\nOptional, for speed: GT5 runs many SPU jobs. They run in an interpreter until they are captured and\nrecompiled. Run the game once with `SPU_DUMP_MISS=\u003CGT5 folder>\\analysis\\spu_miss` set, then run\n`python GT5\\scripts\\lift_spu_jobs.py` and build again (see the comments at the top of that script).\n\n\u003Ca id=\"switches\">\u003C\u002Fa>\n\n## ⚙️ Switches\n\n`play.bat` sets the usual environment variables, then reads `settings.bat` (what the launcher saves),\nso the launcher's settings win. Some useful ones:\n\n| Variable | Effect |\n|---|---|\n| `PS3_VIDEO_MODE=1080` | The game's 1080p mode (default); `720` for its 720p mode on a slow graphics chip. See the [FAQ](#faq). |\n| `PAD_BACKGROUND=1` | The pad keeps working when another window has focus. |\n| `PS3_WHEEL=off` | Don't look for a steering wheel. The other `PS3_WHEEL_*` settings are in the [FAQ](#faq). |\n| `PS3_MOUSE_STEER=1` | Steer with the mouse in races (left button throttle, right brake). Its other settings are under [Mouse steering](#mouse-steering). |\n| `PS3_COCKPIT_FOV=20` | The cockpit view 20° wider (negative: narrower); `PS3_COCKPIT_SEAT` and `PS3_COCKPIT_HEIGHT` move the eye (cm forward, cm up). See [Cockpit view](#cockpit-view). |\n| `PS3_KEYS=cross:W,square:Space,...` | Your own keyboard keys, `button:key` pairs (the launcher's Controls page writes it). Button and key names are under [Your own keys](#keyboard-keys). |\n| `PS3_KEYS_ARROWS=split` | Where the arrow keys go. By default (without mouse steering or a wheel) the d-pad only: a tap moves one place in the menus, and in a race GT5 eases into the steering as it does with a PS3 pad's d-pad. `split`: L","这是一个将PS3平台《Gran Turismo 5》通过静态重编译技术移植到PC的非官方项目，不包含游戏文件，需用户自备原版光盘及未更新的EBOOT.BIN（v1.00）。项目基于ps3recomp框架，将PowerPC\u002FSPU指令静态翻译为C++并编译为x64可执行程序，同时在Windows上使用DirectX 12模拟RSX图形管线，在Linux上支持早期Vulkan后端。适用于具备合法游戏介质、希望在现代PC硬件上运行原版GT5的模拟与研究场景，也支持模组开发和逆向工程验证。",2,"2026-11-24 04:50:19","CREATED_QUERY"]