EmuNewz Network
Harukanaru Toki no Naka de - Hachiyoushou - ULJM06252 - 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 - Half playable Games (https://www.emunewz.net/forum/forumdisplay.php?fid=66)
+----- Thread: Harukanaru Toki no Naka de - Hachiyoushou - ULJM06252 (/showthread.php?tid=135250)

Pages: 1 2


Harukanaru Toki no Naka de - Hachiyoushou - ULJM06252 - nash67 - 03-16-2013

Harukanaru Toki no Naka de - Hachiyoushou - ULJM06252
using r 3054
comes up with one screen then after that nothing but a black screen
here is a compiler log


RE: Harukanaru Toki no Naka de - Hachiyoushou - ULJM06252 - sum2012 - 03-17-2013

It is mpeg probrem, I checked before


RE: Harukanaru Toki no Naka de - Hachiyoushou - ULJM06252 - gid15 - 03-17-2013

Several games seem to share the same video play functions. They all have the same thread names
Code:
ScePsmfPlayerOpenControlThread
ScePsmfPlayerAbortThread
ScePsmfPlayerMCThread
ScePsmfPlayerDecodeThread
ScePsmfPlayerReadThread
and these names also appear in the PSP official libpsmfplayer.prx library. Probably these games are statically linked with the libpsmfplayer and all have the same issue. I'm more investigating in this direction...


RE: Harukanaru Toki no Naka de - Hachiyoushou - ULJM06252 - sum2012 - 03-18-2013

I do not see libpsmfplayer.prx in isoindex.txt
only can see psmf.prx
(03-17-2013, 02:59 PM)gid15 Wrote: Several games seem to share the same video play functions. They all have the same thread names
Code:
ScePsmfPlayerOpenControlThread
ScePsmfPlayerAbortThread
ScePsmfPlayerMCThread
ScePsmfPlayerDecodeThread
ScePsmfPlayerReadThread
and these names also appear in the PSP official libpsmfplayer.prx library. Probably these games are statically linked with the libpsmfplayer and all have the same issue. I'm more investigating in this direction...



RE: Harukanaru Toki no Naka de - Hachiyoushou - ULJM06252 - Hykem - 03-23-2013

Actually these threads exist due to psmf.prx and not libpsmfplayer.prx (even though they're still used this way). This was how developers used to playback media with the limited capabilities of psmf.prx.
Based on the logs, each thread has a specific set of functions:
Code:
ScePsmfPlayerOpenControlThread (sets up scePsmf structure, controls psmf handling and registers MPEG stream):
- scePsmfQueryStreamOffset
- scePsmfQueryStreamSize
- scePsmfVerifyPsmf
- scePsmfSetPsmf
- scePsmfGetPresentationStartTime
- scePsmfGetPresentationEndTime
- scePsmfGetNumberOfSpecificStreams
- scePsmfSpecifyStreamWithStreamTypeNumber
- scePsmfSpecifyStreamWithStreamType
- scePsmfGetCurrentStreamType
- scePsmfCheckEPmap
- sceMpegRegistStream

ScePsmfPlayerReadThread (prepares sceMpeg to handle the data sent from scePsmf):
- sceMpegFlushAllStream
- sceMpegRingbufferAvailableSize
- sceMpegRingbufferPut
- sceKernelDcacheWritebackRange
- sceKernelDcacheInvalidateRange
- sceDmacMemcpy

ScePsmfPlayerDecodeThread (decodes and plays the psmf, but using sceMpeg):
- sceMpegRingbufferAvailableSize
- sceMpegChangeGetAuMode
- sceMpegAvcDecodeFlush
- sceMpegInitAu
- sceMpegGetAtracAu
- sceMpegAtracDecode
- sceMpegGetPcmAu
- sceMpegGetAvcAu
- sceMpegAvcDecodeYCbCr

ScePsmfPlayerAbortThread (returns an error code if something goes wrong).

ScePsmfPlayerMCThread (checks some values, probably controls the start and stop of all the other threads by tracking the decoding status).



RE: Harukanaru Toki no Naka de - Hachiyoushou - ULJM06252 - gid15 - 03-26-2013

(03-17-2013, 02:59 PM)gid15 Wrote: Several games seem to share the same video play functions. They all have the same thread names
Code:
ScePsmfPlayerOpenControlThread
ScePsmfPlayerAbortThread
ScePsmfPlayerMCThread
ScePsmfPlayerDecodeThread
ScePsmfPlayerReadThread
and these names also appear in the PSP official libpsmfplayer.prx library. Probably these games are statically linked with the libpsmfplayer and all have the same issue. I'm more investigating in this direction...
Could someone try this game on a real PSP using JpcspTrace with the following JpcspTrace.config file:
Code:
sceMpegCreate 0xD8C5F121 7
sceMpegGetAvcAu 0xFE246728 4
sceMpegGetAtracAu 0xE1CE83A7 4
sceMpegAvcDecodeYCbCr 0xF0EB1125 4
sceMpegAvcCsc 0x31BD0272 5
sceMpegRingbufferPut 0xB240A59E 3
sceMpegRingbufferAvailableSize 0xB5F6DC87 1
Post the generated log.txt (from your PSP)


RE: Harukanaru Toki no Naka de - Hachiyoushou - ULJM06252 - nash67 - 03-27-2013

using r 3070
here is the JpcspTrace log with the added lines


RE: Harukanaru Toki no Naka de - Hachiyoushou - ULJM06252 - nash67 - 08-03-2013

using r 3342
still no change
here is a compiler log and Jpcsp trace logs


RE: Harukanaru Toki no Naka de - Hachiyoushou - ULJM06252 - gid15 - 06-27-2014

There has been several improvements in scePsmf and sceMpeg during the last months. A retest would be appreciated Smile


RE: Harukanaru Toki no Naka de - Hachiyoushou - ULJM06252 - sum2012 - 06-28-2014

r3560 make java crash (I think in sceAtrac3plus) without error message.
r3553 last version don't have sound\crash problem