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

Vitacompanion Command Line Interface: Difference between revisions

From GameBrew
m (HydeWing moved page Vitacompanion Command Line Interface Vita to Vitacompanion Command Line Interface without leaving a redirect)
No edit summary
Line 1: Line 1:
{{cleanup|article|Needs cleanup}}
{{#seo:
{{#seo:
|title=Vita Homebrew PC Tools (PC Utilities) - GameBrew
|title=Vita Homebrew PC Tools (PC Utilities) - GameBrew
Line 9: Line 8:
|title=vitacompanion Command Line Interface
|title=vitacompanion Command Line Interface
|image=vitacompanioncommandlineinterfacevita.jpg
|image=vitacompanioncommandlineinterfacevita.jpg
|description=A command line interface that utilizes vitacompanion by devnoname120 https://github.com/devnoname120/vitacompanion
|description=A command line interface that utilizes vitacompanion by devnoname120.
|author=imcquee
|author=imcquee
|lastupdated=2019/08/13
|lastupdated=2019/08/14
|type=PC Utilities
|type=PC Utilities
|version=2019
|version=2019
|license=Mixed
|license=Mixed
|download=https://dlhb.gamebrew.org/vitahomebrews/vitacompanioncommandlineinterfacevita.7z
|download=https://dlhb.gamebrew.org/vitahomebrews/vitacompanioncommandlineinterfacevita.7z
|website=
|website=https://github.com/imcquee/vitacompanion-cli
|source=https://github.com/imcquee/vitacompanion-cli
|source=https://github.com/imcquee/vitacompanion-cli
}}
}}
A command line interface that utilizes vitacompanion by devnoname120 https://github.com/devnoname120/vitacompanion
A command line interface that utilizes [[Vitacompanion Plugin|vitacompanion]] by devnoname120.


==Media==
It allows you to easily communicate with the vita via predefined commands.
<youtube>NhgwTei_K48</youtube>


This means that you can send and launch and close apps on your Vita without touching it, which makes developing homebrews and plugins for the Vita tremendously easier.


==Screenshots==
==Installation==
https://dlhb.gamebrew.org/vitahomebrews/vitacompanioncommandlineinterfacevita-01.jpg
Vitacompanion:
https://dlhb.gamebrew.org/vitahomebrews/vitacompanioncommandlineinterfacevita-02.jpg
*This extension requires [[Vitacompanion Plugin|vitacompanion]] to be installed and running on your Vita.
https://dlhb.gamebrew.org/vitahomebrews/vitacompanioncommandlineinterfacevita-03.jpg
*Follow the [[Vitacompanion_Plugin#Installation|instructions]] to install it.
https://dlhb.gamebrew.org/vitahomebrews/vitacompanioncommandlineinterfacevita-04.jpg
https://dlhb.gamebrew.org/vitahomebrews/vitacompanioncommandlineinterfacevita-05.jpg
https://dlhb.gamebrew.org/vitahomebrews/vitacompanioncommandlineinterfacevita-06.jpg
https://dlhb.gamebrew.org/vitahomebrews/vitacompanioncommandlineinterfacevita-07.jpg
https://dlhb.gamebrew.org/vitahomebrews/vitacompanioncommandlineinterfacevita-08.jpg


==Changelogs==
This extension:
'''(v.1.0)'''
*Make sure you have [https://nodejs.org/ nodejs] installed and correctly configure on your machine.
* First Release.
 
Install using
npm install -g vitacompanion-cli
 
or if you need permission
sudo npm install -g vitacompanion-cli
 
==User guide==
===Connecting for the first time===
Connect to the vita using this command
vita ip x.x.x.x
 
You will be prompted to enter the IP address in x.x.x.x format ex -> 128.23.21.1.
 
It will save this value so you don't have to call 'vita ip' everytime.
 
To change it call 'vita ip' again.
 
Then to see a full list of commands type 'vita -h' or 'vita -help'.
 
<pre>
vita -h
 
Usage: vita [options] [command]
 
A Command Line Interface for communicating with the Vita via devnonam120 vitacompanion library
 
Options:
  -v, --version          output the version number
  -h, --help              output usage information
 
Commands:
  ip <ip_addr>            Set Device IP Address
  on                      Turn Screen On
  off                    Turn Screen Off
  reboot|r                Reboot Device
  launch|l <TITLE_ID>    Launch Application by ID
  kill|k                  Kill all Running Applications
  copy|cp <target> <dir>  Copy Local File to Device
  payload|p              Send and Run Payload
  stay|s                  Toggle Keep Screen On Mode
  debug|d                Toggle Debug Mode
</pre>
 
===Examples===
====Send File====
vita cp myapp.vpk ux0:/downloads
 
====Send Payload====
vita p
 
This will send the new eboot.bin to your device, wake it up, close all other applications, and finally launch the new version.
 
Make sure you are in your project's directory. Either have eboot.bin and param.sfo files in the directory or a vpk file, it doesn't matter if it is in a subdirectory like 'src' because all subdirectories will be scanned.
 
====Debug Mode====
vita d
 
This will send an initial payload similar to 'vita payload' command. It will then listen for changes made to the eboot.bin file and then launch your application after a change occurs. Simply run make and the new version should be installed and launched on the device.
 
Make sure you are in your project's directory. Either have eboot.bin and param.sfo files in the directory or a vpk file, it doesn't matter if it is in a subdirectory like 'src' because all subdirectories will be scanned.
 
This will block your current terminal so you will need to open another to continue to do work.
 
====Keep Vita Awake====
vita s
 
This will intermittenly send a command to keep your device screen on. In a future update it will be able to keep your device awake without the screen on.
 
This will block your current terminal so you will need to open another to continue to do work.
 
==Credits==
Massive thanks to [https://github.com/devnoname120 devnoname120] for Vita Companion.
 
Additional thanks to [https://github.com/Rinnegatamante Rinnegatamante] for his php implementation of a param.sfo parser.


== External links ==
== External links ==
* Official Website -
* GitHub - https://github.com/imcquee/vitacompanion-cli
* Github - https://github.com/imcquee/vitacompanion-cli
* VitaDB -
* Gbatemp -
* Google Source -
* Reddit -
* Gitlab -

Revision as of 10:45, 14 Ocak 2023

vitacompanion Command Line Interface
File:Vitacompanioncommandlineinterfacevita.jpg
General
Authorimcquee
TypePC Utilities
Version2019
LicenseMixed
Last Updated2019/08/14
Links
Download
Website
Source

A command line interface that utilizes vitacompanion by devnoname120.

It allows you to easily communicate with the vita via predefined commands.

This means that you can send and launch and close apps on your Vita without touching it, which makes developing homebrews and plugins for the Vita tremendously easier.

Installation

Vitacompanion:

This extension:

  • Make sure you have nodejs installed and correctly configure on your machine.

Install using

npm install -g vitacompanion-cli

or if you need permission

sudo npm install -g vitacompanion-cli

User guide

Connecting for the first time

Connect to the vita using this command

vita ip x.x.x.x

You will be prompted to enter the IP address in x.x.x.x format ex -> 128.23.21.1.

It will save this value so you don't have to call 'vita ip' everytime.

To change it call 'vita ip' again.

Then to see a full list of commands type 'vita -h' or 'vita -help'.

vita -h

Usage: vita [options] [command]

A Command Line Interface for communicating with the Vita via devnonam120 vitacompanion library

Options:
  -v, --version           output the version number
  -h, --help              output usage information

Commands:
  ip <ip_addr>            Set Device IP Address
  on                      Turn Screen On
  off                     Turn Screen Off
  reboot|r                Reboot Device
  launch|l <TITLE_ID>     Launch Application by ID
  kill|k                  Kill all Running Applications
  copy|cp <target> <dir>  Copy Local File to Device
  payload|p               Send and Run Payload
  stay|s                  Toggle Keep Screen On Mode
  debug|d                 Toggle Debug Mode

Examples

Send File

vita cp myapp.vpk ux0:/downloads

Send Payload

vita p

This will send the new eboot.bin to your device, wake it up, close all other applications, and finally launch the new version.

Make sure you are in your project's directory. Either have eboot.bin and param.sfo files in the directory or a vpk file, it doesn't matter if it is in a subdirectory like 'src' because all subdirectories will be scanned.

Debug Mode

vita d

This will send an initial payload similar to 'vita payload' command. It will then listen for changes made to the eboot.bin file and then launch your application after a change occurs. Simply run make and the new version should be installed and launched on the device.

Make sure you are in your project's directory. Either have eboot.bin and param.sfo files in the directory or a vpk file, it doesn't matter if it is in a subdirectory like 'src' because all subdirectories will be scanned.

This will block your current terminal so you will need to open another to continue to do work.

Keep Vita Awake

vita s

This will intermittenly send a command to keep your device screen on. In a future update it will be able to keep your device awake without the screen on.

This will block your current terminal so you will need to open another to continue to do work.

Credits

Massive thanks to devnoname120 for Vita Companion.

Additional thanks to Rinnegatamante for his php implementation of a param.sfo parser.

External links

Advertising: