Difference between revisions of "PlayStation Vita"

From ScummVM :: Wiki
Jump to navigation Jump to search
(Removed duplicate information and added a link to the new docs. Added a “Developer information” section and moved the “Building from source” information here.)
 
(34 intermediate revisions by 6 users not shown)
Line 2: Line 2:
name=PlayStation Vita|
name=PlayStation Vita|
version={{StableVersion}}|
version={{StableVersion}}|
backend=psp2|
backend=psp2 + sdl|
status=Maintained|
status=Maintained|
mp3=yes|
mp3=yes|
Line 43: Line 43:
}}
}}


ScummVM has been ported to the [[Sony]] PlayStation Vita by Cpasjuste. The information contained on this page is based on [https://github.com/scummvm/scummvm/blob/master/dists/psp2/readme-psp2.md readme-psp2.md].
== About ==
ScummVM has been ported to the [[Sony]] PlayStation Vita.  


= Installation =
For more information, including how to install and use ScummVM, see the [https://docs.scummvm.org/en/latest/other_platforms/playstation_vita.html PlayStation Vita page] in the [https://docs.scummvm.org/ ScummVM user documentation].
== Prerequisites ==
* A homebrew enabled PlayStation Vita console.
* At least one ScummVM supported game. The list of compatible games can be seen here: http://www.scummvm.org/compatibility/
* The page [[Where to get the games]] references some places where those games can be bought. Demonstration versions for most of the supported games are downloadable on http://scummvm.org/demos/


== Installing ==
== Developer information ==
 
* From a computer, download the installable package [http://www.scummvm.org/frs/scummvm/2.0.0/scummvm-2.0.0-vita.vpk here].
* Copy the .vpk file to the PlayStation Vita and install it.
 
== Configuring Games ==
 
The user manual describes how to add games to ScummVM and launch them: [[User Manual]]
 
== Notes ==
 
Saves are written to the ux0:/data/scummvm/saves folder.
 
= Controls =
 
{| class="wikitable"
! Button !! Action
|-
|Left stick||Mouse
|-
|R + Left stick||Slow Mouse
|-
|Cross||Left mouse button
|-
|Circle||Right mouse button
|-
|DPad||Cursor Keys (useful for character motion)
|-
|R + DPad||Diagonal Cursor Keys
|-
|L Trigger||Game menu (F5)
|-
|R Trigger||Shift (used to enable Mass Add in menu)
|-
|Square||Period '.' (used to skip dialog lines)
|-
|R + Square||Space ' '
|-
|Triangle||Escape (used to skip cutscenes)
|-
|R + Triangle||Return
|-
|Start||ScummVM's global in-game menu
|-
|Select||Toggle virtual keyboard
|-
|R + Select||AGI predictive input dialog
|}
 
= Building From Source =


=== Building from source ===
This port of ScummVM to the Vita is based on SDL2. It uses the open source SDK VITASDK.
This port of ScummVM to the Vita is based on SDL2. It uses the open source SDK VITASDK.


The dependencies needed to build it are:
The dependencies needed to build it are:


* The toolchain from https://github.com/vitadev/vdpm
* The toolchain from https://github.com/vitasdk/vdpm
* zlib, libpng, libjpeg-turbo, libogg, libvorbis, flac, curl, openssl, freetype, from https://github.com/vitadev/vdpm
* zlib, libpng, libjpeg-turbo, libogg, libvorbis, flac, curl, openssl, freetype, from https://github.com/vitasdk/vdpm
* libmad from https://github.com/Cpasjuste/libmad-psp2
* libmad from https://github.com/Cpasjuste/libmad-psp2
* SDL2 from https://github.com/Cpasjuste/SDL-Vita
* SDL2 from https://github.com/rsn8887/SDL-Vita
* ScummVM from https://github.com/scummvm/scummvm
* ScummVM from https://github.com/scummvm/scummvm
* The fbo branch of libvita2d from https://github.com/frangarcj/vita2dlib/tree/fbo/libvita2d , copied under new names libvita2d_fbo.a in $VITASDK/arm-vita-eabi/lib and vita2d_fbo.h in $VITASDK/arm-vita-eabi/include. The renaming is necessary to prevent conflict with the official vita2d lib that comes with the VitaSDK.
* The fbo branch of libvita2d from https://github.com/frangarcj/vita2dlib/tree/fbo/libvita2d , copied under new names libvita2d_fbo.a in $VITASDK/arm-vita-eabi/lib and vita2d_fbo.h in $VITASDK/arm-vita-eabi/include. The renaming is necessary to prevent conflict with the official vita2d lib that comes with the VitaSDK.
Line 116: Line 65:
Once all the dependencies are correctly setup, an installable package can be obtained from source by issuing the following command:
Once all the dependencies are correctly setup, an installable package can be obtained from source by issuing the following command:


<source lang="sh">
<syntaxhighlight lang="bash">
./configure --host=psp2 && make psp2vpk
./configure --host=psp2 && make psp2vpk
</source>
</syntaxhighlight>
 
= Disclaimer =
 
Unauthorized distribution of an installable package with non freeware games included is a violation of the copyright law and is as such forbidden.


= Thanks =  
== Thanks ==  


* Xavier from consoleX for donating a ps vita device
* Xavier from consoleX for donating a ps vita device
* xerpi for initial SDL2 port
* xerpi for initial SDL2 port
* VITASDK and henkaku developers
* VITASDK and henkaku developers

Latest revision as of 04:14, 16 January 2021

psp2.png PlayStation Vita Port
Latest Released Version 2.8.0
Supported Audio Options MP3, OGG, FLAC, Uncompressed
Additional Webpage(s) None
Maintainer(s) cpasjuste, rsn8887
Packager(s) cpasjuste, rsn8887
Forum Port Forum
Status Maintained
First Official Version 2.0.0

About

ScummVM has been ported to the Sony PlayStation Vita.

For more information, including how to install and use ScummVM, see the PlayStation Vita page in the ScummVM user documentation.

Developer information

Building from source

This port of ScummVM to the Vita is based on SDL2. It uses the open source SDK VITASDK.

The dependencies needed to build it are:

Once all the dependencies are correctly setup, an installable package can be obtained from source by issuing the following command:

./configure --host=psp2 && make psp2vpk

Thanks

  • Xavier from consoleX for donating a ps vita device
  • xerpi for initial SDL2 port
  • VITASDK and henkaku developers