[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-112539":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":15,"stars7d":16,"stars30d":17,"stars90d":15,"forks30d":15,"starsTrendScore":18,"compositeScore":19,"rankGlobal":9,"rankLanguage":9,"license":20,"archived":21,"fork":21,"defaultBranch":22,"hasWiki":23,"hasPages":21,"topics":24,"createdAt":9,"pushedAt":31,"updatedAt":32,"readmeContent":33,"aiSummary":34,"trendingCount":15,"starSnapshotCount":15,"syncStatus":18,"lastSyncTime":35,"discoverSource":36},112539,"ff7-recomp-android","bhuiyah\u002Fff7-recomp-android","bhuiyah","FINAL FANTASY VII (PC) statically recompiled to native ARM64 Android, with an FFNx renderer and a 7th Heaven-style mod launcher. No game files included.",null,"Java",120,4,3,5,0,19,69,2,58.5,"GNU General Public License v3.0",false,"main",true,[25,26,27,28,29,30],"7th-heaven","android","ayn-thor","ffnx","final-fantasy-vii","static-recompilation","2026-11-23 20:10:42","2026-11-22 15:35:43","\u003Cp align=\"center\">\u003Cimg src=\"docs\u002Fimages\u002Fbanner.png\" alt=\"FF7Recomp: FINAL FANTASY VII, native Android recomp. The app icon, the Buster Sword planted under a burning sky as a turquoise meteor falls\">\u003C\u002Fp>\n\n# FF7Recomp\n\nFINAL FANTASY VII (PC, the Steam release) statically recompiled to native ARM64 Android, rendered by\n[FFNx](https:\u002F\u002Fgithub.com\u002Fjulianxhokaxhiu\u002FFFNx) on Vulkan (or OpenGL ES), with a 7th Heaven-style mod launcher.\nBuilt for the AYN Thor (dual screen), and meant to run on other Android handhelds and phones.\n\n> **This repository and the APK contain no game code or data.** You need your own copy of FINAL\n> FANTASY VII (the Steam release). The app recompiles **your** `ff7_en.exe` on your device, once;\n> nothing derived from the game is ever published here.\n> Not affiliated with or endorsed by Square Enix. FINAL FANTASY is a trademark of Square Enix.\n\n![FF7Recomp on the AYN Thor: Cosmo Canyon at 118 FPS on the top screen; the party, location, playtime and a touch deck on the bottom screen](docs\u002Fimages\u002Fdual-screen-field.jpg)\n\n## Made with AI\n\n**This project was built with AI, start to finish.** I wanted a working way to play a modded\nFF7 on my AYN Thor, and over a weekend I directed an AI coding agent (Anthropic's Claude, in\nClaude Code) to build it. The AI wrote essentially all of the code here: the recompilation\npipeline, the Android port of FFNx, the launcher, the on-device build and these docs. My part\nwas deciding what to build, testing every step on the Thor, and saying what worked and what\ndid not. Commits are credited to Claude for that reason.\n\nI know AI-written code is a real point of contention, so here it is up front:\n\n- **It has not been reviewed line by line by an experienced human developer.** It works on my\n  Thor: the game boots, plays and runs mods, but expect rough edges and bugs.\n- **The hard parts were built by people.** FFNx, pcrecomp and nfsu2-recompiled, 7th Heaven,\n  bgfx, and every mod in the catalogs are human work that this project stands on (see\n  [Credits](#credits-and-licenses)). Please support those projects.\n- **I am making it public to improve it,** and so people can play it. Bug reports, testing on\n  other devices, reviews and fixes are all welcome, from people and from people using AI tools.\n\nIf AI-made software is not something you want to run or contribute to, that is a fair choice,\nand I would rather you know before you install it.\n\n## What you get\n\n- The game running natively (no emulation, no Wine\u002FFEX), at 30, 60 or 120 FPS.\n- A launcher: import your game files, browse and install mods from the 7th Heaven catalogs\n  (.iro, .zip, .7z), set mod order and options, settings, save states, achievements. It plays\n  FF7's own menu sounds (or your mods' versions of them).\n- 16:9 widescreen, controller support (A confirms, B cancels), save states.\n- Keyboard support: arrow keys or number pad move; Enter, Space or Z confirm; Backspace or X\n  cancel; Tab or C open the menu; V is Square; Q\u002FPage Up and E\u002FPage Down are L1\u002FR1; 1\u002FHome\n  and 3\u002FEnd are L2\u002FR2; Esc or P is Start; Shift or Insert is Select.\n- English, French, German or Spanish (**Settings** → **Language**), from the languages\n  your Steam copy includes. Mods that replace text stay in their own language (most are English).\n- On-screen touch controls for devices with one screen and no controller (D-pad, A\u002FB\u002FX\u002FY,\n  L1\u002FL2\u002FR1\u002FR2, Start\u002FSelect); they hide when a controller is used. **Settings** → **On-screen\n  controls**: Automatic, Always or Off.\n- On screens wider than 16:9 (most phones), **Settings** → **Display** → **16:9, stretched to fill** removes the\n  black bars at the sides.\n- A CRT filter (**Settings** → **Display**): scanlines and a phosphor mask, like an old TV.\n- Renderer (**Settings** → **Display**): Vulkan (default) or OpenGL ES, for GPUs whose Vulkan driver\n  has trouble with the game.\n- Portrait on phones (**Settings** → **Screen**): the game at the top; below it the party, location,\n  enemy HP and a touch deck (menu, save\u002Fload state, speed), then the on-screen controls.\n- On the AYN Thor's bottom screen: party status, location, enemy HP in battle, a touch deck\n  (menu, save\u002Fload state, speed, random battles, battle enhancement); it dims during cutscenes.\n  On the world map it shows the map with where the party is, drawn from your own game files.\n  **Settings** → **Screen** → **Use the second screen** off leaves the bottom screen to other apps\n  (a guide, a browser).\n- The book at the bottom screen's top right opens [Pixel Guide](https:\u002F\u002Fpixelguide.app) there,\n  over the panels, while the controller keeps playing the game; closing it brings the panels back.\n  It reopens where you left it (keep your FF7 guide open in it). Without Pixel Guide, the book\n  downloads it from its GitHub releases and Android asks you to confirm the install.\n- Game boosters as in the console re-releases (speed, no random battles, battle enhancement).\n- Steam achievements on your own Steam account (see [Steam achievements](#steam-achievements)),\n  and a local achievement set (RetroAchievements format; offline only).\n\n## Screenshots\n\nOn the AYN Thor, with mods from the 7th Heaven catalogs (Tsunamods' Finishing Touch, Enhanced Stock UI and others) and a tester's mid-game save.\n\n| | |\n|---|---|\n| ![Cosmo Canyon on the top screen; the party, location, playtime, the Pixel Guide book and the touch deck on the bottom screen](docs\u002Fimages\u002Fdual-screen-field.jpg) | ![A battle at 118 FPS with the widescreen battle layout; enemy HP and the touch deck on the bottom screen](docs\u002Fimages\u002Fdual-screen-battle.jpg) |\n| **Dual screen: field** | **Dual screen: battle** |\n| ![The world map near Wutai on the top screen; the whole world map with the party's position on the bottom screen](docs\u002Fimages\u002Fdual-screen-world-map.jpg) | ![Cosmo Canyon with the CRT filter: scanlines and a phosphor mask](docs\u002Fimages\u002Fcrt-filter.jpg) |\n| **Dual screen: world map, with where you are** | **CRT filter** |\n| ![Get mods: the 7th Heaven catalogs by category, with search](docs\u002Fimages\u002Flauncher-get-mods.jpg) | ![Mods: enable, order, options; the options one mod sets for another are shown](docs\u002Fimages\u002Flauncher-mods.jpg) |\n| **Get mods** | **Your mods** |\n| ![Building the game on the device from your own copy of FF7](docs\u002Fimages\u002Flauncher-build.jpg) | ![Settings: aspect ratio, frame-rate counter, renderer (Vulkan or OpenGL ES)](docs\u002Fimages\u002Flauncher-settings.jpg) |\n| **First run: building the game on the device** | **Settings** |\n\n## Playing\n\n1. Download the APK from [Releases](..\u002F..\u002Freleases\u002Flatest) and install it (allow installing\n   from your browser or file manager when Android asks).\n2. Install FINAL FANTASY VII from Steam (the version sold today) and put its install folder,\n   `FINAL FANTASY VII Steam Edition` (the one with `ff7` inside), on the device: internal storage,\n   an SD card or a USB drive.\n3. Open FF7Recomp → **Game files** → **Find my FF7 folder…** and pick that folder.\n4. The launcher copies the game files, then builds the game for your device: it translates your\n   `ff7_en.exe` to C, compiles it with the clang it carries and links it with the engine (FFNx,\n   the renderer, the runtime). This happens once; on an AYN Thor it takes about 8 minutes and\n   carries on in the background (a notification shows the progress). **Quiet build** halves the\n   speed to keep the fan low.\n5. Press **Play**.\n\nNo patch or older version is needed: FINAL FANTASY VII as Steam installs it today has everything\nFF7Recomp uses. Pick its main folder (not `ff7\u002Fworkingdir`); the launcher checks the game files\nwhen you import and tells you if the folder is not the right one. Patched game files and the 2013\nrelease are not supported yet.\n\n**FF7 from GOG?** Pick the game's main folder: the launcher searches it for the game files and\nchecks them, so the same release from another store should work if its files are the same. This\nis untested; if it says the files are not the ones it needs, please report the names and numbers\nit shows.\n\n**Short on space?** With an SD card in the device, **Settings** → **Storage** moves your game\nfiles, mods, saves and save states to it (and back). The built game itself stays in internal\nstorage, as Android runs no code from SD cards.\n\n**FF7 downloaded with GameNative?** GameNative keeps games in its private internal storage by\ndefault, which other apps cannot read. Turn on GameNative's external storage (SD card) option and\npick `GameNative\u002FSteam\u002Fsteamapps\u002Fcommon\u002FFINAL FANTASY VII` on the card, or copy the folder from a PC.\n\n### Bringing your saves\n\n**Save states** → **Import saves (PC or PlayStation)…** takes:\n\n- **PC save files** (`save00.ff7`…`save09.ff7`) from the 2013 Steam release, the original PC release or a\n  7th Heaven install. On a PC the Steam release keeps them in\n  `Documents\\Square Enix\\FINAL FANTASY VII Steam\\user_…`.\n- **PlayStation memory cards**: DuckStation (`.mcd`), ePSXe (`.mcr`), RetroArch (`.srm`), DexDrive\n  (`.gme`) or PSP (`.vmp`). DuckStation keeps its cards in\n  `Android\u002Fdata\u002Fcom.github.stenzek.duckstation\u002Ffiles\u002Fmemcards`.\n\nCopy the file somewhere you can pick it, such as Download, first. The saves go into a new save file\n(Save 2, Save 3… under **Continue**), so none of yours are overwritten. Saves made by the current\nSteam release's own launcher use a different format and are not supported yet.\n\n## Building the APK\n\nThe APK is built on **Windows** (Git Bash) and needs no game files.\n\n### 1. Install the tools\n\n| Tool | Notes |\n|---|---|\n| [Git for Windows](https:\u002F\u002Fgit-scm.com\u002Fdownload\u002Fwin) | provides Git Bash |\n| [Python 3](https:\u002F\u002Fwww.python.org\u002Fdownloads\u002F) | |\n| [Android Studio](https:\u002F\u002Fdeveloper.android.com\u002Fstudio) or the command-line SDK | SDK Manager → SDK Tools: **NDK (Side by side) 28.2.13676358**, **CMake 3.30.5**, Android SDK Platform-Tools |\n| JDK 17 | Android Studio's bundled JBR works, or [Microsoft OpenJDK 17](https:\u002F\u002Flearn.microsoft.com\u002Fjava\u002Fopenjdk\u002Fdownload) |\n| [LLVM for Windows](https:\u002F\u002Fgithub.com\u002Fllvm\u002Fllvm-project\u002Freleases) | clang for build-time host tools |\n| [Visual Studio 2022 Build Tools](https:\u002F\u002Fvisualstudio.microsoft.com\u002Fdownloads\u002F) | \"Desktop development with C++\" (bgfx's shader compiler, LLVM's tablegen) |\n\n`tools\u002Fenv.sh` finds these in their standard install locations. If yours are elsewhere, set\n`ANDROID_SDK_ROOT`, `JAVA_HOME`, `LLVM_DIR` or `MSBUILD`.\n\n### 2. Build\n\nIn Git Bash:\n\n```bash\ngit clone \u003Cthis repository> FF7Recomp\ncd FF7Recomp\nbash tools\u002Fbuild_all.sh\n```\n\n`build_all.sh` runs every step in order: the pinned toolkits (pcrecomp, FFNx, bgfx) and their\npatches, the libraries, FFmpeg, shaders, the on-device build kit (clang and lld built for Android,\nabout 40 minutes the first time; Python for Android; the lifter; the engine's prebuilt archives)\nand the APK. If a step fails, fix the cause and run it again; finished steps are skipped.\n\nThe APK ends up in `android\u002Fapp\u002Fbuild\u002Foutputs\u002Fapk\u002Fdebug\u002Fapp-debug.apk`.\n\n`config\u002Fcatalog.json.gz` (the function boundaries of the game's exe: addresses only) and\n`config\u002Fffnx_manifests\u002F` (FFNx's patch sites) come from the game's exe and are made on a PC that\nhas it, with `tools\u002Frun_lift.py catalog` and `tools\u002Frefresh_manifests.sh`.\n\n## Mods\n\n**Get mods** lists the Qhimm and Sega 7th Heaven catalogs. Install, then enable and order them\nunder **Mods** (higher in the list wins). **Auto-sort** orders them as 7th Heaven's Auto-sort\ndoes: by category, then by each mod's own load-order rules (for example Finishing Touch above\nEnhanced Stock UI). Those rules, and the option values one mod sets for another for compatibility,\nalso apply in game whatever the list order, as 7th Heaven applies them at launch. Large mods download and unpack on the device; you\ncan keep using the launcher meanwhile. You can also add your own `.iro` files or mod folders.\n\n## Steam achievements\n\n**Achievements** → **Sign in with the Steam app…** shows a QR code: scan it in the Steam mobile\napp (Steam Guard → Scan a QR code) and approve. You never type your Steam password into\nFF7Recomp; it keeps only Steam's sign-in token, in its private storage. **Sign out** removes it.\n\nFFNx's own achievement code decides when one is earned, exactly as it does on PC; FF7Recomp\nsends it to your Steam account (the FINAL FANTASY VII you own on Steam: the current release or\nthe 2013 one, each with its own list). Unlocks show in game and as a notification, and are sent\nat once when online, or the next time you are. While it talks to Steam, your Steam profile may\nbriefly show you playing FINAL FANTASY VII.\n\n## Reporting problems\n\nPlease open an issue with your device, Android version, the mods you have enabled, and what\nhappened. Logs are in `Android\u002Fdata\u002Fcom.ff7recomp\u002Ffiles\u002F`: `ff7.log`, `build.log` (the first-run\nbuild) and `game\u002FFFNx.log`.\n\n## Known limitations\n\n- Only FINAL FANTASY VII as sold on Steam today is supported, unpatched. It plays in English,\n  French, German or Spanish; the Japanese edition is not supported yet.\n- Movies decode on the CPU (no hardware decoding yet): upscaled 30 FPS movie mods work on the\n  Thor but run warmer.\n- The 120 FPS mode is experimental. It runs fields at 120; the world map and battles stay at 60.\n- RetroAchievements: offline only, until the port is approved by RetroAchievements.\n- Steam achievements: tested with \"First Blood\" on the current release; the others use FFNx's\n  triggers unchanged but have not each been played through here. Steam playtime and cloud saves\n  are not synced.\n\n## Credits and licenses\n\nFF7Recomp is GPL-3.0 (it links FFNx). It builds on:\n[pcrecomp](https:\u002F\u002Fgithub.com\u002Fsp00nznet\u002Fpcrecomp) (MIT),\n[nfsu2-recompiled](https:\u002F\u002Fgithub.com\u002Fcodepdbh\u002Fnfsu2-recompiled) (MIT; Android host),\n[FFNx](https:\u002F\u002Fgithub.com\u002Fjulianxhokaxhiu\u002FFFNx) (GPL-3.0),\n[bgfx\u002Fbx\u002Fbimg](https:\u002F\u002Fgithub.com\u002Fbkaradzic\u002Fbgfx) (BSD-2),\n[7th Heaven](https:\u002F\u002Fgithub.com\u002Ftsunamods-codes\u002F7th-Heaven) (MS-PL; mod formats),\n[rcheevos](https:\u002F\u002Fgithub.com\u002FRetroAchievements\u002Frcheevos) (MIT),\nthe [LZMA SDK](https:\u002F\u002Fwww.7-zip.org\u002Fsdk.html) (public domain),\n[FFmpeg](https:\u002F\u002Fffmpeg.org\u002F) (LGPL).\nThe APK also carries, for the on-device build: [LLVM\u002Fclang and lld](https:\u002F\u002Fllvm.org\u002F) (Apache-2.0\nwith LLVM exceptions), [Python for Android](https:\u002F\u002Fwww.python.org\u002Fdownloads\u002Fandroid\u002F) (PSF),\n[Capstone](https:\u002F\u002Fwww.capstone-engine.org\u002F) (BSD-3) and [pefile](https:\u002F\u002Fgithub.com\u002Ferocarrera\u002Fpefile) (MIT).\nFor Steam achievements: [JavaSteam](https:\u002F\u002Fgithub.com\u002FLongi94\u002FJavaSteam) (MIT) with its libraries\n(protobuf, BSD-3; OkHttp, Ktor and Kotlin, Apache-2.0; Commons Lang, Apache-2.0) and\n[ZXing](https:\u002F\u002Fgithub.com\u002Fzxing\u002Fzxing) (Apache-2.0) for the QR code.\n","FF7Recomp 是一款将《最终幻想VII》PC版（Steam）静态重编译为原生ARM64 Android应用的开源项目。它基于FFNx渲染器（支持Vulkan\u002FOpenGL ES），集成类7th Heaven风格的模组管理器，支持本地动态重编译用户自有ff7_en.exe、模组安装\u002F排序\u002F启用、保存状态与宽屏适配。项目专为AYN Thor双屏掌机优化，亦兼容其他Android手持设备，无需模拟层或Wine。需用户自备正版游戏文件，不包含任何受版权保护的游戏代码或资源。","2026-11-24 04:43:46","CREATED_QUERY"]