FF8Recomp

FF8Recomp is a native Android port of Final Fantasy VIII that renders the game using FFNx on Vulkan or OpenGL ES.

README

FF8Recomp: FINAL FANTASY VIII, native Android recomp. The app icon, a gunblade crossed over a white feather on a deep crimson night

FF8Recomp

FINAL FANTASY VIII (PC: the 2013 Steam release or the Remastered) statically recompiled to native ARM64 Android, rendered by FFNx on Vulkan (or OpenGL ES). Built for the AYN Thor, and meant to run on other Android handhelds and phones. A sibling of FF7Recomp and FF9Recomp.

This repository and the APK contain no game code or data. You need your own copy of FINAL FANTASY VIII from Steam (either edition). The app recompiles your copy of the game's program on your device, once; nothing derived from the game is ever published here. Not affiliated with or endorsed by Square Enix. FINAL FANTASY is a trademark of Square Enix.

Status: 0.1, the first public build. Both editions play from the title screen through fields, the world map, menus, battles, GF summons and movies, with their music, and with mods. Some of FF7Recomp's launcher features are not there for FF8 yet (see Known limitations).

A battle on the AYN Thor: the game on the top screen, and on the bottom screen the companion showing the party's HP and ATB and the enemy's HP and weaknesses

Screenshots

Taken on an AYN Thor running the Remastered, with two mods on. The top screen is the game; the bottom screen is the companion.

A field on the train: the game on top, the party's GFs and junctions belowA battle: the game on top, party HP and ATB and the enemy's weaknesses below
Field: the companion shows the party, their GFs and junctionsBattle: HP and ATB, and the enemy's HP and weaknesses
The world map: the Ragnarok on the Lenown Plains, the party belowThe load screen with the Remastered's HD portraits
World mapLoad screen: the Remastered's HD portraits
The launcher's Get mods page, browsing the Junction VIII catalogThe launcher's Mods page with two mods on
Get mods: browse and install from the Junction VIII catalogsMods: turn mods on and off, set their order and options
The launcher's Game files pageThe launcher's Settings page: frame rate and performance
Game files: import, rebuild, or repair from SteamSettings: frame rate, performance, display and language

The CRT filter on the Balamb Garden hall: scanlines and a phosphor mask over the game
CRT filter (Settings, Display): scanlines and a phosphor mask, at full size so the lines show

Made with AI

This project was built with AI, start to finish. As with FF7Recomp, I directed an AI coding agent (Anthropic's Claude, in Claude Code) to build it: the recompilation pipeline, the Android port of FFNx for FF8, the DirectMusic player, the launcher and these docs were written by the AI. My part was deciding what to build, testing every step on the Thor, and saying what worked and what did not. Commits are credited to Claude for that reason.

  • It has not been reviewed line by line by an experienced human developer. It works on my Thor, but expect rough edges and bugs.
  • The hard parts were built by people. FFNx, pcrecomp and nfsu2-recompiled, bgfx and the other projects listed under Credits are human work this project stands on. Please support them.
  • I am making it public to improve it, and so people can play it. Bug reports, testing on other devices, reviews and fixes are all welcome.

If AI-made software is not something you want to run or contribute to, that is a fair choice, and I would rather you know before you install it.

What you get

  • Either edition you own on Steam: the 2013 release, or the Remastered with its HD models, portraits and menus, its own recording of the music, and five languages (English, French, German, Spanish, Italian).
  • The game running natively (no emulation, no Wine/FEX), at the game's own speed (battles at 15 FPS, the rest at 30), and up to 60 FPS with frame generation if you own Lossless Scaling.
  • Its music: Android has no DirectMusic, so FF8Recomp carries a small DirectMusic player that plays the game's own segments with its own instrument set (FF8.dls), through FFNx's audio engine (crossfades, battle music, resume after battles).
  • Movies (FFmpeg), 16:9 widescreen, controller support, keyboard support, on-screen touch controls for devices without a controller.
  • Save states (Select+L1 saves, Select+R1 loads; the buttons can be changed), on top of the game's own saves.
  • Mods: Junction VIII's catalogs (the Tsunamods catalog is subscribed to by default) and .iro/.iroj files, installed and switched on in the launcher. Mods that patch the game's code (.hext) work; mods that carry Windows DLLs are skipped.
  • Dual-screen devices (the Thor's lower screen): the party's HP, junctions, magic, GFs, items and Triple Triad cards, enemy HP in battles, and buttons for 2x speed, random battles off, save states and the menu.
  • One screen: the same panels below or beside the game, or over part of it with a small button over the game or a controller button (Start, L3 or R3).
  • EXP from battles: none (for low-level play), normal, 2x, 5x or 10x (Settings > Battles).
  • A launcher: import or download your game files, build the game for your device, settings, save states, problem reports.

Playing

  1. Download the APK from Releases and install it (allow installing from your browser or file manager when Android asks).
  2. Open FF8Recomp → Game files:
    • Connect to Steam…: sign in once by scanning a QR code with the Steam app on your phone (you never type your Steam password into FF8Recomp), then choose which FINAL FANTASY VIII to play: the Remastered (about 2.8 GB) or the 2013 release (about 1.7 GB), whichever your account has. The launcher downloads it straight from Steam and checks each file.
    • or Find my FF8 folder…: pick the game's install folder if you already have it on the device: steamapps/common/FINAL FANTASY VIII (the 2013 release: FF8_EN.exe and Data) or steamapps/common/FINAL FANTASY VIII Remastered (FFVIII_EN.exe.dat, main.zzz, other.zzz).
  3. The launcher builds the game for your device: it translates the game's program to C, compiles it with the clang it carries and links it with the engine (FFNx, the renderer, the runtime). This happens once (about 15 minutes on an AYN Thor) and carries on in the background (a notification shows the progress).
  4. Press Play.

FINAL FANTASY VIII as Steam installs it (English, unpatched) has everything FF8Recomp uses:

  • The 2013 release: its SteamStub DRM wrapper is removed on the device when the files are imported.
  • The Remastered: it carries the original PC program inside FFVIII_EN.exe.dat; the launcher takes it out and runs it the way FFNx runs the Remastered on the PC, with the Remastered's own data (HD textures, music, movies) read from main.zzz and other.zzz. Dotemu's engine (FFVIII_EFIGS.dll) is not used.

Game files can switch to the other edition later, from Steam or from a folder (your saves stay). Patched game files are not supported.

Your PC saves: copy slot1_save01.ff8… from Documents\Square Enix\FINAL FANTASY VIII Steam\user_<id> into Android/data/com.ff8recomp/files/game/save/user_0/; they appear under Continue.

Building the APK

The APK is built on Windows (Git Bash) and needs no game files.

1. Install the tools
ToolNotes
Git for Windowsprovides Git Bash
Python 3
Android Studio or the command-line SDKSDK Manager → SDK Tools: NDK (Side by side) 28.2.13676358, CMake 3.30.5, Android SDK Platform-Tools
JDK 17Android Studio's bundled JBR works, or Microsoft OpenJDK 17
LLVM for Windowsclang for build-time host tools
Visual Studio 2022 Build Tools"Desktop development with C++" (bgfx's shader compiler, LLVM's tablegen)

tools/env.sh finds these in their standard install locations. If yours are elsewhere, set ANDROID_SDK_ROOT, JAVA_HOME, LLVM_DIR or MSBUILD.

2. Build

In Git Bash:

git clone <this repository> FF8Recomp
cd FF8Recomp
bash tools/build_all.sh

build_all.sh runs every step in order: the pinned toolkits (pcrecomp, FFNx, bgfx) and their patches, the libraries, FFmpeg, shaders, the on-device build kit (clang and lld built for Android, about 40 minutes the first time; Python for Android; the lifter; the engine's prebuilt archives) and the APK. If a step fails, fix the cause and run it again; finished steps are skipped.

config/catalog.json.gz (the function boundaries of the game's exe: addresses only) and config/ffnx_manifests/ (FFNx's patch sites) come from the game's exe and are made on a PC that has it (tools/import_game.py, tools/run_lift.py catalog, tools/ff8_manifest.sh). docs/NOTES.md is the engineering log; docs/ROADMAP.md the plan.

Reporting problems

Please open an issue with your device, Android version and what happened. Report a problem in the launcher collects the logs (ff8.log, build.log, game/FFNx.log under Android/data/com.ff8recomp/files/).

Known limitations

  • Languages: the Remastered in English, French, German, Spanish or Italian (Settings); the 2013 release in English. Japanese is not supported yet.
  • The Remastered runs through FFNx's Remastered mode, so the Remastered's own additions to the game (its booster menu, its new options) are not there.
  • Not yet for FF8: Steam achievements and cloud saves, importing PlayStation saves.
  • The music player covers what FF8's segments use (sequence, tempo and band tracks, DLS level 1 instruments); DirectMusic's reverb and chorus are not reproduced.
  • Movies decode on the CPU.

Credits and licenses

FF8Recomp is GPL-3.0 (it links FFNx). It builds on: pcrecomp (MIT), nfsu2-recompiled (MIT; Android host), FFNx (GPL-3.0), bgfx/bx/bimg (BSD-2), SoLoud (zlib) and vgmstream (ISC), rcheevos (MIT), the LZMA SDK (public domain), FFmpeg (LGPL). The APK also carries, for the on-device build: LLVM/clang and lld (Apache-2.0 with LLVM exceptions), Python for Android (PSF), Capstone (BSD-3) and pefile (MIT). For Steam downloads: JavaSteam (MIT) with its libraries (protobuf, BSD-3; OkHttp, Ktor, Kotlin and kotlinx.coroutines, Apache-2.0; Commons Lang, Apache-2.0; Bouncy Castle, MIT; XZ for Java, public domain; zstd-jni, BSD-2) and ZXing (Apache-2.0) for the QR code.