EmuCoreV
EmuCoreV emulates Sony PlayStation Vita. It reads 10 files, 2 of them required: without a required file it does not start games.
About this profile
Technical notes
PlayStation Vita emulator for Android, package com.sbro.emucorev, arm64-v8a
only. A Kotlin and Compose front end drives a Vita3K tree vendored verbatim
under app/src/main/cpp/vita3k, reached through an adapter layer that owns
every JNI entry point. Frontends start the exported activity
com.sbro.emucorev.core.vita.Emulator with an AppStartParameters string array;
ES-DE passes -r followed by the title id read from the .psvita file.
ref: app/,
app/,
app/,
app/,
app/build.gradle.kts:85-86, app/build.gradle.kts:95
The Android library is built from the JNI sources plus interface.cpp and
performance.cpp, and links app, audio, compat, config, cppcommon, ctrl,
dialog, display, ime, lang, gdbstub, gxm, io, miniz, modules, motion,
packages, patch, renderer, shader, touch, util and psvpfsparser, with overlay
and np arriving through renderer and modules. The ImGui front end under
vita3k/gui is never added as
a subdirectory, gui-qt is desktop only, and the adapter drops those two and
updater from the link line as well when a configuration defines them. So the
home screen, live area, themes, trophy collection, user avatars and the pd0
background music player are not compiled: pd0 is written by a firmware install
and never read back, which is why no third preinst package is offered.
ref: app/,
app/,
app/,
app/,
app/
Firmware installation calls vanilla install_pup. The file is tested for the
SCEUF magic and nothing else, the SCE segments are decrypted with the built-in
keys, os0.img, pd0.img, sa0.img and vs0.img are joined from their pieces, and
each image with content is extracted into the Vita filesystem root. The
version string is read from the version.txt the package carries. No digest and
no length is compared.
ref: app/,
app/,
app/,
app/
Two packages are named in code, both pinned to firmware 3.74 and fetched from
Sony. Each URL carries the MD5 of the package it serves in its rel_ and sd_
path segment. The byte counts beside them feed the progress bar and its
fallback alone, and one of the two is not the length of the file it names, so
nothing measures what was downloaded.
ref: app/,
app/
Both packages are required. launchInstalledTitle returns MissingFirmware
before doing any work when vita/vs0 holds no file, and MissingFirmwareUpdate
when vita/sa0 holds no file, each with its own refusal string. The refusal is
the app's own: nothing in the vendored core tests either partition before a
run, and the only sa0 test in the tree sits in the front end that is not
compiled. The gate also sits in the in-app launcher alone, so a frontend
starting the activity itself, which is what ES-DE does, reaches the core
without passing through it.
ref: app/,
app/,
app/,
app/,
app/
What the partitions are read for. Every launch queues os0:kd/bootimage.skprx
and os0:kd/sysmodule.skprx, then for each preload module that is LLE takes
app0:sce_module/<name>.suprx when the title carries one and
vs0:sys/external/<name>.suprx otherwise. libc, libSceFt2, libpvf and libfiber
are always LLE, alongside an automatic list of nineteen sysmodules, and a
failed module load is logged and stepped over. The overlay renderer registers
sa0/data/font/pvf as the firmware font directory and asks it for the ltn, jpn,
cn and kr faces by name, falling back to /system/fonts for its own text.
ref: app/,
app/,
app/,
app/,
app/,
app/
Storage. The Vita filesystem is a directory named vita under a storage root
the user can move to a card, holding ux0 and the partitions a firmware install
writes. Configuration, logs, patches, the texture folders and the cache stay
on internal storage. Static assets never reach the filesystem: on Android the
static assets path is left empty and shaders, fonts and images are read out of
the package through SDL.
ref: app/,
app/,
app/src/main/cpp/vita3k/vita3k/app/src/app_init.cpp:244-256
Titles arrive as VPK, ZIP, PKG or an already extracted directory, and a PKG
needs a zRIF that is either typed in or derived from a license already
installed for that content id.
ref: app/src/main/cpp/emucorev/src/vita_install_bridge.cpp:104-197,
app/src/main/cpp/vita3k/vita3k/packages/src/pkg.cpp:356-376
10 files: 2 required, 8 optional. 3 more files come with the app.
By kind: 3 BIOS and 10 game data.
In this collection: 3 in repo, 0 missing and 7 unsourceable.
Required
Section titled “Required”| File | Status | Hash |
|---|---|---|
PSVUPDAT.PUPPS Vita system software update package
Hashes and source
|
in repo large_file | MD5 f2c7b12fe854 |
PSP2UPDAT.PUPPS Vita firmware font package
Hashes and source
|
in repo large_file | MD5 59dcf059d332 |
Optional
Section titled “Optional”| File | Status |
|---|---|
<driver>.zipreplacement Vulkan driver package
Source
|
unsourceable |
Game data
Section titled “Game data”| File | Status |
|---|---|
config.txttaiHEN plugin configuration
Source
|
optional unsourceable game data |
<plugin>.suprxtaiHEN plugin
Source
|
optional unsourceable game data |
<TITLEID>.txtper-title binary patch list
Source
|
optional unsourceable game data |
PATCHLIST.TXTshared binary patch list
Source
|
optional in repo game data |
<hash>.pngreplacement texture
Source
|
optional unsourceable game data |
<hash>.ddsreplacement texture, compressed
Source
|
optional unsourceable game data |
work.bintitle license
Source
|
optional unsourceable game data |
Comes with the app
Section titled “Comes with the app”| File | Status | Hash |
|---|---|---|
app_compat_db.xmlper-title compatibility ratings
Hashes and source
|
game data | SHA1 9e5a68ae9925 |
commercial_list.jsoncommercial title index
Hashes and source
|
game data | SHA1 ea7d6bce6d0b |
psvita_games.dbbundled catalog of Vita titles
Hashes and source
|
game data | SHA1 3c6b523e5432 |
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