-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Code Lyoko stuck at "No problem screen" #2539
Comments
@unknownbrackets I hope you have idea to fix 1: 2: 3: edit:correct sceIoPollAsync name |
Hmm, weird, it's reading a different amount of data (and alternating size) on the PSP. I notice that the second param to sceAtracSetDataAndGetID is 0x800. Can you JpcspTrace that func and sceIoRead as well? -[Unknown] |
Hmm. I wonder if this is actually atrac related. -[Unknown] |
PPSSPP v0.9.6-57 same problem |
In the dialog loop,it just call sceAtracDecodeData |
How is this game looking now? Still hanging? |
v0.9.6-687 |
v0.9.8-228-gf05f8c7 same |
ppsspp-v0.9.8-661-g2d12eb3 same problem New finding ,remains always -1 when stuck 59:12:133 ATRAC3 play D[ME]: HLE\sceAtrac.cpp:702 00000000=sceAtracDecodeData(0, 08a7c480, 0bfb7aa8[00000800], 0bfb7aac[00000000], 0bfb7abc[-1]) |
Use "p" for the parameter instead of x for that. From the readme:
-[Unknown] |
Thanks @unknownbrackets 03:47:06.294248 ATRAC3 play thread - -> sceAtracDecodeData 0, 0x8A7C380, 0x09FB35A8(0xFFFFFFFF), 0x09FB35AC(0x0), 0x09FB35BC(0x2) = 0x0 03:47:06.305863 ATRAC3 play thread - -> sceAtracGetStreamDataInfo 0, 0x9FB35B8, 0x09FB35B4(0xFFFFFFFF), 0x09FB35B0(0xFFFFFFFF) = 0x0 sceAtracDecodeData remains never -1 full log: |
sceAtracSetLoopNum(0, -1) So, then this is most likely because of the incorrect buffer management in sceAtrac. As mentioned, games can opt to use a fixed (smaller sized) buffer to store atrac data, using a sliding window. This game is most likely doing that, i.e. there are always remaining frames because all frames are never within memory. Although I'm not really sure, I have not done much testing on sceAtrac. -[Unknown] |
Update JPCSPTrace log: https://gist.github.com/sum2012/d17308329ee6cb3b5c85 |
Update @unknownbrackets JPCSPTrace: ppsspp-v0.9.9.1-241-gf2c50f5 log: Another finding |
Hmm Alright ,write this first |
Just a note log: |
I hope this is okay to mention. Just to say that the stuck problem is still present on v0.9.9.1-566-gc2a462c I thought in mentioning, so we can keep a record of this issue and its progress. |
Update the log to v0.9.9.1-588-g8a2ad02 |
@unknownbrackets if I change to Modify log: edit:Comment that two line seem safer for modify. |
This game sure has showed to be tricky to make it work correctly huh? No doubt that the atrac sound sure is very complex. Game still with the stuck thing and voices sound loop on the latest github version v0.9.9.1-588-g8a2ad02. |
Update debug log to v0.9.9.1-1576-g4100163 |
Um, hi there. I just wanted to ask is there something that you can do to fix this problem? I would really love to play this game but it keeps occurring no matter what i try :( |
@metal5621 This is hacked version (without sound) |
Oh my god, thank you so much, i almost cried. You made one girl's day, sir. |
Update the log to v0.9.9.1-1599-g53510f5 |
ppsspp-v1.1.1-223-ga581de7 same problem |
v1.1.1-240-gb9f703d still same problem |
Compare again JpcspTrace log |
That's because -[Unknown] |
Update JPCSPTrace log with sceAtracGetRemainFrame 0x9ae849a7 2 xp |
#8354 broke this game more,the bgm in other scene is missing. |
Hmm. Could you try an -[Unknown] |
Hmm. What if you try this for bool FillPacket() {
u32 off = getFileOffsetBySample(currentSample);
if (off + atracBytesPerFrame <= first.size) {
#ifdef USE_FFMPEG
av_init_packet(packet);
#endif // USE_FFMPEG
packet->data = data_buf + off;
packet->size = atracBytesPerFrame;
packet->pos = off;
return true;
} else {
return false;
}
return true;
} Which might be more correct, I wasn't really sure. -[Unknown] |
That sounds stuttering |
#8361 have been merged so that I just download v1.1.1-569-g1a6217b to test |
Okay, but it doesn't have stuttering / missing BGM in the other places? #8356 isn't merged yet. -[Unknown] |
Doesn't have stuttering / missing BGM |
Well done @unknownbrackets |
Nice to see a two year old issue finally get fixed. |
I say the same. At last we can go past the "no problem" part when starting a new game :D |
Yep, it was "no problem" at all. Okay, sorry. -[Unknown] |
can you just say very simple how to fix it,i dont understand what are all you saying to fix this game |
@punysub download newest version in http://buildbot.orphis.net/ppsspp/ |
the window become black,whats wrong? |
@punysub |
hi |
Step 1: Update to ideally PPSSPP v1.4.2, or at least v1.2.2 or higher. https://www.ppsspp.org/downloads.html -[Unknown] |
PPSSPP v0.8.1-109
It just replay sound voice in the screen
JPCSP also have this probrem.
(and It can solved by disable decode audio by SonicStage)
PPSSPP Debug log:
(I have disabled log in hle\scekerneltime.cpp:67 /DEBUG_LOG(HLE, "sceKernelGetSystemTime(out:%16llx)", t);)
https://docs.google.com/file/d/0B3OaSdeV0L8kclhHR2czaGtuZGM/edit?usp=sharing
The text was updated successfully, but these errors were encountered: