Page 9 of 11

Re: Installing the PSPSDK (Linux or Windows)

Posted: Thu Jul 11, 2013 12:23 pm
by Kankertje
It runs fine on windows, open command prompt in directory with prxtool then run it like prxtool -f -n something something, it wont "close"

Some EBOOT.BINs are not readable by prxtool, no idea why, I used moskitool script from vhbl/eloader/tools/ for one exploited game which eboot.bin was not readable to get the game's imports from memdump.

Re: Installing the PSPSDK (Linux or Windows)

Posted: Thu Jul 11, 2013 2:04 pm
by pspfanMOHH
Kankertje wrote:It runs fine on windows, open command prompt in directory with prxtool then run it like prxtool -f -n something something, it wont "close"

Some EBOOT.BINs are not readable by prxtool, no idea why, I used moskitool script from vhbl/eloader/tools/ for one exploited game which eboot.bin was not readable to get the game's imports from memdump.
Did you read the problem from scratch? I need the EBOOT.BIN to practice with the exploits I already have, I can't use moskitool cause I am not porting vHBL. @Xerpi no luck

Re: Installing the PSPSDK (Linux or Windows)

Posted: Thu Jul 11, 2013 7:53 pm
by qwikrazor87
pspfanMOHH wrote:
Kankertje wrote:It runs fine on windows, open command prompt in directory with prxtool then run it like prxtool -f -n something something, it wont "close"

Some EBOOT.BINs are not readable by prxtool, no idea why, I used moskitool script from vhbl/eloader/tools/ for one exploited game which eboot.bin was not readable to get the game's imports from memdump.
Did you read the problem from scratch? I need the EBOOT.BIN to practice with the exploits I already have, I can't use moskitool cause I am not porting vHBL. @Xerpi no luck
Whether or not you're porting VHBL you're going to need to make an SDK for your exploit.
prxtool will give you the function names and their offsets, moskitool will give you the NIDs and their offsets.

Re: Installing the PSPSDK (Linux or Windows)

Posted: Thu Jul 11, 2013 9:36 pm
by pspfanMOHH
qwikrazor87 wrote:
pspfanMOHH wrote:
Kankertje wrote:It runs fine on windows, open command prompt in directory with prxtool then run it like prxtool -f -n something something, it wont "close"

Some EBOOT.BINs are not readable by prxtool, no idea why, I used moskitool script from vhbl/eloader/tools/ for one exploited game which eboot.bin was not readable to get the game's imports from memdump.
Did you read the problem from scratch? I need the EBOOT.BIN to practice with the exploits I already have, I can't use moskitool cause I am not porting vHBL. @Xerpi no luck
Whether or not you're porting VHBL you're going to need to make an SDK for your exploit.
prxtool will give you the function names and their offsets, moskitool will give you the NIDs and their offsets.
Yes but can't get prxtool to work thats the problem

Re: Installing the PSPSDK (Linux or Windows)

Posted: Thu Jul 11, 2013 10:02 pm
by qwikrazor87
pspfanMOHH wrote:Yes but can't get prxtool to work thats the problem
Well, as Kankertje mentioned, you can use the Ruby script moskitool.rb to get the NIDs and their offsets, then search for the NIDs in the psp libdoc, replace the NIDs with the function names.

Re: Installing the PSPSDK (Linux or Windows)

Posted: Fri Jul 12, 2013 10:06 am
by m0skit0
pspfanMOHH wrote:Using Cygwin since prxtool.exe closes after run
*Windows users facepalm" It closes because it has finished, this is normal behavior for all console programs. Open a console (cmd.exe) then execute protool from the console. This way it won't close. Or simply redirect prxtool output to a file so even if console closes, you have the file with the output.

Re: Installing the PSPSDK (Linux or Windows)

Posted: Fri Jul 12, 2013 2:49 pm
by pspfanMOHH
m0skit0 wrote:
pspfanMOHH wrote:Using Cygwin since prxtool.exe closes after run
*Windows users facepalm" It closes because it has finished, this is normal behavior for all console programs. Open a console (cmd.exe) then execute protool from the console. This way it won't close. Or simply redirect prxtool output to a file so even if console closes, you have the file with the output.
I tried that already :( . It just can't read the EBOOT file (its decrypted, and all of them) also can't read .xml

Re: Installing the PSPSDK (Linux or Windows)

Posted: Sat Aug 17, 2013 11:06 am
by fate6
So trying to install the SDK and get this

Code: Select all

make[1]: Nothing to be done for `clean-target'.
make[1]: Leaving directory `/home/fate6/psptoolchain/build/gdb-6.8/build-psp'
rm -f *.a TEMP errs core *.o *~ \#* TAGS *.E *.log
Checked out revision 2494.
../scripts/009-psplinkusb.sh: 15: cd: can't cd to psplinkusb
../scripts/009-psplinkusb.sh: Failed.
ERROR: Could not run the toolchain script.
here is the 009-psplinkusb.sh

Code: Select all

#!/bin/sh
# psplinkusb.sh by Dan Peori (danpeori@oopo.net)

 ## Exit on errors
 set -e

 ## Download the source code.
 if test ! -d "psplinkusb"; then
  svn checkout http://psp.jim.sh/svn/psp/trunk/pspsdk
 else
  svn update psplinkusb
 fi

 ## Enter the source directory.
 cd psplinkusb

 ## Build and install.
 make -f Makefile.clients clean
 make -f Makefile.clients
 make -f Makefile.clients install
 make -f Makefile.clients clean

EDIT: I should add this is on Xubuntu 13.04

Re: Installing the PSPSDK (Linux or Windows)

Posted: Sat Aug 17, 2013 11:37 am
by qwikrazor87
Change the address to this.

Code: Select all

  svn checkout http://psp.jim.sh/svn/psp/trunk/psplinkusb

Re: Installing the PSPSDK (Linux or Windows)

Posted: Sat Aug 17, 2013 5:51 pm
by fate6
Wow what a dumb mistake >__<
Thanks I will try again