EmuNewz Network
Sora o Aogite Kumo Takaku Portable--ULJM06246 fix - 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: svn trunk discussion (https://www.emunewz.net/forum/forumdisplay.php?fid=56)
+---- Thread: Sora o Aogite Kumo Takaku Portable--ULJM06246 fix (/showthread.php?tid=133972)



Sora o Aogite Kumo Takaku Portable--ULJM06246 fix - shenweip - 03-10-2013

Use the latest version rev3026,the Sora o Aogite Kumo Takaku Portable will
freeze here.

modify /trunk/src/jpcsp/HLE/modules150/sceAtrac3plus.java
Code:
    
            } else if (id.getAtracCodec().getChannelLength() < 26420) {
                // The media engine is reading chunks of 26420 bytes from the channel.
                // If the channel contains less than one chunk, request more data.

can fix this issue.


RE: Sora o Aogite Kumo Takaku Portable--ULJM06246 fix - gid15 - 03-10-2013

(03-10-2013, 01:28 PM)shenweip Wrote: Use the latest version rev3026,the Sora o Aogite Kumo Takaku Portable will
freeze.

modify /trunk/src/jpcsp/HLE/modules150/sceAtrac3plus.java
Code:
    
            } else if (id.getAtracCodec().getChannelLength() < 26420) {
                // The media engine is reading chunks of 26420 bytes from the channel.
                // If the channel contains less than one chunk, request more data.

can fix this issue.
Could you post a log with sceAtrac3plus at the DEBUG level with both versions (Jpcsp original and your modified version)?

Thank you!


RE: Sora o Aogite Kumo Takaku Portable--ULJM06246 fix - shenweip - 03-10-2013

(03-10-2013, 01:49 PM)gid15 Wrote: Could you post a log with sceAtrac3plus at the DEBUG level with both versions (Jpcsp original and your modified version)?

Thank you!

These are log you require,thank you!


RE: Sora o Aogite Kumo Takaku Portable--ULJM06246 fix - shenweip - 03-10-2013

(03-10-2013, 01:28 PM)shenweip Wrote:
Code:
    
            } else if (id.getAtracCodec().getChannelLength() < 26420) {
                // The media engine is reading chunks of 26420 bytes from the channel.
                // If the channel contains less than one chunk, request more data.

Another place still freeze,I find modify to this will be better for this game.
Code:
} else if (id.getAtracCodec().getChannelLength() < 0) {



RE: Sora o Aogite Kumo Takaku Portable--ULJM06246 fix - gid15 - 03-10-2013

Code:
22:07:34 DEBUG hle.ThreadManForUser - STM_AT3_VO_3e - sceKernelTerminateThread uid=0x40
22:07:34 DEBUG  runtime - STM_AT3_VO_3e - Exiting Thread THFSAsyncRead(uid=0x40, Status=PSP_THREAD_STOPPED, Wait=None, doCallbacks=false)
22:07:34 DEBUG hle.sceCtrl - STM_AT3_VO_3e - hleCtrlExecuteSampling
22:07:34 DEBUG hle.ThreadManForUser - STM_AT3_VO_3e - Triggering Interrupt VBLANK(0x1E)
22:07:34 DEBUG hle.ThreadManForUser - STM_AT3_VO_3e - End of Interrupt
22:07:34 DEBUG  runtime - STM_AT3_VO_3e - syncThread currentThread=STM_AT3_VO_3e, currentRuntimeThread=STM_AT3_VO_3e
22:07:34 DEBUG  runtime - STM_AT3_VO_3e - syncEmulator immediately=false
22:07:34 DEBUG hle.ThreadManForUser - STM_AT3_VO_3e - sceKernelWaitThreadEndCB uid=0x40, timeout_addr=0x9FB6C10
22:07:34 DEBUG hle.ThreadManForUser - STM_AT3_VO_3e - hleKernelWaitThreadEnd SceUID=0x40, callbacks=true
22:07:34 DEBUG hle.ThreadManForUser - STM_AT3_VO_3e - hleKernelWaitThreadEnd THFSAsyncRead(uid=0x40, Status=PSP_THREAD_STOPPED, Wait=None, doCallbacks=false) thread already stopped, not waiting
22:07:34 DEBUG  runtime - STM_AT3_VO_3e - syncThread currentThread=STM_AT3_VO_3e, currentRuntimeThread=STM_AT3_VO_3e
22:07:34 DEBUG  runtime - STM_AT3_VO_3e - syncEmulator immediately=false
22:07:34 DEBUG hle.ThreadManForUser - STM_AT3_VO_3e - sceKernelTerminateThread uid=0x40
22:07:34 DEBUG  runtime - STM_AT3_VO_3e - syncThread currentThread=STM_AT3_VO_3e, currentRuntimeThread=STM_AT3_VO_3e
22:07:34 DEBUG  runtime - STM_AT3_VO_3e - syncEmulator immediately=false
22:07:34 DEBUG hle.ThreadManForUser - STM_AT3_VO_3e - sceKernelWaitThreadEndCB uid=0x40, timeout_addr=0x9FB6C10
22:07:34 DEBUG hle.ThreadManForUser - STM_AT3_VO_3e - hleKernelWaitThreadEnd SceUID=0x40, callbacks=true
22:07:34 DEBUG hle.ThreadManForUser - STM_AT3_VO_3e - hleKernelWaitThreadEnd THFSAsyncRead(uid=0x40, Status=PSP_THREAD_STOPPED, Wait=None, doCallbacks=false) thread already stopped, not waiting
22:07:34 DEBUG  runtime - STM_AT3_VO_3e - syncThread currentThread=STM_AT3_VO_3e, currentRuntimeThread=STM_AT3_VO_3e
22:07:34 DEBUG  runtime - STM_AT3_VO_3e - syncEmulator immediately=false
22:07:34 DEBUG hle.ThreadManForUser - STM_AT3_VO_3e - sceKernelTerminateThread uid=0x40
From the log file, it looks more like a problem with thread scheduling / sceKernelTerminateThread. I will investigate more this area...


RE: Sora o Aogite Kumo Takaku Portable--ULJM06246 fix - shenweip - 03-10-2013

Yes,thanks gidSmile


RE: Sora o Aogite Kumo Takaku Portable--ULJM06246 fix - shenweip - 03-11-2013

Tested with r3027,it can help to this game,Smile
But sometimes it will freeze in savedata page.Here is log.