Skip to content

Linblow/pspsdk_tools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PSPSDK tools

A bunch of tools for developing on the Sony PSP:

  • bin2s / bin2c with new optional argument <alignment>
  • psp-build-exports with new options (i.e --uofw option)
  • psp-fixup-imports
  • psp-kprxgen (not done yet, equivalent to prxgen)
  • psp-prxgen
  • pack-pbp remade from scratch with new options (e.g. --quiet / -q option)
  • psp-sign-np by Hykem

Build and install

Open a terminal in the project's root directory and type:

# Build the tools and install them to the local PSPDEV directory.
# The existing tools, if any, WILL be overwritten.
./b.sh all install

# Show the other available commands.
./b.sh help

A CMake import script will be installed to $PSPDEV/lib/cmake/pspsdk-tools-targets.cmake.
Other projects can then import the tools targets:

# Required for the CMake scripts that include(pspsdk-tools-targets)
list(APPEND CMAKE_MODULE_PATH
  "$ENV{PSPDEV}/lib/cmake"
  "$ENV{PSPDEV}/psp/lib/cmake"
)

# The pspsdk tools targets must be installed locally.
include(pspsdk-tools-targets)

# For example, build the exports C file.
get_target_property(EXEC pspsdk::build-exports LOCATION)
add_custom_command(
  OUTPUT exports.c
  DEPENDS exports.exp
  COMMAND ${EXEC} -b --uofw exports.exp > exports.c
)

About

PSPSDK build and utility tools

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors