ARMSX2
ARMSX2 emulates Sony PlayStation 2. It reads 74 files, 9 of them required: without a required file it does not start games.
Run on its own, the app reads its files from this folder:
%USERPROFILE%/
portable.ini or portable.txt beside the executable makes its folder the root, or the folder portable.txt names. A custom data path from the settings gets ARMSX2 under it.
Source: pcsx2/ (emulator code, libretro port), pcsx2/
~/
portable.ini or portable.txt beside the app bundle makes that folder the root.
Source: pcsx2/ (emulator code, libretro port), pcsx2/
$XDG_CONFIG_HOME/ARMSX2/, else ~/.config/ARMSX2/
portable.ini or portable.txt beside the binary makes its folder the root.
Source: pcsx2/ (emulator code, libretro port), pcsx2/, pcsx2/
Android/data/com.armsx2/files/, on the internal storage.
The data folder picked in the setup wizard replaces it, but the BIOS folder stays bios under Android/data/com.armsx2/files.
Source: platforms/ (emulator code, libretro port), platforms/ (emulator code, libretro port)
Documents/
Source: platforms/ (emulator code, libretro port), platforms/
About this profile
Install this emulator's files
For ARMSX2 inside RetroArch, Batocera or another setup. The installer finds the setup and its BIOS folder, then downloads only the files this emulator reads there and checks each one.
Open Start. Type PowerShell, press Enter. Click Copy. Right-click to paste. Press Enter.
&([scriptblock]::Create((irm https://abdess.github.io/retrobios/i.ps1))) --emulator armsx2Press Cmd+Space. Type Terminal, press Return. Click Copy. Press Cmd+V. Press Return.
curl -fsSL https://abdess.github.io/retrobios/i | sh -s -- --emulator armsx2Open a terminal, often with Ctrl+Alt+T. Click Copy. Press Ctrl+Shift+V. Press Enter.
curl -fsSL https://abdess.github.io/retrobios/i | sh -s -- --emulator armsx2Hold power, pick Switch to Desktop. Open Konsole. Click Copy. Press Ctrl+Shift+V. Press Enter.
curl -fsSL https://abdess.github.io/retrobios/i | sh -s -- --emulator armsx2Install Termux, a terminal app. Paste the line. Press Enter. Accept the Python install and allow the storage access Android asks for.
curl -fsSL https://abdess.github.io/retrobios/i | sh -s -- --emulator armsx2Open a terminal on the device. Or connect from a computer with SSH, a terminal over the network. Paste the line. Press Enter.
curl -fsSL https://abdess.github.io/retrobios/i | sh -s -- --emulator armsx2Technical notes
PlayStation 2 emulator, a GPL-3.0 fork of PCSX2 that replaces the x86-64 only
EE, IOP, VU and vtlb fast memory recompilers with native AArch64 ones. One tree
builds the Android application com.armsx2, an iOS package, macOS, Windows and
Linux on arm64, an SDL handheld frontend, and a libretro core.
ref: README.md:1-18, platforms/, platforms/,
.github/
A BIOS image is required and boot stops without one: LoadBIOS finding none
makes VMManager report that a PlayStation 2 BIOS is needed and fail the boot.
A file it cannot read, one without a PS2 ROM directory and a PS1 BIOS each
stop the boot with a message of their own. Only a GS dump replay skips the
load. The folder is Bios under the data
directory, bios by default, and on Android the setup wizard keeps it in
app-private storage because the native file APIs cannot reliably open a dump off
a SAF volume.
ref: pcsx2/ps2/BiosTools.cpp:571-602, pcsx2/VMManager.cpp:2166-2206,
pcsx2/Pcsx2Config.cpp:2627,
platforms/
Detection is by content. The scan lists the BIOS folder, keeps files between 4 and 8 MB, and accepts an image whose romdir carries a RESET entry followed by a readable ROMVER. The fifth ROMVER character gives the zone among Japan, USA, Europe, Asia, China, T10K, COH-H, Test and Free, and an EXTINFO entry supplies the serial. The console scan passes over a COH-H image. An image whose EXTINFO stamp is 20111012-094243, a PS2-format ROM that is no PS2 BIOS, is refused. An image named in the configuration is opened at its own path, without the size filter, and still has to pass the romdir test. When the scan finds nothing, a 512 KB file or a refused image is reported as a PS1 BIOS that does not run PS2 games. No name and no hash is matched anywhere. The image is read into the 4 MB ROM region and truncated to it, and one shorter than 2465792 bytes turns off the OSDSys parameter HLE. IsBIOSFromFd runs the same romdir test on a file descriptor, which is how the Android picker identifies a dump handed over by the storage framework. ref: pcsx2/ps2/BiosTools.cpp:18-39, pcsx2/ps2/BiosTools.cpp:101-240, pcsx2/ps2/BiosTools.cpp:448-548, pcsx2/ps2/BiosTools.cpp:604-651
An arcade session, opened from an .acgame manifest carrying an NM game id, takes a Namco board BIOS instead, a COH-H image between 2 and 8 MB in the BIOS folder. FindArcadeBiosFor sorts every such image by the board its EXTINFO serial names and returns the first one the game runs on: the System 256 board (20040519-145634), then the System 246 Rack C (20021119-163841), then Sony's COH-H A-000-010 (20000901-114731), then any other. Of two dumps of one board, the one in Filenames/ArcadeBIOS wins. NM00010 and NM00015 refuse the System 256 BIOS and NM00002 refuses the Sony board, and a game left with none it runs on stops with the board it needs. With no COH-H image at all the setting is used as before, and LoadBIOS scans the folder, failing the boot when nothing is found. The boot ELF, the media image and the SRAM the manifest names are per-title content resolved beside it, and its dongle and second card are looked up in the memory cards folder. ref: pcsx2/ps2/BiosTools.cpp:309-446, pcsx2/ps2/BiosTools.cpp:571-602, pcsx2/VMManager.cpp:943-949, pcsx2/VMManager.cpp:1741-1974, pcsx2/VMManager.cpp:2190-2197
Companions derive from the selected image. rom1 and rom2 are appended to the full name first, then substituted for the existing extension, so an image at ps2-0230a-20080220.bin is followed by ps2-0230a-20080220.bin.rom1 then ps2-0230a-20080220.rom1, and the open retries case-insensitively. Both regions are 4 MB here. The nvm and the mec are read at the substituted extension only; the nvm is rebuilt in memory with region and language defaults when it is missing or its config block is blank, and the mec is written back to disk as 0x00020603, or 0x0104020a in an arcade session, when it cannot be read. ref: pcsx2/ps2/BiosTools.cpp:257-284, pcsx2/ps2/BiosTools.cpp:659-675, pcsx2/MemoryTypes.h:12-14, pcsx2/CDVD/CDVD.cpp:49-65, pcsx2/CDVD/CDVD.cpp:151-222
The network adapter opens eeprom.dat and flash.dat from the working directory, standing in a compiled-in image for the first and a card filled with 0xFF for the second. DEV9hdd.raw is the default name of the empty disk image the settings page writes, and memory cards, save states and screenshots are likewise produced by the emulator rather than read from a distribution. ref: pcsx2/DEV9/DEV9.cpp:225-276, pcsx2/DEV9/flash.cpp:8-16, pcsx2/DEV9/flash.cpp:62-86, pcsx2/DEV9/DEV9.h:31-33
An IRX named in the configuration is read into the ROM region at 0x3C0000 once
the IOP reaches 0x1630. The field is empty by default and names no file of its
own.
ref: pcsx2/ps2/BiosTools.cpp:286-299, pcsx2/ps2/BiosTools.cpp:677-678,
pcsx2/R3000AInterpreter.cpp:223, pcsx2/
Everything under the resources folder is read at its own name from
EmuFolders::Resources, and GetOverridableResourcePath lets a copy in
UserResources take precedence. The standalone builds carry the folder with them,
the Android application unpacks it from its assets and force-refreshes the
shaders and the two game databases on update because a stale copy no longer
matches the binary. The libretro core reads the same tree from
<system>/pcsx2/resources, with the BIOS folder at <system>/pcsx2/bios. Its build
also compiles in the shaders under shaders/common, shaders/opengl and
shaders/vulkan, GameIndex.yaml and a patches.zip fetched at configure time. The
copy in the resources folder wins and the compiled-in one stands in when the
file is absent. The libretro core archive holds armsx2_libretro.so alone, so
the resources tree is not installed with it.
ref: pcsx2/Pcsx2Config.cpp:2473-2487, pcsx2/Pcsx2Config.cpp:2636,
pcsx2/Pcsx2Config.cpp:2710-2724, pcsx2-libretro/,
pcsx2-libretro/Main.cpp:1103,
platforms/,
platforms/,
pcsx2/CMakeLists.txt:1644-1663, pcsx2/CMakeLists.txt:1698-1700,
pcsx2/GS/Renderers/Common/GSDevice.cpp:535-547,
pcsx2/GameDatabase.cpp:1345-1355, pcsx2/Patch.cpp:304-326
Missing resources are not uniformly survivable. A font that cannot be read is logged and skipped, LoadFontData succeeding regardless. A shader source that cannot be read fails the pipeline compile and the device with it, but only for the backend that reads it, and the renderer setting picks among OpenGL, Vulkan, Direct3D 11 and 12 on Windows and Metal on Apple systems. The caught failures are the three Vulkan compute pipelines, sharpening, FSR1 and SGSR, which turn themselves off. The databases, the patch archive, the controller mappings, the sounds and the interface artwork degrade instead. ref: pcsx2/ImGui/ImGuiManager.cpp:156-161, pcsx2/ImGui/ImGuiManager.cpp:520-536, pcsx2/ImGui/ImGuiManager.cpp:538-581, pcsx2/GS/GS.cpp:114-150, pcsx2/GS/GS.cpp:193-215, pcsx2/GS/Renderers/Vulkan/GSDeviceVK.cpp:3174-3212
The Qt builds resolve a per-script interface font by filename, first under UserResources then under the resources folder, and download the first entry of the script table into UserResources/fonts when neither holds it. Only the Latin and emoji entries are shipped. ref: pcsx2-qt/Translations.cpp:312-370, pcsx2-qt/Translations.cpp:407-424, pcsx2-qt/Translations.cpp:541-549
74 files: 9 required, 65 optional. 4 have an HLE fallback. 66 more files come with the app.
By kind: 139 BIOS and 1 game data.
In this collection: 67 in repo, 6 missing and 1 unsourceable.
Required
Section titled “Required”| File | Status |
|---|---|
ps2-0230a-20080220.binPS2 BIOS image
Validation and source
| in repo |
tfx.glslVulkan texture function shader
Source
| in repo libretro |
convert.glslVulkan conversion shader
Source
| in repo libretro |
present.glslVulkan presentation shader
Source
| in repo libretro |
merge.glslVulkan merge shader
Source
| in repo libretro |
interlace.glslVulkan interlace shader
Source
| in repo libretro |
shadeboost.glslVulkan shade boost shader
Source
| in repo libretro |
imgui.glslVulkan interface shader
Source
| in repo libretro |
fxaa.fxFXAA shader, shared by every backend
Source
| in repo libretro |
Optional
Section titled “Optional”| File | Status | Hash |
|---|---|---|
r27v1602f.8gNamco System 256 board BIOS
Validation, source and config key
| in repo | - |
r27v1602f.7dNamco System 246 board BIOS
Validation, source and config key
| in repo | - |
COH-H31000.BINSony COH-H A-000-010 board BIOS
Validation, source and config key
| in repo | - |
ps2-0230a-20080220.rom1DVD player ROM
Source
| in repo | - |
ps2-0230a-20080220.rom2Chinese ROM extension
Source
| in repo | - |
ps2-0230a-20080220.nvmConsole NVRAM
Source
| in repo HLE fallback | - |
ps2-0230a-20080220.mecMechacon version
Source
| in repo HLE fallback | - |
eeprom.datDEV9 EEPROM
Source
| in repo HLE fallback | - |
flash.datDEV9 SmartMedia flash image
Source
| missing HLE fallback | - |
<module>.irxIOP module injected at boot
Source and config key
| unsourceable | - |
GameIndex.yamlGame database
Hashes and source
| in repo libretro | SHA1 72bfdf91fa11 |
armsx2_overrides.yamlMobile GPU game database overlay
Source
| in repo libretro | - |
RedumpDatabase.yamlDisc track hash database
Hashes and source
| in repo libretro | SHA1 bf2c73d668cd |
patches.zipGame patch archive
Source
| in repo libretro | - |
Roboto-Regular.ttfInterface font
Source
| in repo libretro | - |
RobotoMono-Medium.ttfFixed-width interface font
Source
| in repo libretro | - |
fa-solid-900.ttfFont Awesome icon font
Source
| in repo libretro | - |
promptfont.otfController prompt font
Source
| in repo libretro | - |
Twemoji.Mozilla.ttfEmoji font
Source
| in repo standalone | - |
NotoSansJP-Regular.ttfJapanese interface font
Source
| in repo | - |
NotoSansKR-Regular.ttfKorean interface font
Source
| in repo | - |
NotoSansSC-Regular.ttfSimplified Chinese interface font
Source
| in repo | - |
NotoSansTC-Regular.ttfTraditional Chinese interface font
Source
| in repo | - |
NotoSansArabic-Regular.ttfArabic interface font
Source
| in repo | - |
NotoSansHebrew-Regular.ttfHebrew interface font
Source
| in repo | - |
NotoSansDevanagari-Regular.ttfDevanagari interface font
Source
| in repo | - |
cas.glslVulkan contrast adaptive sharpening shader
Hashes and source
| in repo libretro | SHA1 005cecf1a5e2 |
fsr1.glslVulkan FSR1 upscaling shader
Source
| in repo libretro | - |
sgsr.glslVulkan SGSR upscaling shader
Source
| in repo libretro | - |
ffx_a.hFidelityFX helper header
Source
| in repo libretro | - |
ffx_cas.hFidelityFX CAS header
Source
| in repo libretro | - |
ffx_a_fsr1.hFidelityFX helper header for FSR1
Source
| in repo libretro | - |
ffx_fsr1.hFidelityFX FSR1 header
Source
| in repo libretro | - |
tfx_vgs.glslOpenGL texture function vertex and geometry shader
Source
| in repo libretro | - |
tfx_fs.glslOpenGL texture function fragment shader
Source
| in repo libretro | - |
convert.glslOpenGL conversion shader
Source
| in repo libretro | - |
present.glslOpenGL presentation shader
Source
| in repo libretro | - |
merge.glslOpenGL merge shader
Source
| in repo libretro | - |
interlace.glslOpenGL interlace shader
Source
| in repo libretro | - |
shadeboost.glslOpenGL shade boost shader
Source
| in repo libretro | - |
cas.glslOpenGL contrast adaptive sharpening shader
Source
| in repo libretro | - |
imgui.glslOpenGL interface shader
Source
| in repo libretro | - |
filterbin_2_8RAISR filter bank
Source
| missing libretro | - |
Qfactor_strbin_2_8RAISR strength quantisation table
Source
| missing libretro | - |
Qfactor_cohbin_2_8RAISR coherence quantisation table
Source
| missing libretro | - |
proverb.zipArcade boot programs
Validation and source
| in repo standalone | - |
message.wavAchievement notification sound
Source
| in repo libretro | - |
unlock.wavAchievement unlock sound
Hashes and source
| in repo libretro | SHA1 da328a0a3074 |
lbsubmit.wavLeaderboard submission sound
Source
| in repo libretro | - |
placeholder.pngFullscreen interface placeholder texture
Source
| in repo libretro | - |
no-save.pngEmpty save slot texture
Source
| in repo libretro | - |
media-cdrom.svgGame list menu icon
Source
| in repo libretro | - |
start-game.svgStart game menu icon
Source
| in repo libretro | - |
applications-system.svgSettings menu icon
Source
| in repo libretro | - |
exit.svgExit menu icon
Source
| in repo libretro | - |
start-file.svgStart file menu icon
Source
| in repo libretro | - |
drive-cdrom.svgStart disc menu icon
Source
| in repo libretro | - |
start-bios.svgStart BIOS menu icon
Source
| in repo libretro | - |
back-icon.svgBack menu icon
Source
| in repo libretro | - |
desktop-mode.svgDesktop mode menu icon
Source
| in repo libretro | - |
AppBanner.svgApplication banner
Source
| in repo libretro | - |
AppIconLarge.pngApplication icon
Source
| in repo libretro | - |
ra-icon.svgRetroAchievements icon
Source
| in repo libretro | - |
star-<rating>.svgCompatibility rating icons
Source
| missing libretro | - |
<region>.svgRegion flag icons
Source
| missing libretro | - |
Comes with the app
Section titled “Comes with the app”| File | Status | Hash |
|---|---|---|
GameIndex.yamlGame database
Source
| installed with the standalone emulator | - |
armsx2_overrides.yamlMobile GPU game database overlay
Hashes and source
| installed with the standalone emulator | SHA1 07d22c89bbc4 |
RedumpDatabase.yamlDisc track hash database
Source
| installed with the standalone emulator | - |
patches.zipGame patch archive
Source
| installed with the standalone emulator | - |
game_controller_db.txtSDL controller mapping database
Hashes and source
| installed with the standalone emulator | SHA1 03cacbc08a82 |
Roboto-Regular.ttfInterface font
Hashes and source
| installed with the standalone emulator | SHA1 00d62fbdc8d5 |
RobotoMono-Medium.ttfFixed-width interface font
Hashes and source
| installed with the standalone emulator | SHA1 9056e59b69c6 |
fa-solid-900.ttfFont Awesome icon font
Hashes and source
| installed with the standalone emulator | SHA1 7f0f721265c2 |
promptfont.otfController prompt font
Hashes and source
| installed with the standalone emulator | SHA1 374ee91aeabe |
tfx.glslVulkan texture function shader
Source
| installed with the standalone emulator | - |
convert.glslVulkan conversion shader
Source
| installed with the standalone emulator | - |
present.glslVulkan presentation shader
Source
| installed with the standalone emulator | - |
merge.glslVulkan merge shader
Source
| installed with the standalone emulator | - |
interlace.glslVulkan interlace shader
Source
| installed with the standalone emulator | - |
shadeboost.glslVulkan shade boost shader
Source
| installed with the standalone emulator | - |
cas.glslVulkan contrast adaptive sharpening shader
Source
| installed with the standalone emulator | - |
fsr1.glslVulkan FSR1 upscaling shader
Source
| installed with the standalone emulator | - |
sgsr.glslVulkan SGSR upscaling shader
Source
| installed with the standalone emulator | - |
imgui.glslVulkan interface shader
Source
| installed with the standalone emulator | - |
fxaa.fxFXAA shader, shared by every backend
Source
| installed with the standalone emulator | - |
ffx_a.hFidelityFX helper header
Source
| installed with the standalone emulator | - |
ffx_cas.hFidelityFX CAS header
Source
| installed with the standalone emulator | - |
ffx_a_fsr1.hFidelityFX helper header for FSR1
Source
| installed with the standalone emulator | - |
ffx_fsr1.hFidelityFX FSR1 header
Source
| installed with the standalone emulator | - |
tfx_vgs.glslOpenGL texture function vertex and geometry shader
Source
| installed with the standalone emulator | - |
tfx_fs.glslOpenGL texture function fragment shader
Source
| installed with the standalone emulator | - |
convert.glslOpenGL conversion shader
Source
| installed with the standalone emulator | - |
present.glslOpenGL presentation shader
Source
| installed with the standalone emulator | - |
merge.glslOpenGL merge shader
Source
| installed with the standalone emulator | - |
interlace.glslOpenGL interlace shader
Source
| installed with the standalone emulator | - |
shadeboost.glslOpenGL shade boost shader
Source
| installed with the standalone emulator | - |
cas.glslOpenGL contrast adaptive sharpening shader
Source
| installed with the standalone emulator | - |
imgui.glslOpenGL interface shader
Source
| installed with the standalone emulator | - |
tfx.fxDirect3D texture function shader
Hashes and source
| installed with the standalone emulator | SHA1 5ae03d5a5a9a |
convert.fxDirect3D conversion shader
Hashes and source
| installed with the standalone emulator | SHA1 a996918c9684 |
present.fxDirect3D presentation shader
Hashes and source
| installed with the standalone emulator | SHA1 84b000485929 |
merge.fxDirect3D merge shader
Hashes and source
| installed with the standalone emulator | SHA1 8dba66121f3b |
interlace.fxDirect3D interlace shader
Hashes and source
| installed with the standalone emulator | SHA1 65281a9a4f40 |
shadeboost.fxDirect3D shade boost shader
Hashes and source
| installed with the standalone emulator | SHA1 568f01644e02 |
cas.hlslDirect3D contrast adaptive sharpening shader
Hashes and source
| installed with the standalone emulator | SHA1 a15cc4dce1ed |
imgui.fxDirect3D interface shader
Hashes and source
| installed with the standalone emulator | SHA1 47491eaf3ba0 |
filterbin_2_8RAISR filter bank
Hashes and source
| installed with the standalone emulator | SHA1 e4538d7d2363 |
Qfactor_strbin_2_8RAISR strength quantisation table
Hashes and source
| installed with the standalone emulator | SHA1 a04b24022b13 |
Qfactor_cohbin_2_8RAISR coherence quantisation table
Hashes and source
| installed with the standalone emulator | SHA1 173f272a8a14 |
NM00007.conquestcard.gzipSoul Calibur II Conquest card
Hashes and source
| installed with the standalone emulator game data | SHA1 c8cc8b98abfe |
message.wavAchievement notification sound
Hashes and source
| installed with the standalone emulator | SHA1 c54f04b63ac6 |
unlock.wavAchievement unlock sound
Hashes and source
| installed with the standalone emulator | SHA1 da328a0a3074 |
lbsubmit.wavLeaderboard submission sound
Hashes and source
| installed with the standalone emulator | SHA1 5ad1e110dcf0 |
placeholder.pngFullscreen interface placeholder texture
Hashes and source
| installed with the standalone emulator | SHA1 25e41433147f |
no-save.pngEmpty save slot texture
Hashes and source
| installed with the standalone emulator | SHA1 7b0bb79d38c5 |
media-cdrom.svgGame list menu icon
Hashes and source
| installed with the standalone emulator | SHA1 36cc8f46014a |
start-game.svgStart game menu icon
Hashes and source
| installed with the standalone emulator | SHA1 dd8e7a8bebe5 |
applications-system.svgSettings menu icon
Source
| installed with the standalone emulator | - |
exit.svgExit menu icon
Hashes and source
| installed with the standalone emulator | SHA1 8452aac0ea8a |
start-file.svgStart file menu icon
Hashes and source
| installed with the standalone emulator | SHA1 47bd0895af12 |
drive-cdrom.svgStart disc menu icon
Hashes and source
| installed with the standalone emulator | SHA1 6ff7f132ca24 |
start-bios.svgStart BIOS menu icon
Hashes and source
| installed with the standalone emulator | SHA1 061f35078713 |
back-icon.svgBack menu icon
Hashes and source
| installed with the standalone emulator | SHA1 9b754fe9c868 |
desktop-mode.svgDesktop mode menu icon
Hashes and source
| installed with the standalone emulator | SHA1 513d784434cd |
AppBanner.svgApplication banner
Hashes and source
| installed with the standalone emulator | SHA1 cf42e9d79274 |
AppIconLarge.pngApplication icon
Hashes and source
| installed with the standalone emulator | SHA1 bd9262879f8a |
AppIconLarge.icoWindows application icon
Hashes and source
| installed with the standalone emulator | SHA1 0f37f2795ca0 |
ra-icon.svgRetroAchievements icon
Source
| installed with the standalone emulator | - |
star-<rating>.svgCompatibility rating icons
Source
| installed with the standalone emulator | - |
<region>.svgRegion flag icons
Source
| installed with the standalone emulator | - |
cover-placeholder.pngGame list cover placeholder
Hashes and source
| installed with the standalone emulator | SHA1 620b40ff9218 |
Next steps
Section titled “Next steps”- Get the files, for the setup in use
- Every system, and the files each one needs
- When a game does not start