Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

PSP2SHELL Vita: Difference between revisions

From GameBrew
m (Text replacement - "GameBrew!" to "GameBrew")
No edit summary
Line 2: Line 2:
|title=Vita Homebrew Apps (Plugins) - GameBrew
|title=Vita Homebrew Apps (Plugins) - GameBrew
|title_mode=append
|title_mode=append
|image=psp2shellvita.jpg
|image=psp2shellvita2.png
|image_alt=psp2shell
|image_alt=PSP2SHELL
}}
}}
{{Infobox Vita Homebrews
{{Infobox Vita Homebrews
|title=psp2shell
|title=PSP2SHELL
|image=psp2shellvita.jpg
|image=psp2shellvita2.png
|description=Debug remote shell for PSVITA.
|description=An utility/remote shell to ease the development process on PS Vita devices.
|author=cpasjuste
|author=cpasjuste
|lastupdated=2022/03/09
|lastupdated=2022/03/09
Line 15: Line 15:
|license=Mixed
|license=Mixed
|download=https://dlhb.gamebrew.org/vitahomebrews/psp2shellvita.7z
|download=https://dlhb.gamebrew.org/vitahomebrews/psp2shellvita.7z
|website=
|website=https://gbatemp.net/threads/psp2shell-ease-development-on-ps-vita-devices.473325/
|source=https://github.com/Cpasjuste/PSP2SHELL
|source=https://github.com/Cpasjuste/PSP2SHELL
}}
}}
'''PSP2SHELL''' is an utility/remote shell (plugin+client, wifi) to ease the development process on PSVITA devices.
You should be able to print debug output over the shell (sceClibPrintf), send files, send/restart your application at anytime saving some precious time for real stuffs.
 
psp2shell is an utility/remote shell (plugin+client, wifi) to ease the development process on PS Vita devices.
 
It was participated in the the GekiHEN Homebrew Competition.
 
==Installation==
Copy psp2shell_k.skprx and psp2shell_m.suprx to ux0:tai/.


You should be able to print debug output over the shell (sceClibPrintf), send files, send/restart your application at anytime saving some precious time for real stuffs.
Add ux0:tai/psp2shell_k.skprx to *KERNEL section of ux0:tai/config.txt.


==How To Install PSP2SHELL?==
Add ux0:tai/psp2shell_m.suprx to *main section of "ux0:tai/config.txt.
* copy "psp2shell_k.skprx" and "psp2shell_m.suprx" to "ux0:/tai/"
* add "ux0:/tai/psp2shell_k.skprx" to "*KERNEL" section of "ux0:/tai/config.txt"
* add "ux0:/tai/psp2shell_m.suprx" to "*main" section of "ux0:/tai/config.txt"
* reboot


==Screenshot==
Reboot.
[[image:psp2shellvita.jpg|600px]]


== Tipcal usage ==
==User guide==
===Enable debug print in your application/module===
===Typical usage===
'''Enable debug print in your application/module'''


Use "'''sceClibPrintf'''" in your application/module to print debug messages to the shell.
Use "sceClibPrintf" in your application/module to print debug messages to the shell.


===Get a shell, get messages===
'''Get a shell, get messages'''


Connect to your ps vita device from your computer with the client (replace "ip" with your ps vita ip address) :
Connect to your ps vita device from your computer with the client (replace "ip" with your ps vita ip address):


<pre>./psp2shell_cli ip 3333</pre>
./psp2shell_cli ip 3333


From there, you'll be able to see your sceClibPrintf messages coming in. Note that, to not miss some messages, the module wait for the shell on every print. This means your application will run slower if you use a lot of debug output.
From there, you'll be able to see your sceClibPrintf messages coming in. Note that, to not miss some messages, the module wait for the shell on every print. This means your application will run slower if you use a lot of debug output.


===Update, restart your application===
'''Update, restart your application'''
 
Re-build your application then, from the shell, you can send the newly complied version of your application, and restart it automatically :
Re-build your application then, from the shell, you can send the newly complied version of your application, and restart it automatically :


<pre>reload /path/to/my/app/build/eboot.bin</pre>
reload /path/to/my/app/build/eboot.bin
Note that if your application is not running (or crashed), you'll have to specify the title id (9 chars) of your application (so we know where to put the new eboot.bin):


Note that if your application is not running (or crashed), you'll have to specify the title id (9 chars) of your application (so we know where to put the new eboot.bin) :
load TITLEID01 /path/to/my/app/build/eboot.bin


<pre>load TITLEID01 /path/to/my/app/build/eboot.bin</pre>
'''A little more'''


===A little more===
There are a few more commands available, like "ls", "rm", "send", "modlist", "modinfo"...  
There are a few more commands available, like &quot;ls&quot;, &quot;rm&quot;, &quot;send&quot;, &quot;modlist&quot;, &quot;modinfo&quot;... You can type &quot;help&quot; in the shell for a list of available commands.


==How To Build PSP2SHELL?==
You can type "help" in the shell for a list of available commands.
===Building the plugins===
<pre>mkdir cmake-build &amp;&amp; cd cmake-build
cmake -DCMAKE_TOOLCHAIN_FILE=&quot;$VITASDK/share/vita.toolchain.cmake&quot; -DCMAKE_BUILD_TYPE=Release ..
make</pre>


===Building the client (linux/deb)===
==Screenshots==
<pre>sudo apt-get install libreadline-dev
psp2shellvita2.png
cd psp2shell_cli &amp;&amp; mkdir cmake-build &amp;&amp; cd cmake-build
cmake ..
make</pre>


==Changelog==
==Changelog==
'''psp2shell-2022.03.09'''
'''psp2shell-2022.03.09'''
* minor fixes and improvements
*Minor fixes and improvements.


'''psp2shell-2017.06.22'''
'''psp2shell-2017.06.22'''
* minor changes
*Minor changes.


'''psp2shell-2017.06.21'''
'''psp2shell-2017.06.21'''
*fix some cmd paths problem (cmd_ls, cmd_cd...)
*Gix some cmd paths problem (cmd_ls, cmd_cd...).


'''psp2shell-2017.06.06'''
'''psp2shell-2017.06.06'''
*fix stdout hook mutex ?
*Gix stdout hook mutex?


'''psp2shell-2017.06.05'''
'''psp2shell-2017.06.05'''
* add "release" target
* Add "release" target.


== Thanks ==
==Credit==
consolex-bordeaux.fr, ScHlAuChi, noname120, motoharu, xyz, yifanlu, frangarcj, Rinnegatamante, davee and people i may forget for what they do for the ps vita.
consolex-bordeaux.fr, ScHlAuChi, noname120, motoharu, xyz, yifanlu, frangarcj, Rinnegatamante, davee and people i may forget for what they do for the ps vita.


== External links ==
== External links ==
* Github - https://github.com/Cpasjuste/PSP2SHELL
* GitHub - https://github.com/Cpasjuste/PSP2SHELL
* GekiHEN Contest - https://gekihen.customprotocol.com/en/project/psp2shell
* GBAtemp - https://gbatemp.net/threads/psp2shell-ease-development-on-ps-vita-devices.473325/
* VitaDB - https://vitadb.rinnegatamante.it/#/info/267
* VitaDB - https://vitadb.rinnegatamante.it/#/info/267

Revision as of 04:55, 12 Ocak 2023

PSP2SHELL
Psp2shellvita2.png
General
Authorcpasjuste
TypePlugins
Version2022.03.09
LicenseMixed
Last Updated2022/03/09
Links
Download
Website
Source

You should be able to print debug output over the shell (sceClibPrintf), send files, send/restart your application at anytime saving some precious time for real stuffs.

psp2shell is an utility/remote shell (plugin+client, wifi) to ease the development process on PS Vita devices.

It was participated in the the GekiHEN Homebrew Competition.

Installation

Copy psp2shell_k.skprx and psp2shell_m.suprx to ux0:tai/.

Add ux0:tai/psp2shell_k.skprx to *KERNEL section of ux0:tai/config.txt.

Add ux0:tai/psp2shell_m.suprx to *main section of "ux0:tai/config.txt.

Reboot.

User guide

Typical usage

Enable debug print in your application/module

Use "sceClibPrintf" in your application/module to print debug messages to the shell.

Get a shell, get messages

Connect to your ps vita device from your computer with the client (replace "ip" with your ps vita ip address):

./psp2shell_cli ip 3333

From there, you'll be able to see your sceClibPrintf messages coming in. Note that, to not miss some messages, the module wait for the shell on every print. This means your application will run slower if you use a lot of debug output.

Update, restart your application

Re-build your application then, from the shell, you can send the newly complied version of your application, and restart it automatically :

reload /path/to/my/app/build/eboot.bin Note that if your application is not running (or crashed), you'll have to specify the title id (9 chars) of your application (so we know where to put the new eboot.bin):

load TITLEID01 /path/to/my/app/build/eboot.bin

A little more

There are a few more commands available, like "ls", "rm", "send", "modlist", "modinfo"...

You can type "help" in the shell for a list of available commands.

Screenshots

psp2shellvita2.png

Changelog

psp2shell-2022.03.09

  • Minor fixes and improvements.

psp2shell-2017.06.22

  • Minor changes.

psp2shell-2017.06.21

  • Gix some cmd paths problem (cmd_ls, cmd_cd...).

psp2shell-2017.06.06

  • Gix stdout hook mutex?

psp2shell-2017.06.05

  • Add "release" target.

Credit

consolex-bordeaux.fr, ScHlAuChi, noname120, motoharu, xyz, yifanlu, frangarcj, Rinnegatamante, davee and people i may forget for what they do for the ps vita.

External links

Advertising: