[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-107529":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":17,"stars7d":18,"stars30d":19,"stars90d":16,"forks30d":16,"starsTrendScore":20,"compositeScore":21,"rankGlobal":10,"rankLanguage":10,"license":22,"archived":23,"fork":23,"defaultBranch":24,"hasWiki":25,"hasPages":23,"topics":26,"createdAt":10,"pushedAt":34,"updatedAt":35,"readmeContent":36,"aiSummary":37,"trendingCount":16,"starSnapshotCount":16,"syncStatus":38,"lastSyncTime":39,"discoverSource":40},107529,"tlou-remastered-pc","ravencaio\u002Ftlou-remastered-pc","ravencaio","Unnoficial Native Windows PC port of The Last of Us Remastered (PS4, CUSA00552). Runs the game’s own x86-64 code on a custom runtime, with PS4 system libraries reimplemented and a Vulkan renderer based on shadPS4. Includes a launcher. No game files included: you need your own copy.","",null,"C++",387,38,18,75,0,7,33,192,30,85.24,"GNU General Public License v2.0",false,"main",true,[27,28,29,30,31,32,33],"pc-port","ps4","reverse-enginnering","shadps4","the-last-of-us","vulkan","windows","2026-11-23 15:53:38","2026-11-23 09:55:24","# The Last of Us Remastered — PC port\n\nRuns the PS4 **The Last of Us Remastered** (CUSA00552, with its update 1.11) natively on Windows.\nThe game's own x86-64 code runs directly on the PC; a runtime supplies the PS4 system libraries,\nand a Vulkan renderer (the shadPS4 video core) executes the PS4 GPU work.\n\n> **No game files are in this repository.** You need your own copy of the game (the dumped\n> CUSA00552 folder, and its update). This project is not affiliated with Sony Interactive\n> Entertainment or Naughty Dog.\n\n## Status\n\nWork in progress, reported playable from start to finish by a player, with one crash along the way\nthat is not fixed yet, and with rough edges.\n\n- **Frame rate:** on a laptop with a Core i7-8750H and a GTX 1050 Ti Mobile (4 GB), 60 FPS in light\n  areas and about 40-44 FPS in the heaviest area tested, where the CPU side of the renderer is the\n  limit (the draw recording thread at about 87%): lowering the resolution barely helps there.\n- **Frame pacing:** frame times swing while the game runs below its limit, and a fixed 30 FPS limit\n  (launcher, or the in-game menu) makes motion clearly more even.\n- **Known issues:**\n  - NPCs sometimes move in jumps. It comes and goes between runs of the same build; the cause is\n    not settled. The bursts of long frames that seemed to go with it shrank with the faster guest\n    condition variables, and a fixed 30 FPS limit had no jumps in the sessions tried.\n  - A frame that compiles many new shaders can pause the game for a moment, mostly the first time\n    an area is played. The game's own frame watchdog is patched from 2 s to 20 s for that\n    (`TLOU_FIXES=none` leaves the game unpatched). If a load ever hangs, start with\n    `GOW3_FRAMES_IN_FLIGHT=0` (slower).\n  - Shots pass through some parts of objects with no effect, though they hit walls and most\n    objects where the crosshair is. One firefly pendant, hanging from a tree in the courtyard\n    after the quarantine zone, cannot be shot down for that reason. Ruled out so far: the\n    renderer's CPU\u002FGPU data exchange, the port's patches and red-zone protection, and the CPU's\n    approximate math instructions.\n- **Not available for this game yet:** a true mouse camera (the mouse drives the right stick\n  instead, though no longer capped at the stick's top speed), the draw distance sliders and\n  keyboard button prompts, which need the game's own camera code, settings block and prompt\n  textures to be located.\n\n## Requirements\n\n- Windows 10 or 11 (64-bit).\n- A CPU from Intel's 4th-generation Core (Haswell) or newer, or any AMD Ryzen: the game needs\n  AVX, F16C, BMI1, MOVBE and LZCNT.\n- A graphics card or integrated GPU with Vulkan 1.3 and a current driver.\n- About 6 GB of free RAM for the game.\n\n## Playing\n\n**From a release:** extract the zip, open `TLOU Launcher.exe`, choose the game folder under Folders\nand press Play. Nothing else needs installing. After that, a shortcut with the game's icon appears\nbeside the launcher.\n\n**From this repository** (needs Python 3.10 or newer):\n\n1. Put the game folder `CUSA00552` next to this repository's folder, and the update next to it as\n   `CUSA00552-patch` (or name another update folder with `TLOU_UPDATE=\u003Cfolder>`). An update you\n   only have as a PKG unpacks there with `python tools\u002Finstall_update.py \u003Cupdate.pkg> \u003Cgame folder>`.\n2. Build the runtime (below), then start the game with `launcher\u002FTLOU Launcher.exe`,\n   `Start-TLOU.cmd`, or `python tools\u002Fprobe_tlou.py --boot --seconds 0 [--game \u003Cgame folder>]`.\n3. Saves and settings stay in `analysis\u002Ftlou-user`; the log is `analysis\u002Ftlou\u002Fboot.log`. Each\n   session also records your controller input (`analysis\u002Ftlou\u002Fpad-record-*.txt`, the newest 5),\n   so a crash can be replayed on the same route; `TLOU_RECORD_PAD=0` turns that off.\n4. With this repository on a hard disk, put the shader cache (`analysis\u002Ftlou-user\u002Fcache`, about\n   250 MB in some 12,000 files) on an SSD: the game reads all of it in its first seconds, and\n   from a hard disk that takes long enough for the game to build pipelines itself, pausing for\n   seconds. With the game closed, move the folder, then link it back:\n   `mklink \u002FJ analysis\\tlou-user\\cache \u003Cfolder on the SSD>` (in `cmd`).\n\nThe launcher sets the display, frame limit and folders, in nine languages; its Debug menu switches\neach optimization off, some of them while the game runs. The in-game menu (Insert, or R3+L2 on a\ncontroller) holds the graphics, controls and frame rate settings.\n\n**Without a DualShock 4:** the touchpad (backpack, crafting) is Tab \u002F Backspace on the keyboard\nor Back\u002FView on an Xbox-style controller. Shaking the controller is G on the keyboard or the\nShare\u002FCapture button (`GOW3_KEY_MAP` \u002F `GOW3_PAD_MAP` `shake=...` rebind it). The flashlight\nnever flickers out by default, so it needs no shake: Celogamez's GoldHEN cheat \"Flashlight Does\nNot Turn Off\" (`TLOU_CHEATS=none` turns it off).\n\n## Building\n\nFrom an MSYS2 **CLANG64** shell:\n\n```bash\npacman -S --needed git patch \\\n  mingw-w64-clang-x86_64-{toolchain,cmake,ninja,pkgconf,python} \\\n  mingw-w64-clang-x86_64-{vulkan-headers,vulkan-loader,vulkan-memory-allocator,glslang} \\\n  mingw-w64-clang-x86_64-{sdl3,fmt,boost,robin-map,xxhash,ffmpeg,zydis} \\\n  mingw-w64-clang-x86_64-{spirv-tools,spirv-headers,spirv-cross}\ngit submodule update --init --recursive\ngow3_pc\u002Fbuild.sh                 # the runtime: gow3_pc\u002Fout\u002Fgow3-probe.exe\n```\n\nClone with `core.autocrlf=false`: line-ending conversion breaks the FSR-Vulkan patches.\n\n`gow3_pc\u002Fbuild.sh` also builds `launcher\u002FTLOU Launcher.exe`. With a profile in\n`gow3_pc\u002Fpgo\u002Ftlou.profdata` it builds with PGO and LTO (about 10% more FPS in the heaviest area\ntested); the profile is not in the repository, and without it the build is plain. `GOW3_PGO=off`\ngives quicker development builds. A new profile needs a clean build.\n\n`tools\u002Fpackage_windows.sh` builds `dist\u002FTLOU-Remastered-windows.zip`, the release: the runtime and\nits DLLs, the launcher, the scripts and a Python of its own. `tools\u002Fpackage_check.py` refuses game\nfiles and paths of the build machine.\n\nThe launcher reads its background and icon from the player's own copy of the game. A local icon goes\nin `launcher\u002Fassets\u002Ficon.ico` (not in the repository).\n\n## Repository layout\n\n| Path | Contents |\n|---|---|\n| `gow3_pc\u002F` | The runtime: C runtime (`src\u002F`), GPU library (`gpu\u002F`: shadPS4 video core and shims), preparation scripts (`scripts\u002F`). Diagnostics settings: [gow3_pc\u002FREADME.md](gow3_pc\u002FREADME.md). |\n| `launcher\u002F` | The launcher (`tlou_launcher.pyw`, Tkinter) and its starter (`tlou-launcher.c`). |\n| `tools\u002Fpackage_windows.sh` | The Windows release zip. |\n| `tools\u002Fprobe_tlou.py` | Prepares the game's executable (with its update) and starts the runtime with this game's settings. |\n| `tools\u002Ftlou_pad.py`, `tools\u002Ftlou_bench.py` | Scripted controller input, frame captures and analysis; a repeatable frame rate measurement on a test profile. |\n| `tools\u002Fdecode_dump.py`, other `tools\u002F` | Image dump decoding and other diagnostics. |\n| `tools\u002Finstall_update.py` | Unpacks an update PKG next to the game folder (PkgTool, `tools\u002Fpkgtool`). |\n\n## Credits and license\n\n- The runtime comes from BilalReloaded's PS4 port runtime\n  ([GitHub](https:\u002F\u002Fgithub.com\u002Fbc160201983)), which started from FelipePrado0's\n  [SpartanPort](https:\u002F\u002Fgithub.com\u002FFelipePrado0\u002FSpartanPort) (gow3_pc; whose internal names, such as\n  `GOW3_*` settings, it keeps), and the [shadPS4](https:\u002F\u002Fgithub.com\u002Fshadps4-emu\u002FshadPS4) video core.\n- The camera motion for temporal anti-aliasing (`CameraMotion::OnVelocityConstants` and the motion\n  vector mode) comes from SuperMedo's PS4 port ([GitHub](https:\u002F\u002Fgithub.com\u002FSupermedo), GPL v2).\n- Windows red-zone protection and the reader-preferring memory table lock come from HayatoG's\n  [tlou_pc](https:\u002F\u002Fgithub.com\u002FHayatoG\u002Ftlou_pc) (GPL-2.0-or-later); the protection follows\n  shadPS4's design.\n- The 1 ms timer, the power throttling opt-out, the faster guest condition variables, the idle job\n  worker patch's method and the package's Python copy come from BilalReloaded's\n  [Uncharted: The Nathan Drake Collection port](https:\u002F\u002Fgithub.com\u002Fbc160201983\u002FUncharted-The-Nathan-Drake-Collection-PC-port).\n- **NVIDIA DLSS:** DLAA uses NVIDIA DLSS technology through the DLSS bridge adapted from\n  [IFreemz\u002FshadPS4-Bloodborne-DLSS-FSR](https:\u002F\u002Fgithub.com\u002FIFreemz\u002FshadPS4-Bloodborne-DLSS-FSR)\n  (MIT). NVIDIA, RTX and DLSS are trademarks of NVIDIA Corporation.\n- AMD FSR 4: the v07 INT8 model as built by [Q2RTX](https:\u002F\u002Fgithub.com\u002FFireBurn\u002FQ2RTX) from AMD's\n  MIT-licensed FidelityFX SDK source.\n- Third-party code: FSR (AMD), imgui, magic_enum, miniz, xbyak, LibAtrac9, FFmpeg, SDL3, PkgTool\n  (LibOrbisPkg, LGPL-3.0).\n- Licensed under the GNU GPL v2 or later (see `LICENSE`).\n","这是一个将PS4版《最后生还者：重制版》（CUSA00552）原生移植到Windows PC的开源项目。它不依赖模拟器，而是通过自定义运行时直接执行游戏原始x86-64可执行代码，复现PS4系统库，并基于shadPS4构建Vulkan渲染器实现GPU指令翻译。项目提供图形化启动器，支持帧率限制、分辨率调节等基础设置。适用于拥有合法游戏文件（已提取的CUSA00552目录及1.11更新）的技术向PC玩家，在满足AVX\u002FF16C\u002FBMI1等CPU指令集与Vulkan 1.3驱动要求的现代Windows设备上运行。",2,"2026-11-24 04:32:09","CREATED_QUERY"]