armsx2-sa: replace yaps2-sa with the ARMSX2 PS2 emulator - #3076
Conversation
|
@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 |
|
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).
|
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. |
|
I will test on S922X |
ok let me know when we are good to go. |
|
I can spin up an sm8250 build in that case too i was just being lazy. I'll do that today and report back. |
|
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 |
porschemad911
left a comment
There was a problem hiding this comment.
Tested and working on S922X
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-saand rebranded end-to-end.Pinned to ARMSX2
master@37ce96996c.Changes
emulators/standalone/yaps2-sa→armsx2-sa;PKG_SITE/PKG_URLnow point atARMSX2/ARMSX2. Buildrecipe (CMake flags, LTO, Qt UI, Vulkan/GL, LLD) is otherwise
unchanged.
yaps2/yaps2-sa→armsx2/armsx2-sa(
es_features.cfg), config dir/storage/.config/YAPS2→/storage/.config/ARMSX2, binaryyaps2-qt→armsx2-qt, install dir/usr/share/yaps2-sa→/usr/share/armsx2-sa. Launchers renamed tostart_armsx2.sh/cheevos_armsx2.sh/Start ARMSX2.sh, plusgamelist.xmland the per-device docs. ARMSX2 keeps thePCSX2.ini/secrets.inisettings filenames, so those are preserved.000-fix-arm-compilation.patchslimmed — ARMSX2 upstreamedthe
CMAKE_HOST_SYSTEM_PROCESSOR→CMAKE_SYSTEM_PROCESSORarch-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()stillFATAL_ERRORunder
CMAKE_CROSSCOMPILING(try_runcan't execute target binarieson 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_yaps2.shwrote toYAPS2.ini/security.ini, which never existed (the shipped filesare
PCSX2.ini/secrets.ini), so RetroAchievements config was ano-op.
cheevos_armsx2.shnow targets the real files./storage/roms/bios/pcsx2while the shippedPCSX2.inipointedBios =at/storage/roms/bios/yaps2. Both now use/storage/roms/bios/armsx2.Verification
ARMSX2@37ce96996c(
patch -p1 --dry-run→ OK).PKG_URLtarball resolves publicly (HTTP 200 via codeload).yaps2/YAPS2references 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.