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
Sunday Vs Magazine Shuuketsu! Choujou Daikessen - ULJM05450
#21
Code:
ava.lang.NullPointerException
    at jpcsp.HLE.modules.sceMpeg.hleMpegRingbufferPostPut(sceMpeg.java:2057)
    at jpcsp.HLE.modules.sceMpeg$AfterRingbufferPutCallback.execute(sceMpeg.java:1002)
I found some improvements when the application is not providing a PSMF header (which is the cause of the NullPointerException). Could you retry with 9d4b29e and post a log file at DEBUG level if the issue is not yet fixed?

Thank you!
Always include a complete log file at INFO level in your reports. Thanks! How to post a log
Reply
#22
The opening video loads correctly as of revision 8bb5276. However, I think h264j still has an issue with rendering videos (video appears corrupted with lots of graphical garbage).


Attached Files
.zip   Log_r8bb5276(64bit)_INFO.zip (Size: 76.23 KB / Downloads: 159)
Reply
#23
This game was tested with revision b95fddc. There is one minor issue and one unusual error that appears in the log.

The minor issue is regarding the opening video. After the opening video has finished playing, the game should transition to the title screen. However, the game stays frozen until the user presses the Start button to prompt the game to load the title screen.
Code:
04:44:32  INFO hle.IoFileMgrForUser - sxm_main - hleIoOpen filename = disc0:/PSP_GAME/USRDIR/data/psmf/OP.pmf flags = 1 permissions = 0777

In case you need it, I also attached a log with the following settings in LogSettings.xml to try to better capture the issue with the opening video:
Code:
<logger name='compiler'> <level value='debug' /> </logger>
<logger name='hle.sceMpeg'> <level value='debug' /> </logger>
<logger name='hle.scePsmfPlayer'> <level value='debug' /> </logger>
<logger name='hle.scePsmf'> <level value='debug' /> </logger>

The unusual error that appears in the log is the following message:
Code:
04:44:08 DEBUG hle.sceUtility - sxm_main - sceUtilityLoadModule module=0x307
04:44:08  INFO hle.sceUtility - sxm_main - Loading: sceUtilityLoadModule(module=0x0307) PSP_MODULE_AV_G729
04:44:08 ERROR hle.sceUtility - sxm_main - Can't load flash0 module
04:44:08  INFO hle.sceUtility - sxm_main - IGNORING: sceUtilityLoadModule(module=0x0307) PSP_MODULE_AV_G729
04:44:08 DEBUG hle.sceUtility - sxm_main - sceUtilityLoadModule returning 0x0
What does this particular module do anyway?


Attached Files
.zip   Log_rb95fddc(64bit)_INFO.zip (Size: 91.2 KB / Downloads: 172)
.zip   Log_rb95fddc(64bit)_INFO (sceMpeg, scePsmf, scePsmfPlayer DEBUG).zip (Size: 1.29 MB / Downloads: 163)
Reply
#24
Code:
04:44:08 DEBUG hle.sceUtility - sxm_main - sceUtilityLoadModule module=0x307
04:44:08  INFO hle.sceUtility - sxm_main - Loading: sceUtilityLoadModule(module=0x0307) PSP_MODULE_AV_G729
04:44:08 ERROR hle.sceUtility - sxm_main - Can't load flash0 module
04:44:08  INFO hle.sceUtility - sxm_main - IGNORING: sceUtilityLoadModule(module=0x0307) PSP_MODULE_AV_G729
04:44:08 DEBUG hle.sceUtility - sxm_main - sceUtilityLoadModule returning 0x0
I've added this module in b16aa64 but it is doing nothing for now. It would be interesting to see if other messages about "Unimplemented sceG729..." now appear in the log file. It seems to be related to the decoding of some audio files:
https://en.wikipedia.org/wiki/G.729
Some sounds might then be missing...
Always include a complete log file at INFO level in your reports. Thanks! How to post a log
Reply
#25
On revision b16aa64, the error doesn't pop up anymore. When using the internal flash0 files, the game is able to transition to the title screen after the opening video is finished. A random memory error appears after I have closed the emulator.
Code:
05:45:29 ERROR compiler - idle1 - Trying to compile an invalid address 0x0E020000
05:45:29  WARN hle.ThreadManForUser - sndp thread - checkEventFlagID unknown uid=0xC3000004
05:45:29 ERROR  runtime - idle1 - jumpCall - Cannot find executable
05:45:31  INFO externalge - ExternalGE - Core Thread - CoreThread exited


Attached Files
.zip   Log_rb16aa64(64bit)_INFO (hle.sceUtility DEBUG).zip (Size: 82.59 KB / Downloads: 186)
.zip   Log_rb16aa64(64bit)_INFO (flash0 sceUtility DEBUG).zip (Size: 97.91 KB / Downloads: 175)
Reply
#26
(11-25-2017, 10:59 AM)DragonNeos Wrote: When using the internal flash0 files, the game is able to transition to the title screen after the opening video is finished.
This is a good hint. For comparison, it would be interesting to have a log file with the same lines in LogSettings.xml as you did above.
Always include a complete log file at INFO level in your reports. Thanks! How to post a log
Reply
#27
An error and crash seems to occur if certain files are in the kd directory. As the game is attempting to load the opening video, the emulator will get stuck on Pause and the following message appears on the logger:
Code:
00:09:35 ERROR      hle - sxm_main - Unmapped import at 0x0801AB5C [0x282CA0D7] Module 'sceDmacplus_driver':
00:09:35 ERROR      hle - sxm_main - Registers: $a0=0x8801B300, $a1=0xDEADBEEF, $a2=0xDEADBEEF, $a3=0xDEADBEEF
00:09:35 ERROR      hle - sxm_main -            $t0=0xDEADBEEF, $t1=0xDEADBEEF, $t2=0xDEADBEEF, $t3=0xDEADBEEF
00:09:35 ERROR      hle - sxm_main -            $ra=0x08018D54, $sp=0x09FFF4E0
00:09:35 ERROR      hle - sxm_main - Caller code:
00:09:35 ERROR      hle - sxm_main -   0x08018CF4:[0260D821]: addu       $k1, $s3, $zr <=> move $k1, $s3
00:09:35 ERROR      hle - sxm_main -   0x08018CF8:[35020104]: ori        $v0, $t0, 260
00:09:35 ERROR      hle - sxm_main -   0x08018CFC:[8FBF0014]: lw         $ra, 20($sp)
00:09:35 ERROR      hle - sxm_main -   0x08018D00:[8FB40010]: lw         $s4, 16($sp)
00:09:35 ERROR      hle - sxm_main -   0x08018D04:[8FB3000C]: lw         $s3, 12($sp)
00:09:35 ERROR      hle - sxm_main -   0x08018D08:[8FB20008]: lw         $s2, 8($sp)
00:09:35 ERROR      hle - sxm_main -   0x08018D0C:[8FB10004]: lw         $s1, 4($sp)
00:09:35 ERROR      hle - sxm_main -   0x08018D10:[8FB00000]: lw         $s0, 0($sp)
00:09:35 ERROR      hle - sxm_main -   0x08018D14:[03E00008]: jr         $ra
00:09:35 ERROR      hle - sxm_main -   0x08018D18:[27BD0020]: addiu      $sp, $sp, 32
00:09:35 ERROR      hle - sxm_main -   0x08018D1C:[3C0D8A90]: lui        $t5, 0x8A90 <=> li $t5, 0x8A900000
00:09:35 ERROR      hle - sxm_main -   0x08018D20:[35AC9000]: ori        $t4, $t5, -28672
00:09:35 ERROR      hle - sxm_main -   0x08018D24:[00CC5825]: or         $t3, $a2, $t4
00:09:35 ERROR      hle - sxm_main -   0x08018D28:[2684B300]: addiu      $a0, $s4, -19712
00:09:35 ERROR      hle - sxm_main -   0x08018D2C:[240A0010]: addiu      $t2, $zr, 16 <=> li $t2, 16
00:09:35 ERROR      hle - sxm_main -   0x08018D30:[AD0B000C]: sw         $t3, 12($t0)
00:09:35 ERROR      hle - sxm_main -   0x08018D34:[01444823]: subu       $t1, $t2, $a0
00:09:35 ERROR      hle - sxm_main -   0x08018D38:[01092821]: addu       $a1, $t0, $t1
00:09:35 ERROR      hle - sxm_main -   0x08018D3C:[AD000008]: sw         $zr, 8($t0)
00:09:35 ERROR      hle - sxm_main -   0x08018D40:[3C118000]: lui        $s1, 0x8000 <=> li $s1, 0x80000000
00:09:35 ERROR      hle - sxm_main -   0x08018D44:[0E006AD3]: jal        0x0801AB4C [sceKernelDcacheWritebackRange]
00:09:35 ERROR      hle - sxm_main -   0x08018D48:[36300021]: ori        $s0, $s1, 33
00:09:35 ERROR      hle - sxm_main - > 0x08018D4C:[0E006AD7]: jal        0x0801AB5C [Unmapped import]
00:09:35 ERROR      hle - sxm_main -   0x08018D50:[2684B300]: addiu      $a0, $s4, -19712
00:09:35 ERROR      hle - sxm_main -   0x08018D54:[00408821]: addu       $s1, $v0, $zr <=> move $s1, $v0
00:09:35 ERROR      hle - sxm_main -   0x08018D58:[00002021]: addu       $a0, $zr, $zr <=> li $a0, 0
00:09:35 ERROR      hle - sxm_main -   0x08018D5C:[1440000C]: bne        $v0, $zr, 0x08018D90
00:09:35 ERROR      hle - sxm_main -   0x08018D60:[00002821]: addu       $a1, $zr, $zr <=> li $a1, 0
00:09:35 ERROR      hle - sxm_main -   0x08018D64:[0E006AD9]: jal        0x0801AB64 [Unmapped import]
00:09:35 ERROR      hle - sxm_main -   0x08018D68:[00000000]: nop
00:09:35 ERROR      hle - sxm_main -   0x08018D6C:[1620FFF7]: bne        $s1, $zr, 0x08018D4C
00:09:35 ERROR      hle - sxm_main -   0x08018D70:[00408821]: addu       $s1, $v0, $zr <=> move $s1, $v0
00:09:35 ERROR      hle - sxm_main -   0x08018D74:[268EB300]: addiu      $t6, $s4, -19712
00:09:35 ERROR      hle - sxm_main -   0x08018D78:[8DC40670]: lw         $a0, 1648($t6)
00:09:35 ERROR      hle - sxm_main -   0x08018D7C:[0E006ABF]: jal        0x0801AAFC [sceKernelSignalSema]
00:09:35 ERROR      hle - sxm_main - Memory at $a0:
0x8801B300 D3 77 F9 48 80 8E B7 49 00 00 00 00 F0 92 90 8A  >.w.H...I........<
0x8801B310 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  >................<
0x8801B320 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  >................<
0x8801B330 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  >................<

After clicking on Run, the emulator will crash with this message:
Code:
00:09:43 ERROR compiler - sxm_main - Trying to compile an invalid address 0x00000000
00:09:43 ERROR  runtime - sxm_main - jumpCall - Cannot find executable
00:09:43 ERROR  runtime - sxm_main - Catched Throwable in RuntimeThread:
java.lang.RuntimeException: Cannot find executable
    at jpcsp.Allegrex.compiler.RuntimeContext.jumpCall(RuntimeContext.java:156)
    at jpcsp.Allegrex.compiler.RuntimeContext.jump(RuntimeContext.java:206)
    at _S1_2_0x0801AB5C.s(_S1_2_0x0801AB5C.java:4)
    at _S1_2_0x08BDD23C.s(_S1_2_0x08BDD23C.java:304)
    at _S1_2_0x08BD7388.s(_S1_2_0x08BD7388.java:696)
    at _S1_2_0x08BD8388.s(_S1_2_0x08BD8388.java:536)
    at _S1_2_0x08BDA568.s(_S1_2_0x08BDA568.java:80)
    at _S1_2_0x089DE418.s(_S1_2_0x089DE418.java:4)
    at _S1_2_0x08995068.s(_S1_2_0x08995068.java:76)
    at _S1_2_0x08997A90.s(_S1_2_0x08997A90.java:184)
    at _S1_2_0x08996C4C.s(_S1_2_0x08996C4C.java:104)
    at _S1_2_0x08996C4C.exec(_S1_2_0x08996C4C.java)
    at jpcsp.Allegrex.compiler.RuntimeContext.jumpCall(RuntimeContext.java:174)
    at jpcsp.Allegrex.compiler.RuntimeContext.jump(RuntimeContext.java:206)
    at _S1_2_0x0882882C.s(_S1_2_0x0882882C.java:228)
    at _S1_2_0x0882882C.exec(_S1_2_0x0882882C.java)
    at jpcsp.Allegrex.compiler.RuntimeContext.jumpCall(RuntimeContext.java:174)
    at jpcsp.Allegrex.compiler.RuntimeContext.jump(RuntimeContext.java:206)
    at _S1_2_0x08804A4C.s(_S1_2_0x08804A4C.java:168)
    at _S1_2_0x08804114.s(_S1_2_0x08804114.java:240)
    at _S1_2_0x08804114.exec(_S1_2_0x08804114.java)
    at jpcsp.Allegrex.compiler.RuntimeContext.execWithReturnAddress(RuntimeContext.java:773)
    at jpcsp.Allegrex.compiler.RuntimeContext.runThread(RuntimeContext.java:836)
    at jpcsp.Allegrex.compiler.RuntimeThread.run(RuntimeThread.java:50)

Although the emulator states that the issue seems to be with the module sceDmacplus_driver, the problem is actually with avcodec.prx. Removing this file from the kd directory allows the game to load the opening video (the audio in the beginning of the video has some crackling issues if audio related prx files are in the kd directory). Also, the file sc_sascore.prx had to be removed from the kd directory as the logger spammed the following message:
Code:
00:09:12  WARN hle.sceMeCore - sndp thread - Unimplemented sceMeCore_driver_FA398D71 cpu=jpcsp.Allegrex.CpuState@676e30ce, cmd=0x100
00:09:12  WARN hle.sceMeCore - sndp thread - Unimplemented sceMeCore_driver_FA398D71 returning 0x0
Is it possible to suppress repetitive messages in the logger?


Attached Files
.zip   Log_rb16aa64(64bit)_INFO (All flash0 files).zip (Size: 107.15 KB / Downloads: 172)
.zip   Log_rb16aa64(64bit)_INFO (sceMpeg, scePsmf, scePsmfPlayer DEBUG).zip (Size: 904.44 KB / Downloads: 166)
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)