Actions

Vita Moonlight Client

From GameBrew - a wiki dedicated to Video Game Homebrew.

Vita Moonlight Client
None.png
General
Author(s)xyzz
TypeUtilities
VersionAlpha 4
LicenceMixed
Links
Download
Website
Source
Advertisements


Vita-Moonlight-Client-Img.jpg


Fourth vita alpha

New features in alpha 4:

  • GUI
  • Control scheme remapping
  • Configurable front touchscreen buttons
  • Configurable back touchscreen deadzone
  • Option to disable power save
  • Default config (now in ux0:data/moonlight/moonlight.conf)



Configuration and usage:

The very first connection's gonna take a long time due to the process of generating certificates.

server.txt and config.txt aren't needed anymore - everything is done from within the app.

Obviously stream configuration only applied after stream restart, input applied instantly.

If you want to use Vita native resolution (960x544) you need to go to NVIDIA control panel => change resolution and add the resolution manually. (Customize=>Create custom resolution) Also, some games might need additional settings to stream 960x544 (for example, for Portal 2 I had to add -width 960 -height 544 command line options).

Default mapping

  • LT/LR/LT/RT - back touchscreen
  • Pause stream - front-left corner of front touchscreen
  • Special key (XBox key, Guide key) - bottom-left corner of front touchscreen

Remapping

Create folder ux0:data/moonlight/mappings and put mappings/vita.conf there, enable Enable mapping file in the settings.
Example: config file with swapped triggers and bumpers: vita.conf

Special buttons on front touchscreen

Check settings. You can also enter key code manually, check this page to find out the right one. Keep in mind that Alt-Tab or Windows key will not work.

Back touchscreen deadzone

Check settings. For easier configuring menu also visualise touches.

Disabling power save

Enabled by default. Vita will not go to sleep when stream is running.

Known issues:

Credits:

Third vita alpha

Thanks to @d3m3vilurr there's now support for mouse and L2/R2/L3/R3.

Use front touchscreen for mouse movements and actions:

  • left click - one finger tap
  • right click - two finger tap
  • pointer move - one finger swipe
  • scroll - two finger swipe

Use back touchscreen for L2/R2/L3/R3. The zone mappings are:

  • L2(LT): left-top
  • R2(RT): right-top
  • L3(LS CLK): left-botton
  • R3(RS CLK): right-bottom



Config instructions:

Before you launch the bubble, create ux0:data/moonlight/server.txt and type in your server IP address (e.g. 192.168.140.1)

Place an additional configuration file to ux0:data/moonlight/settings.txt.
In that file you write four numbers: stream width, height, FPS and bitrate. So the file might look like this:
1280 720 30 2000
for 1280x720 30 FPS and 2000 kbps bitrate
960 544 60 4000
for 960x544 60 FPS and 4000 kbps bitrate
If you want to use Vita native resolution (960x544) you need to go to NVIDIA control panel => change resolution and add the resolution manually. (Customize=>Create custom resolution) Also, some games might need additional settings to stream 960x544 (for example, for Portal 2 I had to add -width 960 -height 544 command line options).

Second vita alpha

For this version, you need to place an additional configuration file to ux0:data/moonlight/settings.txt
In that file you write four numbers: stream width, height, FPS and bitrate. So the file might look like this:
1280 720 30 2000
for 1280x720 30 FPS and 2000 kbps bitrate
960 544 60 4000
for 960x544 60 FPS and 4000 kbps bitrate
If you want to use Vita native resolution (960x544) you need to go to NVIDIA control panel => change resolution and add the resolution manually. (Customize=>Create custom resolution) Also, some games might need additional settings to stream 960x544 (for example, for Portal 2 I had to add -width 960 -height 544 command line options).

Vita Alpha

This is a super pre-alpha. What works:

  • Initial setup and pairing
  • Starting steam
  • Input
  • 30fps

What's missing:

  • Sound
  • Proper UI
  • Starting apps other than steam
  • 60fps :( (already implemented, but I don't want to build another set of .vpk's -- it'd be better if somebody wrote a proper configurable UI)

There are two vpk files available: moonlight-2000.vpk uses 2000 kbps, moonlight-5000.vpk uses 5000 kbps. If the 5000 version stutters for you, try the 2000 one, if the 2000 one looks too crappy, try the 5000 one.

Before you launch the bubble, create ux0:data/moonlight/server.txt using FTP and type in your server IP address (e.g. 192.168.140.1)

If the app freezes (most often happens on a GET request), just restart the bubble.

EDIT: please note that I won't have much time to develop and support this port over the next few weeks/months. I hope somebody else can pick it up and add the missing features.

EDIT2: I've updated the release with a new version that shouldn't crash that much, please redownload and reinstall the .vpk files.