github vyanhursky/DefJamFFNY-recomp v1.3.0
Def Jam: Fight for NY — Recompiled v1.3.0

one hour ago

v1.3.0 — Setup without Build Tools, one-folder install, disk savings and Photo Mode

Windows setup no longer needs Microsoft's C++ Build Tools: the app brings its own
compiler. Windows installs into one folder you choose, from one page. Old installs can
reclaim gigabytes of unused save-image space, and an uninstall that deletes the data
folder backs up your saves first. A controller Photo Mode freezes a fight and lets you
fly a camera around it.

You need your own supported USA Xbox dump. The game-free app verifies it and
compiles locally; no game executable, game data or texture pack is included.
Source builds use recursive tag v1.3.0; see the Windows
and macOS/Linux guides.

Qualified on one machine per platform. The automated and packaged-install evidence, with its
failures and omissions, is below. The owner's hands-on play-test was waived by the owner; no
result here implies one.

Changes

  • No Build Tools on Windows (PR #313,
    from the #189 spike
    PR #312). The Windows app
    carries pinned LLVM-MinGW (UCRT, x64), CMake 3.31 and Ninja 1.11 and builds the game as
    your normal Windows user: no Visual Studio, no Windows SDK, no administrator prompt and
    no restart. Each installed version keeps its own copy of the tools (about 332 MiB).
    Updating from v1.2.4 or older switches to the bundled compiler; older payloads still
    build with Microsoft's tools.
  • One folder, one page (Windows) (PR #290,
    contributed by @danfreitas97 — thank you!). The first run is now a single page:
    choose the install folder and your game copy, pick Modern or Original, and select
    INSTALL. The app, the game it builds, your saves and settings all live in that
    folder (game\, data\), with one desktop shortcut. Move or copy the whole folder
    and the app follows it, repointing its records and its link to your dump. Uninstalling
    removes only the app's own files and keeps data\ unless you ask for it to go. The
    install folder can be at most 70 characters long. Accents and other alphabets work.
    Installs from v1.2.0 and older keep their existing layout and are updated in place.
  • Saves are backed up before a data-deleting uninstall (PR #300).
    When you tick Also delete the data folder, setup first copies your whole save
    tree, custom fighter unlocks and settings, verifies every byte, and only then removes
    anything. The copy keeps the save images' unused space as sparse holes, so a 5 GB
    save area backs up in about a megabyte of disk.
  • Optimize disk usage (PR #301).
    Installs made before sparse save images can reclaim that space: Help → Repair or
    rebuild → Optimize disk usage
    inspects first, and Optimize now frees only blocks
    proven to be zero, then re-verifies every byte. A successful update offers it once.
    On Windows a typical old save area drops from about 5.2 GB to well under 1 MB on disk.
    On macOS it works on APFS (the usual Mac disk) and on Linux it is qualified on ext4
    (Steam Deck). Close the game first: on macOS and Linux, Optimize refuses while any
    copy of the game is running.
  • Photo Mode (PR #303).
    Press R3 + D-pad Down during a fight, a fight entrance, or from the pause menu to
    freeze the scene and fly a camera: move, rise and fall, four speeds, look sensitivity,
    invert Y, field of view, roll and reset; HUD/help toggles and composition guides;
    temporary brightness, venue tint, vignette and film scratches. Photos are clean PNGs at
    the game's internal resolution in Pictures\DefJamRecompiled, without the HUD or any
    of Photo Mode's own controls (~/Pictures/DefJamRecompiled on macOS and, usually, Linux). Your saved settings are never changed. Victory scenes,
    Story cutscenes and menus are not supported yet. Controls: docs/photo-mode.md.

Fixes found while qualifying this release

  • An idle title screen could stop responding (bundled-compiler builds). Left
    untouched, the title screen loops its attract movie; after 8 to 12 loops (20 to 30
    minutes) on the new LLVM build, DirectSound could spin forever while resetting an
    AC'97 output channel. A second guest thread's write to the trapped AC'97 page left
    the reset bit in DirectSound's one read-back. The reset now completes at that read,
    as on hardware.
  • The log could grow by gigabytes after about 40 minutes. A "log the first 20 calls"
    counter in the Xbox kernel layer wrapped after two billion calls and then logged every
    wait, about 20 MB a second. Every build reached it eventually; the new build reached it
    sooner because it runs faster. All 54 such counters now stop counting at their limit.
  • The install page shows its errors. A refused folder (for example one over 70
    characters) printed its reason below the visible part of the page; the page now
    scrolls to the message and to the copying status.
  • Save import refuses junctions as it already refused symbolic links, so an import
    can never be redirected outside the save folder.

Downloads and updating

Game-free app downloads: DefJamRecompiled-1.3.0-windows-x64.exe,
DefJamRecompiled-1.3.0-macos-arm64.zip and
DefJamRecompiled-1.3.0-linux-x86_64.AppImage, each with its SHA-256 sidecar
and source/toolkit provenance. Keep your existing data folder when updating.

Credits

Thanks to @danfreitas97 for the one-folder Windows install (#290), including the
safe uninstall clean-up, copied/moved install handling, measured path limits and the
accented-folder build fixes.

Validation and explicit limits (Windows)

Qualified on one Windows 11 PC (2026-11-27/28), on the bundled LLVM-MinGW build players
get and on the MSVC build. Details are in the release PR and in PROGRESS.md under D477–D499.

  • Regression: full regress.py on LLVM 14/17 + 4 Windows skips; crib/gym 2/2 on a
    prepared Story fixture; replay and repeat 2/2 on both compilers; the visual check 1/1;
    two-matches 35/36 with the known combat.eliminations.match2 (D479). MSVC quick 5/5.
    After the two runtime fixes: LLVM m2/m3/m4a/fight/combat (28/28)/intro 6/6 and MSVC
    quick 5/5. Unit tests with the compiler environment: all pass.
  • Idle title screen: 50 minutes on LLVM (21 attract loops), no hang, 31 MB of log.
    Before the fixes it hung after 8–12 loops, 3 runs out of 3.
  • Photo Mode: controller, controller-paused, entrance and both refusal probes pass on LLVM;
    controller also passes on MSVC.
  • Real installs through the packaged app: fresh one-folder install 386 s; a 70-character
    non-ANSI folder 427 s (71 refused, with its message); move and copy of the whole folder,
    with Repair in the copy 160 s; uninstall keeping data. Update from a real v1.2.4 install
    took 239 s and kept saves and settings byte-identical. Optimize then took the save area
    from 5.24 GB to 143,910 bytes on disk. A data-deleting uninstall's backup was
    byte-identical (1.06 MB on disk). Restored into another install, Play started the game to
    its title screen; the candidate build on that data reached the main menu and played a fight.
  • Final re-test (2026-11-29/30, release head 5ef7fcb, after the macOS and Linux changes):
    CI 36/36; LLVM m2/m3/m4a/fight/combat (28/28)/intro 6/6 and MSVC m2/m3/m4a/fight 4/4; Photo Mode
    controller and entrance probes pass on LLVM; unit tests 3,046 passed, 72 skipped, none failed. The
    full regression was not repeated: the later runtime changes on Windows are a call that does
    nothing there and one path separator in Photo Mode.
  • Clean Windows PC: a fresh Windows 11 Enterprise 25H2 evaluation VM, offline, standard user, with
    no Visual Studio, Windows SDK or CMake. The CI-built app installed, built the game in 700 s and
    started it from Play; the game ran four minutes, drawing its opening video at about 10 fps on
    software rendering (the VM has no GPU).
  • CI-built app on the owner's PC: fresh one-folder install in a path with é 403 s; a real
    v1.2.4 install updated, then Optimize took 25 save files from 5.24 GB to 1.2 MB on disk, with
    saves and settings byte-identical. In both, Play started the game, which ran at least a minute.
  • Not covered here: physical controllers, owner hands-on play, and Photo Mode's default Pictures
    folder on Windows (the probes redirect their output; macOS and Linux exercised the default).

Known on Windows: extracting the game copy into a folder whose name is outside the
system code page falls back from tar to PowerShell (about 100–150 s instead of a few
seconds). The uninstall backup goes to Documents, which may be a OneDrive folder. The app
font has no CJK glyphs, so such folder names show as boxes.

Validation and explicit limits (macOS)

Qualified on one Apple Silicon Mac (M1 Pro, macOS 26.7.3, Apple Clang 21, posix-release)
on 2026-11-28/29, with the release branch at 4741ee2 (CI 35/35). Details are in the
release PR and in PROGRESS.md under D500.

  • Regression: full regress.py 17/21. Two failures are the intermittent non-code call
    known on macOS since v0.13 (0x81000344 from guest 0x0027EC6E, D441,
    #331), on the first two boots
    after a fresh build; m2 and the launcher check pass on rerun and a 20-boot soak had none.
    Crib and Gym first stopped for want of a prepared Story fixture; on a single-profile fixture
    they pass 2/2. Combat 28/28, versus 27/27, replay and repeat 80 records over 1,800 steps
    matching the golden hash, fights at a median 120 presents per 2 s, Story intro, French,
    English subtitles, rapid input and a three-boot soak pass. Unit tests: 2,991 passed.
  • Idle title screen: 50 minutes, 21 attract loops, no stall, 30 MB of log.
  • Photo Mode: controller, controller-paused, entrance and both refusal probes pass; photos
    are clean 1708×960 PNGs and save to ~/Pictures/DefJamRecompiled by default.
  • Optimize disk usage now applies on macOS (it was report-only): a game holds
    data/save.lock while it runs; Optimize refuses while any copy of the game is running,
    including older versions, and a game started during Optimize waits for it. HFS+ and FAT
    volumes are reported as unable to free space, with every byte unchanged.
  • Real installs through the CI-built app: a real v1.2.4 install updated to 1.3.0 in
    107 s with saves and settings byte-identical; the app's Optimize took the save area from
    5.26 GB to 15.4 MB on disk with every byte identical; a data-deleting uninstall's backup
    was 1.2 MB on disk and restored into a fresh 1.3.0 install (221 s, in a folder with an
    accent), which played from the app and reached the main menu and a fight on the candidate
    build. A backup to a full volume and a killed backup kept the game and the data.
  • Not covered here: physical controllers, audible output, owner hands-on play, and Intel Macs.

Known on macOS: the uninstall backup goes to the system Documents folder, which iCloud
Drive uploads at full size when "Desktop & Documents" sync is on. A game older than 1.3.0
started by hand (not from the app) during the seconds that Optimize frees space is not
excluded.

Validation and explicit limits (Linux / Steam Deck)

Qualified on one Steam Deck (SteamOS, kernel 7.2.7, Mesa RADV VANGOGH, ext4 /home, Desktop Mode
with headless gamescope at 1280×800) on 2026-11-29, posix-release built with the bundled Zig
0.17.0. Details are in the release PR and in PROGRESS.md under D501.

  • Regression: full regress.py 18/21. The three failures are explained: replay 79 records
    against the golden 80 (#98, the known Deck difference), and crib/gym, which stopped at 0 s
    for want of a prepared Story fixture (on a single-profile fixture they pass 2/2). repeat
    diverged at step 691 (#98); replay and repeat with --isolate-crowd pass 2/2 against the
    golden hash. Two-matches 35/36 (combat.eliminations.match2, the known failure, D479). Combat
    28/28, versus 27/27, fights at a median 120 presents per 2 s (minimum 119–120), Story intro,
    French, English subtitles, rapid input, a three-boot soak and the launcher and overlay checks
    pass. Unit tests: 2,202 passed. The macOS non-code call (D441) did not occur.
  • Idle title screen: 51 minutes, 22 attract loops, no stall or hang, 31 MB of log.
  • Photo Mode: controller, controller-paused, entrance and both refusal probes pass; photos are
    clean 1708×960 PNGs and, with no RECOMP_PHOTO_DIR, go to <Pictures>/DefJamRecompiled
    (resolved from XDG_PICTURES_DIR, created by the game, a single separator).
  • Optimize disk usage now applies on Linux (it was report-only): the save lock and the
    running-game check already built there; fallocate(PUNCH_HOLE | KEEP_SIZE) is qualified on ext4.
    Through the app, 4.9 GB of dense images (5.24 GB allocated) went to 1.2 MB allocated, all 14
    save files byte-identical with the same sizes and timestamps. Refused with a game running (the
    lock, and the process check for a game on other saves), and a game started while maintenance
    holds the lock logs that it is waiting and starts when it is released.
  • Real installs through the app (the CI-built Linux app for the first install, the same app
    with this branch's engine for the rest): fresh install from the ISO with the bundled compiler
    535 s; Update to a new build 530 s with the 14 save files byte-identical and the previous
    build kept; a data-deleting uninstall's backup was byte-identical and 1.2 MB allocated for
    4.9 GB; it restored into a fresh install in a folder containing é (535 s), which played from
    the app. A backup killed with SIGKILL mid-copy, and one that failed on a write (a file size
    limit standing in for a full volume), left no backup.json and kept the install and the saves.
  • Not covered here: Game Mode, controllers and audio by ear, a real full or FAT/exFAT volume
    (no root on the Deck), btrfs/XFS, the Steam add and remove steps, visual (no Deck baseline),
    and Linux one-folder install parity (L6, the owner's decision).

Known on Linux: the uninstall backup goes to <Documents> (SDL's folder, which may be synced);
when the backup fails the app only says "Setup's uninstall stopped (exit 4)" and points to the log.

Toolkit

Toolkit 372b899c16ae3159f2a4f2fc90b5c0c0f8635462 on vyanhursky/xboxrecomp branch defjam/release-1.3.0 = v1.2.4's
d15f727, plus the Windows TLS selection fix (274e6fb, cherry-picked as c7eab6d) and
the saturating log gates (372b899).

Don't miss a new DefJamFFNY-recomp release

NewReleases is sending notifications on new releases.