[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-112942":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":16,"stars7d":17,"stars30d":18,"stars90d":16,"forks30d":16,"starsTrendScore":16,"compositeScore":19,"rankGlobal":10,"rankLanguage":10,"license":10,"archived":20,"fork":20,"defaultBranch":21,"hasWiki":22,"hasPages":20,"topics":23,"createdAt":10,"pushedAt":24,"updatedAt":25,"readmeContent":26,"aiSummary":27,"trendingCount":16,"starSnapshotCount":16,"syncStatus":14,"lastSyncTime":28,"discoverSource":29},112942,"ghostrecon2-recomp","ElKev118\u002Fghostrecon2-recomp","ElKev118","Native Windows port of Tom Clancy's Ghost Recon 2 (Xbox) via static recompilation — Vulkan renderer, up to 6x resolution, SMAA, FSR 1. Bring your own game files","",null,"C",57,5,2,11,0,4,7,42.03,false,"main",true,[],"2026-11-02 02:36:37","2026-11-22 02:56:31","# Ghost Recon 2 — native PC port (static recompilation)\n\nA native Windows build of _Tom Clancy's Ghost Recon 2_ (original Xbox, 2004).\nThe game's own code is statically recompiled from its `default.xbe` into C by\nthe [xboxrecomp](https:\u002F\u002Fgithub.com\u002FElKev118\u002Fxboxrecomp\u002Ftree\u002Fgr2-port) toolkit (a fork of [sp00nznet\u002Fxboxrecomp](https:\u002F\u002Fgithub.com\u002Fsp00nznet\u002Fxboxrecomp)); the Xbox\nhardware and system software are replaced by native code (kernel, NV2A GPU →\nVulkan, MCPX APU → XAudio2, USB pads → SDL2, keyboard and mouse).\n\n**No game data is included.** You need your own copy of the game (Xbox\ndisc). This repository holds only the port's own source code; the\nrecompiled game code is generated on your machine from your `default.xbe`.\n\nCurrent release: **v1.3** (see the [releases](https:\u002F\u002Fgithub.com\u002FElKev118\u002Fghostrecon2-recomp\u002Freleases)).\nThe port of the game's official expansion, _Summit Strike_, is\n[summitstrike-recomp](https:\u002F\u002Fgithub.com\u002FElKev118\u002Fsummitstrike-recomp).\n\n## Playing (release build)\n\nRequirements: Windows 10\u002F11 x64 and a GPU with Vulkan 1.3 (since v1.3 the\nVisual C++ Redistributable is no longer needed).\n\n```\nGhostRecon2\\\n├── ghostrecon2.exe\n└── game\\              ← the contents of your Ghost Recon 2 disc\n    ├── default.xbe\n    ├── actor\\  character\\  media\\  ...\n```\n\nCopy the whole disc (extracted ISO) into `game\\` and run `ghostrecon2.exe`.\nThe folder can live anywhere and be moved as a whole.\n\n- **Delete** or **Home**: the port's options menu — window mode, VSync,\n  frame limit, internal resolution (1x–6x), aspect ratio (4:3 \u002F 16:9\n  stretched \u002F fill window \u002F **native widescreen**), HUD position,\n  anti-aliasing (SMAA), upscaling (FSR 1), sharpening (RCAS), downscale\n  filter, shader cache, volume, reverb, rain\u002Fambience level, language\n  (restart), and the keyboard and mouse controls.\n- **F11** or **Alt+Enter**: fullscreen toggle. **F9**: release \u002F recapture\n  the mouse.\n- XInput controllers (Xbox 360 \u002F One \u002F Series pads) play as the Xbox pad.\n- **Keyboard and mouse**: the mouse turns the view directly, like a PC\n  shooter (slower when zoomed through a scope); every action can be\n  rebound in the options menu (two keys each, mouse buttons and wheel\n  included). Defaults: WASD move, mouse look, left click fire, right click\n  zoom, F action, R \u002F Enter reload, Q \u002F E lean, Left Shift \u002F Left Ctrl\n  stance up \u002F down, M map, Esc START, Tab BACK.\n- **Native widescreen**: the camera sees more of the world at the sides to\n  fill any screen shape (16:9, 21:9, 32:9 ...) instead of stretching the\n  4:3 picture; the HUD keeps its proportions and its corner pieces move\n  out to the screen's edges (HUD position slider). Menus and movies stay\n  4:3.\n\nEverything the port writes is in `%LOCALAPPDATA%\\GhostRecon2\\`:\n`SaveData\\` (the console's hard disk: saves), `gr2.ini` (options),\n`shadercache\\`, `logs\\`. Nothing is written next to the exe except by the\ngame itself in `game\\`.\n\n## Building from source\n\n1. Clone this repository and the toolkit side by side:\n   ```\n   XboxRecompProject\\\n   ├── ghostrecon2\\     (this repository)\n   └── xboxrecomp\\      (branch gr2-port)\n   ```\n   `git clone -b gr2-port https:\u002F\u002Fgithub.com\u002FElKev118\u002Fxboxrecomp.git`\n2. Put your game's `default.xbe` in `xboxrecomp\\game_files\\default.xbe` and the\n   whole disc in `ghostrecon2\\build\\Release\\game\\` (for running).\n3. Requirements: Visual Studio 2022 (C\u002FC++), CMake ≥ 3.20, Python 3.10+, Git\n   (CMake fetches SDL2, Vulkan headers, volk, glslang, Dear ImGui, SMAA and\n   FidelityFX FSR 1).\n4. Configure once: `cmake -S . -B build -G \"Visual Studio 17 2022\" -A x64`\n5. Generate the recompiled code and build: `bash tools\u002Fregen.sh`\n   (disassembly → function identification → ABI analysis → C, then the\n   build; ~45 min the first time). After that, `cmake --build build --config Release`.\n\n`run_gr2_debug.bat` starts the build with the debugging keys on (F8 log mark,\nF7 frame capture, F6 audio capture) and the log in `build\\Release\\run_debug.log`.\n\n## Legal\n\nGhost Recon 2 is © Ubisoft \u002F Red Storm Entertainment. This project is not\naffiliated with or endorsed by them. It contains no game assets, no Xbox\nBIOS or keys, and no recompiled game code; use it only with a copy of the\ngame you own. Third-party components and their licences are listed in\n[THIRD_PARTY_NOTICES.md](THIRD_PARTY_NOTICES.md).\n","这是一个将 Xbox 原版《幽灵行动2》（2004年）静态重编译为原生 Windows 可执行程序的开源项目。它通过 xboxrecomp 工具链将 Xbox 可执行文件（default.xbe）反编译并重构为 C 代码，替换原有硬件抽象层：NV2A GPU 驱动由 Vulkan 实现，音频使用 XAudio2，输入基于 SDL2，并完整支持键盘\u002F鼠标与 Xbox 手柄。提供最高6倍内部分辨率、SMAA 抗锯齿、FSR 1 上采样、原生宽屏适配及 HUD 自适应布局。用户需自备 Xbox 游戏光盘镜像，项目仅提供重编译工具链与运行时框架，适用于怀旧玩家在现代 PC 上高画质运行经典主机游戏。","2026-11-24 04:44:41","CREATED_QUERY"]