shadps4-emu / shadps4-game-compatibility

Shadps4 game compatibility
209 stars 22 forks source link

CUSA02084 - Rock Band 4 #144

Open Crafty-The-Fox opened 4 months ago

Crafty-The-Fox commented 4 months ago

Game Name

Rock Band 4

Game code

CUSA02084

Game version

v1.00

Used emulator's version (only released versions are acceptable)

v0.1.0

Current status

Nothing

Error

stubbed functions are called and the game does not boot past this. It does not crash though, just keeps calling the function

[Lib.NetCtl] <Error> netctl.cpp:sceNetCtlCheckCallback:82: (STUBBED) called
[Lib.NpManager] <Error> np_manager.cpp:sceNpCheckCallback:873: (STUBBED) called

Description

game also uses usbd i think(?) if that matters

Screenshots

No response

Log File

shad_log.txt

xezrunner commented 4 months ago

I have attempted to debug Amplitude (2016), which also runs on Harmonix's Forge Engine.

The game shows the ESRB logo, but lands on a black screen when the intro video should play. Modding the game to not play the intro video still results in a black screen, which leads me to believe scenes aren't working.

Some important shaders fail to translate and I also saw flip rendering commands failing to validate.

The main shader that is responsible for drawing the UI scenes is most likely preventing the game from working at the moment.
Input is only meant to be processed once the shell animations have finished, so we can't even blindly navigate the game.

The game boots fine otherwise, as it seems to be in the regular engine loop on the black screen and does load in all the files that the particular scene needs/wants to preload, including songs.

See https://github.com/shadps4-emu/shadPS4/issues/321

Crafty-The-Fox commented 3 months ago

v0.2.0 has the same result

xezrunner commented 3 months ago

My fixes for Amplitude (https://github.com/shadps4-emu/shadPS4/pull/499) get Rock Band 4 (specifically v1.0) to boot to the startup screen, according to a tester on Discord.

Requires further tinkering.

image

Crafty-The-Fox commented 3 months ago

can confirm that these fixes do allow to get to the start screen, then a crash with

[Debug] <Critical> liverpool.cpp:ProcessGraphics:459: Unreachable code!
Unknown PM4 type 3 opcode 0x20 with count 2

image

LlysiX commented 3 months ago

identical outcome for game version 1.08 with these fixes

game version 2.21 crashes instantly on v0.2.0 with or without the fixes

[Debug] <Critical> memory.cpp:operator():415: Assertion Failed!
Mapping cannot fit inside free region
Crafty-The-Fox commented 1 week ago

image image

crashes at title screen on v0.4.0 shad_log.txt