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! | ||
|title_mode=append | |title_mode=append | ||
|image= | |image=vitacompanionvita.jpg | ||
|image_alt=vitacompanion | |image_alt=vitacompanion | ||
}} | }} | ||
{{Infobox Vita Homebrews | {{Infobox Vita Homebrews | ||
|title=vitacompanion | |title=vitacompanion | ||
|image= | |image=vitacompanionvita.jpg | ||
|description=Development helper plugin. | |description=Development helper plugin. | ||
|author=devnoname120 | |author=devnoname120 | ||
Line 19: | Line 18: | ||
|source=https://github.com/devnoname120/vitacompanion | |source=https://github.com/devnoname120/vitacompanion | ||
}} | }} | ||
'''Vitacompanion''' is a plugin to ease the development of homebrews and plugins on the PS Vita. | |||
==What is Vitacompanion?== | |||
Vitacompanion is a user module which makes developing homebrews for the PS Vita device easier. It does two things: | |||
#Open a FTP server on port 1337. | |||
#Listen to commands on port 1338. | |||
== How To Install Vitacompanion== | |||
Run VitaShell on your PS Vita, press SELECT to activate the FTP server and copy <code>vitacompanion.suprx</code> to <code>ur0:/tai</code>. Finally, add the following line to <code>ur0:/tai/config.txt</code>: | |||
<pre>*main | |||
ur0:tai/vitacompanion.suprx</pre> | |||
==Media== | ==Media== | ||
<youtube>NhgwTei_K48</youtube> | <youtube>NhgwTei_K48</youtube> | ||
== Vitacompanion's Usage == | |||
=== FTP server === | |||
You can upload stuff to your vita by running: | |||
<div class="snippet-clipboard-content notranslate position-relative overflow-auto"> | |||
<pre>curl --ftp-method nocwd -T somefile.zip ftp://IP_TO_VITA:1337/ux0:/somedir/</pre> | |||
Or you can use your regular FTP client. | |||
=== Command server === | |||
Send a command by opening a TCP connection to the port 1338 of your Vita. | |||
For example, you can reboot your vita by running: | |||
<pre>echo reboot | nc IP_TO_PSVITA 1338</pre> | |||
Note that you need to append a newline character to the command that you send. <code>echo</code> already adds one, which is why it works here. | |||
== | === Available commands === | ||
{| | |||
! Command | |||
! Arguments | |||
https:// | ! Explanation | ||
|- | |||
| <code>destroy</code> | |||
| none | |||
| kill all running applications | |||
|- | |||
| <code>launch</code> | |||
| <code><TITLEID></code> | |||
| launch an application by id e.g. <code>launch VHBB00001</code> to launch the [https://github.com/devnoname120/vhbb Vita Homebrew Browser] | |||
|- | |||
| <code>reboot</code> | |||
| none | |||
| reboot the console | |||
|- | |||
| <code>screen</code> | |||
| <code>on</code> or <code>off</code> | |||
| turn screen on or off | |||
|} | |||
== | '''Note''': Commands are defined in [https://github.com/robsdedude/vitacompanion/blob/master/src/cmd_definitions.c <code>src/cmd_definitions.c</code>], you can add new commands there. | ||
== How To Build Vitacompanion== | |||
<pre>mkdir build | |||
cd build | |||
cmake .. | |||
make</pre> | |||
=== Integration in IDE's === | |||
'''VSCode''':https://github.com/imcquee/vitacompanion-VSCODE | |||
==Changelog== | |||
'''(v.1.0)''' | '''(v.1.0)''' | ||
* First Release. | * First Release. | ||
== Acknowledgements == | |||
Thanks to xerpi for his [https://bitbucket.org/xerpi/vita-ftploader/src/87ef1d13a8aa/plugin/?at=master vita-ftploader] plugin, I stole a lot of his code (with his permission). Thanks to cpasjuste for [[Psp2shell Vita]], it inspired me to create this tool. | |||
== External links == | == External links == | ||
* Github - https://github.com/devnoname120/vitacompanion | * Github - https://github.com/devnoname120/vitacompanion | ||
* VitaDB - https://vitadb.rinnegatamante.it/#/info/488 | * VitaDB - https://vitadb.rinnegatamante.it/#/info/488 | ||
Revision as of 12:41, 11 November 2022
vitacompanion | |
---|---|
File:Vitacompanionvita.jpg | |
General | |
Author | devnoname120 |
Type | Plugins |
Version | 1.00 |
License | MIT License |
Last Updated | 2019/06/24 |
Links | |
Download | |
Source | |
Vitacompanion is a plugin to ease the development of homebrews and plugins on the PS Vita.
What is Vitacompanion?
Vitacompanion is a user module which makes developing homebrews for the PS Vita device easier. It does two things:
- Open a FTP server on port 1337.
- Listen to commands on port 1338.
How To Install Vitacompanion
Run VitaShell on your PS Vita, press SELECT to activate the FTP server and copy vitacompanion.suprx
to ur0:/tai
. Finally, add the following line to ur0:/tai/config.txt
:
*main ur0:tai/vitacompanion.suprx
Media
Vitacompanion's Usage
FTP server
You can upload stuff to your vita by running:
curl --ftp-method nocwd -T somefile.zip ftp://IP_TO_VITA:1337/ux0:/somedir/
Or you can use your regular FTP client.
Command server
Send a command by opening a TCP connection to the port 1338 of your Vita.
For example, you can reboot your vita by running:
echo reboot | nc IP_TO_PSVITA 1338
Note that you need to append a newline character to the command that you send. echo
already adds one, which is why it works here.
Available commands
Command | Arguments | Explanation |
---|---|---|
destroy
|
none | kill all running applications |
launch
|
<TITLEID>
|
launch an application by id e.g. launch VHBB00001 to launch the Vita Homebrew Browser
|
reboot
|
none | reboot the console |
screen
|
on or off
|
turn screen on or off |
Note: Commands are defined in src/cmd_definitions.c
, you can add new commands there.
How To Build Vitacompanion
mkdir build cd build cmake .. make
Integration in IDE's
VSCode:https://github.com/imcquee/vitacompanion-VSCODE
Changelog
(v.1.0)
- First Release.
Acknowledgements
Thanks to xerpi for his vita-ftploader plugin, I stole a lot of his code (with his permission). Thanks to cpasjuste for Psp2shell Vita, it inspired me to create this tool.