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

Blue screen after first save (UCJS10002 : Doko Demo Issho) #18420

Closed
5 tasks done
kedamohno opened this issue Nov 13, 2023 · 26 comments · Fixed by #18436
Closed
5 tasks done

Blue screen after first save (UCJS10002 : Doko Demo Issho) #18420

kedamohno opened this issue Nov 13, 2023 · 26 comments · Fixed by #18436
Labels
I/O Affected by I/O timing settings, or other kind of I/O issue. Saving issue Prevents or obstructs saving game (not save states.)
Milestone

Comments

@kedamohno
Copy link

kedamohno commented Nov 13, 2023

Game or games this happens in

UCJS10002 : どこでもいっしょ(Doko Demo Issho)

What area of the game / PPSSPP

After I saved my game for the first time, I can't open the game without a savestate. It has a blue screen every time. (thats very bad since the games whole point is checking on toro everyday :()

Screen Shot 2023-11-13 at 2 12 16 PM

heres my savedata:

UCJS10002000.zip

What should happen

It should just open to the screen that asks if you want to continue. I can get to that screen via savestate:
Screen Shot 2023-11-13 at 2 19 42 PM
(thats how it looks) But the crash makes it so I can't progress in the game. this crash never happened until I actually saved the game, and there was a continue button.

Logs

sadly I can't figure out where my dumped logs are on mac :,(

Platform

macOS

Mobile phone model or graphics card

Intel(R) Iris(TM) Graphics 6100

PPSSPP version affected

v1.16.6

Last working version

v1.16.6

Graphics backend (3D API)

Vulkan

Checklist

  • Test in the latest git build in case it's already fixed.
  • Search for other reports of the same issue.
  • Try resetting settings or older versions and include if the issue is related.
  • Try without any cheats and without loading any save states.
  • Include logs or screenshots of issue.
@sum2012
Copy link
Collaborator

sum2012 commented Nov 13, 2023

english name:Doko Demo Issho

@hrydgard hrydgard added this to the Future-Prio milestone Nov 13, 2023
@hrydgard hrydgard added the Saving issue Prevents or obstructs saving game (not save states.) label Nov 13, 2023
@anr2me
Copy link
Collaborator

anr2me commented Nov 13, 2023

The game will also crashed not long after running it, if a savedata is present (using the savedata provided in the first post, may be the savedata didn't get fully saved and corrupted?)
image

Debug Logs:
ppsspplog.zip

@kedamohno
Copy link
Author

thats true, and really interesting! do you think I should try maybe deleting my savestates and trying again?

@sum2012
Copy link
Collaborator

sum2012 commented Nov 14, 2023

@kedamohno Yes,I do think so

@IrfanH495
Copy link

I'm not experiencing a blue screen or maybe not yet. I don't understand the time difference here.
https://drive.google.com/file/d/1XmTvb-FSyuTH4kft4vJDzmuBBac5a1hO/view?usp=drivesdk
Sorry, I uploaded this image via the link, I can't upload the image here, I don't know why.

@IrfanH495
Copy link

after adding to compat ReportSmallMemStick I can load games without problems on Android, I don't know how on other devices
https://youtu.be/NaV5LtxGxPg?si=QkIPzHV4HIHpTCWF

@IrfanH495
Copy link

IrfanH495 commented Nov 15, 2023

@kedamohno save data above leaving me trapped in the room and out of character
https://drive.google.com/file/d/1VJklpTKuaio5N8uwDmRnGyz8mkxMIpeL/view?usp=drivesdk

@kedamohno
Copy link
Author

thank you all!!!!! I deleted the first save, started a new game, and dont seem to have any issues after i close and open again. i do recall instead of using esc and pressing "exit game" I think i closed the ppsspp tab which was probably a terrible idea and might have corrupted the save. i'm going to wait until tomorrow to see if theres any issues, but I think it might be fixed! :)

@hrydgard hrydgard changed the title Blue screen after first save Blue screen after first save (UCJS10002 : どこでもいっしょ) Nov 16, 2023
@hrydgard hrydgard changed the title Blue screen after first save (UCJS10002 : どこでもいっしょ) Blue screen after first save (UCJS10002 : Doko Demo Issho) Nov 16, 2023
hrydgard added a commit that referenced this issue Nov 16, 2023
@hrydgard
Copy link
Owner

I went ahead and added it under [ReportSmallMemstick] too.

@IrfanH495
Copy link

I don't use last build, it's really random, sometimes the game loads itself, sometimes it won't load .
exit the application and enter it again while the game loads itself.
I will try last build.

@IrfanH495
Copy link

IrfanH495 commented Nov 16, 2023

@hrydgard sorry, I think my suggestion is wrong.
in the last build it looks like this.
https://youtu.be/hEINCwAwM7E?si=BhrlgW8TIbGkBHv1
at the end of the video the game loads as usual

@hrydgard
Copy link
Owner

well, that setting usually doesn't really hurt anyway, so i'll keep it.

@kedamohno
Copy link
Author

sad update... i checked on toro last night and he was fine, but now its crashed again. im not sure what to do to keep the file from corrupting? :(

@kedamohno
Copy link
Author

also im not sure what a reportsmallmemstick is. is there something i should download?

@IrfanH495
Copy link

@kedamohno Are you stuck again where the characters are not visible in the room?
you left him he seems quite long read this
https://detail.chiebukuro.yahoo.co.jp/qa/question_detail/q12122249467
Just like your save data above, I also experience it but it doesn't become a blue screen.
this game follows our time in the real world I tried changing the time to 1 pm and in the game to noon

@hrydgard
Copy link
Owner

also im not sure what a reportsmallmemstick is. is there something i should download?

No, it's a per-game compatibility setting. I've set it on now for all future versions. It tricks games that your memory stick is smaller than available disk space, because some games can't handle modern disk sizes...

@IrfanH495
Copy link

IrfanH495 commented Nov 16, 2023

I didn't mean to spam
@kedamohno I tried save data above, and found the pet had gone and left a letter
Goodbye•••
I go on a journey to find a way to become human...
I wanted to talk more...
https://youtu.be/_QGvog9p5s8?si=bqn03aj5MEZ2abFf
so I guess the game crashes after the pet leaves or is this a different issue

@kedamohno
Copy link
Author

@IrfanH495 I do believe thats a game feature if you leave him alone too long. maybe thats because the save youre using is mine from a while ago...hopefully that shouldn't be an issue for me, my time seems to be synced correctly! I tried the save again, im deleting my old save, my savestates, and trying again fully! if it crashed tomorrow, i'll have to keep investigating :,)

@kedamohno
Copy link
Author

also im not sure what a reportsmallmemstick is. is there something i should download?

No, it's a per-game compatibility setting. I've set it on now for all future versions. It tricks games that your memory stick is smaller than available disk space, because some games can't handle modern disk sizes...

oh, i see! thank you! i'll make sure to check whether i have that on or off...

@anr2me
Copy link
Collaborator

anr2me commented Nov 17, 2023

Changing CPU clock to 55 seems to works for me, so there might be timing issue here instead of corrupted savedata.

I'm able to run the game with savedata present
image

PS: the thread that crashed is probably audio-related thread since it use "pcm" (ie. "sgx-pcm-th") in the thread name, and the last file being loaded before the crash is 5=sceIoOpen(disc0:/PSP_GAME/USRDIR/data/sound/bgm/hiru1.sgd, 1, 0)

Edit: This could also be timing issue with sceUtilitySavedataInitStart/sceUtilitySavedataShutdownStart dialog, just like the msg dialog at #15304 where changing the CPU clock could prevent a crash.

Edit2: based on the logs the status being retrieved by the game seems to be missing the 4 status (ie. 3 -> 0, instead of 3 -> 4 -> 0), so this could also be similar issue to #15068 (comment) (but since i've lost all my partitions due to bad sector, so i can't test whether that fix worked for this game too or not)

@sum2012
Copy link
Collaborator

sum2012 commented Nov 19, 2023

@anr2me Maybe we need a compat setting for the status.

@sum2012
Copy link
Collaborator

sum2012 commented Nov 19, 2023

@anr2me Change timing setting to Simulate UMD slow reading speed work !!!

@sum2012 sum2012 added the I/O Affected by I/O timing settings, or other kind of I/O issue. label Nov 19, 2023
sum2012 added a commit to sum2012/ppsspp that referenced this issue Nov 20, 2023
@kedamohno
Copy link
Author

Changing CPU clock to 55 seems to works for me, so there might be timing issue here instead of corrupted savedata.

I'm able to run the game with savedata present image

PS: the thread that crashed is probably audio-related thread since it use "pcm" (ie. "sgx-pcm-th") in the thread name, and the last file being loaded before the crash is 5=sceIoOpen(disc0:/PSP_GAME/USRDIR/data/sound/bgm/hiru1.sgd, 1, 0)

Edit: This could also be timing issue with sceUtilitySavedataInitStart/sceUtilitySavedataShutdownStart dialog, just like the msg dialog at #15304 where changing the CPU clock could prevent a crash.

Edit2: based on the logs the status being retrieved by the game seems to be missing the 4 status (ie. 3 -> 0, instead of 3 -> 4 -> 0), so this could also be similar issue to #15068 (comment) (but since i've lost all my partitions due to bad sector, so i can't test whether that fix worked for this game too or not)

im sorry, i still new to emulators so im confused. is there anything i should edit in ppsspp settings? do i need to edit the files in ppsspp or do something to my computer? I still feel like I have no clue how to prevent this crash :(

@sum2012
Copy link
Collaborator

sum2012 commented Nov 22, 2023 via email

@anr2me
Copy link
Collaborator

anr2me commented Nov 22, 2023

@sum2012 i think you forgot to write the solution :)
Btw, i tried using Simulate UMD slow reading on this game, but it still crashed

@kedamohno the solution (workaround) is by changing the CPU clock to 55 or 111 or 333 from Settings
-> System -> Change emulated PSP's CPU clock

@sum2012 sum2012 modified the milestones: Future-Prio, v1.17.0 Nov 22, 2023
@sum2012
Copy link
Collaborator

sum2012 commented Nov 22, 2023

@anr2me I have attach image to Email but don't work here. Anyway v1.16.6-341-g4d7f00f96 have merged Simulate UMD slow reading. I test it also load the first post of save in android no problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
I/O Affected by I/O timing settings, or other kind of I/O issue. Saving issue Prevents or obstructs saving game (not save states.)
Projects
None yet
5 participants