ppsspp icon indicating copy to clipboard operation
ppsspp copied to clipboard

Digimon World Re Digitize crashes on checking savedata and hangs on saving.

Open daniel229 opened this issue 12 years ago • 17 comments

last working is v0.9.5-1042-g2bd314a, broken since this https://github.com/hrydgard/ppsspp/pull/4790

daniel229 avatar Dec 17 '13 05:12 daniel229

Hmm. If you set PSPModel to 0 in ppsspp.ini, does it work again? Strange that that would break it. On PC and Android?

-[Unknown]

unknownbrackets avatar Dec 17 '13 08:12 unknownbrackets

On PC,set PSPModel to 0 no help.

daniel229 avatar Dec 17 '13 08:12 daniel229

And reverting those changes on latest master fixes it?

I can definitely believe I made a mistake in that code somewhere, but I would expect it to break a ton of games if so...

-[Unknown]

unknownbrackets avatar Dec 17 '13 08:12 unknownbrackets

Reverted,working again.

daniel229 avatar Dec 17 '13 08:12 daniel229

How about if you keep the changes except in Core/MemMap.cpp? (that is, revert only the changes to that file.)

This should skip the mirrors; most of the other code is just "supporting", and won't be activated if MemMap.cpp isn't changed. However, maybe it's a ~~VRAM mirror~~ (can't be that) or something in Core/MemMapFunctions.cpp that I got wrong.

If it's still broken without Core/MemMapFunctions.cpp reverted, does reverting it fix it?

-[Unknown]

unknownbrackets avatar Dec 17 '13 08:12 unknownbrackets

Revert either MemMap.cpp or MemMapFunctions.cpp no help, Both reverted do help.

daniel229 avatar Dec 17 '13 09:12 daniel229

Do It again,only revert MemMap.cpp no change,only revert MemMapFunctions.cpp fixes it.

daniel229 avatar Dec 17 '13 09:12 daniel229

Hmm, I just can't see it (in the code, I don't have the game.) Can you tell which of the GetPointerUnchecked(address)'s is doing it?

-[Unknown]

unknownbrackets avatar Dec 17 '13 09:12 unknownbrackets

line 78 line 88

daniel229 avatar Dec 17 '13 09:12 daniel229

Hmm. 88 should not matter at all if PSPModel is 0...

-[Unknown]

unknownbrackets avatar Dec 17 '13 09:12 unknownbrackets

I want to point that for me the save in this game never gave me problems. I tested several of the 0.9.6 builds and even saved on them on that game and didn't have any problems at all o.o

Unless the problem is when we start the game not having any saves at all. You know, as in trying the game for the first time.

LPatamon avatar Dec 17 '13 09:12 LPatamon

I think I mix some savedatas that form jpcsp,that is a problem.remove all savedatas or just remove that from jpcsp,no crash on checking savedata,still hang on saving screen.set PSPModel to 0 no change.

daniel229 avatar Dec 17 '13 10:12 daniel229

I used my save datas from JPCSP as well, but before doing so, on ppsspp.ini I changed the EncryptSave option from True to False. This because JPCSP by default doesn't saves with encryption (encrypting can be enabled on JPCSP as well).

Maybe your problem has to do with the encryptsave mode?

LPatamon avatar Dec 17 '13 10:12 LPatamon

Here is some visual aid as how the saves work with encryptsave enabled and disabled:

Encrypted save features an extra file named ENCRYPT_INFO.BIN encrypt

No encrypted save is the same except it doesn't has an ENCRYPT_INFO.BIN due to the obvious that is not encrypted noencrypt

Now I'm remembering that something similar to your issue happened to me but in the inverse way. I mean by loading a savedata from PPSSPP on JPCSP. It didn't work and it was because I saved on PPSSPP with encrypt mode enabled, and JPCSP couldn't load it. It wasn't till I disabled encryptsave on PPSSPP and saved again that the save loaded successfully on JPCSP.

I decided to use both emulators with non encrypted save for better compatibility. Maybe that can help you too :)

LPatamon avatar Dec 17 '13 10:12 LPatamon

Yes,I mix encrypted and non encrypted savedate,remove either one,It would not crashes on intro now,Thanks @LPatamon .The hang problem seems not related to that commit.

daniel229 avatar Dec 17 '13 12:12 daniel229

No problem. Glad to be able to help :)

LPatamon avatar Dec 17 '13 12:12 LPatamon

Hmm, it's still weird that that commit changed behavior... maybe it was somehow working by accident...

-[Unknown]

unknownbrackets avatar Dec 17 '13 15:12 unknownbrackets