hrydgard / ppsspp

A PSP emulator for Android, Windows, Mac and Linux, written in C++. Want to contribute? Join us on Discord at https://discord.gg/5NJB6dD or just send pull requests / issues. For discussion use the forums at forums.ppsspp.org.
https://www.ppsspp.org
Other
10.77k stars 2.12k forks source link

ppsspp will crash if i open a specific box in god of war ghost of sparta #19271

Closed HowQuitVim closed 1 week ago

HowQuitVim commented 2 weeks ago

Game or games this happens in

NPHG00092

What area of the game / PPSSPP

when i open a specific box, ppsspp crashed(i tried several times),i will upload saved state file。 after load state file I uploaded,just open the box in front of kratos,and then crash should be happened. NPHG00092_1.00_0-savestate.zip

What should happen

ppsspp do not crash

Logs

No response

Platform

iOS

Mobile device model or graphics card (GPU)

iPhone15 pro max

PPSSPP version affected

V1.17.1-669-gd298c6f6f5

Last working version

No response

Graphics backend (3D API)

Vulkan

Checklist

anr2me commented 2 weeks ago

Have you tried the latest dev build? There were IR interpreter issue recently and got fixed afterward, so may be the issue you have already fixed on the latest dev build.

HowQuitVim commented 2 weeks ago

last night,i tried to compile for linux from master branch ,but i found ppsspp will be not responsable if i load savestate file,so i do not know wheather problem resolve .I think this crash bug was caused by cheats,i used cheats to increase max heath of kratos,and then ,when i open the box that rewards max heath increament,program crashed

HowQuitVim commented 2 weeks ago

and i tried testflight edition,i found crash was not resolved

anr2me commented 2 weeks ago

Well, you should disable all cheats first before testing, and also load it from save data instead of save state, because the changes done by the cheat might already affects the save state.

You can then create a clean save state after loading it from save data without using any cheat for other people to test the save state.

HowQuitVim commented 2 weeks ago

Well, you should disable all cheats first before testing, and also load it from save data instead of save state, because the changes done by the cheat might already affects the save state.

You can then create a clean save state after loading it from save data without using any cheat for other people to test the save state.

i tried as what you said,still crash,i think the savedata was already Polluted by cheat

LunaMoo commented 2 weeks ago

Probably nothing to do here, if you patched your game memory with a cheat and it saved to savedata, it's not an emulator issue. Game might not be coded for situation where you collect a health upgrade after having it maxed already and the undefined result ends up with a crash. You should try to reach that chest without using such cheat to confirm, could also use some cheat which un-maximizes your hp upgrades or something to test.