More actions
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{{#seo: | {{#seo: | ||
|title=Vita Homebrew Apps (Plugins) - GameBrew! | |title=Vita Homebrew Apps (Plugins) - GameBrew! | ||
Line 13: | Line 12: | ||
|lastupdated=2017/06/22 | |lastupdated=2017/06/22 | ||
|type=Plugins | |type=Plugins | ||
|version= | |version=2022.03.09 | ||
|license=Mixed | |license=Mixed | ||
|download=https://dlhb.gamebrew.org/vitahomebrews/psp2shellvita.7z | |download=https://dlhb.gamebrew.org/vitahomebrews/psp2shellvita.7z | ||
Line 19: | Line 18: | ||
|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. | |||
== | ==How To Install PSP2SHELL?== | ||
* 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== | |||
[[image:psp2shellvita.jpg|600px]] | |||
== | == Tipcal 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) : | |||
<pre>./psp2shell_cli ip 3333</pre> | |||
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 : | |||
<pre>reload /path/to/my/app/build/eboot.bin</pre> | |||
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) : | |||
<pre>load TITLEID01 /path/to/my/app/build/eboot.bin</pre> | |||
===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. | |||
==How To Build PSP2SHELL?== | |||
===Building the plugins=== | |||
<pre>mkdir cmake-build && cd cmake-build | |||
cmake -DCMAKE_TOOLCHAIN_FILE="$VITASDK/share/vita.toolchain.cmake" -DCMAKE_BUILD_TYPE=Release .. | |||
make</pre> | |||
===Building the client (linux/deb)=== | |||
<pre>sudo apt-get install libreadline-dev | |||
cd psp2shell_cli && mkdir cmake-build && cd cmake-build | |||
cmake .. | |||
make</pre> | |||
==Changelog== | |||
'''psp2shell-2022.03.09''' | |||
* minor fixes and improvements | |||
'''psp2shell-2017.06.22''' | |||
* minor changes | |||
'''psp2shell-2017.06.21''' | |||
*fix some cmd paths problem (cmd_ls, cmd_cd...) | |||
'''psp2shell-2017.06.06''' | |||
*fix stdout hook mutex ? | |||
'''psp2shell-2017.06.05''' | |||
* add "release" target | |||
== Thanks == | |||
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 | ||
* VitaDB - https://vitadb.rinnegatamante.it/#/info/267 | * VitaDB - https://vitadb.rinnegatamante.it/#/info/267 | ||
Revision as of 01:23, 14 November 2022
psp2shell | |
---|---|
File:Psp2shellvita.jpg | |
General | |
Author | cpasjuste |
Type | Plugins |
Version | 2022.03.09 |
License | Mixed |
Last Updated | 2017/06/22 |
Links | |
Download | |
Source | |
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.
How To Install PSP2SHELL?
- 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
Tipcal 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.
How To Build PSP2SHELL?
Building the plugins
mkdir cmake-build && cd cmake-build cmake -DCMAKE_TOOLCHAIN_FILE="$VITASDK/share/vita.toolchain.cmake" -DCMAKE_BUILD_TYPE=Release .. make
Building the client (linux/deb)
sudo apt-get install libreadline-dev cd psp2shell_cli && mkdir cmake-build && cd cmake-build cmake .. make
Changelog
psp2shell-2022.03.09
- minor fixes and improvements
psp2shell-2017.06.22
- minor changes
psp2shell-2017.06.21
- fix some cmd paths problem (cmd_ls, cmd_cd...)
psp2shell-2017.06.06
- fix stdout hook mutex ?
psp2shell-2017.06.05
- add "release" target
Thanks
consolex-bordeaux.fr, ScHlAuChi, noname120, motoharu, xyz, yifanlu, frangarcj, Rinnegatamante, davee and people i may forget for what they do for the ps vita.