DEArmoredcoreV

DEArmoredcoreV is a native Linux port of Armored Core V that uses static recompilation and Vulkan rendering.

README

DEArmoredcoreV

English | Русский

Build & install · Contributors · Packages

Research project: reconstruction and a native Linux build of Armored Core V (Xbox 360). PowerPC machine code is translated into C++ through the ReXGlue SDK and runs on Linux; the installation guide explains the Windows SDK route and remaining application-port work. In parallel, an independent C/C++ reconstruction of the game's behaviour is being built from retail data.

Static recompilation of Armored Core V (Xbox 360) into a native Linux port. Research project; no game data included.

Gameplay scene from the native Linux build with the Vulkan renderer

Important

This repository does not include, distribute, or provide access to any game assets. It only contains the source code to build the recompilation. You must own a legitimate copy of Armored Core V and extract the required assets from it.

Caution

This project is a work-in-progress. You might experience bugs and crashes; full playability has not been verified. See the current status and known blockers below.

Not affiliated. This project is not connected to, and is not endorsed by, the rights holders of Armored Core V. Names and trademarks belong to their owners.

Features

  • Static recompilation. PowerPC instructions from default.xex are translated into C++ and built as a native Linux program; no CPU emulation is used at runtime.
  • Vulkan rendering. The Xenos GPU plugin translates shaders into SPIR-V (glslang); frame debugging is done with the RenderDoc replay tools.
  • Resource unpacking. Scripts for BHD5/BDT, BND3, FLVER, TPF and Xbox 360 textures (BC1) live in tools/.
  • Transparent log. Every analysis and build run is written to the SQLite logger (tools/decomp-logging), so results are reproducible and verifiable.
  • Independent reconstruction. A parallel C/C++ reconstruction of behaviour based on retail data; the evidence by address and function is listed in REVERSE_ENGINEERING.

Current status

The ACV-Linux 1.1 release notes describe the launcher and package in English and Russian. The release includes source/build archives and a split download of the existing ACV-Linux-release-1.0 package; see the notes for its exact version, provenance and reassembly instructions.

The current standalone package is ACV-Linux-release-1.0. Its TRG launcher, profile/settings backend and game/runtime files are tested as a local Linux package. The launcher includes display and graphics settings, XDG profiles, backup/restore, input bindings, and bounded texture-cache/read-ahead controls.

A user-run release1.0 session stayed active beyond 184 seconds. A 60-second sample recorded 29.02 guest swaps/s, 92.4% device-wide GPU utilization, and no lost CPU IP samples. The mission and route were not identified, so this is not a repeatable gameplay baseline; FPS above30, 1% low, image correctness, and game-time pacing remain unaccepted. See the FPS report.

A black-screen hang in Mission2 was observed in an earlier session and remains unresolved for that scenario (evidence, analysis). It is not known whether it matches the later unlabelled performance sample.

Resource work includes validated BHD5/BDT and BND3 parsing, 7,111 FLVER headers, and Xbox360 BC1 block matching. DLC sound is partially mounted; emblems and seven sounds require an image with DLC. Pixel-shader emulation, in-game readback coverage, and kernel behavior for ObReferenceObject and IoDismountVolumeByFileHandle remain open.

The detailed plan, acceptance criteria and journal are in PLAN and PROGRESS.

Structure

PathContents
tools/native-rexglue/kernel host shims (acv_compat_shims.cpp), probe and build scripts (probe_linux.py, build_linux.py), RenderDoc replay tools, tests
tools/decomp-logging/SQLite execution logger (cli.mjs): all analysis and build runs go through it
tools/native-decomp/, tools/native-host-probe/limited manual models and checks based on retail evidence
tools/*.pyresource unpacking and checking: bhd5_extract_all.py, bnd3_extract_dir.py, flver_inventory.py, x360_bc_decode.py, bc_tile_match.py, spirv_slice.py, and others
scripts/wrappers: assets.sh, decomp.sh, ghidra-rpc.sh, unity.sh, check_repository_payload.py
kb: (SQLite tools/acv-context/knowledge.sqlite3)state, plan, journal, formats and technical reports; read with python3 tools/acv-context/kb.py index
logs/not published, except for individual evidence files listed in .gitignore

External components (ReXGlue SDK, XenonRecomp, XenosRecomp, c-xbox_tool_2.0.7 and others) are not part of the repository. They are installed separately and keep their own licenses in their directories.

Requirements

  • Linux x86_64 (development is done on CachyOS/Arch), Clang or GCC, CMake, Ninja.
  • ReXGlue SDK 0.10.0, installed separately; the path is set via CMAKE_PREFIX_PATH (see tools/native-rexglue/gpu-plugin/README.md).
  • Python 3 and Node.js (for the logger in tools/decomp-logging).
  • RenderDoc for frame captures; Ghidra is optional, via scripts/ghidra-rpc.sh.
  • Your own image of the game. Unpacking is described in ASSET_FORMATS.

Quick start

# 1. Local profile (not published; contains the player name and settings)
cp tools/native-rexglue/acv.config.example tools/native-rexglue/acv.config

# 2. Build the native probe (incremental)
python3 tools/native-rexglue/build_linux.py --jobs 4 \
  --gpu-plugin-artifact tmp/acv-gpu-plugin-build/librexgpu-xenos.so

# 3. Bounded run (150 s) through the logger
node tools/decomp-logging/cli.mjs run --stage linux_probe --timeout-ms 175000 -- \
  python3 tools/native-rexglue/probe_linux.py --seconds 150 --video-driver x11 \
  --user-root tmp/acv-mnk-profile

The run is a diagnostic tool, not a game launcher. A failed status for probes caused by dlc_* noise in the classifier means a false classification when the child exits with 0; see SQLITE_LOGGING.

All analysis, builds and tests must be run through the logger:

node tools/decomp-logging/cli.mjs run --stage <stage_name> -- <command> [arguments]

Documentation

DocumentPurpose
DOCS_READMENavigation: which document to read for which question
PLANSingle plan, working rules and acceptance criteria
PROGRESSJournal of verified results and operations
X360_PROJECT_STATECurrent state and blockers
NATIVE_REXGLUE_LINUXNative Linux line: build, imports, experiments
ASSET_FORMATSISO, BHD5/BDT, DCX, BND3, TPF, FLVER, textures
ARCHITECTURERuntime layers and boundaries
REVERSE_ENGINEERINGEvidence by address and function
LINUX_INPUTKeyboard, mouse, configuration
SQLITE_LOGGINGLogger: commands, history, retries
ACV_TIMING, GHIDRA_CAPTURETiming and Ghidra captures
archived reports: python3 tools/acv-context/kb.py index --all --kind archiveCondensed reports on postponed branches; archives excluded
ABOUT_DE-AC5.MDProcess overview: from ISO to C++ and runtime
TASK_SQLPolicy for the persistent journal and recovery

For agents and contributors

  • AGENTS — working rules for AI agents and contributors: what to check, what must not be changed without permission, and how to record results.
  • Before making changes, read PLAN, then the latest entries in PROGRESS.
  • The original ISO and the live Ghidra database are read-only.
  • Screenshots and PNG previews are not kept for analysis: the evidence is logs, RenderDoc RDC/XML, instructions and numeric dumps.

Acknowledgements

ReXGlue and Xenia — the runtime this port stands on; XenonRecomp and the recompilation projects that showed the way.

Armored-core-ReAnswered is a reference for future improvements. TRG Launcher is the selected GUI for the launcher migration plan. extract-xiso provides disc-image extraction tooling. Local checkout revisions and usage notes: tool selection guide.

License

The project's code and documentation are distributed under the GNU General Public License v3.0 (only) — see LICENSE. Third-party components (ReXGlue SDK, XenonRecomp, XenosRecomp, RenderDoc, libraries in thirdparty/) keep their own licenses; GPL-3.0 does not replace them. Armored Core V game data is not part of the project's license and is not distributed.