[GAME STATUS]: Carmen Sandiego (In game) #1953

Open
opened 2026-11-26 10:10:01 +00:00 by github-bot · 1 comment
Owner

@⁠edubox on GitHub · 2026-10-27 23:46 UTC · original

Game title

Carmen Sandiego

Game ID / serial

PPSA25256

KytyPS5 version

KytyPS5-2026-10-27-ffc8137 (0.3.0)

Compatibility status

In game

Last working build / first broken build

No response

Result details

The game boots with the default configuration and is fully playable at a stable frame rate. It compiles its shaders (up to VS 66 / PS 139 / CS 29), loads its AK audio modules (akreverb, akdelay, akcompressor, etc.) and reaches controllable gameplay. No fatal errors or host exceptions in the log; the run was stopped by us after about 90 seconds of play.

The only anomaly in the log is a missing import that falls back to a stub, called three times during the run:

Unresolved import stub called [0..2]: patch_vaddr=0x0000000905e642e0 jmprela_index=53 symbol=fgIsQ10xYVA[libkernel_v1][libkernel_v1.1][Func] type=Func bind=Global program=.../eboot.bin

It did not prevent the game from running.

Steps to reproduce the result

  1. Start KytyPS5 2026-10-27-ffc8137 on Linux.
  2. Boot Carmen Sandiego (app version 01.009.000) from a clean dump.
  3. Wait for the initial shader compilation and confirm on the title screen.

Expected behavior

No known issue: the game boots and is playable.

OS

CachyOS Linux (rolling), kernel 7.3.0-3-cachyos, KDE Plasma 6 Wayland

CPU

AMD Ryzen 9 9900X (12 cores)

GPU

NVIDIA GeForce RTX 4080 SUPER, driver 615.78.08 (Vulkan 1.4)

RAM / VRAM

60 GB RAM / 16 GB VRAM

Log file upload

Complete, unmodified log, zstd-compressed (70.4 MB decompressed, 2,037,364 lines):

https://files.catbox.moe/obfees.zst

Decompress with zstd -d _kyty.zst (7-Zip also opens .zst).

Screenshots/video

In-game capture:

Gameplay

Extra notes

  • Tested with one host gamepad on player 1; no special flags were needed.
  • The dump comes from my own console; no game files, keys or decrypted assets are shared, only the log and screenshot.
  • Test executed and the reported status confirmed by the dump owner; the report text was drafted and filed with AI assistance from the emulator log.
**@⁠edubox** on GitHub · 2026-10-27 23:46 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/1953) ### Game title Carmen Sandiego ### Game ID / serial PPSA25256 ### KytyPS5 version KytyPS5-2026-10-27-ffc8137 (0.3.0) ### Compatibility status In game ### Last working build / first broken build _No response_ ### Result details The game boots with the default configuration and is fully playable at a stable frame rate. It compiles its shaders (up to VS 66 / PS 139 / CS 29), loads its AK audio modules (`akreverb`, `akdelay`, `akcompressor`, etc.) and reaches controllable gameplay. No fatal errors or host exceptions in the log; the run was stopped by us after about 90 seconds of play. The only anomaly in the log is a missing import that falls back to a stub, called three times during the run: ``` Unresolved import stub called [0..2]: patch_vaddr=0x0000000905e642e0 jmprela_index=53 symbol=fgIsQ10xYVA[libkernel_v1][libkernel_v1.1][Func] type=Func bind=Global program=.../eboot.bin ``` It did not prevent the game from running. ### Steps to reproduce the result 1. Start KytyPS5 2026-10-27-ffc8137 on Linux. 2. Boot Carmen Sandiego (app version 01.009.000) from a clean dump. 3. Wait for the initial shader compilation and confirm on the title screen. ### Expected behavior No known issue: the game boots and is playable. ### OS CachyOS Linux (rolling), kernel 7.3.0-3-cachyos, KDE Plasma 6 Wayland ### CPU AMD Ryzen 9 9900X (12 cores) ### GPU NVIDIA GeForce RTX 4080 SUPER, driver 615.78.08 (Vulkan 1.4) ### RAM / VRAM 60 GB RAM / 16 GB VRAM ### Log file upload Complete, unmodified log, zstd-compressed (70.4 MB decompressed, 2,037,364 lines): https://files.catbox.moe/obfees.zst Decompress with `zstd -d _kyty.zst` (7-Zip also opens .zst). ### Screenshots/video In-game capture: ![Gameplay](https://files.catbox.moe/0ts3ln.png) ### Extra notes - Tested with one host gamepad on player 1; no special flags were needed. - The dump comes from my own console; no game files, keys or decrypted assets are shared, only the log and screenshot. - Test executed and the reported status confirmed by the dump owner; the report text was drafted and filed with AI assistance from the emulator log.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 10:10:01 +00:00
Author
Owner

@⁠Ekt0re on GitHub · 2026-10-28 01:21 UTC · original

sceKernelChmod

NID fgIsQ10xYVA
Library libkernel (libkernel_v1 / v1.1)
Category Function, global export
Name source shadPS4 registration table (LIB_FUNCTION("fgIsQ10xYVA", "libkernel", ...))

1. What it does

It changes the permission bits of a file or directory, like the POSIX chmod(path, mode) call.

s32 sceKernelChmod(const char* path, u32 mode);
  • path: path of the file or directory (guest path, e.g. under /data or /app0).
  • mode: permission bits in octal form (e.g. 0666, 0777).
  • Returns 0 on success, a negative Sce kernel error code on failure.

It is the Sony-style wrapper (sceKernel...) around the POSIX-style call. The two differ only in how errors are returned:

Variant NID Error reporting
posix_chmod z0dtnPxYgtg returns -1 and sets errno
sceKernelChmod fgIsQ10xYVA returns a negative Sce error code

The sibling for open file descriptors is fchmod (posix_fchmod n01yNbQO5W4, sceKernelFchmod UtszJWHrDcA).

The behavior is described from the name and from shadPS4; there is no official Sony documentation.

2. What a game uses it for

Games rarely need it. Plausible uses:

  • making a file they created in save data or /data writable or readable before reopening it
  • fixing permissions on a downloaded or extracted file (patches, cache, DLC)
  • middleware or engine file-system layers that call chmod as part of a generic "create file" routine

This list is an inference from how chmod is normally used, not from official sources. In most titles a failure of this call is harmless.

3. How shadPS4 handles it

Not a stub. It is a full implementation in file_system.cpp.

Wrapper

s32 PS4_SYSV_ABI sceKernelChmod(const char* path, u32 mode) {
    s32 result = posix_chmod(path, mode);
    if (result < 0) {
        LOG_ERROR(Kernel_Fs, "path = {}, mode = {:o}, error = {}", path ? path : "(null)", mode,
                  *__Error());
        return ErrnoToSceKernelError(*__Error());
    }
    return result;
}

It calls posix_chmod, and on failure logs the problem and converts the errno value to a Sce kernel error.

Core (posix_chmod)

Checks, in order:

Condition errno
path == nullptr POSIX_EFAULT
path longer than 255 characters POSIX_ENAMETOOLONG
guest path does not exist in the mount table POSIX_ENOENT
the mount is read-only POSIX_EROFS
guest path has no host path POSIX_ENOENT
host call fails native error converted by NativeToPosixErrno

On success it applies the permissions on the host file:

fs::permissions(host_path, static_cast<fs::perms>(mode & 07777), ec);

Only the lower 12 bits of mode are used (rwx for user, group, other, plus setuid, setgid and sticky).

4. Sources

The link points to the main branch, which may change. The code is GPL-2.0-or-later; check license compatibility before copying it.
.

**@⁠Ekt0re** on GitHub · 2026-10-28 01:21 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/1953#issuecomment-6458101884) # sceKernelChmod | | | |---|---| | **NID** | `fgIsQ10xYVA` | | **Library** | libkernel (libkernel_v1 / v1.1) | | **Category** | Function, global export | | **Name source** | shadPS4 registration table (`LIB_FUNCTION("fgIsQ10xYVA", "libkernel", ...)`) | ## 1. What it does It changes the **permission bits of a file or directory**, like the POSIX `chmod(path, mode)` call. ```cpp s32 sceKernelChmod(const char* path, u32 mode); ``` - `path`: path of the file or directory (guest path, e.g. under `/data` or `/app0`). - `mode`: permission bits in octal form (e.g. `0666`, `0777`). - Returns `0` on success, a negative Sce kernel error code on failure. It is the Sony-style wrapper (`sceKernel...`) around the POSIX-style call. The two differ only in how errors are returned: | Variant | NID | Error reporting | |---|---|---| | `posix_chmod` | `z0dtnPxYgtg` | returns `-1` and sets `errno` | | `sceKernelChmod` | `fgIsQ10xYVA` | returns a negative Sce error code | The sibling for open file descriptors is `fchmod` (`posix_fchmod` `n01yNbQO5W4`, `sceKernelFchmod` `UtszJWHrDcA`). The behavior is described from the name and from shadPS4; there is no official Sony documentation. ## 2. What a game uses it for Games rarely need it. Plausible uses: - making a file they created in save data or `/data` writable or readable before reopening it - fixing permissions on a downloaded or extracted file (patches, cache, DLC) - middleware or engine file-system layers that call `chmod` as part of a generic "create file" routine This list is an inference from how `chmod` is normally used, not from official sources. In most titles a failure of this call is harmless. ## 3. How shadPS4 handles it Not a stub. It is a full implementation in `file_system.cpp`. ### Wrapper ```cpp s32 PS4_SYSV_ABI sceKernelChmod(const char* path, u32 mode) { s32 result = posix_chmod(path, mode); if (result < 0) { LOG_ERROR(Kernel_Fs, "path = {}, mode = {:o}, error = {}", path ? path : "(null)", mode, *__Error()); return ErrnoToSceKernelError(*__Error()); } return result; } ``` It calls `posix_chmod`, and on failure logs the problem and converts the `errno` value to a Sce kernel error. ### Core (`posix_chmod`) Checks, in order: | Condition | errno | |---|---| | `path == nullptr` | `POSIX_EFAULT` | | path longer than 255 characters | `POSIX_ENAMETOOLONG` | | guest path does not exist in the mount table | `POSIX_ENOENT` | | the mount is read-only | `POSIX_EROFS` | | guest path has no host path | `POSIX_ENOENT` | | host call fails | native error converted by `NativeToPosixErrno` | On success it applies the permissions on the **host file**: ```cpp fs::permissions(host_path, static_cast<fs::perms>(mode & 07777), ec); ``` Only the lower 12 bits of `mode` are used (rwx for user, group, other, plus setuid, setgid and sticky). ## 4. Sources - `src/core/libraries/kernel/file_system.cpp` (`posix_chmod`, `sceKernelChmod`, and the `LIB_FUNCTION` registrations near the end of the file): <https://github.com/shadps4-emu/shadPS4/blob/main/src/core/libraries/kernel/file_system.cpp> - shadPS4 repository: <https://github.com/shadps4-emu/shadPS4> The link points to the `main` branch, which may change. The code is GPL-2.0-or-later; check license compatibility before copying it. .
This discussion has been locked. Commenting is limited to contributors.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
github/KytyPS5--KytyPS5#1953
No description provided.