Difference between revisions of "PlayStation Vita"

Jump to navigation Jump to search
1,318 bytes added ,  15:31, 25 October 2018
m
Text replacement - "<syntaxhighlight lang="sh"" to "<syntaxhighlight lang="bash""
m (Text replacement - "<syntaxhighlight lang="sh"" to "<syntaxhighlight lang="bash"")
(45 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{PortFeatures|
{{PortFeatures|
name=Playstation Vita|
name=PlayStation Vita|
version=buildbot|
version={{StableVersion}}|
backend=psp2|
backend=psp2|
status=Maintained|
status=Maintained|
Line 12: Line 12:
16bits=yes|
16bits=yes|
buildbot=yes|
buildbot=yes|
firstversion=1.10.0|
firstversion=2.0.0|
maintainer=[[User:rsn8887|rsn8887]], cpasjuste|
maintainer=cpasjuste, [[User:rsn8887|rsn8887]]|
packager=[[User:rsn8887|rsn8887]]|
packager=cpasjuste, [[User:rsn8887|rsn8887]]|
pkgend=-psp2.zip|
pkgend=-vita.vpk|
icon=psp2|
icon=psp2|
notes=The first stable version will be 1.10.0, currently an unstable daily build is available [http://buildbot.scummvm.org/snapshots/master/psp2-master-latest.zip psp2-master-latest.zip]|
forum=21|


agi=yes|
agi=yes|
Line 43: Line 43:
}}
}}


ScummVM has been ported to the [[Sony]] Playstation Vita. The information contained on this page is based on [https://github.com/scummvm/scummvm/blob/master/dists/psp2/readme-psp2.md readme-psp2.md].
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].
 
The only available Vita package at the moment is the daily build [http://buildbot.scummvm.org/snapshots/master/psp2-master-latest.zip psp2-master-latest.zip]. Version 1.10.0 will be the first stable Vita release once it is finished.


= Installation =
= Installation =
== Prerequisites ==
== Prerequisites ==
* A homebrew enabled PlayStation Vita console.
* 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/
* At least one ScummVM supported game. The list of compatible games can be seen here: https://www.scummvm.org/compatibility/
* The page http://wiki.scummvm.org/index.php/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/
* 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 https://scummvm.org/demos/


== Installing ==
== Installing ==


* From a computer, download the installable package here [http://buildbot.scummvm.org/snapshots/master/psp2-master-latest.zip psp2-master-latest.zip].
* From a computer, download the installable release package [https://www.scummvm.org/frs/scummvm/2.0.0/scummvm-2.0.0-vita.vpk here].
* Unzip and copy the .vpk file it to the PlayStation Vita and install it.  
* Alternatively, the latest nightly version with lots of improvements is [http://buildbot.scummvm.org/snapshots/master/psp2-master-latest.zip here] (needs to be unzipped).
* Copy the .vpk file to the PlayStation Vita and install it.  


== Configuring Games ==
== Configuring Games ==


The user manual describes how to add games to ScummVM and launch them: http://wiki.scummvm.org/index.php/User_Manual
The user manual describes how to add games to ScummVM and launch them: [[User Manual]]


== Notes ==
== Notes ==


Saves are written in the ux0:/data/scummvm/saves folder.
Saves are written to the ux0:/data/scummvm/saves folder.


= Controls =  
= Controls =  
{{VitaControls}}
= Touch Controls =
Touch control mode can be changed via the option "touchpad mouse mode" in options->controls.
The front touch always uses a direct mode, where the mousepointer jumps to the finger position (like on a mobile phone screen).
When "touchpad mouse mode" is off, the rear touch is disabled.
When "touchpad mouse mode" is on, the rear touch is enabled in addition to front touch. The rear touch uses an indirect mode, where the finger can be far away from the pointer and still move it, (like on a laptop touchpad). The pointer speed setting in options->controls affects how far the pointer moves in response to a finger movement on the rear panel.
The advanced option "frontpanel_touchpad_mode=false" in scummvm.ini can be changed with a texteditor to "frontpanel_touchpad_mode=true" . This forces the front panel into an indirect mode similar to the rear panel. If this option is set, the pointer does not jump to the finger anymore.
The two finger drag is useful for Full Throttle to bring up the action menu, and in the menu to use the scroll bar in the game list. It works in the following way: holding down two fingers for a while initiates a drag'n'drop where the left mouse button is being held down. The first finger affects mouse motion during the drag, the second finger can be removed without affecting the drag. When the last finger is removed, the left mouse button is released and the drag is over. Note the second finger can be anywhere, it doesn't have to be close to the first finger, and it doesn't have to be put down simultaneously with the first finger, either.
Typical usage of dual finger drag and drop in Full Throttle: Hold down one finger over an object. Then hold down a second finger somewhere on the screen for a little bit to initiate a dual finger drag. This brings up the action menu. Now let go of the second finger. The dual-finger drag continues since one finger is still down. Select an action with the first finger, and let go of the first finger to end the drag.


{| class="wikitable"
There is also a three finger drag that causes the right-mouse button to be held down, instead of the left one. It might be useful for some games.
! 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 PSP2 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/vitadev/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/vitadev/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/Cpasjuste/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-gcc/lib and vita2d_fbo.h in $VITASDK/arm-vita-eabi-gcc/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.
* The pre-compiled gtu release of vita-shader-collection from https://github.com/frangarcj/vita-shader-collection/releases, copy all headers to $VITASDK/arm-vita-eabi-gcc/include and the library libvitashaders.a to $VITASDK/arm-vita-eabi-gcc/lib
* The pre-compiled gtu release of vita-shader-collection from https://github.com/frangarcj/vita-shader-collection/releases, copy all headers to $VITASDK/arm-vita-eabi/include and the library libvitashaders.a to $VITASDK/arm-vita-eabi/lib


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:


<syntaxhighlight lang="bash">
./configure --host=psp2 && make psp2vpk
./configure --host=psp2 && make psp2vpk
</syntaxhighlight>


= Disclaimer =  
= Disclaimer =  
TrustedUser
2,147

edits

Navigation menu