Skip to content
Wanted files

EmuCoreX emulates Sony PlayStation 2. It reads 13 files, 1 of them required: without a required file it does not start games.

About this profile
Detail Value
Type standalone
Classification Community fork
Source https://github.com/sashkinbro/EmuCoreX
Upstream https://github.com/PCSX2/pcsx2
Version v0.5.1, the tag at this revision
Revision sashkinbro/EmuCoreX@bda532f311a7, PCSX2/pcsx2@c10a5c9ad951
Upstream revision held The PCSX2 tree vendored in the app is this revision. Later PCSX2 commits are not in the port.
Profiled 2026-10-04
Profile YAML, JSON
Cores emucorex
Systems Sony PlayStation 2
Author Oleksandr (sashkinbro)
BIOS directory bios/, inside the app's own data folder
Resources directory resources/
Technical notes

PlayStation 2 emulator for Android, package com.sbro.emucorex, arm64-v8a only, minSdk 29. A Kotlin and Compose front end drives a PCSX2 tree vendored under app/src/main/cpp/pcsx2 and pinned to v2.8.0, reached through the ARM_ANDROID adapter that owns the JNI entry points. Frontends start the exported activity com.sbro.emucorex.MainActivity, and ES-DE passes the disc as the intent data URI. ref: app/build.gradle.kts:66-70, app/build.gradle.kts:97, app/src/main/AndroidManifest.xml:90-104, app/src/main/cpp/ARM_ANDROID/CMakeLists.txt:78-82, app/src/main/cpp/ARM_ANDROID/CMakeLists.txt:361-362

The whole upstream core is linked, with three files swapped out of the target: Achievements.cpp, Host/SDLAudioStream.cpp and Input/SDLInputSource.cpp are removed and replaced by the adapter's own achievements, AAudio and OpenSL, and input sources. OpenGL and Vulkan are on, pcsx2-qt is never added, and the DX11 and DX12 renderers sit in the Windows branch of the core CMakeLists. ref: app/src/main/cpp/ARM_ANDROID/CMakeLists.txt:259-272, app/src/main/cpp/ARM_ANDROID/CMakeLists.txt:59-60, app/src/main/cpp/pcsx2/pcsx2/CMakeLists.txt:710, app/src/main/cpp/pcsx2/pcsx2/CMakeLists.txt:727-738

Storage. The data root is the app files directory. The app creates cache, resources, inis, sstates and memcards under it, then copies the whole resources asset tree out of the package into resources. The core is handed AppRoot, DataRoot, Resources, Settings and Cache from that root, and the launcher sets Folders for Bios, Savestates, MemoryCards, Textures, Cheats, Patches and Logs per run. ref: app/src/main/java/com/sbro/emucorex/core/NativeApp.kt:31, app/src/main/java/com/sbro/emucorex/core/NativeApp.kt:448-450, app/src/main/java/com/sbro/emucorex/core/NativeApp.kt:581-588, app/src/main/java/com/sbro/emucorex/core/NativeApp.kt:605-637, app/src/main/cpp/ARM_ANDROID/src/runtime/upstream_vm_bridge.cpp:281-285, app/src/main/java/com/sbro/emucorex/core/EmulatorBridge.kt:665-671

A BIOS image is required and boot stops without one: LoadBIOS returning false makes VMManager report that a PlayStation 2 BIOS is needed. Only a GS dump replay skips the load. Detection is by content: the folder scan keeps files between 2 and 8 MB and accepts an image whose romdir carries a RESET entry followed by a readable ROMVER, the fifth ROMVER character giving the zone among Japan, USA, Europe, Asia, China, T10K, COH-H, Test and Free, with EXTINFO supplying the serial. An image named in the configuration is opened at its own path without the size filter. No hash is matched, and a console image is matched under no name.

MIN_BIOS_SIZE was halved to 2 MB to admit the Namco System 246/256 chip dumps, which are 2 MB where a console image is 4. Three other changes came with it: a COH-H board is region 11 rather than 8, its description is built from the EXTINFO serial because Sony left the version and date fields identical across those BIOSes, and the ROM window is zero-filled before the read so the unused upper half cannot retain the previous image. ref: app/src/main/cpp/pcsx2/pcsx2/ps2/BiosTools.cpp:16-17, app/src/main/cpp/pcsx2/pcsx2/ps2/BiosTools.cpp:80-217, app/src/main/cpp/pcsx2/pcsx2/ps2/BiosTools.cpp:150-151 (COH-H region), app/src/main/cpp/pcsx2/pcsx2/ps2/BiosTools.cpp:176-190 (serial description), app/src/main/cpp/pcsx2/pcsx2/ps2/BiosTools.cpp:278-314, app/src/main/cpp/pcsx2/pcsx2/ps2/BiosTools.cpp:337-391, app/src/main/cpp/pcsx2/pcsx2/ps2/BiosTools.cpp:365-367 (ROM window cleared), app/src/main/cpp/pcsx2/pcsx2/VMManager.cpp:1901-1915

An arcade launch starts from a manifest carrying an NM game id and a board generation. It selects the board BIOS by name from the BIOS folder, r27v1602f.8g for System 256 and Super 256 and r27v1602f.7d for System 246, and keeps the configured BIOS with a warning when that file is absent. The dongle, memory card, boot ELF, SRAM and media the manifest names are per-title content resolved beside it. ref: app/src/main/cpp/pcsx2/pcsx2/VMManager.cpp:1533-1601, app/src/main/cpp/pcsx2/pcsx2/VMManager.cpp:1611-1736

The app runs its own gate before launching. A candidate is a .bin, .rom, .7d or .8g between 512 KB and 8 MB. It passes when the core's IsBIOS accepts it, reached through isBiosPath on the path or isBiosFd on /proc/self/fd, or when its name carries scph, ps2, bios, rom or r27v1602f. The two extra extensions are the board positions the Namco dumps carry instead of a conventional one. ref: app/src/main/java/com/sbro/emucorex/core/BiosValidator.kt:13-21, app/src/main/java/com/sbro/emucorex/core/BiosValidator.kt:112-146, app/src/main/java/com/sbro/emucorex/core/BiosValidator.kt:177-185, app/src/main/cpp/ARM_ANDROID/src/jni/native_app_jni.cpp:644-666

A BIOS folder picked through the storage access framework is copied flat into imported-bios under the external files directory, and Folders/Bios points there. The import filter takes any .bin, .rom, .7d or .8g, plus .mec, .nvm and .elf whose name carries one of the hints. Neither rom1 nor rom2 is an accepted extension, and LoadExtraRom looks for exactly {bios}.rom1 or {biosbase}.rom1, so the two ROM modules only reach the core when Folders/Bios is a plain filesystem path used as-is. A re-import preserves the .nvm and .mec sitting beside the image. ref: app/src/main/java/com/sbro/emucorex/core/DocumentPathResolver.kt:26-28, app/src/main/java/com/sbro/emucorex/core/DocumentPathResolver.kt:104-157, app/src/main/java/com/sbro/emucorex/core/DocumentPathResolver.kt:430-452, app/src/main/java/com/sbro/emucorex/core/DocumentPathResolver.kt:497-502, app/src/main/java/com/sbro/emucorex/core/DocumentPathResolver.kt:556-563

Much of the bundled resource tree is compiled out on this platform and never read. ImGuiManager::Initialize returns false before creating the ImGui context, so LoadFontData and the three fonts it reads are unreachable, and SetFonts and ReloadFonts both guard on that context. InitializeFullscreenUI returns false unconditionally, so FullscreenUI::Initialize never runs and nothing under fullscreenui or icons is loaded. The adapter reads two fonts of its own instead and hands them over through SetFonts. ref: app/src/main/cpp/pcsx2/pcsx2/ImGui/ImGuiManager.cpp:131-146, app/src/main/cpp/pcsx2/pcsx2/ImGui/ImGuiManager.cpp:148-152, app/src/main/cpp/pcsx2/pcsx2/ImGui/ImGuiManager.cpp:163, app/src/main/cpp/pcsx2/pcsx2/ImGui/ImGuiManager.cpp:224-229, app/src/main/cpp/pcsx2/pcsx2/ImGui/ImGuiManager.cpp:296-316, app/src/main/cpp/pcsx2/pcsx2/ImGui/ImGuiManager.cpp:483-536, app/src/main/cpp/ARM_ANDROID/src/runtime/upstream_vm_bridge.cpp:405-433, app/src/main/cpp/ARM_ANDROID/src/runtime/upstream_vm_bridge.cpp:474

The three achievement sounds are the one resource the code reads that the tree does not carry. Their directory holds only the README naming their origin, while upstream v2.8.0 ships message.wav at 15696 bytes, lbsubmit.wav at 82096 and unlock.wav at 202702. The released APK carries all three at those sizes under assets/resources/sounds/achievements, so the installed app has them. All four sound settings default on, so a signed-in session asks for them at every notification. ref: app/src/main/cpp/pcsx2/bin/resources/sounds/achievements/README.txt:1-3, app/src/main/cpp/ARM_ANDROID/src/integration/pcsx2_achievements_android.cpp:81-83, app/src/main/cpp/pcsx2/pcsx2/Config.h:1381-1384, app/src/main/cpp/pcsx2/pcsx2/Pcsx2Config.cpp:1983-1986

13 files: 1 required, 12 optional. 4 have an HLE fallback. 30 more files come with the app.

By kind: 36 BIOS and 7 game data.

In this collection: 8 in repo, 1 missing and 4 unsourceable.

FileStatus

ps2-0230a-20080220.bin

PS2 BIOS image

  • Path: bios/ps2-0230a-20080220.bin
  • Found by: content (the code scans the folder and identifies the file by its hash, any file name works)
  • System: Sony PlayStation 2
  • Any image whose romdir holds RESET and ROMVER is accepted, whatever its name. The 2 to 8 MB range gates the folder scan, but an image named in the configuration skips that range. Read into the 4 MB ROM region, which is zero-filled first, and truncated to it. Shorter than 2465792 bytes disables the OSDSys parameter HLE.
Validation and source
in repo
FileStatusHash

r27v1602f.7d

Namco System 246 COH-H BIOS chip dump

  • Path: bios/r27v1602f.7d
  • System: Sony PlayStation 2
  • Admitted since MIN_BIOS_SIZE fell to 2 MB. The board position is the extension, so the picker takes .7d alongside .bin and .rom, and the name hint r27v1602f carries it past the name test. Read into the 4 MB ROM window, whose upper half is cleared first. ROMVER marks it T with a fifth character Z, which is what makes it COH-H and region 11. Its description comes from the EXTINFO serial. A System 246 arcade manifest selects this name from the BIOS folder. Byte-identical to the r27v1602f.7d member of the MAME sys246 set.
Hashes and source
in repo MD5 52cca0058626

r27v1602f.8g

Namco System 256 COH-H BIOS chip dump

  • Path: bios/r27v1602f.8g
  • System: Sony PlayStation 2
  • The System 256 counterpart, taken by the same path and the same widened size gate. A System 256 or Super 256 arcade manifest selects this name from the BIOS folder. Byte-identical to the r27v1602f.8g member of the MAME sys256 set.
Hashes and source
in repo MD5 a58676c6bd79

ps2-0230a-20080220.rom1

DVD player ROM

  • Path: bios/ps2-0230a-20080220.rom1
  • System: Sony PlayStation 2
  • Tried as {bios}.rom1 then {biosbase}.rom1, with a case-insensitive retry on the open. Copied to the ROM1 region and truncated to 4 MB. Logged and skipped when absent. The storage access framework import does not carry this extension, so it is reachable only from a plain BIOS folder path.
in repo -

ps2-0230a-20080220.rom2

Chinese ROM extension

  • Path: bios/ps2-0230a-20080220.rom2
  • System: Sony PlayStation 2
  • Aliases: SCPH-90006_BIOS_VX_HK _230.ROM2
  • Same two-step naming as rom1, copied to the ROM2 region. Present on Chinese region consoles. Carried by the same import restriction as rom1.
in repo -

ps2-0230a-20080220.nvm

Console NVRAM

  • Path: bios/ps2-0230a-20080220.nvm
  • System: Sony PlayStation 2
  • Read at the BIOS path with the extension replaced by nvm, case-insensitively. Carries the console id, the iLink id, the model number and the OSD configuration. A 1024 byte image is built in memory when the file is absent, short, or carries a blank config block, filled with a fixed iLink id and the language and region defaults of the detected BIOS region. Under a COH-H BIOS the blank-block test is skipped and the built image is 0xFF-filled with the iLink id alone.
in repo HLE fallback -

ps2-0230a-20080220.mec

Mechacon version

  • Path: bios/ps2-0230a-20080220.mec
  • System: Sony PlayStation 2
  • Read at the BIOS path with the extension replaced by mec. Defaults to 0x00020603, or 0x0104020a under a COH-H BIOS, and is written back at that path when it cannot be read.
Source
in repo HLE fallback -

eeprom.dat

DEV9 EEPROM

  • Read from: the working directory, not the BIOS directory
  • System: Sony PlayStation 2
  • Opened from the working directory when the network adapter starts and mapped over 64 bytes. A compiled-in image stands in when the file is missing or cannot be mapped.
Source
in repo HLE fallback -

flash.dat

DEV9 SmartMedia flash image

  • Read from: the working directory, not the BIOS directory
  • System: Sony PlayStation 2
  • Opened from the working directory at network adapter init and read as 1024 blocks of 16 pages of 512 bytes plus 16 ECC bytes. The card is filled with 0xFF when the file is absent.
  • Size: max 8.2 MB
Source
missing HLE fallback -

<module>.irx

IOP module injected at boot

  • System: Sony PlayStation 2
  • Read into the ROM region at 0x3C0000 when the IOP program counter reaches 0x1630 and the setting is longer than three characters. The launcher fills it from the boot parameters when the picked file is an IRX. Empty otherwise.
  • Not collected yet: any IOP module the user points at, under no name and no version the code expects (files not collected yet)
Source and config key
  • Config key: EmuCore/CurrentIRX
unsourceable -

<driver>.zip

replacement Vulkan driver package

  • System: Sony PlayStation 2
  • Listed by a catalog fetched from the EmuCoreV-Drivers repository, or picked from the device. A catalog download whose length differs from the size the catalog states is discarded. The archive is unpacked into a directory named after it under driver in internal storage, entries carrying a parent path segment being refused, and the Vulkan library it holds is recorded in a driver_name.txt written beside it. The install is removed when that library does not start with the ELF magic or when its GPU vendor, taken from the catalog or from markers in the library, does not match the device. A library named libvulkan_malisx2.so is also refused unless the GL renderer reports a Mali or Immortalis G57, G68, G77, G78, G615 or G715. The renderer then resolves the driver through adrenotools from that pair. The system loader is used when no driver is configured.
  • Not collected yet: Vulkan driver built for one GPU family, not an emulator artefact (files not collected yet)
unsourceable -
FileStatus

<SERIAL>_<CRC>.pnach

per-title cheat file

  • Path: cheats/<SERIAL>_<CRC>.pnach
  • System: Sony PlayStation 2
  • The cheats folder is searched for the running serial and CRC, then for files carrying the CRC alone, both with a trailing wildcard so a suffix after the CRC is kept. An arcade title, whose serial starts with NM and whose CRC is zero, is matched on the serial alone. The patches folder is searched the same way for patches rather than cheats. The app's cheat manager keeps a picked pnach document in its own store and writes the enabled blocks into the cheats folder as <SERIAL>_<CRC>.pnach, or <CRC>.pnach without a serial.
  • Not collected yet: cheat list authored per title, with no released artefact behind it (files not collected yet)
optional unsourceable game data

<hash>.png

replacement texture

  • Path: textures/<SERIAL>/replacements/<hash>.png
  • System: Sony PlayStation 2
  • Read when texture replacement is on. The replacements folder under the running serial is walked recursively and a file counts only when its name parses as the TEX0 hash, optional CLUT hash, optional region size and format that the texture cache looks it up by. A directory whose case does not match is reported.
  • Not collected yet: replacement artwork authored against the texture hashes of one title (files not collected yet)
optional unsourceable game data
FileStatusHash

GameIndex.yaml

per-title compatibility and fix database

  • Path: resources/GameIndex.yaml
  • System: Sony PlayStation 2
  • Opened from the resources directory and parsed into the game database that drives per-title rounding modes, clamp modes, GS hacks and memory card filters. The Kotlin catalog reads the same file straight out of the package for the compatibility badges it draws.
game data SHA1 2d9878fdd709

emucorex_overrides.yaml

per-title fix overlay for the game database

  • Path: resources/emucorex_overrides.yaml
  • System: Sony PlayStation 2
  • Read from the resources directory right after GameIndex.yaml. Each serial it names is merged into the entry the base database gave, and a list it carries for that title, such as game fixes, speed hacks, GS hardware fixes or patches, replaces the base one. A missing file is skipped without a message.
  • Size: 39.1 KB, SHA1 5fbbd96df996
Hashes and source
game data SHA1 5fbbd96df996

RedumpDatabase.yaml

disc hash database

  • Path: resources/RedumpDatabase.yaml
  • System: Sony PlayStation 2
  • Opened from the resources directory and parsed into the hash database used to name a disc from its dump.
  • Size: 1.8 MB, SHA1 dceb4536fba7
  • Collection copy: RedumpDatabase.yaml in the yaps2-resources data directory
Hashes and source
game data SHA1 dceb4536fba7

patches.zip

built-in game patch archive

  • Path: resources/patches.zip
  • System: Sony PlayStation 2
  • Opened read only from the resources directory as a zip source and searched for the pnach matching the running serial and CRC. A failure to open is reported once and the built-in patches are dropped for the session. The app logs an error at startup when the copied archive is missing or holds no pnach.
  • Size: 2.0 MB, SHA1 a3d939af27fe
Hashes and source
game data SHA1 a3d939af27fe

Roboto-Regular.ttf

core text font

  • Path: resources/fonts/Roboto-Regular.ttf
  • System: Sony PlayStation 2
  • Read by the adapter's own font setup before the VM starts and handed to the core as the standard font. An empty font list is logged as a setup failure.
- -

Twemoji.Mozilla.ttf

core emoji font

  • Path: resources/fonts/Twemoji.Mozilla.ttf
  • System: Sony PlayStation 2
  • Read by the same font setup and appended as the emoji face. Skipped when the file cannot be read.
Source
- -

tfx.glsl

Vulkan texture and framebuffer shader

  • Path: resources/shaders/vulkan/tfx.glsl
  • System: Sony PlayStation 2
  • Read from the resources directory when the Vulkan device is created. A read failure is reported and device creation fails.
  • Size: 52.3 KB, SHA1 d740ae6e3e3d
Hashes and source
- SHA1 d740ae6e3e3d

convert.glsl

Vulkan format conversion shader

  • Path: resources/shaders/vulkan/convert.glsl
  • System: Sony PlayStation 2
  • Read when the conversion pipelines are compiled and again as the vertex stage of the FXAA pipeline.
  • Size: 13.8 KB, SHA1 df6810fe9798
Hashes and source
- SHA1 df6810fe9798

present.glsl

Vulkan presentation shader

  • Size: 13.1 KB, SHA1 a848aad1840c
Hashes and source
- SHA1 a848aad1840c

interlace.glsl

Vulkan deinterlacing shader

  • Size: 6.2 KB, SHA1 268f43cd946e
Hashes and source
- SHA1 268f43cd946e

merge.glsl

Vulkan field merge shader

  • Size: 759 B, SHA1 808b7b46bfb0
Hashes and source
- SHA1 808b7b46bfb0

shadeboost.glsl

Vulkan brightness and contrast shader

  • Size: 1.8 KB, SHA1 9b2704655a89
Hashes and source
- SHA1 9b2704655a89

cas.glsl

Vulkan contrast adaptive sharpening shader

  • Path: resources/shaders/vulkan/cas.glsl
  • System: Sony PlayStation 2
  • Read as a compute shader and its two include lines substituted with the contents of the common headers. The Vulkan device compiles the CAS pipelines unconditionally and returns on a failure, so a missing file stops device creation rather than dropping the feature.
- -

imgui.glsl

Vulkan overlay shader

  • Size: 791 B, SHA1 276d984150c2
Hashes and source
- SHA1 276d984150c2

tfx_vgs.glsl

OpenGL texture and framebuffer vertex shader

  • Path: resources/shaders/opengl/tfx_vgs.glsl
  • System: Sony PlayStation 2
  • Read from the resources directory when the OpenGL device is created.
  • Size: 13.8 KB, SHA1 cb02fa650318
Hashes and source
- SHA1 cb02fa650318

tfx_fs.glsl

OpenGL texture and framebuffer fragment shader

  • Size: 36.6 KB, SHA1 f1c97200cb5b
Hashes and source
- SHA1 f1c97200cb5b

convert.glsl

OpenGL format conversion shader

  • Size: 13.8 KB, SHA1 63daf461f408
Hashes and source
- SHA1 63daf461f408

present.glsl

OpenGL presentation shader

  • Size: 14.5 KB, SHA1 4abe45e59dc9
Hashes and source
- SHA1 4abe45e59dc9

interlace.glsl

OpenGL deinterlacing shader

  • Size: 5.8 KB, SHA1 be39a049af0b
Hashes and source
- SHA1 be39a049af0b

merge.glsl

OpenGL field merge shader

  • Size: 579 B, SHA1 c8eb9c1926ba
Hashes and source
- SHA1 c8eb9c1926ba

shadeboost.glsl

OpenGL brightness and contrast shader

  • Size: 1.5 KB, SHA1 03c8b0d3ebeb
Hashes and source
- SHA1 03c8b0d3ebeb

cas.glsl

OpenGL contrast adaptive sharpening shader

  • Path: resources/shaders/opengl/cas.glsl
  • System: Sony PlayStation 2
  • Read as a compute program with the two include lines substituted, and tried only on an ES 3.2 context or on GL 4.2 with compute shaders. A failure turns CAS sharpening off.
  • Size: 2.4 KB, SHA1 cb0d4276f994
Hashes and source
- SHA1 cb0d4276f994

imgui.glsl

OpenGL overlay shader

  • Size: 637 B, SHA1 ca149058af89
Hashes and source
- SHA1 ca149058af89

fxaa.fx

antialiasing shader shared by both renderers

  • Path: resources/shaders/common/fxaa.fx
  • System: Sony PlayStation 2
  • Read as the fragment stage of the FXAA pipeline on Vulkan, inside the post-processing pipelines the device creation chain requires, so a missing file stops device creation there. On OpenGL the program is compiled beside the shadeboost one in the device creation chain, which returns on a read failure.
- SHA1 81c56a54bde6

ffx_a.h

CAS support header

  • Path: resources/shaders/common/ffx_a.h
  • System: Sony PlayStation 2
  • Read from the resources directory and pasted over the matching include line of the CAS shader, the compilers having no include support. It shares the fate of the CAS shader it is pasted into: fatal to device creation on Vulkan, and only the sharpening feature on OpenGL.
- -

ffx_cas.h

CAS kernel header

  • Path: resources/shaders/common/ffx_cas.h
  • System: Sony PlayStation 2
  • Read and substituted the same way as the other CAS header, with the same consequence per renderer when it is missing.
- -

message.wav

achievement notification sound

  • Path: resources/sounds/achievements/message.wav
  • System: Sony PlayStation 2
  • Played from the resources directory whenever an achievement notification is raised and no custom sound is configured. Sound effects and the notification sound both default on. The vendored tree carries only the README for this directory, but the released APK (EmuCoreX.v0.5.1.apk) ships the file at 15696 bytes, as upstream v2.8.0 does. The Android sound callback returns without playing when the path is not a file.
- SHA1 c54f04b63ac6

unlock.wav

achievement unlock sound

  • Path: resources/sounds/achievements/unlock.wav
  • System: Sony PlayStation 2
  • Played on an unlock under the same two settings, both on by default. Absent from the vendored tree and shipped in the released APK, at the 202702 bytes of upstream v2.8.0.
Hashes and source
- SHA1 da328a0a3074

lbsubmit.wav

leaderboard submission sound

  • Path: resources/sounds/achievements/lbsubmit.wav
  • System: Sony PlayStation 2
  • Played on a leaderboard submission under the same two settings, both on by default. Absent from the vendored tree and shipped in the released APK, at the 82096 bytes of upstream v2.8.0.
Hashes and source
- SHA1 5ad1e110dcf0

games.db

bundled catalog of PS2 titles

  • System: Sony PlayStation 2
  • SQLite catalog carried in the package assets and copied into internal storage the first time the catalog is queried, then read from there. A copy already present is kept.
  • Size: 5.7 MB, SHA1 0e2ee74d1f9e
Hashes and source
game data SHA1 0e2ee74d1f9e
.