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
Eiyuu Densetsu Sora no Kiseki FC Kai HD - JPN - NPJB00293 (pseudo-ULJM05170)
#11
This game use AVI video instead of pmf.
Code:
General
Complete name                  : F:\ed6_dt17.avi
Format                         : AVI
Format/Info                    : Audio Video Interleave
File size                      : 62.7 MiB
Duration                       : 3mn 0s
Overall bit rate               : 2 919 Kbps
Recorded date                  : 2012-09-19T14:39:21.00318+09:00
Writing library                : VirtualDub build 34807/release

Video
ID                             : 0
Format                         : MPEG-4 Visual
Format settings, BVOP          : Yes
Format settings, QPel          : No
Format settings, GMC           : No warppoints
Format settings, Matrix        : Default (H.263)
Codec ID                       : DX50
Codec ID/Hint                  : DivX 5
Duration                       : 3mn 0s
Bit rate                       : 2 913 Kbps
Width                          : 1 280 pixels
Height                         : 720 pixels
Display aspect ratio           : 16:9
Frame rate                     : 29.970 fps
Color space                    : YUV
Chroma subsampling             : 4:2:0
Bit depth                      : 8 bits
Scan type                      : Progressive
Compression mode               : Lossy
Bits/(Pixel*Frame)             : 0.105
Stream size                    : 62.6 MiB (100%)
Writing library                : DivX 6.6.1.4


Attached Files Thumbnail(s)
   
Reply
#12
Code:
java.lang.NullPointerException
    at jpcsp.HLE.modules150.sceMpeg.sceMpegAvcDecodeDetail(sceMpeg.java:2768)
    at _S1_2_89D66D4.s(_S1_2_89D66D4.java:4)
    at _S1_2_898DF48.s(_S1_2_898DF48.java:264)
    at _S1_2_898E200.s(_S1_2_898E200.java:16)
    at _S1_2_898E200.exec(_S1_2_898E200.java)
    at jpcsp.Allegrex.compiler.RuntimeContext.execWithReturnAddress(RuntimeContext.java:668)
    at jpcsp.Allegrex.compiler.RuntimeContext.runThread(RuntimeContext.java:709)
    at jpcsp.Allegrex.compiler.RuntimeThread.run(RuntimeThread.java:50)
This NullPointerException is now fixed in r3601, but the AVI video will probably not play...
Always include a complete log file at INFO level in your reports. Thanks! How to post a log
Reply
#13
Thank you for the fix with r3601. One of the problems that is affecting this game is native Atrac3+ decoding. When the option "Enable Atrac3+ decoding (experimental, requires Media Engine)" is enabled and the game is left at the Title Screen for a few seconds, a screeching sound is produced before JPCSP crashes. An error report such as hs_err_pidXXXX.log will be produced shortly afterward and refers to libxuggle-5.dll as the cause of the problem. Even if a user would attempt to get into the game as soon as possible by pressing on either Start or Load, JPCSP will eventually crash in the same manner.

Another problem that is affecting this game is the dark Load/Save Screen (2nd - 8th Screenshot). The ICON0 that appears when the user is about to create a new save or load a save file is incorrect (3rd & 8th Screenshot).

In terms of graphics, the screen seems to occasionally flash or flicker whenever there is a cutscene or when a character is going to another area. The graphics don't seem to be as sharp as it could be even when the screen is scaled over 1x (2x, 3x, etc.).


Attached Files Thumbnail(s)
                               

.zip   Log_r3601(64bit)_INFO (Disable Atrac3+ decoding).zip (Size: 180.16 KB / Downloads: 153)
.zip   Log_r3601(64bit)_INFO (Enable Atrac3+ decoding).zip (Size: 13.52 KB / Downloads: 154)
Reply
#14
Code:
j  jpcsp.HLE.modules150.sceAtrac3plus.sceAtracDecodeData(ILjpcsp/HLE/TPointer;Ljpcsp/HLE/TPointer32;Ljpcsp/HLE/TPointer32;Ljpcsp/HLE/TPointer32;)I+165
This function has not yet been ported to the new Java Atrac3+ decoder. Currently only sceAtracLowLevelDecode as been ported. But the rest will follow Smile
Always include a complete log file at INFO level in your reports. Thanks! How to post a log
Reply
#15
This game was tested with r3630. Although JPCSP doesn't crash when the option "Enable Atrac3+ decoding (experimental, requires Media Engine)" is enabled, there isn't any audio being produced at the Title Screen. While there is audio before the Title Screen is reached, the audio has regressed by having buzzy sounds. The error that appears at the Title Screen looks like this:
Code:
04:38:45 ERROR atrac3plus - SOUND_THREAD - Invalid start bit
I tried creating a log comparing r3628 (pre-migration of sceAtrac3plus to Java Decoders) and r3630 (post-migration of sceAtrac3plus to Java Decoders) which include these LogSettings:
Code:
<logger name='hle.sceMpeg'> <level value='debug' /> </logger>
<logger name='hle.sceMp4'> <level value='debug' /> </logger>
<logger name='hle.sceAtrac3plus'> <level value='debug' /> </logger>


Attached Files
.zip   Log_r3628(64bit)_INFO.zip (Size: 23.43 KB / Downloads: 139)
.zip   Log_r3630(64bit)_INFO.zip (Size: 139.72 KB / Downloads: 162)
Reply
#16
Code:
04:37:59 DEBUG hle.sceAtrac3plus - SOUND_THREAD - sceAtracSetDataAndGetID buffer=0x09F0A300, bufferSize=0x40000
04:37:59 DEBUG hle.sceAtrac3plus - SOUND_THREAD - FileSize 0x34A794
04:37:59 DEBUG hle.sceAtrac3plus - SOUND_THREAD - WAVE format: magic=0x20746D66('fmt '), chunkSize=52, compressionCode=0xFFFE, channels=2, sampleRate=44100, bitrate=32041, bytesPerFrame=0x5D0, hiBytesPerSample=0, codingMode=0
04:37:59 DEBUG hle.sceAtrac3plus - SOUND_THREAD - Additional chunk data: 22 00 00 08 03 00 00 00 BF AA 23 E9 58 CB 71 44 A1 19 FF FA 01 E4 CE 62 01 00 28 B9 00 00 00 00 00 00 00 00
04:37:59 DEBUG hle.sceAtrac3plus - SOUND_THREAD - FACT Chunk: endSample=4744954, sampleOffset=2048
04:37:59 DEBUG hle.sceAtrac3plus - SOUND_THREAD - DATA Chunk: data offset=0x64, data size=0x34A730
04:37:59 DEBUG hle.sceAtrac3plus - SOUND_THREAD - hleSetHalfwayBufferAndGetID returning atID=0x0
04:37:59 DEBUG hle.sceAtrac3plus - SOUND_THREAD - sceAtracGetRemainFrame atID=0x0, remainFramesAddr=0x08BC7D28
04:37:59 DEBUG hle.sceAtrac3plus - SOUND_THREAD - sceAtracGetRemainFrame returning 176, AtracID[id=0, inputBuffer=pspFileBuffer(addr=0x09F0A300, maxSize=0x40000, currentSize=0x3FF9C, readPosition=0x64, writePosition=0x0, filePosition=0x40000, fileMaxSize=0x34A794), channels=2, outputChannels=2]
04:37:59 DEBUG hle.sceAtrac3plus - SOUND_THREAD - sceAtracGetBufferInfoForResetting atID=0x0, sample=0x0, bufferInfoAddr=0x0BB9DB38
04:38:00 DEBUG hle.sceAtrac3plus - SOUND_THREAD - sceAtracGetBufferInfoForResetting atID=0x0, sample=0x0, bufferInfoAddr=0x0BB9DB38
04:38:00 DEBUG hle.sceAtrac3plus - SOUND_THREAD - sceAtracResetPlayPosition atID=0x0, sample=0x0, bytesWrittenFirstBuf=0x40000, bytesWrittenSecondBuf=0x0
04:38:00 DEBUG hle.sceAtrac3plus - SOUND_THREAD - sceAtracGetRemainFrame atID=0x0, remainFramesAddr=0x08BC7D28
04:38:00 DEBUG hle.sceAtrac3plus - SOUND_THREAD - sceAtracGetRemainFrame returning 176, AtracID[id=0, inputBuffer=pspFileBuffer(addr=0x09F0A300, maxSize=0x40000, currentSize=0x3FF9C, readPosition=0x64, writePosition=0x0, filePosition=0x40000, fileMaxSize=0x34A794), channels=2, outputChannels=2]
04:38:00 DEBUG hle.sceAtrac3plus - SOUND_THREAD - sceAtracSetLoopNum atID=0x0, loopNbr=0xFFFFFFFF
04:38:00 DEBUG hle.sceAtrac3plus - SOUND_THREAD - sceAtracGetBufferInfoForResetting atID=0x0, sample=0x896B7, bufferInfoAddr=0x0BB9DB38
04:38:00 DEBUG hle.sceAtrac3plus - SOUND_THREAD - sceAtracDecodeData atID=0x0, samplesAddr=0x09EF2300, samplesNbrAddr=0x0BB9DD34, outEndAddr=0x08BC7D08, remainFramesAddr=0x08BC7D28
04:38:00 DEBUG hle.sceAtrac3plus - SOUND_THREAD - decodeData from 0x09F0A364(0x5D0) to 0x09EF2300(0x800), outputChannels=2
04:38:00 ERROR atrac3plus - SOUND_THREAD - Invalid start bit
04:38:00 DEBUG hle.sceAtrac3plus - SOUND_THREAD - decodeData received codec decode error 0xFFFFFFFF
I have improved sceAtracResetPlayPosition in r3631. From the log file, this should help for the above sequence. Could you retest?
Always include a complete log file at INFO level in your reports. Thanks! How to post a log
Reply
#17
The audio at the Title Screen of the game has returned in r3632. However, the music that plays before the Title Screen appears still has some sound distortions.


Attached Files
.zip   Log_r3632(64bit)_INFO.zip (Size: 301.96 KB / Downloads: 172)
Reply
#18
The music that plays before the Title Screen appears still has some audio distortions in r3638. About the AVI videos, is JPCSP missing some functions/modules that doesn't allow the emulator to play the videos in the game?


Attached Files
.zip   Log_r3628(64bit)_INFO.zip (Size: 41.5 KB / Downloads: 173)
.zip   Log_r3638(64bit)_INFO.zip (Size: 279.35 KB / Downloads: 153)
Reply
#19
(09-26-2014, 03:45 AM)DragonNeos Wrote: The music that plays before the Title Screen appears still has some audio distortions in r3638. About the AVI videos, is JPCSP missing some functions/modules that doesn't allow the emulator to play the videos in the game?
Yes, this game is using sceMp4 which is not properly implemented. It is still using Xuggler, but even with the Java audio decoder, this module requires more investigation to understand how it should work...
Code:
23:24:49  WARN hle.sceMp4 - user_main - Unimplemented sceMp4Init unk1=true, unk2=true
23:24:49  WARN hle.sceMp4 - user_main - Unimplemented sceMp4Create mp4=0xA0091EC, unknown2=0xA00D26C, readBufferAddr=0x09FDB880, readBufferSize=0x1000
23:24:49  WARN hle.sceMp4 - user_main - Unimplemented sceMp4GetMovieInfo mp4=0xA0091EC, unknown2=0x0A00D27C
23:24:49  WARN hle.sceMp4 - user_main - Unimplemented sceMp4GetNumberOfSpecificTrack unknown1=0xA0091EC, unknown2=0x11
23:24:49  WARN hle.sceMp4 - user_main - Unimplemented sceMp4RegistTrack mp4=0xA0091EC, unknown2=0x11, unknown3=0x0, callbacks=0x0A00D26C, unknown5=0xA00926C
Always include a complete log file at INFO level in your reports. Thanks! How to post a log
Reply
#20
This game was tested on r3646. There isn't any audio being played before the Title Screen appears in the game, with the Logger citing this:
Code:
04:55:02 ERROR atrac3plus - SOUND_THREAD - Invalid start bit


Attached Files
.zip   Log_r3646(64bit)_INFO.zip (Size: 238.73 KB / Downloads: 155)
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)