EmuNewz Network
Kingdom Hearts: Birth by Sleep - US - ULUS10505 - Printable Version

+- EmuNewz Network (https://www.emunewz.net/forum)
+-- Forum: PSP Emulation (https://www.emunewz.net/forum/forumdisplay.php?fid=191)
+--- Forum: JPCSP Official Forum (https://www.emunewz.net/forum/forumdisplay.php?fid=51)
+---- Forum: Commercial Game Discussion (https://www.emunewz.net/forum/forumdisplay.php?fid=54)
+----- Forum: JPCSP - Playable Games (https://www.emunewz.net/forum/forumdisplay.php?fid=65)
+----- Thread: Kingdom Hearts: Birth by Sleep - US - ULUS10505 (/showthread.php?tid=2214)



RE: Kingdom Hearts: Birth by Sleep - US - ULUS10505 [encrypted] - Hykem - 08-17-2011

(08-17-2011, 09:52 AM)virgil94 Wrote: I don't know why the people ignores me,I said above that the r2244 works,it stacks in newer revs trying to unload this:

sceUtilityUnloadModule(module=0x0303) PSP_MODULE_AV_MPEGBASE unloaded

I checked the revs after the 2244 but none works,should I post a log at debug level?

Yes please. I think I already know what's causing this, but it would be great if you could provide a DEBUG log up to that message for this game. Thanks! Smile


RE: Kingdom Hearts: Birth by Sleep - US - ULUS10505 [encrypted] - MaXiMu - 08-17-2011

Hykem

Hope that helps

attached log


RE: Kingdom Hearts: Birth by Sleep - US - ULUS10505 [encrypted] - Zekro - 08-17-2011

I am a little late but here it is,I'm pretty sure that you don't need it thanks to Maximu but here it is


RE: Kingdom Hearts: Birth by Sleep - US - ULUS10505 [encrypted] - Hykem - 08-20-2011

I've found an unexpected behaviour going on with the async read operation that, by the logs, was affecting this game. Could you please test it again under r2289? Thanks! Smile


RE: Kingdom Hearts: Birth by Sleep - US - ULUS10505 [encrypted] - MaXiMu - 08-20-2011

Hykem

Thanks for you hard work The problem is solved now Smile


RE: Kingdom Hearts: Birth by Sleep - US - ULUS10505 [encrypted] - Pingutino - 08-20-2011

(08-20-2011, 07:32 PM)MaXiMu Wrote: Hykem

Thanks for you hard work The problem is solved now Smile

Thank you for your work Hykem =)

I've just tested the new revision. Loading a savegame is not possible. And starting a new game causes the same error message and the game got stuck.

Here is my log-file (INFO):


RE: Kingdom Hearts: Birth by Sleep - US - ULUS10505 [encrypted] - Hykem - 08-20-2011

(08-20-2011, 08:41 PM)Pingutino Wrote:
(08-20-2011, 07:32 PM)MaXiMu Wrote: Hykem

Thanks for you hard work The problem is solved now Smile

Thank you for your work Hykem =)

I've just tested the new revision. Loading a savegame is not possible. And starting a new game causes the same error message and the game got stuck.

Here is my log-file (INFO):

Code:
hleIoOpen filename = ms0:/PSP/SAVEDATA/ULES01441DATA/BBS1.DAT flags = 40000001 permissions = 00

Ah, looks like you've used the "Data Install" feature. Could you please try to delete those files? It seems that the game saved the decrypted version in a SAVEDATA folder (ULES01441DATA) but it's trying to load them as encrypted again. Huh


RE: Kingdom Hearts: Birth by Sleep - US - ULUS10505 [encrypted] - gid15 - 08-20-2011

(08-20-2011, 07:25 PM)Hykem Wrote: I've found an unexpected behaviour going on with the async read operation that, by the logs, was affecting this game. Could you please test it again under r2289? Thanks! Smile
Which unexpected behavior? I could not find anything from the log files.
Could you post the corresponding code section?


RE: Kingdom Hearts: Birth by Sleep - US - ULUS10505 [encrypted] - Pingutino - 08-20-2011

(08-20-2011, 08:58 PM)Hykem Wrote:
(08-20-2011, 08:41 PM)Pingutino Wrote:
(08-20-2011, 07:32 PM)MaXiMu Wrote: Hykem

Thanks for you hard work The problem is solved now Smile

Thank you for your work Hykem =)

I've just tested the new revision. Loading a savegame is not possible. And starting a new game causes the same error message and the game got stuck.

Here is my log-file (INFO):

Code:
hleIoOpen filename = ms0:/PSP/SAVEDATA/ULES01441DATA/BBS1.DAT flags = 40000001 permissions = 00

Ah, looks like you've used the "Data Install" feature. Could you please try to delete those files? It seems that the game saved the decrypted version in a SAVEDATA folder (ULES01441DATA) but it's trying to load them as encrypted again. Huh
Now it just get stuck after i choose the savegame. And if I try to start a new game the game get stuck after some cutcenes
Here my two log files.


RE: Kingdom Hearts: Birth by Sleep - US - ULUS10505 [encrypted] - Hykem - 08-21-2011

(08-20-2011, 09:27 PM)gid15 Wrote:
(08-20-2011, 07:25 PM)Hykem Wrote: I've found an unexpected behaviour going on with the async read operation that, by the logs, was affecting this game. Could you please test it again under r2289? Thanks! Smile
Which unexpected behavior? I could not find anything from the log files.
Could you post the corresponding code section?

Apparently, the game proceeds immediatly after calling the sceIoReadAsync syscall to check a certain portion of code that should've been overwritten by the file data. If this area is still uninitialized, the game gets locked in a deadlock.
Only after checking the code the game procceds to call sceIoWaitAsync to get the operation's result.
However, the code checking occurs inside another thread which is called after sceIoReadAsync.

I've provided that change in r2288 as a workaround, but like you stated in the code comments, this is probably a thread sync issue.
I'm currently trying to generate the appropriate compiler and runtime log with ThreadManForUser's activity to see if I can capture this activity.

I'll post it here as soon as possible.

(08-20-2011, 09:43 PM)Pingutino Wrote:
(08-20-2011, 08:58 PM)Hykem Wrote:
(08-20-2011, 08:41 PM)Pingutino Wrote:
(08-20-2011, 07:32 PM)MaXiMu Wrote: Hykem

Thanks for you hard work The problem is solved now Smile

Thank you for your work Hykem =)

I've just tested the new revision. Loading a savegame is not possible. And starting a new game causes the same error message and the game got stuck.

Here is my log-file (INFO):

Code:
hleIoOpen filename = ms0:/PSP/SAVEDATA/ULES01441DATA/BBS1.DAT flags = 40000001 permissions = 00

Ah, looks like you've used the "Data Install" feature. Could you please try to delete those files? It seems that the game saved the decrypted version in a SAVEDATA folder (ULES01441DATA) but it's trying to load them as encrypted again. Huh
Now it just get stuck after i choose the savegame. And if I try to start a new game the game get stuck after some cutcenes
Here my two log files.

Hmm, odd...
Nothing suspicious on the INFO logs. I suspect this only happens with the PAL version of the game (ULES01441).
Could you please post a DEBUG log up to when you start a new game? You can load and run the game at INFO level and then switch to DEBUG when you start a new game, right before it gets locked. Thanks! Smile