Skip to content

armsx2-sa: replace yaps2-sa with the ARMSX2 PS2 emulator - #3076

Merged
porschemad911 merged 1 commit into
ROCKNIX:nextfrom
bmdhacks:armsx2
Jul 29, 2026
Merged

armsx2-sa: replace yaps2-sa with the ARMSX2 PS2 emulator#3076
porschemad911 merged 1 commit into
ROCKNIX:nextfrom
bmdhacks:armsx2

Conversation

@bmdhacks

Copy link
Copy Markdown
Contributor

What

Replaces the yaps2-sa PS2 standalone package with ARMSX2
(github.com/ARMSX2/ARMSX2), the
actively-developed native ARM64 fork of PCSX2 that supersedes yaps2 and
has taken in the yaps2 code. The package is renamed yaps2-sa
armsx2-sa and rebranded end-to-end.

Pinned to ARMSX2 master @ 37ce96996c.

Changes

  • Package rename & repointemulators/standalone/yaps2-sa
    armsx2-sa; PKG_SITE/PKG_URL now point at ARMSX2/ARMSX2. Build
    recipe (CMake flags, LTO, Qt UI, Vulkan/GL, LLD) is otherwise
    unchanged.
  • Branding — ES emulator/core yaps2/yaps2-saarmsx2/armsx2-sa
    (es_features.cfg), config dir /storage/.config/YAPS2
    /storage/.config/ARMSX2, binary yaps2-qtarmsx2-qt, install dir
    /usr/share/yaps2-sa/usr/share/armsx2-sa. Launchers renamed to
    start_armsx2.sh / cheevos_armsx2.sh / Start ARMSX2.sh, plus
    gamelist.xml and the per-device docs. ARMSX2 keeps the PCSX2.ini /
    secrets.ini settings filenames, so those are preserved.
  • Patch: 000-fix-arm-compilation.patch slimmed — ARMSX2 upstreamed
    the CMAKE_HOST_SYSTEM_PROCESSORCMAKE_SYSTEM_PROCESSOR
    arch-selection fix, so those hunks are dropped. The cross-compile
    page/cache-line-size fallback is retained because
    detect_page_size() / detect_cache_line_size() still FATAL_ERROR
    under CMAKE_CROSSCOMPILING (try_run can't execute target binaries
    on the build host). Defaults to 4K pages / 64B lines, overridable via
    -DOVERRIDE_HOST_PAGE_SIZE= / -DOVERRIDE_HOST_CACHE_LINE_SIZE=.
  • 0000-set-version.patch — carried over unchanged (still applies).

Drive-by fixes carried into the rebrand

  • Cheevos ini targets — the old cheevos_yaps2.sh wrote to
    YAPS2.ini / security.ini, which never existed (the shipped files
    are PCSX2.ini / secrets.ini), so RetroAchievements config was a
    no-op. cheevos_armsx2.sh now targets the real files.
  • BIOS path consistency — the launcher created
    /storage/roms/bios/pcsx2 while the shipped PCSX2.ini pointed
    Bios = at /storage/roms/bios/yaps2. Both now use
    /storage/roms/bios/armsx2.

Verification

  • Both patches apply cleanly against ARMSX2@37ce96996c
    (patch -p1 --dry-run → OK).
  • PKG_URL tarball resolves publicly (HTTP 200 via codeload).
  • Repo-wide: no yaps2/YAPS2 references remain.

Notes

Not yet built through the ROCKNIX buildsystem in this PR; happy to run a
target build (or point at CI) before merge. ARMSX2 is ARM64-native by
design — it still compiles for AMD64 like any PCSX2 fork, so it stays in
the AMD64 emulator list as yaps2 was.

@porschemad911 porschemad911 self-assigned this Jul 29, 2026
@porschemad911
porschemad911 deployed to pr-approval July 29, 2026 00:45 — with GitHub Actions Active
@porschemad911

porschemad911 commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

@bmdhacks I have triggered CI builds: https://github.com/ROCKNIX/distribution/actions/runs/30412078846

Edit: We'll look to merge this after August monthly release

@bmdhacks

Copy link
Copy Markdown
Contributor Author

Thanks, I didn't mean to have claude submit this before I looked at it, but it looks OK to me

ARMSX2 (github.com/ARMSX2/ARMSX2) is the actively-developed native
ARM64 fork of PCSX2 that supersedes yaps2. Rename the yaps2-sa package
to armsx2-sa, repoint it at ARMSX2, and update the branding throughout:
ES emulator/core name (armsx2 / armsx2-sa), config dir
/storage/.config/ARMSX2, the armsx2-qt binary, plus docs and gamelist.

- Pin to ARMSX2 master 37ce96996c.
- Slim 000-fix-arm-compilation.patch down to just the cross-compile
  page/cache-line-size fallback. ARMSX2 upstreamed the
  CMAKE_HOST_SYSTEM_PROCESSOR -> CMAKE_SYSTEM_PROCESSOR arch-selection
  fix, but detect_page_size()/detect_cache_line_size() still
  FATAL_ERROR under CMAKE_CROSSCOMPILING, so the fallback is retained.
- Fix the cheevos script to target the real ini files (PCSX2.ini /
  secrets.ini) instead of the never-present YAPS2.ini / security.ini.
- Make the BIOS path consistent (/storage/roms/bios/armsx2 in both the
  launcher and the shipped PCSX2.ini).
@r3claimer

Copy link
Copy Markdown
Contributor

Might want to merge this before the end of month release. Just so people dont have to update again next month to a different emu.

@porschemad911

Copy link
Copy Markdown
Contributor

I will test on S922X

@r3claimer

Copy link
Copy Markdown
Contributor

I will test on S922X

ok let me know when we are good to go.

@bmdhacks

bmdhacks commented Jul 29, 2026

Copy link
Copy Markdown
Contributor Author

I can spin up an sm8250 build in that case too i was just being lazy. I'll do that today and report back.

@bmdhacks

Copy link
Copy Markdown
Contributor Author

Another option is we just ship a PR that pulls yaps2 and then we worry about this next round.

@porschemad911

porschemad911 commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

Another option is we just ship a PR that pulls yaps2 and then we worry about this next round.

@bmdhacks @r3claimer this PR works fine for me on S922X (local build from this PR). It loaded up my memory card ok and games run fine. Just had to mv /storage/roms/bios/yaps2 /storage/roms/bios/armsx2

@porschemad911 porschemad911 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested and working on S922X

@porschemad911
porschemad911 merged commit af1bcf6 into ROCKNIX:next Jul 29, 2026
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants