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

Sword Art Online Enldess Loding #1596

Closed
acocalypso opened this issue Apr 29, 2013 · 12 comments
Closed

Sword Art Online Enldess Loding #1596

acocalypso opened this issue Apr 29, 2013 · 12 comments

Comments

@acocalypso
Copy link

After starting Sword Art Online it is loading infinity. Made Log on Windows:

http://pastebin.com/xSbKevcC

@sum2012
Copy link
Collaborator

sum2012 commented Apr 29, 2013

Seem the reason is that UNIMPL sceKernelAllocateTls
Unluck,JPCSP doesn't have this ref

@unknownbrackets
Copy link
Collaborator

We actually implement that function better than JPCSP, last I checked. It's still not perfect which is why I left it as a warning. As long as it's not red, it's probably working correctly.

Check the forum, there's more detail there iirc. I think this could be the same issue Final Fantasy 4 has, but again it's hard to say for sure.

-[Unknown]

@VIRGINKLM
Copy link
Contributor

Could we provide any tests from a real PSP that could help?

@unknownbrackets
Copy link
Collaborator

If you want to log that function in JpcspTrace, or a couple other functions it calls from the log, it may help to verify. But, it seems like the same as the FF4 issue and I just haven't been able to figure it out...

-[Unknown]

@VIRGINKLM
Copy link
Contributor

What functions should I log?

@unknownbrackets
Copy link
Collaborator

sceKernelCreateTls 0x8daff657
sceKernelDeleteTls 0x32bf938e
sceKernelAllocateTls 0xfa835cde
sceKernelFreeTls 0x4A719FB2

sceKernelCreateThread 0x446D8DE6

sceKernelSleepThread 0x9ACE131E
sceKernelSleepThreadCB 0x82826f70
sceKernelWakeupThread 0xd59ead2f

If it doesn't crash with all those logged...

-[Unknown]

@VIRGINKLM
Copy link
Contributor

It seems that it gets those functions like constantly, it doesn't freeze but it gets hiccups in gameplay too, just before you hit an enemy it will hang for a split second.

LOG:
http://pastebin.com/CunUMNih

@unknownbrackets
Copy link
Collaborator

Thanks, this helped a lot. I can't believe I missed such a stupid, small mistake. I've stared at and debugged the code several times and never found it, arrrrggggh.

-[Unknown]

@VIRGINKLM
Copy link
Contributor

No prob, I posted on the forum a log for Gran Turismo Portable too. As I posted there too, if you want any other logs, even if ut's like 500 games and it'd take hours, if I have the games i'd be happy to help.

@VIRGINKLM
Copy link
Contributor

OK It works now on Windows with a couple of strange hiccups/hangs, possibly the longest hiccups I've seen on PPSSPP (they can take up to 30-40 seconds and they are not related to GPU load, I bet it's a violation of "Thread"s, got hiccups on the same places (not so long though) on a real PSP doing JPCSPtrace logs. Seems like Android doesn't like those looong hiccups and it crashes when it reaches one of 'em, possibly runs out of memory?

@unknownbrackets
Copy link
Collaborator

Can you give me a savegame after the intro? My kana sucks / is non existent, I muddled through the intro but never saved and now I'm not sure how to do it again...

-[Unknown]

@VIRGINKLM
Copy link
Contributor

I have one from PSP, PPSSPP doesn't even bother to do a savegame or atleast something doesn't let it to.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants