EmuNewz Network
Booting VSH in Jpcsp - 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: svn trunk discussion (https://www.emunewz.net/forum/forumdisplay.php?fid=56)
+---- Thread: Booting VSH in Jpcsp (/showthread.php?tid=175293)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12


RE: Booting VSH in Jpcsp - onelight - 03-31-2017

GVG NEXT PLUS can join lobby now.
I try 2 JPCSs on same PC, after 2nd jpcsp join lobby, the 1st jpcsp crash
Code:
19:17:23 ERROR  runtime - SceNetAdhocAuth - Catched Throwable in RuntimeThread:
java.lang.NullPointerException
    at org.bouncycastle.jce.provider.JCEECPublicKey.getEncoded(Unknown Source)
    at jpcsp.crypto.ECDSA.multiplyPublicKey(ECDSA.java:99)
    at jpcsp.crypto.KIRK.executeKIRKCmd13(KIRK.java:760)
    at jpcsp.crypto.KIRK.hleUtilsBufferCopyWithRange(KIRK.java:901)
    at jpcsp.HLE.modules.semaphore.sceUtilsBufferCopyWithRange(semaphore.java:187)
    at _S1_2_803711C.s(_S1_2_803711C.java:4)
    at _S1_2_803C7BC.s8035488(_S1_2_803C7BC.java:420)
    at _S1_2_803C7BC.s(_S1_2_803C7BC.java:400)
    at _S1_2_803ADE8.s803ae0c(_S1_2_803ADE8.java:540)
    at _S1_2_803ADE8.s(_S1_2_803ADE8.java:528)
    at _S1_2_803ADE8.exec(_S1_2_803ADE8.java)
    at jpcsp.Allegrex.compiler.RuntimeContext.jumpCall(RuntimeContext.java:166)
    at jpcsp.Allegrex.compiler.RuntimeContext.jump(RuntimeContext.java:198)
    at _S1_2_803A3C8.s(_S1_2_803A3C8.java:188)
    at _S1_2_803A3C8.exec(_S1_2_803A3C8.java)
    at jpcsp.Allegrex.compiler.RuntimeContext.jumpCall(RuntimeContext.java:166)
    at jpcsp.Allegrex.compiler.RuntimeContext.jump(RuntimeContext.java:198)
    at jpcsp.Allegrex.compiler.RuntimeContext.execWithReturnAddress(RuntimeContext.java:707)
    at jpcsp.Allegrex.compiler.RuntimeContext.runThread(RuntimeContext.java:766)
    at jpcsp.Allegrex.compiler.RuntimeThread.run(RuntimeThread.java:50)

.zip   JPCSP1-log.zip (Size: 127.14 KB / Downloads: 105)
.zip   JPCSP2-log.zip (Size: 97.64 KB / Downloads: 102)


RE: Booting VSH in Jpcsp - gid15 - 03-31-2017

(03-31-2017, 12:19 PM)onelight Wrote: GVG NEXT PLUS can join lobby now.
I try 2 JPCSs on same PC, after 2nd jpcsp join lobby, the 1st jpcsp crash
Oh, this is already using the new network code I'm still working on Wink
Could you try to delete the file flash0/kd/memab.prx and retry? The KIRK encryption part is not working properly.


RE: Booting VSH in Jpcsp - onelight - 04-01-2017

(03-31-2017, 07:42 PM)gid15 Wrote:
(03-31-2017, 12:19 PM)onelight Wrote: GVG NEXT PLUS can join lobby now.
I try 2 JPCSs on same PC, after 2nd jpcsp join lobby, the 1st jpcsp crash
Oh, this is already using the new network code I'm still working on Wink
Could you try to delete the file flash0/kd/memab.prx and retry? The KIRK encryption part is not working properly.

Think you, after delete memab.prx Ad-Hoc Multiplayer working!
   

   

   
BTW: EVERYBODY'S TENNIS adhoc not working before

I wonder if it is possible to make psp ad hoc tunneling program working for JPCSP
psp ad hoc tunneling program https://github.com/DiscoStarslayer/mhpt

EDAT: log for EVERYBODY'S TENNIS:
http://www.mediafire.com/file/7z8hva47whe3okw/JPCSP1-PRX-ADHOC-log.7z
http://www.mediafire.com/file/zf0tra4iqw59aht/JPCSP2-RPX-Adhoc-log.7z

I also try LAN MultiPlayer after del utility.prx

always show entering match room but never join in
   

.txt   JPCSP1-del-utility.prx-log.txt (Size: 106.28 KB / Downloads: 80)

.txt   JPCSP2-del-utility.prx-log.txt.txt (Size: 85.37 KB / Downloads: 77)


RE: Booting VSH in Jpcsp - onelight - 05-20-2017

KINGDOM HEARTS Birth by Sleep FINAL MIX Ad-Hoc Multiplayer not working

.zip   BBSFM-log.zip (Size: 50.02 KB / Downloads: 93)
Code:
08:52:46  INFO compiler - user_main - Splitting _S1_2_9F60B2C (118/50)
08:52:46  INFO compiler - user_main - Splitting _S1_2_9F6F198 (69/50)
08:52:46  WARN hle.SysMemUserForUser - user_main - malloc cannot allocate partition=2, name='ThreadMan-Stack-0x347-SceNetAdhocMatchingEvent', type=PSP_SMEM_High, size=0x1000, addr=0x00000000, maxFreeMem=0x400, totalFreeMem=0x700
08:52:46  WARN hle.ThreadManForUser - user_main - sceKernelCreateThread not enough memory to create the stack
08:52:46  INFO compiler - user_main - Splitting _S1_2_9F722AC (110/50)
08:52:46  INFO compiler - user_main - Splitting _S1_2_9F6DF04 (72/50)
08:52:46  INFO compiler - user_main - Splitting _S1_2_9F6E024 (51/50)
08:52:46  INFO compiler - user_main - Splitting _S1_2_88C3B14 (57/50)
08:52:46  INFO compiler - SceNetAdhocctl - Splitting _S1_2_9F6B8C4 (109/50)
08:52:46  WARN hle.sceMemab - SceNetAdhocAuth - Unimplemented sceMemab_F742F283 unknown1=0x0, unknown2=0x0, unknown3=0x09FA8250, unknown4=0x0
08:52:46  WARN hle.sceMemab - SceNetAdhocAuth - Unimplemented sceMemab_F742F283 returning 0x0
08:52:46  WARN hle.sceMemab - SceNetAdhocAuth - unknown3[out]:
0x09FA8250 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  >................<
08:52:46  INFO compiler - SceNetAdhocAuth - Splitting _S1_2_802AB84 (107/50)
08:52:46  INFO compiler - SceNetAdhocAuth - Splitting _S1_2_802AD30 (76/50)
08:52:46  INFO compiler - SceNetAdhocAuth - Splitting _S1_2_8026718 (53/50)
08:52:46  WARN hle.sceWlan - SceNetAdhocctl - Unimplemented sceWlanSetHostDiscover unknown1=0x0, unknown2=0x00000000
08:52:46  WARN hle.sceWlan - SceNetAdhocctl - Unimplemented sceWlanSetHostDiscover returning 0x0
08:52:46  WARN hle.sceWlan - SceNetAdhocctl - Unimplemented sceWlanSetWakeUp unknown1=0x0, unknown2=0x00000000
08:52:46  WARN hle.sceWlan - SceNetAdhocctl - Unimplemented sceWlanSetWakeUp returning 0x0
08:52:46  INFO compiler - user_main - Splitting _S1_2_8A3F114 (124/50)
08:52:46  INFO compiler - user_main - Splitting _S1_2_881EB38 (127/50)
08:52:46  INFO compiler - user_main - Splitting _S1_2_88C2D7C (60/50)
08:52:46  INFO       ge - GUI - Compiling VertexInfoReader for GU_TEXTURE_16BIT|GU_VERTEX_32BITF|GU_TRANSFORM_2D size=16
08:52:46  WARN hle.sceWlan - SceNetAdhocctl - Unimplemented sceWlanDevDetach
08:52:46  WARN hle.sceWlan - SceNetAdhocctl - Unimplemented sceWlanDevDetach returning 0x0
08:52:46  INFO compiler - user_main - Splitting _S1_2_88C3F64 (96/50)
08:52:46  WARN hle.ThreadManForUser - user_main - checkMbxID unknown uid=0xFFFFFFFF
08:52:46  WARN hle.sceWlan - SceNetAdhocctl - Unimplemented sceWlanSetHostDiscover unknown1=0x0, unknown2=0x00000000
08:52:46  WARN hle.sceWlan - SceNetAdhocctl - Unimplemented sceWlanSetHostDiscover returning 0x0
08:52:46  WARN hle.sceWlan - SceNetAdhocctl - Unimplemented sceWlanSetWakeUp unknown1=0x0, unknown2=0x00000000
08:52:46  WARN hle.sceWlan - SceNetAdhocctl - Unimplemented sceWlanSetWakeUp returning 0x0
08:52:46  INFO compiler - user_main - Splitting _S1_2_88C28DC (145/50)
08:52:46  WARN hle.sceWlan - SceNetAdhocctl - Unimplemented sceWlanDevDetach
08:52:46  WARN hle.sceWlan - SceNetAdhocctl - Unimplemented sceWlanDevDetach returning 0x0
08:52:46  INFO compiler - user_main - Splitting _S1_2_9F6B874 (69/50)
08:52:46  INFO compiler - user_main - Splitting _S1_2_8029180 (107/50)
08:52:46  WARN hle.sceMemab - user_main - Unimplemented sceMemab_D57856A7
08:52:46  WARN hle.sceMemab - user_main - Unimplemented sceMemab_D57856A7 returning 0x0
08:52:46  INFO compiler - user_main - Splitting _S1_2_9F5E148 (74/50)
08:52:46  WARN hle.ThreadManForUser - user_main - sceKernelDeleteEventFlag numWaitThreads 1
08:52:46  WARN hle.ThreadManForUser - user_main - sceKernelDeleteVpl approx 0x1D0 unfreed bytes allocated
08:52:46  WARN hle.sceWlan - user_main - Unimplemented sceWlanDrv_lib_8D5F551B unknown=0x10000
08:52:46  WARN hle.sceWlan - user_main - Unimplemented sceWlanDrv_lib_8D5F551B returning 0x0
08:52:54  INFO compiler - user_main - Splitting _S1_2_8A3EAB8 (96/50)



RE: Booting VSH in Jpcsp - onelight - 05-20-2017

Test DRAGON BALL Z SHIN BUDOKAI ANOTHER ROAD
adhoc working but Graphic error, no voice when using VSH/prx
   
   

.7z   JPCSP1-log.7z (Size: 59.54 KB / Downloads: 95)

.7z   JPCSP2-log.7z (Size: 70.99 KB / Downloads: 87)

.7z   sceAudiocodec-log.7z (Size: 27.22 KB / Downloads: 93)

Graphic ok, have voice but adhoc not working after del utility.prx or no using VSH/prx
   
   
   

.7z   JPCSP1-del-utility.prx-log.txt.7z (Size: 6.09 KB / Downloads: 106)

.7z   JPCSP2-del-utility.prx-log.txt.7z (Size: 5.98 KB / Downloads: 98)

.7z   voice-log.7z (Size: 5.77 KB / Downloads: 88)


RE: Booting VSH in Jpcsp - DragonNeos - 06-17-2017

Will DOCUMENT.DAT files be viewable from the VSH in the future? Currently, any game that contains a DOCUMENT.DAT file is not being detected by the emulator while using the VSH.

Other issues with the VSH include not being able to save settings. For example, if a user changes the Date & Time Settings to a different format and closes the emulator, the settings are reset when the user opens the emulator.


RE: Booting VSH in Jpcsp - gid15 - 06-19-2017

(06-17-2017, 12:05 PM)DragonNeos Wrote: Will DOCUMENT.DAT files be viewable from the VSH in the future? Currently, any game that contains a DOCUMENT.DAT file is not being detected by the emulator while using the VSH.
Have you an example for such a game?
How is a real PSP displaying it? I don't remember having seen such a DOCUMENT.DAT file...

(06-17-2017, 12:05 PM)DragonNeos Wrote: Other issues with the VSH include not being able to save settings. For example, if a user changes the Date & Time Settings to a different format and closes the emulator, the settings are reset when the user opens the emulator.
I was planning to implement reading/writing of real system.dreg & system.ireg files, but it is taking longer than expected. I will implement some workaround for the date/time settings.


RE: Booting VSH in Jpcsp - onelight - 06-19-2017

testing 27d0720
Code:
18:37:18  WARN compiler - SceModmgrStart - IGNORING: Trying to compile an invalid address 0xDEADBEEF
18:37:18 ERROR  runtime - SceModmgrStart - RuntimeContext.jumpCall - Cannot find executable
18:37:18 ERROR  runtime - SceModmgrStart - Catched Throwable in RuntimeThread:
java.lang.RuntimeException: Cannot find executable
    at jpcsp.Allegrex.compiler.RuntimeContext.jumpCall(RuntimeContext.java:152)
    at jpcsp.Allegrex.compiler.RuntimeContext.jump(RuntimeContext.java:202)
    at _S1_2_8837998.s8837ac4(_S1_2_8837998.java:444)
    at _S1_2_8837998.s(_S1_2_8837998.java:300)
    at _S1_2_8932CCC.s(_S1_2_8932CCC.java:16)
    at _S1_2_8932CCC.exec(_S1_2_8932CCC.java)
    at jpcsp.Allegrex.compiler.RuntimeContext.jumpCall(RuntimeContext.java:170)
    at jpcsp.Allegrex.compiler.RuntimeContext.call(RuntimeContext.java:223)
    at _S1_2_8836B48.s(_S1_2_8836B48.java:52)
    at _S1_2_8804100.s(_S1_2_8804100.java:20)
    at _S1_2_8838004.s(_S1_2_8838004.java:40)
    at _S1_2_8838004.exec(_S1_2_8838004.java)
    at jpcsp.Allegrex.compiler.RuntimeContext.execWithReturnAddress(RuntimeContext.java:736)
    at jpcsp.Allegrex.compiler.RuntimeContext.runThread(RuntimeContext.java:797)
    at jpcsp.Allegrex.compiler.RuntimeThread.run(RuntimeThread.java:50)
18:37:18  INFO  runtime - Emu - Using Compiler
18:37:18  INFO  runtime - Emu - Using Compiler
18:37:18  INFO  runtime - Emu - Using Compiler



RE: Booting VSH in Jpcsp - gid15 - 06-21-2017

(06-19-2017, 08:21 AM)gid15 Wrote:
(06-17-2017, 12:05 PM)DragonNeos Wrote: Other issues with the VSH include not being able to save settings. For example, if a user changes the Date & Time Settings to a different format and closes the emulator, the settings are reset when the user opens the emulator.
I was planning to implement reading/writing of real system.dreg & system.ireg files, but it is taking longer than expected. I will implement some workaround for the date/time settings.
Saving of the VSH date/time settings is now implemented in 0450517.

(06-19-2017, 10:45 AM)onelight Wrote: testing 27d0720
Code:
18:37:18  WARN compiler - SceModmgrStart - IGNORING: Trying to compile an invalid address 0xDEADBEEF
18:37:18 ERROR  runtime - SceModmgrStart - RuntimeContext.jumpCall - Cannot find executable
18:37:18 ERROR  runtime - SceModmgrStart - Catched Throwable in RuntimeThread:
java.lang.RuntimeException: Cannot find executable
    at jpcsp.Allegrex.compiler.RuntimeContext.jumpCall(RuntimeContext.java:152)
    at jpcsp.Allegrex.compiler.RuntimeContext.jump(RuntimeContext.java:202)
    at _S1_2_8837998.s8837ac4(_S1_2_8837998.java:444)
    at _S1_2_8837998.s(_S1_2_8837998.java:300)
    at _S1_2_8932CCC.s(_S1_2_8932CCC.java:16)
    at _S1_2_8932CCC.exec(_S1_2_8932CCC.java)
    at jpcsp.Allegrex.compiler.RuntimeContext.jumpCall(RuntimeContext.java:170)
    at jpcsp.Allegrex.compiler.RuntimeContext.call(RuntimeContext.java:223)
    at _S1_2_8836B48.s(_S1_2_8836B48.java:52)
    at _S1_2_8804100.s(_S1_2_8804100.java:20)
    at _S1_2_8838004.s(_S1_2_8838004.java:40)
    at _S1_2_8838004.exec(_S1_2_8838004.java)
    at jpcsp.Allegrex.compiler.RuntimeContext.execWithReturnAddress(RuntimeContext.java:736)
    at jpcsp.Allegrex.compiler.RuntimeContext.runThread(RuntimeContext.java:797)
    at jpcsp.Allegrex.compiler.RuntimeThread.run(RuntimeThread.java:50)
18:37:18  INFO  runtime - Emu - Using Compiler
18:37:18  INFO  runtime - Emu - Using Compiler
18:37:18  INFO  runtime - Emu - Using Compiler
This should be fixed in 3ca5aac (or later). I'm making investigations into the PSP file system functions and somehow, I broke the VSH. Sorry.


RE: Booting VSH in Jpcsp - DragonNeos - 06-22-2017

(06-19-2017, 08:21 AM)gid15 Wrote:
(06-17-2017, 12:05 PM)DragonNeos Wrote: Will DOCUMENT.DAT files be viewable from the VSH in the future? Currently, any game that contains a DOCUMENT.DAT file is not being detected by the emulator while using the VSH.
Have you an example for such a game?
How is a real PSP displaying it? I don't remember having seen such a DOCUMENT.DAT file...
Commercial games that are distributed digitally through the PlayStation Network may have a DOCUMENT.DAT file next to the game (EBOOT.PBP). Demos and Trial games hosted on either PSN or the developer's website can also have a DOCUMENT.DAT file (Ex: God Eater 2 Trial, Yu-Gi-Oh! ARC-V Tag Force Special Trial). The DOCUMENT.DAT file is a software version of the manual that developers used to provide in game cases in previous console generations.

PSP
       

JPCSP (Emulator can't detect file in directory)
       

Other issues with the VSH:
1) VSH is not displaying the curving waves correctly (possible VSH/bézier curve issue?)
       

2) VSH is showing duplicate entries for any file and doesn't allow execution of encrypted EBOOT.PBP (except for certain demos/trial games that are classified in the "MG" category such as Bleach: Heat the Soul 5 Trial which will crash the emulator after gameboot.pmf loads)
       

3) After selecting a game, there should be audio playing on the screen with PSP displayed as the emulator is attempting to load the game (gameboot.pmf is not consistent in always producing the booting sound). None of the audio prx modules is producing any sound when the game is loaded.

4) Custom Themes are not saved in the configuration after the emulator is closed. The emulator will bring up the default theme when the VSH is loaded up again (similar behavior to Date & Time Settings before the issue was fixed).

5) On the VSH, the Free Space capacity of the Memory Stick displays a random number (972 MB).

6) The emulator has issues when attempting to open the PlayStation®Store (displays "An internal error has occurred. (80110684)" or view Network Settings (see below):
Code:
14:02:55  INFO      hle - ScePafJob - sceKernelStartModule - no entry address
14:02:55 ERROR compiler - ScePafJob - Trying to compile an invalid address 0x01420660
14:02:55  INFO compiler - ScePafJob - Compiling for Interpreter _S1_3_8511ADC
14:02:55  INFO hle.sceSsl - ScePafJob - sceSslInit heapSize=0x40000
14:02:55  WARN      hle - ScePafJob - 08519A08 Unknown instruction 00000000000000111111111111111000 (0x0003FFF8)
14:02:55  INFO hle.sceSsl - ScePafJob - sceSslInit returning 0x8860000
14:02:55 ERROR compiler - ScePafJob - Trying to compile an invalid address 0x00000004
14:02:55 ERROR  runtime - ScePafJob - RuntimeContext.jumpCall - Cannot find executable
14:02:55 ERROR  runtime - ScePafJob - Catched Throwable in RuntimeThread:
java.lang.RuntimeException: Cannot find executable
    at jpcsp.Allegrex.compiler.RuntimeContext.jumpCall(RuntimeContext.java:152)
    at jpcsp.Allegrex.compiler.RuntimeContext.jump(RuntimeContext.java:202)
    at _S1_2_883AA58.s(_S1_2_883AA58.java:196)
    at _S1_2_883AC00.s(_S1_2_883AC00.java:256)
    at _S1_2_883AC00.exec(_S1_2_883AC00.java)
    at jpcsp.Allegrex.compiler.RuntimeContext.jumpCall(RuntimeContext.java:170)
    at jpcsp.Allegrex.compiler.RuntimeContext.call(RuntimeContext.java:223)
    at _S1_2_9C7A33C.s(_S1_2_9C7A33C.java:868)
    at _S1_2_9C7A33C.exec(_S1_2_9C7A33C.java)
    at jpcsp.Allegrex.compiler.RuntimeContext.jumpCall(RuntimeContext.java:170)
    at jpcsp.Allegrex.compiler.RuntimeContext.call(RuntimeContext.java:223)
    at _S1_2_8896724.s(_S1_2_8896724.java:828)
    at _S1_2_8895310.s(_S1_2_8895310.java:40)
    at _S1_2_8895310.exec(_S1_2_8895310.java)
    at jpcsp.Allegrex.compiler.RuntimeContext.jumpCall(RuntimeContext.java:170)
    at jpcsp.Allegrex.compiler.RuntimeContext.call(RuntimeContext.java:223)
    at _S1_2_89303B0.s(_S1_2_89303B0.java:36)
    at _S1_2_89303B0.exec(_S1_2_89303B0.java)
    at jpcsp.Allegrex.compiler.RuntimeContext.execWithReturnAddress(RuntimeContext.java:736)
    at jpcsp.Allegrex.compiler.RuntimeContext.runThread(RuntimeContext.java:797)
    at jpcsp.Allegrex.compiler.RuntimeThread.run(RuntimeThread.java:50)

7) Certain homebrew applications such as PRXdecrypter 2.7a will not be able to load when selected from the VSH (displays "Error 0x80010002 loading/starting PRXdecrypter02g module" and "Exiting in 10 seconds...").

Is it possible to make the Home button provide the same functionality as it does on the PSP (if the user provides all necessary firmware files)? (Pressing Home while in a game will display "Do you want to quit the game?" and pressing "Yes" will show "Please wait..." and bring the user back to the VSH). On JPCSP, pressing Home will bring up the message "Exit the current application?" After clicking on "Yes", the emulator will stop responding to any commands (such as trying to load another game from either Load UMD... or Load file...).