No description
Find a file
2020-10-19 15:44:06 +02:00
.builds Remove sdl2-static from alpine deps 2020-09-06 15:26:16 +02:00
.github Use prebuilt Docker Image for Switch CI (#301) 2020-08-13 18:51:29 +02:00
android Version 1.3.0 2020-10-18 14:27:38 +02:00
assets Add Simple Wide Logo 2020-05-08 15:03:41 +02:00
cli Add wakeup command to CLI (#168) 2020-02-19 18:33:00 +01:00
cmake Temporarily use local Switch Toolchain File 2020-05-30 15:26:27 +02:00
doc Update platform-build.md with additional libraries for Fedora (#336) 2020-10-19 15:44:06 +02:00
gui PS4 Firmware 8.0 Compatibility (Fix #328) 2020-10-18 14:24:37 +02:00
lib PS4 Firmware 8.0 Compatibility (Fix #328) 2020-10-18 14:24:37 +02:00
scripts Use prebuilt Docker Image for Switch CI (#301) 2020-08-13 18:51:29 +02:00
setsu Add Buttons to Setsu 2020-07-03 18:18:50 +02:00
test PS4 Firmware 8.0 Compatibility (Fix #328) 2020-10-18 14:24:37 +02:00
third-party Port to Windows 2019-08-20 18:36:58 +02:00
.appveyor.yml Fix AppVeyor Branch Whitelist 2019-10-12 16:06:24 +02:00
.gitattributes Add some linguist attrs 2019-10-26 11:26:53 +02:00
.gitignore PS4 Firmware 8.0 Compatibility (Fix #328) 2020-10-18 14:24:37 +02:00
.gitmodules Add Android Output using Oboe 2019-09-27 21:53:30 +02:00
.travis.yml Fix macOS on Travis (#265) 2020-06-27 12:30:13 +02:00
CMakeLists.txt Version 1.3.0 2020-10-18 14:27:38 +02:00
COPYING Initial Commit 2019-08-17 14:38:10 +02:00
README.md Add F-Droid info to README.md (#308) 2020-09-03 13:32:34 +02:00
secret.tar.enc Android Signing on Travis 2019-11-02 13:37:13 +01:00

Chiaki Logo

Chiaki

Disclaimer: This project is not endorsed or certified by Sony Interactive Entertainment LLC.

Travis Build Status AppVeyor Build status builds.sr.ht Status

Chiaki is a Free and Open Source Software Client for PlayStation 4 Remote Play for Linux, FreeBSD, OpenBSD, Android, macOS, Windows and potentially even more platforms.

Screenshot

Features

Everything necessary for a full streaming session, including the initial registration and wakeup of the console, is supported. The following features however are yet to be implemented:

  • Congestion Control
  • H264 Error Concealment (FEC and active error recovery however are implemented)
  • Touchpad support (Triggering the Touchpad Button is currently possible from the keyboard though)
  • Rumble
  • Accelerometer/Gyroscope

Installing

You can either download a pre-built release (easier) or build Chiaki from source.

Downloading a Release

Builds are provided for Linux, Android, macOS and Windows.

You can download them here.

  • Linux: The provided file is an AppImage. Simply make it executable (chmod +x <file>.AppImage) and run it.
  • Android: Install from Google Play, F-Droid or download the APK from GitHub.
  • macOS: Drag the application from the .dmg into your Applications folder.
  • Windows: Extract the .zip file and execute chiaki.exe.

Building from Source

Dependencies are CMake, Qt 5 with QtMultimedia, QtOpenGL and QtSvg, FFMPEG (libavcodec with H264 is enough), libopus, OpenSSL 1.1, SDL 2, protoc and the protobuf Python library (only used during compilation for Nanopb). Then, Chiaki builds just like any other CMake project:

git submodule update --init
mkdir build && cd build
cmake ..
make

For more detailed platform-specific instructions, see doc/platform-build.md.

Usage

If your PS4 is on your local network, is turned on or in standby mode and does not have Discovery explicitly disabled, Chiaki should find it. Otherwise, you can add it manually. To do so, click the "+" icon in the top right, and enter your PS4's IP address.

You will then need to register your PS4 with Chiaki. You will need two more pieces of information to do this.

Obtaining your PSN AccountID

Starting with PS4 7.0, it is necessary to use a so-called "AccountID" as opposed to the "Online-ID" for registration (streaming itself did not change). This ID seems to be a unique identifier for a PSN Account and it can be obtained from the PSN after logging in using OAuth. A Python 3 script which does this is provided in scripts/psn-account-id.py. Simply run it in a terminal and follow the instructions. Once you know your ID, write it down. You will likely never have to do this process again.

Obtaining a Registration PIN

To register a PS4 with a PIN, it must be put into registration mode. To do this, on your PS4, simply go to: Settings -> Remote Play (ensure this is ticked) -> Add Device

You can now double-click your PS4 in Chiaki's main window to start Remote Play.

Acknowledgements

This project has only been made possible because of the following Open Source projects: radare2, Cutter, Frida and x64dbg.

Also thanks to delroth for analyzing the registration and wakeup protocol, grill2010 for analyzing the PSN's OAuth Login, as well as a huge thank you to FioraAeterna for giving me some extremely helpful information about FEC and error correction.

About

Created by Florian Märkl.

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see https://www.gnu.org/licenses/.