09-15-2015, 06:49 AM
(09-14-2015, 07:36 AM)DragonNeos Wrote: I have a few questions I would like to ask about JPCSP.This is the section in build-auto.xml retrieving the git hash:
1) How do you add a git hash next to the version number on JPCSP with NetBeans/Eclipse/Apache Ant? Whenever I build JPCSP with NetBeans, I only get JPCSP followed by the version number (1st Screenshot). However, when I download builds made by EmuNewz's buildbot and open it, it shows JPCSP followed by the version number and the first seven digits of the git hash (2nd Screenshot). Does the file build-auto.xml need to be modified in order to list the git hash? If so, what needs to be added?
Code:
<macrodef name="gitversion" description="Get last git commit version.">
<attribute name="dir" default="" />
<attribute name="outputproperty" />
<attribute name="unversionedDefault" default="" />
<attribute name="failonerror" default="true" />
<sequential>
<exec outputproperty="@{outputproperty}" executable="git" failonerror="@{failonerror}" failifexe
cutionfails="@{failonerror}">
<arg line="describe --always" />
</exec>
</sequential>
</macrodef>
(09-14-2015, 07:36 AM)DragonNeos Wrote: 2) Whenever I build JPCSP with NetBeans, I always have a lib folder inside the bin folder which contains all of the dependencies for the emulator. If I choose to delete the lib folder, JPCSP doesn't work. Builds made from EmuNewz's buildbot doesn't have a lib folder inside of the bin folder. What settings would I need to change in NetBeans in order to achieve the same result (not need a lib folder in the bin folder)?No idea, I'm never using NetBeans...
(09-14-2015, 07:36 AM)DragonNeos Wrote: 3) This is an old scaling issue I'm about to address. With older builds of JPCSP, the user can click on Maximize on the top right corner to get the emulator to fill the screen (3rd Screenshot). However, starting with r2189/rf5e34ef, the emulator only scales in multiples of the PSP resolution (2x - 960x544, 3x - 1440x816, etc.) when clicking on Maximize which is why my image gets cutoff as my computer resolution is only 1152x864 (4th Screenshot). The last revision that allowed the user to maximize the screen was r2188/r77ed292. There also seems to be some scaling problem on newer revisions as there are vertical lines to the right of the H (from Bleach: Heat the Soul 5).Excellent that you are working on these issues
4) Can the Reset function on JPCSP be more robust? It seems that after clicking on Reset after once or twice when a game is loaded, the function stops working and the emulator is essentially stuck.
5) Can you add the ability to load a game after one is already loaded on JPCSP? Typically, if one would want to load another game, they would have to close the emulator since a game is already loaded and open it again in order to start a different game. If one tries to load another game after one is already loaded on JPCSP, the emulator tries to load it but fails (Log & 5th Screenshot) as the FPS displayed is a negative value. Clicking on Run will make the FPS go to 1, but nothing loads.
6) When the Logger is enabled on JPCSP, East Asian characters in games appear correctly as the emulator would display it (6th Screenshot). However, when the emulator is closed, the log.txt file always seems to be saved with ANSI Encoding and makes all East Asian characters appear as question marks. Can this behavior be modified so that any text file made by JPCSP be saved with UTF-8 Encoding?
This is the log equivalent of what is shown by the 6th Screenshot.
Code:03:19:00 INFO hle.sceUtility - MyThread-Main - sceUtilityMsgDialogInitStart 0x08C8C110-0x08C8C3D4: result 0x00000000
mode PSP_UTILITY_MSGDIALOG_MODE_TEXT
errorValue 0x00000000
message '????????????????????????????????????????™???????????????????????????????
???????????????????
???????????????????????????????????'
options 0x000000A0
buttonPressed 0x00000000'
enterButtonString ''
backButtonString ''
Always include a complete log file at INFO level in your reports. Thanks! How to post a log