red-prig / fpps4-game-compatibility

Game compatibility
174 stars 12 forks source link

PS4NES - PNES00001 (Homebrew) #1412

Open zecoxao opened 1 year ago

zecoxao commented 1 year ago

Game Name

PS4NES

Game code

PNES0001

Game version

1.00

Used emulator's version

red-prig/fpPS4@151c067

Current status

Ingame

Error

No error

Description

at load it shows a config error, will screenshot

Used hacks

No response

Screenshots

Sem título

Log File

ps4nes.txt

Squidtito commented 1 year ago

I am on linux so results may not be 100% accurate

After https://github.com/red-prig/fpPS4/actions/runs/4393923607 came out, and putting the required stuff in (Folders, config file) it goes pass the last error, into a black screen. It seems to still be running as the FPS counter does change still. image sadmomento.txt

zecoxao commented 1 year ago

pressing X gives

sceKernelGetModuleInfoForUnwind:0000000006B019BA:1:0000000008E1E8A0 sceKernelGetModuleInfoForUnwind:0000000006AAD47F:1:0000000008E1E8A0 sceKernelGetModuleInfoForUnwind:0000000006AAD47F:1:0000000008E1ED50 sceKernelGetModuleInfoForUnwind:0000000006AAD47F:1:0000000008E1E8A0 sceKernelGetModuleInfoForUnwind:0000000006AAD3D5:1:0000000008E1E8A0 sceKernelGetModuleInfoForUnwind:0000000006AAD3D5:1:0000000008E1ED50 sceKernelGetModuleInfoForUnwind:0000000006AAD3D5:1:0000000008E1E8A0 sceKernelGetModuleInfoForUnwind:0000000006A80CA7:1:0000000008E1E8A0 sceKernelGetModuleInfoForUnwind:0000000006A80CA7:1:0000000008E1ED50 sceKernelGetModuleInfoForUnwind:0000000006A80CA7:1:0000000008E1E8A0 sceKernelGetModuleInfoForUnwind:0000000800417427:1:0000000008E1E8A0 sceKernelGetModuleInfoForUnwind:0000000800417427:1:0000000008E1ED50 sceKernelGetModuleInfoForUnwind:0000000800417427:1:0000000008E1E8A0 sceKernelGetModuleInfoForUnwind:0000000800415DE2:1:0000000008E1E8A0 sceKernelGetModuleInfoForUnwind:0000000800415DE2:1:0000000008E1ED50 sceKernelGetModuleInfoForUnwind:0000000800415DE2:1:0000000008E1E8A0 sceKernelGetModuleInfoForUnwind:00000008004162A9:1:0000000008E1E8A0 sceKernelGetModuleInfoForUnwind:00000008004162A9:1:0000000008E1ED50 sceKernelGetModuleInfoForUnwind:00000008004162A9:1:0000000008E1E8A0 sceKernelGetModuleInfoForUnwind:0000000800400B25:1:0000000008E1E8A0 sceKernelGetModuleInfoForUnwind:0000000800400B25:1:0000000008E1ED50 sceKernelGetModuleInfoForUnwind:0000000800400B25:1:0000000008E1E8A0 sceKernelGetModuleInfoForUnwind:0000000800400D4F:1:0000000008E1E8A0 sceKernelGetModuleInfoForUnwind:0000000800400D4F:1:0000000008E1ED50 sceKernelGetModuleInfoForUnwind:0000000800400D4F:1:0000000008E1E8A0 sceKernelGetModuleInfoForUnwind:0000000800417ACE:1:0000000008E1E8A0 sceKernelGetModuleInfoForUnwind:0000000800417ACE:1:0000000008E1ED50 sceKernelGetModuleInfoForUnwind:0000000800417ACE:1:0000000008E1E8A0 sceKernelGetModuleInfoForUnwind:0000000000000000:1:0000000008E1E8A0 sceKernelGetModuleInfoForUnwind:0000000000000000:1:0000000008E1ED50 sceKernelGetModuleInfoForUnwind:0000000000000000:1:0000000008E1E8A0 sceKernelGetModuleInfoForUnwind:000000000000048F:1:0000000008E1ED50 sceKernelGetModuleInfoForUnwind:000000000000048F:1:0000000008E1E8A0 [TTY]:Terminating due to uncaught exception 88103d500 of type std::out_of_range sceKernelGetModuleInfoForUnwind:0000000006B017BB:1:0000000008E1E910 sceKernelGetModuleInfoForUnwind:0000000006AAD7C6:1:0000000008E1E910 RaiseException:A0020008:00000000:Terminate is called. An unhandled exception occurred at $00000001002378BB: EAccessViolation: Access violation Press any key to continue . . .

Squidtito commented 1 year ago

It is not able to get the indexes in the roms directory I think. So it throws "std::out_of_range" when trying to get an index that does not exist.

gandalfthewhite19890404 commented 1 year ago

Retest

Squidtito commented 1 year ago

Everything up to my comment is using the latest artifact ( https://github.com/red-prig/fpPS4/commit/029a2935c13f35c7a6915e4714fbcd781c198342 )

red-prig commented 1 year ago

After analyzing the PS4NES, I realized that in some places it directly uses SYSCALL instructions instead of dynamic symbols, the hacker approach causes problems