03-11-2015, 11:11 PM
Pages: 1 2
03-12-2015, 07:38 AM
(03-11-2015, 11:11 PM)sum2012 Wrote: [ -> ]I see readme.txt 's usage. but I do not find it have parameter.It is not configurable by an option in the JpcspTrace.config file. You have to recompile JpcspTrace by changing the value in common.h:
Code:
#define DEBUG_STACK_USAGE 0
03-12-2015, 11:43 AM
How to compile it ? I only know that it may need PSP SDK
(03-12-2015, 07:38 AM)gid15 Wrote: [ -> ]It is not configurable by an option in the JpcspTrace.config file. You have to recompile JpcspTrace by changing the value in common.h:
set the value to 1 instead of 0.Code:#define DEBUG_STACK_USAGE 0
03-26-2015, 01:00 AM
What are the required files and programs needed to be able to compile JpcspTrace? Based on the Makefile, I assume we would need the following programs installed:
- GNU Make
- PSPSDK
- ProCFW
What would be the required command to type in the Command Prompt? I ended up getting this:
GNU Make seems to be very prone to freezing at the Command Prompt and requires multiple use of the same command in order to completely compile the files.
- GNU Make
- PSPSDK
- ProCFW
What would be the required command to type in the Command Prompt? I ended up getting this:
Code:
C:\...>make JpcspTrace.prx
psp-gcc -IC:/pspsdk/psp/sdk/include/libc -I../../../procfw/include -I. -IC:/psps
dk/psp/sdk/include -Os -G0 -Wall -fno-pic -fno-inline -D_PSP_FW_VERSION=150 -c
-o main.o main.c
main.c:25:24: error: systemctrl.h: No such file or directory
main.c:47: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'nextS
tartModuleHandler'
main.c: In function 'patchSyscall':
main.c:361: warning: implicit declaration of function 'sctrlHENFindFunction'
main.c: At top level:
main.c:535: error: expected ')' before '*' token
main.c: In function 'module_start':
main.c:785: error: 'nextStartModuleHandler' undeclared (first use in this functi
on)
main.c:785: error: (Each undeclared identifier is reported only once
main.c:785: error: for each function it appears in.)
main.c:785: warning: implicit declaration of function 'sctrlHENSetStartModuleHan
dler'
main.c:785: error: 'startModuleHandler' undeclared (first use in this function)
make: *** [main.o] Error 1
Code:
C:\...>make JpcspTraceUser.prx
psp-gcc -I. -I/include -Os -G0 -Wall -fno-pic -fno-inline -D_PSP_FW_VERSION=150
-L. -LC:/pspsdk/psp/sdk/lib -specs=C:/pspsdk/psp/sdk/lib/prxspecs -Wl,-q,-TC:/p
spsdk/psp/sdk/lib/linkfile.prx -mno-crt0 -nostartfiles user.o exports.o ../comm
on.o -lpsprtc -lpsputility -lpspdebug -lpspdisplay -lpspge -lpspctrl -lpspsdk -l
c -lpspnet -lpspnet_inet -lpspnet_apctl -lpspnet_resolver -lpsputility -lpspuser
-lpspkernel -o JpcspTraceUser.elf
psp-fixup-imports JpcspTraceUser.elf
psp-prxgen JpcspTraceUser.elf JpcspTraceUser.prx
GNU Make seems to be very prone to freezing at the Command Prompt and requires multiple use of the same command in order to completely compile the files.
03-26-2015, 08:34 AM
The Makefile is probably not perfect... this how I do the build:
I will add a flag in the JpcspTrace.config file to enable/disable the test for the stack usage.
Code:
cd ms0/JpcspTrace
make
cd prx
make
cd ..
10-29-2015, 09:45 AM
(03-26-2015, 08:34 AM)gid15 Wrote: [ -> ]The Makefile is probably not perfect... this how I do the build:Did you ever get to update the JpcspTrace.config file to have the option to either enable/disable the test for stack usage?
I will add a flag in the JpcspTrace.config file to enable/disable the test for the stack usage.Code:cd ms0/JpcspTrace
make
cd prx
make
cd ..
10-29-2015, 05:13 PM
(10-29-2015, 09:45 AM)DragonNeos Wrote: [ -> ]I just pushed my latest improvements to JpcspTrace in c2f7416. It is including this option as well.(03-26-2015, 08:34 AM)gid15 Wrote: [ -> ]The Makefile is probably not perfect... this how I do the build:Did you ever get to update the JpcspTrace.config file to have the option to either enable/disable the test for stack usage?
I will add a flag in the JpcspTrace.config file to enable/disable the test for the stack usage.Code:cd ms0/JpcspTrace
make
cd prx
make
cd ..
10-29-2015, 09:58 PM
Thanks but can it improve further ?
It cannot log "The Red Star" 's game of
sceKernelCreateThread 0x446D8DE6 6 sxdxxx
(Tested old and new version of JPCSPtrace)
It cannot log "The Red Star" 's game of
sceKernelCreateThread 0x446D8DE6 6 sxdxxx
(Tested old and new version of JPCSPtrace)
10-30-2015, 08:11 AM
(10-29-2015, 09:58 PM)sum2012 Wrote: [ -> ]Thanks but can it improve further ?I've not found any log file for this game... Could you post a log file of the game including a compiler DEBUG log and the JpcspTrace log file?
It cannot log "The Red Star" 's game of
sceKernelCreateThread 0x446D8DE6 6 sxdxxx
(Tested old and new version of JPCSPtrace)
10-30-2015, 01:03 PM
The game has stopped in
Code:
43688 [user_main] DEBUG compiler - CodeInstruction.compile 0x8AC92B4 - syscall 0x045AA [sceIoPollAsync]
(10-30-2015, 08:11 AM)gid15 Wrote: [ -> ](10-29-2015, 09:58 PM)sum2012 Wrote: [ -> ]Thanks but can it improve further ?I've not found any log file for this game... Could you post a log file of the game including a compiler DEBUG log and the JpcspTrace log file?
It cannot log "The Red Star" 's game of
sceKernelCreateThread 0x446D8DE6 6 sxdxxx
(Tested old and new version of JPCSPtrace)
Pages: 1 2