[GH-ISSUE #2369] [APP BUG]: CUSA00394 Unknown format=3238395904 #797

Closed
opened 2026-02-27 21:08:12 +03:00 by kerem · 1 comment
Owner

Originally created by @derholzmann12321 on GitHub (Feb 7, 2025).
Original GitHub issue: https://github.com/shadps4-emu/shadPS4/issues/2369

Checklist

  • I have searched for a similar issue in this repository and did not find one.
  • I am using an official build obtained from releases or updated one of those builds using its in-app updater.

Describe the Bug

[Debug] image_info.cpp:ConvertPixelFormat:29: Unreachable code!
Unknown format=3238395904

that crash also happens in the current wip builds but i got arround it(crashing on texture assertion) by adding this in the ConvertPixelFormat and commenting out those 2 lines or changing num_bits to 64:
changes were in image_info.cpp

case VideoOutFormat::A16R16G16B16Float:
    return vk::Format::eR16G16B16A16Sfloat;

// num_bits = attrib.pixel_format != VideoOutFormat::A16R16G16B16Float ? 32 : 64;
// ASSERT(num_bits == 64);

log of the crash:
shad_log.txt

Reproduction Steps

Launch the game "The Amazing Spider-Man 2"

Expected Behavior

game should probably crash at a texture assertion or boot

Specify OS Version

CachyOS/Arch Linux

Originally created by @derholzmann12321 on GitHub (Feb 7, 2025). Original GitHub issue: https://github.com/shadps4-emu/shadPS4/issues/2369 ### Checklist - [x] I have searched for a similar issue in this repository and did not find one. - [x] I am using an official build obtained from [releases](https://github.com/shadps4-emu/shadPS4/releases) or updated one of those builds using its in-app updater. ### Describe the Bug [Debug] <Critical> image_info.cpp:ConvertPixelFormat:29: Unreachable code! Unknown format=3238395904 that crash also happens in the current wip builds but i got arround it(crashing on texture assertion) by adding this in the ConvertPixelFormat and commenting out those 2 lines or changing num_bits to 64: changes were in image_info.cpp case VideoOutFormat::A16R16G16B16Float: return vk::Format::eR16G16B16A16Sfloat; // num_bits = attrib.pixel_format != VideoOutFormat::A16R16G16B16Float ? 32 : 64; // ASSERT(num_bits == 64); log of the crash: [shad_log.txt](https://github.com/user-attachments/files/18709720/shad_log.txt) ### Reproduction Steps Launch the game "The Amazing Spider-Man 2" ### Expected Behavior game should probably crash at a texture assertion or boot ### Specify OS Version CachyOS/Arch Linux
kerem closed this issue 2026-02-27 21:08:12 +03:00
Author
Owner

@Hermiten commented on GitHub (Feb 12, 2025):

Please report this game on the compatibility list first, to follow.

And I'm closing this one, I will put a label on it when it will be opened on the compat list. This is also present in the wiki here:
https://github.com/shadps4-emu/shadPS4/wiki/III.-Guide-of%EF%BC%9CCritical%EF%BC%9Elog

Thanks you

<!-- gh-comment-id:2653654297 --> @Hermiten commented on GitHub (Feb 12, 2025): Please report this game on the compatibility list first, to follow. And I'm closing this one, I will put a label on it when it will be opened on the compat list. This is also present in the wiki here: https://github.com/shadps4-emu/shadPS4/wiki/III.-Guide-of%EF%BC%9CCritical%EF%BC%9Elog Thanks you
Sign in to join this conversation.
No milestone
No project
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
starred/shadPS4#797
No description provided.