11-27-2017, 07:45 AM
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:
After clicking on Run, the emulator will crash with this message:
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:
Is it possible to suppress repetitive messages in 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