FPseNG
FPseNG emulates Sony PlayStation. It reads 6 files, none of them required: it starts games without them.
About this profile
Technical notes
PlayStation emulator for Android, closed source, sold on Google Play as package com.emulator.fpse64 and named FPse64 until the rename. The build read here is 1.13, versionCode 245, minSdk 23, targetSdk 33, activity com.emulator.fpse64.Main. Google signs the package through Play App Signing, CN=Android O=Google Inc. issued 2020-05-02, sha256 5df4c204abac4d2a10c4b8f497689e28c2bfb5dc44a56081ebb4a5e1c2f1d27f, and that signature block travels inside the copy read here: the repackager kept the original apk as assets/SignatureKiller/origin.apk, whose MANIFEST.MF carries the sha256 of all 1278 entries of the distributed build. 1274 match byte for byte, among them every native library and every resource. AndroidManifest.xml, classes.dex and resources.arsc differ, stamp-cert-sha256 is dropped and one class, bin/mt/signature/KillerApplication, is added. Native code and resources are therefore the distributed ones and the java below is the application's own, minus that injection. A second copy, apkvision 1.8, is signed with the Android test key and ships three of the eight libraries its own core links against. It is read only to confirm that the preference key, the two size tests and the checksum constant below are the application's and not the repackager's. ref: com.emulator.fpse64 1.13 assets/SignatureKiller/origin.apk META-INF/GOOGPLAY.RSA, META-INF/MANIFEST.MF
Two roots hold everything. The private files directory of the package is the one the core is given, and bios, plugin, cfg and skin are created under it right after the libraries load, and the emulator resolves its own paths against it. The second is a directory named FPse64 at the root of shared storage, holding memcards, cheats, shaders, ogl, sbi, sstates, titles, icons, videos and filelist.txt. Paths below are relative to the first root unless they name the second. ref: Main.java:36420, Main.java:3004, Main.java:27329-27332, Main.java:27458-27459, Main.java:30411-30413
Exactly one BIOS image is ever loaded and its full path is a setting rather than a name the code looks for. The Load Bios browser keeps .bin files and lists only those of exactly 524288 bytes, the chosen path is written to the preference com.emulator.fpse64.biospath and pushed into the core as string slot 6, and the stored path is re-checked at every start: a file that no longer exists or is not exactly 524288 bytes clears the preference and the session runs on HLE. Slot 6 receives the empty string whenever the path is empty, the BIOS switch is off or the launching intent carried bios=0, which is the documented way to ask for HLE, and the shortcuts the application pins carry that same extra. On the core side the value is opened as given, then retried below bios/ under the root, so a bare name resolves there. A hit is read as one block of 0x80000 bytes after "Loading '%s'...", and a miss reports "Can't load biosfile '%s', switching to HLE", sets the HLE bit and writes "CEX-3000/1001/1002 by K.S.", "System ROM Version 2.2 12/04/95 A" and the Sony copyright line into BIOS memory, so no image is needed on its own. ref: Main.java:1169, Main.java:21925-21927, Main.java:25833-25835, Main.java:9943-9977, Main.java:30177-30192, Main.java:5392-5396, Main.java:36446-36451, Main.java:28751-28754, libfpse.so 0x70e20-0x70f20
Automatic detection recognises one dump and does it on content. Scanning storage, FPseNG keeps files whose lowercased name ends in .bin and whose length is exactly 524288, reads all 524288 bytes, sums them as signed bytes and accepts the file when the total is 85958, writing the path to the preference and turning the BIOS on. The same constant answers over NFS through isnfsbios. Recomputed over the collection, that sum resolves to a single image, the v2.2 12/04/95 A dump listed below, and to no other. The HLE path impersonates the same revision: its identification strings sit in .rodata beside "HLE enabled." and the library carries no 512 KB image of its own. ref: Main.java:24466-24487, Main.java:24491, Main.java:25670, libfpse.so .rodata 0x1b8d81-0x1b8dfb
Emulation is split across libraries the core links against. libfpse.so lists libopengl, libsoft1, libspuplugin, libneon, libsdl and libnfsplugin in DT_NEEDED, and Main names uncompress, spuplugin, soft1, nfsplugin and opengl before fpse. sdl and neon are named earlier from a static block that swallows UnsatisfiedLinkError, the rest are not guarded. All eight ship in the package for arm64-v8a and no other ABI. Eighteen constants naming nine plugins296 archives on fpse.net and fpsece.net survive in the class and nothing reads them, and the two archive extractors keep a branch counting eight .so members that no caller reaches. What getfile.php still answers, once per versionCode and keyed by ABI as type p64, is a blob handed to setnfspos and summed into a preference, not a library anything writes to disk. An OpenGL plugin picked by hand from the .so browser is copied over libopengl1.so under the root. libGLESv2, libjnigraphics, liblog, libstdc++, libdl, libm and libc are the Android runtime and are not files anyone supplies. ref: Main.java:25134-25137, Main.java:27300-27312, Main.java:9985, Main.java:1116-1133, Main.java:8496, Main.java:13854, Main.java:23615-23621, FPseNG 1.13 libfpse.so .dynamic DT_NEEDED 0x220ae0-0x220baf
Resources unpack through helpers that differ in one respect. The guarded one writes only when the target is absent, so bios/kanji.rom, fpse.ini and the whole skin set survive being replaced by hand, and the same rule puts slot1.mcd and slot2.mcd under FPse64/memcards on shared storage. The unguarded one truncates, so gamelist.ini is rewritten from the package at every start and a copy put there does not last. The shipped shaders are copied out of assets into FPse64/shaders once storage access is granted. ref: Main.java:33974-33977, Main.java:34054-34057, Main.java:34750-34753, Main.java:27334, Main.java:27346-27347, Main.java:27463, Main.java:35829-35845
What the application fetches for itself comes from the developer's servers: cheat files from fpse.net/c/, per title OpenGL option files packed as fpse.net/o/ogl.zip, covers from fpse.net/i64/, titles from fpse.net/t/, game notes from fpse.net/games64/, overlay pad skins from fpse.net/s/ as padtemp.zip extracted into skin/, and vrback.zip extracted at the root of shared storage. Files named after a game identifier and ending in .sbi are downloaded into FPse64/sbi for the titles of one internal list. No library and no java path reads them back, and the string ".sbi" appears in none of the eight libraries. ref: Main.java:10505-10507, Main.java:16605, Main.java:16644, Main.java:11468, Main.java:11827, l0.java:82-89, Main.java:10846, Main.java:11014, Main.java:12555-12585, Main.java:15415-15430, Main.java:15489
6 files: 0 required, 6 optional. 1 has an HLE fallback. 34 more files come with the app.
By kind: 3 BIOS and 37 game data.
In this collection: 3 in repo, 0 missing and 3 unsourceable.
Optional
Section titled “Optional”| File | Status | Hash |
|---|---|---|
scph1001.binSCPH-1001, DTL-H1201, DTL-H3001 (v2.2 12-04-95 A)
Hashes, validation, source and more
|
in repo HLE fallback | MD5 924e392ed055 |
LibPS.exePlayStation library executable loaded after the BIOS resources
Source
|
in repo | - |
Game data
Section titled “Game data”| File | Status |
|---|---|
vrback.rawbackground image the software renderer draws behind the VR view
Source
|
optional in repo game data |
<game>.txtcheat codes for one title
Source
|
optional unsourceable game data |
<game>.txtOpenGL option mask for one title
Source
|
optional unsourceable game data |
<skin>.iniexternal overlay pad skin
Source
|
optional unsourceable game data |
Comes with the app
Section titled “Comes with the app”| File | Status | Hash |
|---|---|---|
kanji.romFONTX2 font the core draws Japanese text with
Hashes and source
|
- | MD5 040d9dcbad83 |
libsoft1.sosoftware renderer plugin
Hashes and source
|
game data | SHA1 216c354d7d2e |
libspuplugin.sosound plugin
Hashes and source
|
game data | SHA1 6eb3c0786e7a |
libopengl.soOpenGL renderer plugin
Hashes and source
|
game data | SHA1 5d53b8622056 |
libnfsplugin.soNFS client plugin, for discs read from a network share
Hashes and source
|
game data | SHA1 73fc328ddfaa |
libsdl.soSDL audio backend
Hashes and source
|
game data | SHA1 d231e81a8783 |
libneon.soNEON colour conversion routines
Hashes and source
|
game data | SHA1 0e58ba824648 |
libuncompress.soarchive extractor for .zip, .rar, .7z, .ape and .ecm images
Hashes and source
|
game data | SHA1 e9b108ae47b5 |
4xhqglsl.vsh4xhqglsl vertex shader
Hashes and source
|
game data | SHA1 4af25bc179d1 |
4xhqglsl.fsh4xhqglsl fragment shader
Hashes and source
|
game data | SHA1 cdf41e359264 |
5xBR.vsh5xBR vertex shader
Hashes and source
|
game data | SHA1 cf393a7e10bb |
5xBR.fsh5xBR fragment shader
Hashes and source
|
game data | SHA1 bd2f44f82be5 |
5XBRZ.vsh5XBRZ vertex shader
Hashes and source
|
game data | SHA1 92a3f7fdefe9 |
5XBRZ.fsh5XBRZ fragment shader
Hashes and source
|
game data | SHA1 abf7371da6b3 |
Aacolor.vshAacolor vertex shader
Hashes and source
|
game data | SHA1 548b2ebebaff |
Aacolor.fshAacolor fragment shader
Hashes and source
|
game data | SHA1 e818588e8d5e |
Cartoon_A.vshCartoon_A vertex shader
Hashes and source
|
game data | SHA1 363d817dadf8 |
Cartoon_A.fshCartoon_A fragment shader
Hashes and source
|
game data | SHA1 74f54c5430e5 |
Cartoon_B.vshCartoon_B vertex shader
Hashes and source
|
game data | SHA1 363d817dadf8 |
Cartoon_B.fshCartoon_B fragment shader
Hashes and source
|
game data | SHA1 2d3a1cd8d94c |
CRT-Hyllian.vshCRT-Hyllian vertex shader
Hashes and source
|
game data | SHA1 376fc334df81 |
CRT-Hyllian.fshCRT-Hyllian fragment shader
Hashes and source
|
game data | SHA1 02a5c9962b97 |
Dot.vshDot vertex shader
Hashes and source
|
game data | SHA1 186fa21b02c9 |
Dot.fshDot fragment shader
Hashes and source
|
game data | SHA1 eeb68f155918 |
FXAA.vshFXAA vertex shader
Hashes and source
|
game data | SHA1 363d817dadf8 |
FXAA.fshFXAA fragment shader
Hashes and source
|
game data | SHA1 e3ebfd7a6003 |
FXAA_natural_vision.vshFXAA_natural_vision vertex shader
Hashes and source
|
game data | SHA1 363d817dadf8 |
FXAA_natural_vision.fshFXAA_natural_vision fragment shader
Hashes and source
|
game data | SHA1 7c18d8516b12 |
Grayscale.vshGrayscale vertex shader
Hashes and source
|
game data | SHA1 376fc334df81 |
Grayscale.fshGrayscale fragment shader
Hashes and source
|
game data | SHA1 f679b5cb4064 |
MangaToon.vshMangaToon vertex shader
Hashes and source
|
game data | SHA1 376fc334df81 |
MangaToon.fshMangaToon fragment shader
Hashes and source
|
game data | SHA1 1e5200df1cd3 |
TV_HDR.vshTV_HDR vertex shader
Hashes and source
|
game data | SHA1 363d817dadf8 |
TV_HDR.fshTV_HDR fragment shader
Hashes and source
|
game data | SHA1 6fb63828bd49 |
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