This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Tantei Opera Milky Holmes - ULJS00343
#11
Good analysis!

Code:
16:54:53 DEBUG hle.scePsmfPlayer - user_main - scePsmfPlayerStart psmfPlayer=0x8B4C9F0, initPlayInfoAddr=0x09FFF400, initPts=0x72A21D
The parameter "initPts" is not properly implemented in Jpcsp: it should give the start timestamp within the movie. This has to apply for the video and the external audio.

EDIT: a draft implemented for initPts is now available in r2899. Could you test it?
Always include a complete log file at INFO level in your reports. Thanks! How to post a log
Reply
#12
(12-04-2012, 05:00 PM)gid15 Wrote: Good analysis!

Code:
16:54:53 DEBUG hle.scePsmfPlayer - user_main - scePsmfPlayerStart psmfPlayer=0x8B4C9F0, initPlayInfoAddr=0x09FFF400, initPts=0x72A21D
The parameter "initPts" is not properly implemented in Jpcsp: it should give the start timestamp within the movie. This has to apply for the video and the external audio.

EDIT: a draft implemented for initPts is now available in r2899. Could you test it?

Good job now even though the movies still go out of sync with the audio it now properly skips to the fail scene when failing.

L.E: I also found something else out the game has a mode where it should pause the movie at every choice but even though it displays the choice it the movie continues in the background instead of pausing.

L.E.E: When it should pause a 41495 [user_main] INFO compiler - Replacing CodeBlock at 0x0882770C by Native Code 'nop' appears in the console.

Very good that's one issue down only the play speed one remains Smile .
CPU: Intel C2D E8500 @4.2 GHZ GPU: MSI Radeon 6870 Twin Frozr II 1024MB (920/1050)
RAM: 2x2GB Corsair Dominator DDR2-1066 5-5-5-15
Reply
#13
(12-04-2012, 07:08 PM)andutrache Wrote: Good job now even though the movies still go out of sync with the audio it now properly skips to the fail scene when failing.

L.E: I also found something else out the game has a mode where it should pause the movie at every choice but even though it displays the choice it the movie continues in the background instead of pausing.

L.E.E: When it should pause a 41495 [user_main] INFO compiler - Replacing CodeBlock at 0x0882770C by Native Code 'nop' appears in the console.

Very good that's one issue down only the play speed one remains Smile .
Good news!

Could you again post a log with the scePsmfPlayer at DEBUG level for the pause problem?
The function scePsmfPlayerBreak is not implemented and could be the reason for the missing pause.

When playing the movie "at 2x speed", does Jpcsp run at 60 FPS? Hyakki already reported that the video is playing too fast in other games as well when using scePsmfPlayer.
Always include a complete log file at INFO level in your reports. Thanks! How to post a log
Reply
#14
(12-04-2012, 09:11 PM)gid15 Wrote:
(12-04-2012, 07:08 PM)andutrache Wrote: Good job now even though the movies still go out of sync with the audio it now properly skips to the fail scene when failing.

L.E: I also found something else out the game has a mode where it should pause the movie at every choice but even though it displays the choice it the movie continues in the background instead of pausing.

L.E.E: When it should pause a 41495 [user_main] INFO compiler - Replacing CodeBlock at 0x0882770C by Native Code 'nop' appears in the console.

Very good that's one issue down only the play speed one remains Smile .
Good news!

Could you again post a log with the scePsmfPlayer at DEBUG level for the pause problem?
The function scePsmfPlayerBreak is not implemented and could be the reason for the missing pause.

When playing the movie "at 2x speed", does Jpcsp run at 60 FPS? Hyakki already reported that the video is playing too fast in other games as well when using scePsmfPlayer.

Yes when the movie runs 2x speed Jpcsp has exactly 60 fps. And i remember that some time ago when it was blinking at normal speed it had about 24 fps or 30 i don't remember clearly.

I shall post the log shortly.
L.E: Log up, about 2 or 3 pauses should be in there.


Attached Files
.zip   log.zip (Size: 24.12 KB / Downloads: 147)
CPU: Intel C2D E8500 @4.2 GHZ GPU: MSI Radeon 6870 Twin Frozr II 1024MB (920/1050)
RAM: 2x2GB Corsair Dominator DDR2-1066 5-5-5-15
Reply
#15
Code:
00:29:20 DEBUG hle.scePsmfPlayer - MovieMode - scePsmfPlayerChangePlayMode psmfPlayer=0x8B4C9F0, playMode=0x3, playSpeed=0x1
...
00:29:22 DEBUG hle.scePsmfPlayer - MovieMode - scePsmfPlayerChangePlayMode psmfPlayer=0x8B4C9F0, playMode=0x0, playSpeed=0x1
OK, the game is pausing and resuming using scePsmfPlayerChangePlayMode:
- playMode=0x3: pause
- playMode=0x0: play
Always include a complete log file at INFO level in your reports. Thanks! How to post a log
Reply
#16
Nice find Smile
Waiting for implementation to test.
CPU: Intel C2D E8500 @4.2 GHZ GPU: MSI Radeon 6870 Twin Frozr II 1024MB (920/1050)
RAM: 2x2GB Corsair Dominator DDR2-1066 5-5-5-15
Reply
#17
(12-05-2012, 06:34 AM)gid15 Wrote:
Code:
00:29:20 DEBUG hle.scePsmfPlayer - MovieMode - scePsmfPlayerChangePlayMode psmfPlayer=0x8B4C9F0, playMode=0x3, playSpeed=0x1
...
00:29:22 DEBUG hle.scePsmfPlayer - MovieMode - scePsmfPlayerChangePlayMode psmfPlayer=0x8B4C9F0, playMode=0x0, playSpeed=0x1
OK, the game is pausing and resuming using scePsmfPlayerChangePlayMode:
- playMode=0x3: pause
- playMode=0x0: play
I've tried to implemented the pause in r2902 and also to workaround the problem with the 2x video play speed. Video and audio should now be better synchronized.

@Hyakki: could you also retest the other games you had showing the double video speed problem? I don't remember in which thread these were listed.

Thank you!
Always include a complete log file at INFO level in your reports. Thanks! How to post a log
Reply
#18
(12-05-2012, 08:58 PM)gid15 Wrote:
(12-05-2012, 06:34 AM)gid15 Wrote:
Code:
00:29:20 DEBUG hle.scePsmfPlayer - MovieMode - scePsmfPlayerChangePlayMode psmfPlayer=0x8B4C9F0, playMode=0x3, playSpeed=0x1
...
00:29:22 DEBUG hle.scePsmfPlayer - MovieMode - scePsmfPlayerChangePlayMode psmfPlayer=0x8B4C9F0, playMode=0x0, playSpeed=0x1
OK, the game is pausing and resuming using scePsmfPlayerChangePlayMode:
- playMode=0x3: pause
- playMode=0x0: play
I've tried to implemented the pause in r2902 and also to workaround the problem with the 2x video play speed. Video and audio should now be better synchronized.

@Hyakki: could you also retest the other games you had showing the double video speed problem? I don't remember in which thread these were listed.

Thank you!

It is almost playable now.
Problem is the video now plays a bit slower than it should and it results in pausing at the wrong time, and when it pauses the last sound repeats itself until you make the choice, also the video seems to stutter a bit (as in it's not fluent).
Also i don't know why but JPCSP sometimes hangs when inputting the command correctly, but only sometimes (seemingly at random). NVM fixed it it was because of the Compiler Method Size it was 50 and i put it at 3000 and now it works no problem.

L.E: Also the last second or so of the video seems to be cut off, there is also the problem of the intro videos not ending and i have to skip them manually with the start button or else black screen.

EXCELENT JOB !!! Smile
CPU: Intel C2D E8500 @4.2 GHZ GPU: MSI Radeon 6870 Twin Frozr II 1024MB (920/1050)
RAM: 2x2GB Corsair Dominator DDR2-1066 5-5-5-15
Reply
#19
I have uploaded a video to show the video playing too slow problem.
Also i think the movie audio must be muted when it is paused.

Get it here:
http://www.mediafire.com/?z4a9pz22nbtwaff

Hope this helps Smile .
CPU: Intel C2D E8500 @4.2 GHZ GPU: MSI Radeon 6870 Twin Frozr II 1024MB (920/1050)
RAM: 2x2GB Corsair Dominator DDR2-1066 5-5-5-15
Reply
#20
(12-05-2012, 09:29 PM)andutrache Wrote: Problem is the video now plays a bit slower than it should and it results in pausing at the wrong time, and when it pauses the last sound repeats itself until you make the choice, also the video seems to stutter a bit (as in it's not fluent).
In r2905, the last sound should no longer repeat when pausing.
Always include a complete log file at INFO level in your reports. Thanks! How to post a log
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)