A PSP emulator for Android, Windows, Mac and Linux, written in C++. Want to contribute? Join us on Discord at https://discord.gg/5NJB6dD or just send pull requests / issues. For discussion use the forums at forums.ppsspp.org.
Go to file
Unknown W. Brackets 339b2839b3 Finish implementing savestates for fonts.
Oops, missed this before.  Was crashing FF3 and games using custom fonts.
2013-03-20 23:37:57 -07:00
android Android build fix 2013-03-20 09:19:54 +08:00
assets Update for Qt project files. New Symbian icon (Belle style) thanks to z435312561. Stat64 -> stat. 2013-01-22 16:17:44 +10:00
Blackberry Update version to v0.7 for Windows, Blackberry, Symbian 2013-03-12 12:44:30 +10:00
Common Finish implementing savestates for fonts. 2013-03-20 23:37:57 -07:00
Core Finish implementing savestates for fonts. 2013-03-20 23:37:57 -07:00
ext Set _CRT_SECURE_NO_WARNINGS 2013-03-16 09:17:39 +01:00
flash0/font Streamlined font and smaller size 2013-03-18 20:02:36 +08:00
GPU spacing fix 2013-03-16 21:37:56 +08:00
headless Set _CRT_SECURE_NO_WARNINGS 2013-03-16 09:17:39 +01:00
ios Enable iTunes file sharing (for those who install with Xcode and aren't jailbroken) 2013-03-18 21:10:40 +06:00
native@3c160ecb5a In Qt, use mobile UI for anything non-Linux due to threads issue. So, Windows Qt UI runs fine now. 2013-03-20 08:58:26 +10:00
pspautotests@d448d857e0 Update pspautotest, fix a couple of minor vfpu bugs (don't seem to fix anything) 2013-03-17 21:58:32 +01:00
Qt In Qt, use mobile UI for anything non-Linux due to threads issue. So, Windows Qt UI runs fine now. 2013-03-20 08:58:26 +10:00
SDL Move blackberry files in to their own directory as it is unrelated to SDL 2013-01-23 11:14:23 +10:00
Tools/SaveTool Fixed two other memory leaks I missed. 2013-01-25 15:07:36 -05:00
unittest Set _CRT_SECURE_NO_WARNINGS 2013-03-16 09:17:39 +01:00
Windows iOS: fix significant audio stutter. 2013-03-17 11:32:57 -07:00
.gitignore Revise .gitignore, changed this filename. 2013-03-02 12:48:05 -08:00
.gitmodules Add pspautotests as a submodule. 2012-11-09 10:03:05 +01:00
b.sh MacOSX buildfix. Doesn't run right yet though. 2012-11-25 12:25:07 +01:00
CMakeLists.txt Non-Windows buildfix 2013-03-19 14:28:26 +01:00
gentest.py More work on gentest, fix a VFPU bug it found comparing to real PSP! 2012-11-11 21:32:52 +00:00
git-version.cmake Fix typo breaking git-version.cpp gen in cmake. 2013-03-17 23:45:41 -07:00
Globals.h Walk a pointer when enqueuing audio. 2013-01-29 08:19:06 -08:00
LICENSE.TXT Switch to "GPL 2.0 or later" for various reasons. I wrote most of the code I imported from Dolphin (which is GPL2-but-not-later), so it should be OK. 2012-11-04 23:24:00 +01:00
README.md Fix for iOS CMake 2013-02-24 13:23:04 +10:00
test.py Update for pspautotests 2013-03-17 19:24:35 +01:00

PPSSPP - a fast and portable PSP emulator

Written by Henrik Rydgård

Released under the GPL 2.0 in November 2012

Official website: http://www.ppsspp.org/

To contribute, see the development page.

For the latest source code and build instructions, see our github page.

Basic build instructions

(for more detailed instructions, see the development page)

First of all, after having checked out the source, don't forget to run:

git submodule update --init

in order to get the "native" library.

Now, the actual building:

PPSSPP currently uses CMake for its build system. In order to build for most systems, create a build directory and run:

cmake path/to/ppsspp
make

Alternatively, run b.sh which will create the directory for you.

You can specify the -G parameter to cmake to choose a generator. The NMake Makefiles, Visual Studio 11 (projects + sln), GNU Makefiles and Unix Makefiles generators have been tested.

Of course in-tree builds are supported, but that makes cleanup harder to do; with out-of-tree builds you can just remove the build directory.

Note: There is also a Qt frontend available. Simply open PPSSPPQt.pro in Qt Creator 2.6+ and press run. The Qt frontend currently supports Windows, Linux, Blackberry 10, Symbian and Meego.

Building for Linux/BSD/etc

Install the libsdl1.2 (SDL 1.2) development headers. This is called libsdl1.2-dev on Debian/Ubuntu, SDL-devel on Fedora/RHEL, sdl12 on BSD ports.

Currently the user interface is identical to Android's, operated with the mouse.

Alternatively, a Qt-based frontend is available in the Qt/ dir. Open PPSSPPQt.pro with Qt Creator. Install libsdl1.2 if you want to use USB Gamepad. If the build has an error about finding mobility or multimedia:

  • Install the package "qtmobility-dev"

Building for OSX

Install the Xcode Command Line Tools and, using macports, fink or homebrew, install the SDL development headers. This is called sdl on homebrew. Just follow the basic build instructions afterwards.

Currently the user interface is identical to Android's, operated with the mouse. A Qt-based interface is planned.

Building for Android

To build for android, first you must set the ANDROID_NDK environment variable to point to the path of your NDK install. This is done on windows cmd with set ANDROID_NDK=X:\..., on bourne shells with export ANDROID_NDK=/path/to/ndk, and on C shells with setenv ANDROID_NDK /path/to/ndk.

Create a build-android directory and inside it run:

cmake -DCMAKE_TOOLCHAIN_FILE=path/to/ppsspp/android/android.toolchain.cmake path/to/ppsspp
make

After make finishes, it will have created the needed .so files in path/to/ppsspp/android/libs/armeabi-v7a. You can now use the build.xml in the android/ dir to build the final executable, or import the android/ folder as an existing project in Eclipse.

Note that Eclipse won't notice if you have made changes to the C++ code. Introduce a meaningless change to a random .java file such as a whitespace to get Eclipse to rebuild the project.

Also note that the Visual Studio generators aren't compatible with compilers other than Microsoft's, but NMake Makefiles works fine.

Building for iOS

Create a build-ios directory and inside it run:

cmake -DCMAKE_TOOLCHAIN_FILE=../ios/ios.toolchain.cmake -GXcode ..

Then open the generated project in Xcode.

For more information, see: http://code.google.com/p/ios-cmake/wiki/HowTo

Building for Blackberry

To build for Blackberry, you must first have the latest Native SDK installed.

To set up your environment for cross-compiling you must then use:

source ~/bbndk/bbndk-env.sh

Finally, you are ready to compile. Go to ppsspp/Blackberry/ and run:

./build.sh

If you are on Windows, you will need GNU and CMake to run the bash script.

Alternatively, you can use the Qt frontend by compiling the PPSSPPQt.pro in the Qt/ directory with qmake from the NDK or QtCreator 2.6+.

Building for Symbian

To build for Symbian, you require:

  1. GCC 4.6.3 from Mentor Graphics.

  2. Symbian Qt libraries. You can find these in the final Nokia Qt SDK or online.

  3. Set up your SDK to use Symbian GCCE 4.6.3. See a tutorial here: http://www.summeli.fi/?p=4220 You will need to add the GCCE 4.6.3 variant to Symbian\tools\sbs\lib\config\variants.xml as follows:

Then simply compile the PPSSPPQt.pro with qmake from the SDK or QtCreator 2.6+.