Skip to content

PlayStation Vita development environment for macOS

Notifications You must be signed in to change notification settings

PSVita-Hack/vitasdk-macOS

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

vitasdk-macOS

PlayStation Vita development under macOS Sierra

============== Why use macOS?

I have been developing homebrew stuff for PlayStation platform since last 15 years and since my first Apple laptop with Osx Panther (2003) it has been my development platform. I don't like open a virtual machine with linux or windows to develop, i like more use all directily in my Mac, so for me it is the best option.

============== Steps

  1. Install macOS Sierra.

I made a clean installation because i like more a fresh install instead of upgrade. I was in Os X Maverick so first i always make a copy of my system in external disk with carbon copy cloner and then check that i can boot from it before install new operating system. You can follow many guides on internet to do it.

  1. Install Xcode

Go to apple appstore download and install Xcode (Version 8)

  1. Install Xcode command line tools

Go to apple developer site and download and install Command Line Tools (macOS 10.12) for Xcode 8 package

  1. Install some misc tools that i use often
  1. Install macports (other people use homebrew instead)

Go to https://www.macports.org/install.php and follow steps described for macOS Sierra

sudo port -v selfupdate

sudo port install autoconf automake bison flex texinfo ncurses wget libelf zlib libtool git gmp openssl mpfr libmpc unrar subversion bzip2 cmake pkgconfig go python34

  1. Create base directory for vitadev and clone repositories
cd /usr/local
sudo mkdir -p vitadev/git
sudo chown -R youruser:staff vitadev
cd vitadev/git
git clone http://github.com/xerpi/libvita2d
git clone http://github.com/xerpi/libftpvita
git clone http://github.com/xerpi/vita_portlibs
git clone http://github.com/frangarcj/psplib4vita
git clone http://github.com/psxdev/debugnet
git clone http://github.com/psxdev/psp2link
git clone http://github.com/psxdev/psp2client
git clone http://github.com/psxdev/vitasdk-macOS
  1. Build toolchain and sdk
cd vitasdk-macOS
./build_macOS.sh
  1. Install toolchain and sdk
cd vitasdk
cp -r bin /usr/local/vitadev
cp -r arm-vita-eabi /usr/local/vitadev
cp -r lib /usr/local/vitadev
cp -r share /usr/local/vitadev
  1. Prepare profile with environment

I use this script vitadev.sh in /usr/local/vitadev customize your own

cat /usr/local/vitadev.sh
export VITADEV=/usr/local/vitadev
export VITASDK=/usr/local/vitadev
export PATH=$VITASDK/bin:$PATH
export PSVITAIP=192.168.1.24
  1. Development session :)
cd /usr/local/vitadev
. ./vitadev.sh
cd git
cd vita_portlibs
make
cd ../libvita2d/libvita2d
make
make install
cd ../../libftpvita/libftpvita
make
make install
cd ../../psplib4vita/psplib
make 
make install
cd ../../debugnet/libdebugnet
make
make install
cd ../../psp2link/libpsp2link
make
make install
  1. Ready to have a lot of fun :)

============== Versions of software downloaded internally by build proccess

============== Credits

About

PlayStation Vita development environment for macOS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%