Alex

alex-free.github.io

PSN00bSDK Builder

By Alex Free

Automatically build the PSN00bSDK by Lameguy64 on Linux or Windows in a self-contained manner, to not affect anything else on your system. A psn00b-env command is provided which adds all the tools installed to /usr/local/psn00bsdk to your $PATH, and additionally sets the proper PSN00BSDK_LIBS envar to enable use of the SDK in the current shell.

Homepage Github

Downloads

Version 1.0.5 (1/25/2024)

Changes:

Previous versions.

Usage

The PSN00bsdk builder installs everything to /usr/local/psn00bsdk. PSN00bSDK Builder currently will setup mipsel-none-elf GCC 12.2.0/Binutils 2.40 with the latest git commit of the PSN00bSDK at time of script execution.

Supported Operating Systems:

1) If your on Windows, install MSYS2 and start the MSYS2 MSYS shell. On Linux, open your terminal.

2) Download the latest release and cd into the extracted directory.

3) Execute ./build.sh. This will take quite awhile to complete since on the toolchain and sdk will are all compiled from source.

To use the SDK/toolchain execute the psn00b-env to add the toolchain/sdk to your $PATH, and to set the PSN00BSDK_LIBS env var. This must be done for each new shell you want to use it with.

After running the ./build.sh script, you can use the ./sdk.sh script to update the PSN00bSDK to the latest version at any time. This command does not rebuild the toolchain, which is much faster then running ./build.sh again. To rebuild the toolchain and the sdk all over again, execute the ./build.sh script once again.

You can also use WSL on Windows instead of MSYS2. Just follow the linux specific instructions if using WSL.

If you want to remove anything installed by either the build.sh or sdk.sh scripts at any time, just rm -rf /usr/local/psn00bsdk. The build.sh script in fact already does this when started before rebuilding everything from source.

License

PSN00bSDK Builder itself is released into the public domain, please see the file unlicense.txt for more info. The PSN00bSDK is released under various licenses. The toolchain/compiler is released under the GNU GPL v3.1.