EmuNewz Network

Full Version: PSPokémon v0.18
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
This homebrew game was tested on 4098f5d. The game crashes on JPCSP because of some unimplemented functions. This message appears in the logger after the game crashes:
Code:
04:38:34 ERROR  runtime - user_main - Catched Throwable in RuntimeThread:
java.lang.NullPointerException
    at jpcsp.HLE.modules150.sceMp3.getFreeMp3Id(sceMp3.java:432)
    at jpcsp.HLE.modules150.sceAudiocodec.sceAudiocodecInit(sceAudiocodec.java:121)
    at _S1_2_88CF2D4.s(_S1_2_88CF2D4.java:4)
    at _S1_2_8811BA0.s(_S1_2_8811BA0.java:128)
    at _S1_2_88132A0.s(_S1_2_88132A0.java:1220)
    at _S1_2_881BA1C.s(_S1_2_881BA1C.java:76)
    at _S1_2_881BA1C.exec(_S1_2_881BA1C.java)
    at jpcsp.Allegrex.compiler.RuntimeContext.jumpCall(RuntimeContext.java:157)
    at jpcsp.Allegrex.compiler.RuntimeContext.call(RuntimeContext.java:210)
    at _S1_2_8827CBC.s(_S1_2_8827CBC.java:356)
    at _S1_2_8832128.s(_S1_2_8832128.java:4184)
    at _S1_2_8832128.exec(_S1_2_8832128.java)
    at jpcsp.Allegrex.compiler.RuntimeContext.jumpCall(RuntimeContext.java:157)
    at jpcsp.Allegrex.compiler.RuntimeContext.jump(RuntimeContext.java:189)
    at _S1_2_8824E34.s(_S1_2_8824E34.java:13664)
    at _S1_2_8824E34.exec(_S1_2_8824E34.java)
    at jpcsp.Allegrex.compiler.RuntimeContext.jumpCall(RuntimeContext.java:157)
    at jpcsp.Allegrex.compiler.RuntimeContext.call(RuntimeContext.java:210)
    at _S1_2_88278DC.s(_S1_2_88278DC.java:64)
    at _S1_2_882793C.s(_S1_2_882793C.java:76)
    at _S1_2_8824BEC.s(_S1_2_8824BEC.java:92)
    at _S1_2_881DDE4.s(_S1_2_881DDE4.java:536)
    at _S1_2_881E024.s(_S1_2_881E024.java:168)
    at _S1_2_8804000.s(_S1_2_8804000.java:160)
    at _S1_2_8804000.exec(_S1_2_8804000.java)
    at jpcsp.Allegrex.compiler.RuntimeContext.execWithReturnAddress(RuntimeContext.java:676)
    at jpcsp.Allegrex.compiler.RuntimeContext.runThread(RuntimeContext.java:717)
    at jpcsp.Allegrex.compiler.RuntimeThread.run(RuntimeThread.java:50)
I also added a Debug Log from PPSSPP v1.0.1-756-g1ba2b1c.

Download Link: http://cc.em.co.pt/pspokemon/download.ph...8.zip#data
(07-11-2015, 08:44 AM)DragonNeos Wrote: [ -> ]This homebrew game was tested on 4098f5d. The game crashes on JPCSP because of some unimplemented functions. This message appears in the logger after the game crashes:
Code:
04:38:34 ERROR  runtime - user_main - Catched Throwable in RuntimeThread:
java.lang.NullPointerException
    at jpcsp.HLE.modules150.sceMp3.getFreeMp3Id(sceMp3.java:432)
    at jpcsp.HLE.modules150.sceAudiocodec.sceAudiocodecInit(sceAudiocodec.java:121)
    at _S1_2_88CF2D4.s(_S1_2_88CF2D4.java:4)
    at _S1_2_8811BA0.s(_S1_2_8811BA0.java:128)
    at _S1_2_88132A0.s(_S1_2_88132A0.java:1220)
    at _S1_2_881BA1C.s(_S1_2_881BA1C.java:76)
    at _S1_2_881BA1C.exec(_S1_2_881BA1C.java)
    at jpcsp.Allegrex.compiler.RuntimeContext.jumpCall(RuntimeContext.java:157)
    at jpcsp.Allegrex.compiler.RuntimeContext.call(RuntimeContext.java:210)
    at _S1_2_8827CBC.s(_S1_2_8827CBC.java:356)
    at _S1_2_8832128.s(_S1_2_8832128.java:4184)
    at _S1_2_8832128.exec(_S1_2_8832128.java)
    at jpcsp.Allegrex.compiler.RuntimeContext.jumpCall(RuntimeContext.java:157)
    at jpcsp.Allegrex.compiler.RuntimeContext.jump(RuntimeContext.java:189)
    at _S1_2_8824E34.s(_S1_2_8824E34.java:13664)
    at _S1_2_8824E34.exec(_S1_2_8824E34.java)
    at jpcsp.Allegrex.compiler.RuntimeContext.jumpCall(RuntimeContext.java:157)
    at jpcsp.Allegrex.compiler.RuntimeContext.call(RuntimeContext.java:210)
    at _S1_2_88278DC.s(_S1_2_88278DC.java:64)
    at _S1_2_882793C.s(_S1_2_882793C.java:76)
    at _S1_2_8824BEC.s(_S1_2_8824BEC.java:92)
    at _S1_2_881DDE4.s(_S1_2_881DDE4.java:536)
    at _S1_2_881E024.s(_S1_2_881E024.java:168)
    at _S1_2_8804000.s(_S1_2_8804000.java:160)
    at _S1_2_8804000.exec(_S1_2_8804000.java)
    at jpcsp.Allegrex.compiler.RuntimeContext.execWithReturnAddress(RuntimeContext.java:676)
    at jpcsp.Allegrex.compiler.RuntimeContext.runThread(RuntimeContext.java:717)
    at jpcsp.Allegrex.compiler.RuntimeThread.run(RuntimeThread.java:50)
Thank you for reporting! This should now be fixed in f097a9f.
Although the homebrew game is now playable, there is an issue with the save function. Once the user saves the game, they are not able to exit the save screen as pressing the Back button still shows the save screen with the next available save slot being selected.
(07-23-2015, 07:33 AM)DragonNeos Wrote: [ -> ]Although the homebrew game is now playable, there is an issue with the save function. Once the user saves the game, they are not able to exit the save screen as pressing the Back button still shows the save screen with the next available save slot being selected.
Is it now fixed in e8ca352 (or later)?
The save functionality is still not fixed as of a7dcb95. I made another log with this line added in Log Settings:
Code:
<logger name='hle.IoFileMgrForUser'> <level value='debug' /> </logger>
(08-03-2015, 01:55 AM)DragonNeos Wrote: [ -> ]The save functionality is still not fixed as of a7dcb95.
Strange, I have no issue saving a game...
I was referring to the issue where the user can't exit the save screen after saving the game in my last post. The issue seems to stem from which button is designated as Enter. If "X" is designated as Enter, the game has no problems with saving the game and exiting the save screen. However, if "O" is designated as Enter, the game seems to loop on the save screen when pressing Back ("X" button in this case).

When this homebrew is run on PPSSPP, the game can save and exit the save screen correctly regardless of which button (X or O) is designated as Enter.
(08-05-2015, 02:10 AM)DragonNeos Wrote: [ -> ]I was referring to the issue where the user can't exit the save screen after saving the game in my last post. The issue seems to stem from which button is designated as Enter. If "X" is designated as Enter, the game has no problems with saving the game and exiting the save screen. However, if "O" is designated as Enter, the game seems to loop on the save screen when pressing Back ("X" button in this case).

When this homebrew is run on PPSSPP, the game can save and exit the save screen correctly regardless of which button (X or O) is designated as Enter.
You are right, you have to press "X" in the game to start the save and when leaving the save dialog with "X" again, the game thinks you are pressing "X" on the save menu and restarts the save dialog. If you press "X" very shortly when leaving the save dialog, you then returns to the game. I will check on a PSP.
(08-05-2015, 05:22 AM)gid15 Wrote: [ -> ]
(08-05-2015, 02:10 AM)DragonNeos Wrote: [ -> ]I was referring to the issue where the user can't exit the save screen after saving the game in my last post. The issue seems to stem from which button is designated as Enter. If "X" is designated as Enter, the game has no problems with saving the game and exiting the save screen. However, if "O" is designated as Enter, the game seems to loop on the save screen when pressing Back ("X" button in this case).

When this homebrew is run on PPSSPP, the game can save and exit the save screen correctly regardless of which button (X or O) is designated as Enter.
You are right, you have to press "X" in the game to start the save and when leaving the save dialog with "X" again, the game thinks you are pressing "X" on the save menu and restarts the save dialog. If you press "X" very shortly when leaving the save dialog, you then returns to the game. I will check on a PSP.
A PSP has the same issue: you have to press "X" quickly when leaving the save dialog, otherwise a new save dialog is started again.
The same happens at the load dialog: if you want to cancel it with "X", it will restart again.