GithubHelp home page GithubHelp logo

necnotdie / psptoolchain Goto Github PK

View Code? Open in Web Editor NEW

This project forked from pspdev/psptoolchain

0.0 0.0 0.0 560 KB

A script to automatically build an open-source toolchain for PSP homebrew development.

Shell 100.00%

psptoolchain's Introduction

What does this do?

This program will automatically build and install a compiler and other tools used in the creation of homebrew software for the Sony Playstation Portable handheld videogame system.

How do I use it?

  1. Set up your environment by installing the following software:

     autoconf, automake, bison, bzip2, cmake, doxygen, diffutils, flex,
     g++/gcc-c++, gcc, git, gzip, libarchive, libcurl, libelf, libgpgme,
     libssl, libtool, libusb-dev, m4, make, ncurses, patch, pkg-config,
     python3, readline, subversion, tar, tcl, texinfo, unzip, wget, xz-utils
    
  2. Set the PSPDEV and PATH environmental variables:

    export PSPDEV=/usr/local/pspdev
    export PATH=$PATH:$PSPDEV/bin

    The PSPDEV variable is the directory the toolchain will be installed to, change this if you wish. If possible the toolchain script will automatically add these variables to your systems login scripts, otherwise you will need to manually add these variables yourself.

  3. Run the toolchain script:

     ./toolchain.sh
    

NOTE: If you have issues with compiling try increasing the amount of memory available to your system by creating a swapfile.

dd if=/dev/zero of=/swapfile bs=1M count=2048
chmod 600 /swapfile
mkswap /swapfile
swapon /swapfile
[...compilation...]
swapoff /swapfile
rm /swapfile

Ubuntu/Debian

  1. Install the required packages by running:

     sudo ./prepare-debian-ubuntu.sh
    
  2. Build and install the toolchain and SDK.

     sudo ./toolchain-sudo.sh
    

    NOTE: If you do not wish for the toolchain to be installed in /usr/local/pspdev then edit toolchain-sudo.sh and change the $INSTALLDIR variable.

OSX

  1. Install MacPorts or Homebrew.

  2. Install all the libraries you will need before building by running:

     sudo ./prepare-mac-os.sh
    

    NOTE: You can use -b or --brew flag for using Homebrew and -p or --port flag for using MacPorts.

  3. Build and install the toolchain and SDK.

     sudo ./toolchain-sudo.sh
    

Where do I go from here?

Visit the following sites to learn more:

PSP-DEV Wiki

PSP Homebrew Community Discord

psptoolchain's People

Contributors

take-cheeze avatar artart78 avatar carstene1ns avatar samrh avatar 0xcaff avatar dogo avatar top-sekret avatar n00neimp0rtant avatar john-k avatar ftpiano avatar sharkwouter avatar libcg avatar xantares avatar edernucci avatar dbeef avatar cheezecake avatar wintermute avatar davidgfnet avatar benmclean avatar flipbit03 avatar csnover avatar yaplus avatar oopo avatar bluesyncline avatar elsonlee avatar himanshugoel2797 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.