Repository navigation
crash2-native v0.1.0
First runnable milestone covering Phases 0 through 5: native Linux 30 FPS execution, clean-room reverse engineering of core engine systems, presentation overscan crop, opt-in 16:9 widescreen mod, disc verification, Ubuntu 22.04 CI, and portable x86_64 AppImage packaging.
Added
- Native Linux port of Crash Bandicoot 2: Cortex Strikes Back (
SCUS-94154, USA) onpsxrecomp+recomp-uipreserving 30 Hz gameplay timing, startup launcher, first-runGenerate & rebuildwizard (src/codegen_setup.c), and in-game menu (F10/Ctrl+L/Select+L3,src/menu_provider.c). - Independent clean-room reverse engineering in
re/(experiments/001through008,60confirmed symbols inre/symbols.csv, verified C structs inre/structs.h) and803verified function seeds (seeds/ghidra_funcs.txt). - Presentation-only vertical overscan crop removing the 12-line top and bottom black borders (
DRAWENV512x216aty=12, unstretched40:27image in4:3, toggleable withCRASH2NATIVE_NO_CROP=1viasrc/widescreen.c). - Opt-in preloaded
Widescreen (16:9)mod (crash2.enhancement.widescreen) with selectable horizontal FOV opening (Balanced 1.125xdefault,Conservative 1.10x,Full 1.20x), preserving5/8GTE vertical scaling and keeping OpenBIOS and 24-bit MDEC FMVs in4:3. - Zero-dependency Rust Redump disc verifier (
tools/verify-disc) validatingSCUS-94154size and digests (192,814,608bytes, CRC-32395c0916, MD53c31b5e038f025098a2fdfa70c8213f2, SHA-13d37fe4288a83b01f1a0edbf78e76e0fede6bc22). - Portable
x86_64AppImage built onubuntu:22.04(targeting glibc>= 2.28) bundling OpenBIOS, Zig0.17.1, trimmed CMake3.31.6, Ninja1.12.1, prebuiltpsxrecomp-gameandpsxrecomp-bios, vendored offline dependency archives (SDL3,zlib,libwebp,libchdr), andtomli2.2.1, storing user data and builds in~/.local/share/crash2-native/. - GitHub Actions
ubuntu:22.04CI (.github/workflows/ci.yml) and tag-driven AppImage release workflow (.github/workflows/release.yml) withSHA256SUMS.
Fixed
- Cleared
$APPIMAGE(after preserving it inCRASH2NATIVE_APPIMAGE_PATHandRECOMP_APPIMAGE_PATH) insidepackaging/appimage/AppRunso running the.AppImagedirectly, via--appimage-extract-and-run, or via desktop launchers (such as Gear Lever and rofi) resolvesbios/openbios.bin,game.toml, andsaves/underCRASH2NATIVE_DATA_DIRinstead of aborting withBundled BIOS Missing. - Fixed
[Errno 30] Read-only file systemduringGenerate & rebuildinside the AppImage by honoring explicit pre-stagedPSXRECOMP_GAME/PSXRECOMP_BIOSenvironment overrides inensure_emitters()(patches/psxrecomp/0005-use-prestaged-emitters-from-env.patch), creating writableproject/psxrecomp/biosandproject/psxrecomp/generateddirectories inAppRun(migrating previous symlinks), and preserving pre-stagedoverlay_toolchain/(patches/psxrecomp/0002-preserve-prestaged-overlay-toolchain.patch). - Normalized
SOURCE_DATE_EPOCHto decimal Unix seconds in.github/workflows/release.ymland at the start ofpackaging/appimage/build-appimage.shbefore invokingzig cc, fixing ISO-8601pushtag timestamps rejected by Clang/Zig. - Enforced
defaults.run.shell: bashacross workflows and replacedactions/setup-pythoninci.ymlwithubuntu:22.04nativepython3.11to avoiddashand hostGLIBC_2.38container mismatches. - Applied framework patches
0001-crash-trace-date-time.patch(Zig C portability),0003-display-present-crop.patch(DRAWENV512x216crop hook), and0004-widescreen-projection-aspect.patch(live widescreen projection callback).
Required game files: No game data or Sony BIOS is included. Provide your own Redump-verified USA copy (SCUS-94154, both .cue and .bin in the same folder).
License notice: Original port code and reverse engineering notes are MIT-licensed; linked binaries and AppImage distributions depend on psxrecomp under the PolyForm Noncommercial License 1.0.0.
Full Changelog: https://github.com/Alejandro-Estrada-1/crash2-native/commits/v0.1.0