ppsspp icon indicating copy to clipboard operation
ppsspp copied to clipboard

HARUKANARU TOKI NO NAKA DE 3 WITH IZAYOIKI AIZOUBAN missing BGM and black screen after title

Open daniel229 opened this issue 10 years ago • 17 comments

If you want to play this game on PPSSPP,you must disable BGM in PSP first,then copy savedata to PPSSPP,the game will run well.

Debug log:(rename jpg to rar) ppsspplog

savedata with BGM disable.(rename jpg to rar) uljm05441

daniel229 avatar May 24 '14 07:05 daniel229

Hmm. I don't see any sceMp3 or sceAtrac calls in the log.. or even sceMpeg. How does it play the music, sas?

This is the log when it does, or doesn't work? I guess the most interesting thing would be the difference between the two logs.

-[Unknown]

unknownbrackets avatar May 25 '14 03:05 unknownbrackets

Above log is about does not work.This is it works. ppsspplog(rename jpg to rar)

daniel229 avatar May 25 '14 03:05 daniel229

These BGM are Atrac 3+ stereo 44100hz extracted from iso.

daniel229 avatar May 25 '14 04:05 daniel229

Hmm, one of these is from a savestate, hard to compare. Neither calls sceAtrac, but they both call sceSas.

There seem to be minor scheduling differences, but it might be from the savestate, so I am not sure. I didn't notice any significantly different syscall patterns or funcs though...

-[Unknown]

unknownbrackets avatar May 25 '14 06:05 unknownbrackets

But all those logs are from the same savestate.

The following are from savedata.

ppsspplognotwork

ppsspplogworks (rename jpg to rar)

daniel229 avatar May 25 '14 06:05 daniel229

Thanks. I see a lot of scheduling differences and frames are not in sync between the two, which could be the cause.... hm.

-[Unknown]

unknownbrackets avatar May 25 '14 06:05 unknownbrackets

So it seems this is io delay related, or possibly async io related.

-[Unknown]

unknownbrackets avatar Jul 20 '14 15:07 unknownbrackets

Is this improved at all by #8356?

-[Unknown]

unknownbrackets avatar Jan 02 '16 08:01 unknownbrackets

No.

daniel229 avatar Jan 02 '16 09:01 daniel229

Before discovering this thread, I tried repeatedly over the years to run this game with little success using previous versions of PPSSPP. Gave up for a long time until I downloaded the newest version a few months ago, and after some trial and error based on hunches from checking out the debug log, I managed to get the game to run normally by changing the I/O timing method setting to "Simulate UMD delays". This allows relatively normal play, with some minor issues occuring when battles start and end, and when opening the options menu (the game stutters during these moments and checking the debug log shows a repeated error related to textures).

Unfortunately, even if we overlook the stutters, it's still not possible to get through the entire game this way, so I came on here to make this report in the hopes of finally making this game fully playable.

I've reached chapter 5 during my 1st playthrough, and ran into an event where the game once again fails to load correctly. Normally, during loading and event transitions, the game will blur the screen and then show the proper event graphics once it deems properly loaded. In this case, the event triggers quite suddenly and when the screen blurs, the actual event never loads, even though the event music is loaded properly and continues playing (I can detect this because the music changes).

I've made 2 screenshots to illustrate the exact point in the game when this event happens and what the screen looks like when the game fails to proceed properly. I've also dumped the "displaylist" log based on the wiki instructions. The "Dump next frame to log" was done when the game blurred during event load (at the 2nd screenshot).

On another note, people in the forums on PPSSPP's site also reports another "freeze" during Shirogane's route in Ch. 7 (link to thread here). I haven't gotten that far yet so I can't provide any personal experience or data unforunately, and it's also unknown which workaround they used to play the game (possibly by using the turning off BGM method outlined by daniel229, but also possible they used a previous version of PPSSPP that finally supported the game? Or maybe they also figured out the Simulate UMD Delay workaround?) Regardless, it's my hope that when the problem in Ch. 5 that I've reported here is fixed, that other issue might be resolved as well.

If the files aren't sufficient, I'll be happy to provide anything else you need. However, please keep in mind I'm only an average computer user with zero experience using Github and zero programming knowledge, so please be patient and provide clear instructions that can be followed by a complete newbie. ;)

haruka3 ch5 freeze 1 annotated This second screen shot is what the screen looks like when it blurs to load the event. Unfortunately it doesn't proceed properly beyond this point, even though the event music has loaded and continues playing in the background. haruka3 ch5 freeze 2

Debug log https://gist.github.com/IntrepidWanderer/aed111c082e4be59b33a8e6dd6e1398e

IntrepidWanderer avatar Jul 21 '16 09:07 IntrepidWanderer

Any save files?

daniel229 avatar Jul 21 '16 10:07 daniel229

It never worked before,same happens in Harukanaru Toki no Naka de 3 - Unmei no Labyrinth Aizouban here is the debug log,(rename jpg to 7z) ppsspplog

daniel229 avatar Jul 21 '16 12:07 daniel229

What's never worked before? Are you referring to my speculation about how other people reporting in the other thread about this game's Ch 7 Shirogane problem might have managed to play the game?

If you mean that PPSSPP has never managed to run the game before, I was under the same impression, but apparently it was not the case. Based on that thread I linked from the PPSSPP's official forums, the earliest post there that mentions the game working was from Dec 30, 2014 by "GamerzHell9137" who claimed "Game works fine. Video, sound and gameplay works fine but there's one place where the emulator hangs." (He claims the music player in under the main menu options can cause the game to "hang". Read the details in his post.) He has a debug log linked there, and after checking it, I found he was using PPSSPP v0.9.9.1-1309-gcb62468 Windows 64 bit. I tested it out with the game, it doesn't work under default settings, but changing the I/O method with my workaround to use Simulate UMD Delays will allow the game to run like with the latest versions. However, it will still get stuck at that same event in Ch.5. Strangely enough, I was NOT able to reproduce the same problem GamerzHell9137 had with the music player causing the game to hang. Could he have been using different settings to run the game?? Does using a different renderer make a difference here?? You would think not, but... Maybe someone can find out more about his exact settings from his debug log, but it's beyond my expertise to fully dissect through that thing. Previously, in the years before when I was trying various settings before to get the game to run, it never occured to me to try to change the I/O timing method until a few months ago, when I tried to run the game again, got desperate and checked my debug log. Even then, I didn't really know anything about emulation and merely guessed that the problem was I/O related and naturally tried the only I/O setting available.

Speaking of which, while this is likely a separate issue compared to the Ch.5 event freeze, I've done some further investigation into the stuttering that happens in game when entering the options menu and when combat starts. It appears to be related to the GE engine. Something changed with the way the framebuffer is handled that makes the game now have trouble handling that step, causing a lag/stutter. I see something like this in the log when the stuttering is happening (when opening the options menu or battle start up animation is happening) I[SCEGE]: GLES\Framebuffer.cpp:1770 Decimating FBO for 00088000 (480 x 272 x 3), age 6 After some extensive testing with the Windows 64bit versions, I've managed to narrow down the cause of this stutter to something in one of the changes made between ppsspp-v1.2.2-371-g2c84411 and ppsspp-v1.2.2-360-g98f2cee. In other words, the stutter does not happen with 360 but does start appearing wpith 371. I can't narrow it down to any further than that because I rely on the binary builds made by the buildbot on orphis.net and there aren't any more builds between the two versions. Unless someone cares to make easy to follow instructions for me on how to compile binaries from the code on github, I have no way of testing any further on my end.

As for Unmei no Labyrinth Aizouban, I've never had a problem running that game. When I tested it a few years ago, it was running fine at default settings, I got past the main menu into the game, though I never tested it very far since I didn't want spoilers (it's suppose to be the expansion to the base Haruka 3 game and I hadn't managed to play the base game yet). Which was why I was always puzzled by the problems the base Haruka 3 game had, since the two Aizoban were released one after the other at around the same time. It didn't make a lot of sense why one worked while the other one had so many problems. Then again, I suppose it wasn't that rare for the game devs to change some internal workings of the games even from one expansion to another. I've seen it happen with other games as well, though it was a bit unexpected for these two games, since they are technically renewal versions of PS2 games, so the system wasn't made from scratch like a new game.

IntrepidWanderer avatar Jul 21 '16 14:07 IntrepidWanderer

I meant the freezing case happen in some old builds I tested either,the oldest one is 0.8.1-150-ga23553a,so it's a very old issue. As for the lag/stutter case, maybe there is a workaround by changing the xBRZ to the low level such as 2x or turning off it.

daniel229 avatar Jul 22 '16 00:07 daniel229

Well, it's been over a year since I last reported about my success and problems in running the game. As an average user, there's very little I can do to help, but I've been poking at the issue every once in a while to try to find something, and I've come back with a bit of new information.

I've just recently tested out the game again with the latest version of JPCSP. As of writing this is v0.7 revision 197442d posted on 2017/9/4. There are some strange issues related to the shaders and the display of the title animations, but otherwise the game appears to run normally. The working portion INCLUDES the stalling part on the game map mentioned a few posts above this one, which I previously reported on 2016/7/21.

After running the game and loading my save previously made in PPSSPP and heading to the exact same spot on the game map, the game proceeded normally and triggered a quick character model load along with a text window. After the short line of conversation is acknowledged in the game (by pressing "O" or "X" button), the window closes and the player's character is moved backwards one step on the game map. The one line conversation was telling the player that currently they cannot go to that location. Normally a full fledged conversation triggers with an entire background change and full loading of new scene, whereas in this case I think what happens is the game simply quickly loaded just the conversation character model and the text window (all 2D), while remaining in the 3D map scene which it just freezed in the background. See screenshot below.

haruka3-with shaders scrnsht

However, as mentioned, there are some issues in JPCSP related to the shaders and I cannot always reliably run the game when shaders settings are enabled. 9 times out of 10, when shaders are enabled, JPCSP will freeze in the game menu when selecting "continue". This is what the same conversation looks like without shaders.

haruka3 scrnsht

Now shader issues and animations aside, I hope something can be learned from JPCSP's example, why this particular conversation loads normally in JPCSP, but doesn't work in PPSSPP. As far as I can tell, apart from this problem, the game overall works better in PPSSPP and it is my sincere and fervent wish that one day, this game which was originally released on PSP back in 2009, will be able run smoothly and without issues on an emulator, and I will finally be able to complete it from start to finish.

Included here are two logs of two separate attempts at initiating that conversation in JPCSP. One is with shaders setting enabled, the other is without. I've done my best to try to capture all of the log during the process, but JPCSP lags horribly whenever the logger is turn on and the game cannot proceed, so I've had to resort to turning the logger on and off during the process. This is the basic process I used: Trigger something in the game first, turn the logger on, let it record for a while, turn it back off, let the game move on until I reach the next cruicial step, turn the logger back on again. Rinse and repeat. I hope this has captured useful information, but I can't guarantee it. If needed, the game and save files can be provided for direct testing on the devs end.

Logs: JPCSP Haruka3 logs.zip

These screenshots show which settings I used when capturing the logs (with the only difference between the two logs being whether or not the shader setting was enabled) : jpcsp- haruka3-izaiyoiki-settings-video jpcsp- haruka3-izaiyoiki-settings-memory

IntrepidWanderer avatar Sep 22 '17 04:09 IntrepidWanderer

It's possible the stutter may be improved now, but probably not the crash.

I see it's logging: 47:55:894 idle0 D[G3D]: GPUCommon.cpp:710 Can't execute a list yet, still busy for 57145 ticks

And the values just get bigger:

48:01:356 idle0 D[G3D]: GPUCommon.cpp:710 Can't execute a list yet, still busy for 865616 ticks

Seems odd.

-[Unknown]

unknownbrackets avatar Nov 15 '17 08:11 unknownbrackets

PPSSPP v1.13.1-254-g190f50356 freezes up now when you start a new game next screen is when you input your name ppsspplog.zip changing the I/O timing method setting to "Simulate UMD delays" will get it ingame now

benderscruffy avatar Aug 12 '22 03:08 benderscruffy

changing the I/O timing method setting to "Simulate UMD slow reading speed" also work

sum2012 avatar Nov 21 '23 14:11 sum2012