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
2012-11-28 11:09:12 +01:00
android Add -DARM and -DUSING_GLES to standalone Android makefiles. 2012-11-26 09:06:22 +01:00
Common iOS Support 2012-11-26 14:06:35 +10:00
Core Unbreak sceAudioOutput2OutputBlocking - must be careful about returns in blocking functions! 2012-11-28 11:09:12 +01:00
ext Missing new line at eof warning fix 2012-11-25 00:57:34 +00:00
GPU Some new NIDs, log fix, very minor bugfix. 2012-11-27 11:40:30 +01:00
headless Make headless take arguments like a standard cli. 2012-11-24 21:59:38 -08:00
native@8b6adf4cd6 Reasonably correct viewport handling. Optional debug stats overlay (not always 100% working). 2012-11-26 17:35:08 +01:00
pspautotests@9b0212641a MacOSX buildfix. Doesn't run right yet though. 2012-11-25 12:25:07 +01:00
SDL MacOSX buildfix. Doesn't run right yet though. 2012-11-25 12:25:07 +01:00
Windows Safer matrix loading. Change default G3D log level from Notice to Error. 2012-11-26 18:04:34 +01:00
.gitignore Add build*/ dirs to gitignore 2012-11-21 19:04:23 -03: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
build_ppgeatlas.sh Add internal 2D drawing library that goes through the Ge emulation for portability. 2012-11-18 13:04:49 +01:00
CMakeLists.txt Support building PPSSPPHeadless on APPLE 2012-11-26 19:06:18 -03: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
Globals.h Fixes and optimizations to vertex decoding and lighting. 2012-11-16 15:16:14 +01: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
ppge_atlas.zim Add internal 2D drawing library that goes through the Ge emulation for portability. 2012-11-18 13:04:49 +01:00
ppge_atlasscript.txt Add internal 2D drawing library that goes through the Ge emulation for portability. 2012-11-18 13:04:49 +01:00
README.md MacOSX buildfix. Doesn't run right yet though. 2012-11-25 12:25:07 +01:00
test.py Make headless take arguments like a standard cli. 2012-11-24 21:59:38 -08: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.

Building for Linux/BSD/etc

Install the libsdl1.2 (SDL 1.2) development headers. This is called libsdl1.2-devel 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. A Qt-based interface is planned.

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 Blackberry

To build for Blackberry, you must first have the latest Native SDK installed from developer.blackberry.com/native and have compiled the SDL port available from github.com/blackberry/SDL to your NDK workspace. Then checkout the latest version of PPSSPP to your NDK workspace.

To set up your environment for cross-compiling you must then use: source ~/bbndk/bbndk-env.sh

Finally, you are ready to compile. Change directory to ppsspp/SDL and run: ./blackberry_build.sh

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

Currently SDL is required for sound output. EGL is used for the GLES2 interface, which is identical to the Android one. There are plans to move to a Qt interface and a different sound library (such as asound) in future.