Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

God of War 4 crashes #28

Open
Inori opened this issue Dec 13, 2019 · 1 comment
Open

God of War 4 crashes #28

Inori opened this issue Dec 13, 2019 · 1 comment
Labels
game support issues related to one specific game

Comments

@Inori
Copy link
Owner

Inori commented Dec 13, 2019

An ideal state would be the game runs in an infinite loop processing input messages, just without graphics output.
This crash possibly due to unimplemented import functions.
Especially sceKernelVirtualQuery, I don't know what it will return on a real PS4 machine.
Maybe a better way is to hook this function on a real PS4 machine and log its' output.

[17628][warning]<FIXME>prepareTables(557):     30 UNKNOWN DTAG: 0x0000000e
[17628][warning]<FIXME>prepareTables(557):     28 UNKNOWN DTAG: 0x0000000e
[17628][warning]<FIXME>prepareTables(557):     40 UNKNOWN DTAG: 0x0000000e
[3352][warning]<FIXME>sceCommonDialogInitialize(16): Not implemented
[3352][warning]<FIXME>sceMsgDialogInitialize(30): Not implemented
[3352][warning]<FIXME>scePthreadMutexInit(150): set name is not supported yet.
[3352][warning]<FIXME>sceKernelReserveVirtualRange(111): SCE Dummy implemented
[3352][warning]<FIXME>sceKernelSetVirtualRangeName(119): Not implemented
[3352][warning]<FIXME>sceKernelVirtualQuery(126): Not implemented
[3352][warning]<FIXME>sceKernelGetDirectMemoryType(42): SCE Dummy implemented
[3352][warning]<FIXME>sceKernelAllocateDirectMemory(9): SCE Dummy implemented
[3352][warning]<FIXME>sceKernelMapNamedDirectMemory(68): SCE Dummy implemented
[3352][warning]<FIXME>sceKernelGetPageTableStats(51): Not implemented
[3352][warning]<FIXME>sceKernelSetPrtAperture(132): Not implemented
[3352][warning]<FIXME>sceKernelMapNamedDirectMemory(68): SCE Dummy implemented
@Inori Inori added the game support issues related to one specific game label Dec 13, 2019
@VelocityRa
Copy link
Contributor

sceKernelVirtualQuery is probably a win32 VirtualQuery equivalent.

What address is it getting called on? An addr inside memory that we have allocated for the game? If so, you may not need hardware tests.

Anyway, presumably GPCS4 will need more accurate memory handling to implement it (lots of sceKernel memory stuff is stubbed afaik).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
game support issues related to one specific game
Projects
None yet
Development

No branches or pull requests

2 participants