Skip to content

Commit

Permalink
Deployed 6224741 with MkDocs version: 1.4.3
Browse files Browse the repository at this point in the history
  • Loading branch information
streetpea committed May 31, 2024
1 parent 42f8971 commit 26f5c64
Show file tree
Hide file tree
Showing 5 changed files with 31 additions and 25 deletions.
11 changes: 7 additions & 4 deletions print_page/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1767,7 +1767,7 @@ <h2 id="setup-configuration-chiakichiaki4deck-via-internet-outside-of-home-conne
<p>You can also either the remote connection via PSN or open up ports to connect from the Internet, but the performance will not be as good, with increased input lag being the most noticeable downgrade. In this scenario, your connection will depend on both the Internet connection of your PlayStation console via the router and the Internet connection of your computer via your location (internet speeds themselves will apply). The farther away (more hops from your router) you get, the worse the performance will get. If you are still in the same state, it will likely still be relatively good. However, if you go cross-country or something like that, it can degrade significantly. Nevertheless, it can be very convenient to use while traveling, especially when playing less timing intensive games (i.e., games that would play well via cloud streaming). Setup is covered in the <a href="#setup-remoteconnection" rel="noopener" target="_blank">remote connection section</a>.</p>
</div></section><section class="print-page" id="setup-remoteconnection"><h1 id="setup-remoteconnection-set-up-chiaki4deck-to-work-outside-of-your-home-network">Set up chiaki4deck to work outside of your home network<a class="headerlink" href="#setup-remoteconnection-set-up-chiaki4deck-to-work-outside-of-your-home-network" title="Permanent link">&para;</a></h1>
<h2 id="setup-remoteconnection-remote-connection-via-psn">Remote Connection via PSN<a class="headerlink" href="#setup-remoteconnection-remote-connection-via-psn" title="Permanent link">&para;</a></h2>
<p><strong>Supports Both IPv4 and IPV6</strong></p>
<p><strong>Supports IPV4 ONLY due to PlayStation itself only supporting IPV4 for remote play as of PS5</strong></p>
<h3 id="setup-remoteconnection-overview">Overview<a class="headerlink" href="#setup-remoteconnection-overview" title="Permanent link">&para;</a></h3>
<p>The remote connection via PSN uses PSN servers as an initial go-between to exchange the necessary information to initiate a direct connection between your client device (i.e., computer, portable gaming device, etc.) and your PlayStation console using a technique called <a href="https://en.wikipedia.org/wiki/UDP_hole_punching" rel="noopener" target="_blank">UDP Holepunching</a>. This replicates the behavior of this feature in the official remote play app from Sony.</p>
<div class="admonition question">
Expand All @@ -1784,7 +1784,7 @@ <h3 id="setup-remoteconnection-requirements">Requirements<a class="headerlink" h
</ol>
<div class="admonition warning">
<p class="admonition-title">Not All Networks Supported</p>
<p>Not all network types are supported by UDP holepunching. For some networks, this process will fail and in that case you will have to use a manual remote connection with port forwarding. If you have tried 5 or so times and it has failed consistently with the message <em>Couldn't contact PlayStation over established connection, likely unsupported network type</em>, your network type is currently unsupported. If you are able to connect over the same wireless connection with the official remote play app and are willing to help the Chiaki4deck developers improve Chiaki4deck to support your network type please reach out to the dev team via <a href="https://www.reddit.com/message/compose/?to=Street_Pea_6693" rel="noopener" target="_blank">Reddit</a> or <a href="mailto:[email protected]">email</a>. If you are failing with <em>Connection over PSN failed closing ...</em>, please either add your logs to an appropriate existing issue or open a new issue on the Chiaki4deck Github.</p>
<p>Not all network types are supported by UDP holepunching. For some networks, this process will fail and in that case you will have to use a manual remote connection with port forwarding. If you have tried 5 or so times and it has failed consistently with the message <em>Couldn't contact PlayStation over established connection, likely unsupported network type</em>, your network type is currently unsupported. You will need to use <a href="#setup-remoteconnection-manual-remote-connection">the manual instructions</a>. If you are able to connect over the same wireless connection with the official remote play app and are willing to help the Chiaki4deck developers improve Chiaki4deck to support your network type please reach out to the dev team via <a href="https://www.reddit.com/message/compose/?to=Street_Pea_6693" rel="noopener" target="_blank">Reddit</a> or <a href="mailto:[email protected]">email</a>. If you are failing with <em>Connection over PSN failed closing ...</em>, please either add your logs to an appropriate existing issue or open a new issue on the Chiaki4deck Github.</p>
</div>
<h3 id="setup-remoteconnection-setup">Setup<a class="headerlink" href="#setup-remoteconnection-setup" title="Permanent link">&para;</a></h3>
<ol>
Expand Down Expand Up @@ -1847,7 +1847,6 @@ <h3 id="setup-remoteconnection-initiating-connection">Initiating Connection<a cl
<p>It may be hard to test if this feature is working properly for you at home (before using it remotely) if you don't have access to another network. In this case, you can use a cellular hotspot to test the connection.</p>
</div>
<h2 id="setup-remoteconnection-manual-remote-connection">Manual Remote Connection<a class="headerlink" href="#setup-remoteconnection-manual-remote-connection" title="Permanent link">&para;</a></h2>
<p><strong>Supports IPv4 only</strong></p>
<h3 id="setup-remoteconnection-set-static-ip">Set Static IP<a class="headerlink" href="#setup-remoteconnection-set-static-ip" title="Permanent link">&para;</a></h3>
<p>In order to prevent your IP from changing which would break the port forwarding rules if you ever disconnect your PlayStation console from your network and reconnect it (especially if other devices are added to the network in the meantime), you should go into your router settings and reserve an IP address for your PlayStation (DHCP IP reservation / "static" IP) or create a hostname for it. For a TP-Link, Netgear, Asus or Linskys router, follow <a href="https://www.coolblue.nl/en/advice/assign-fixed-ip-address-router.html" rel="noopener" target="_blank">these instructions</a>. If you have a different router, you can search (using a search engine such as DuckDuckGo or Google) for instructions for that specific router using the formula "dhcp reservation myroutername router" such as "dhcp reservation netgear router" and follow the instructions to reserve an IP for your PlayStation console so that it won't change. Alternatively, if your router has an option to set hostnames for your devices, you can set a hostname for your PlayStation console and use your hostname in the automation instead of a static IP address.</p>
<h3 id="setup-remoteconnection-port-forwarding">Port Forwarding<a class="headerlink" href="#setup-remoteconnection-port-forwarding" title="Permanent link">&para;</a></h3>
Expand Down Expand Up @@ -1964,11 +1963,15 @@ <h3 id="setup-remoteconnection-test-connection">Test Connection<a class="headerl
</ol>
</div>
<div class="tabbed-block">
<p>Add your remote IP in the automation script when going through the next (<a href="#setup-automation" rel="noopener" target="_blank">automation</a>) section. Once setup on your local network, try to launch the PlayStation when connected to a different network such as a mobile hotspot.</p>
<p>The console selected for auto-connect will work with the manual remote connection out of the box for PS5. It will launch using the manual connection if it is discovered and the local connection is not discovered. For PS4, unfortunately, discovery doesn't work for remote connections so you will have to wake it up and start it manually from the menu.</p>
</div>
</div>
</div>
<div class="admonition question">
<p class="admonition-title">My Remote Connection isn't Working, What Do I do?</p>
<p>If you have gone through the port forwarding and made sure everything is applied correctly and it still doesn't work, it is likely you are behind <a href="https://nfware.com/blog/what-is-the-difference-between-nat-and-cgnat#:~:text=CGNAT%20(Carrier%2DGrade%20NAT),a%20single%2C%20public%20IP%20address." rel="noopener" target="_blank">CGNAT (carrier-grade NAT)</a>. This means the router that you would need to forward ports on is owned by the ISP and you can't access it to do so. (Note: There is a protocol called <a href="https://en.wikipedia.org/wiki/Port_Control_Protocol" rel="noopener" target="_blank">PCP (Port Control Protocol)</a> that allows you to access it but if port forwarding doesn't work that means either your ISP or router doesn't support it.) This means port forwarding won't work. You can try the remote connection via PSN as this can still work given you have a compatible network type. However, is that isn't working either you will need to setup a VPN on your home network to connect. See <a href="https://github.com/williampiat3/ImprovingPSRemotePlay?tab=readme-ov-file#install-a-vpn-server" rel="noopener" target="_blank">this site</a> for details on how to do setup a VPN using a raspberry PI with Chiaki4deck (replace Chiaki with Chiaki4deck).</p>
</div>
<div class="admonition question">
<p class="admonition-title">If my connection stops working, what should I do?</p>
<p>If the connection stops working please make sure that the IP address for your router hasn't changed by checking it again via one of the methods above or a different one to make sure it's the same. If it has changed, you will need to update to the new IP address of your router.</p>
</div></section><section class="print-page" id="setup-automation"><h1 id="setup-automation-automating-chiaki4deck-launch">Automating <code>chiaki4deck</code> Launch<a class="headerlink" href="#setup-automation-automating-chiaki4deck-launch" title="Permanent link">&para;</a></h1>
Expand Down
2 changes: 1 addition & 1 deletion search/search_index.json

Large diffs are not rendered by default.

13 changes: 8 additions & 5 deletions setup/remoteconnection/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -971,7 +971,7 @@

<h1 id="set-up-chiaki4deck-to-work-outside-of-your-home-network">Set up chiaki4deck to work outside of your home network<a class="headerlink" href="#set-up-chiaki4deck-to-work-outside-of-your-home-network" title="Permanent link">&para;</a></h1>
<h2 id="remote-connection-via-psn">Remote Connection via PSN<a class="headerlink" href="#remote-connection-via-psn" title="Permanent link">&para;</a></h2>
<p><strong>Supports Both IPv4 and IPV6</strong></p>
<p><strong>Supports IPV4 ONLY due to PlayStation itself only supporting IPV4 for remote play as of PS5</strong></p>
<h3 id="overview">Overview<a class="headerlink" href="#overview" title="Permanent link">&para;</a></h3>
<p>The remote connection via PSN uses PSN servers as an initial go-between to exchange the necessary information to initiate a direct connection between your client device (i.e., computer, portable gaming device, etc.) and your PlayStation console using a technique called <a href="https://en.wikipedia.org/wiki/UDP_hole_punching" rel="noopener" target="_blank">UDP Holepunching</a>. This replicates the behavior of this feature in the official remote play app from Sony.</p>
<div class="admonition question">
Expand All @@ -988,7 +988,7 @@ <h3 id="requirements">Requirements<a class="headerlink" href="#requirements" tit
</ol>
<div class="admonition warning">
<p class="admonition-title">Not All Networks Supported</p>
<p>Not all network types are supported by UDP holepunching. For some networks, this process will fail and in that case you will have to use a manual remote connection with port forwarding. If you have tried 5 or so times and it has failed consistently with the message <em>Couldn't contact PlayStation over established connection, likely unsupported network type</em>, your network type is currently unsupported. If you are able to connect over the same wireless connection with the official remote play app and are willing to help the Chiaki4deck developers improve Chiaki4deck to support your network type please reach out to the dev team via <a href="https://www.reddit.com/message/compose/?to=Street_Pea_6693" rel="noopener" target="_blank">Reddit</a> or <a href="mailto:[email protected]">email</a>. If you are failing with <em>Connection over PSN failed closing ...</em>, please either add your logs to an appropriate existing issue or open a new issue on the Chiaki4deck Github.</p>
<p>Not all network types are supported by UDP holepunching. For some networks, this process will fail and in that case you will have to use a manual remote connection with port forwarding. If you have tried 5 or so times and it has failed consistently with the message <em>Couldn't contact PlayStation over established connection, likely unsupported network type</em>, your network type is currently unsupported. You will need to use <a href="#manual-remote-connection">the manual instructions</a>. If you are able to connect over the same wireless connection with the official remote play app and are willing to help the Chiaki4deck developers improve Chiaki4deck to support your network type please reach out to the dev team via <a href="https://www.reddit.com/message/compose/?to=Street_Pea_6693" rel="noopener" target="_blank">Reddit</a> or <a href="mailto:[email protected]">email</a>. If you are failing with <em>Connection over PSN failed closing ...</em>, please either add your logs to an appropriate existing issue or open a new issue on the Chiaki4deck Github.</p>
</div>
<h3 id="setup">Setup<a class="headerlink" href="#setup" title="Permanent link">&para;</a></h3>
<ol>
Expand Down Expand Up @@ -1051,7 +1051,6 @@ <h3 id="initiating-connection">Initiating Connection<a class="headerlink" href="
<p>It may be hard to test if this feature is working properly for you at home (before using it remotely) if you don't have access to another network. In this case, you can use a cellular hotspot to test the connection.</p>
</div>
<h2 id="manual-remote-connection">Manual Remote Connection<a class="headerlink" href="#manual-remote-connection" title="Permanent link">&para;</a></h2>
<p><strong>Supports IPv4 only</strong></p>
<h3 id="set-static-ip">Set Static IP<a class="headerlink" href="#set-static-ip" title="Permanent link">&para;</a></h3>
<p>In order to prevent your IP from changing which would break the port forwarding rules if you ever disconnect your PlayStation console from your network and reconnect it (especially if other devices are added to the network in the meantime), you should go into your router settings and reserve an IP address for your PlayStation (DHCP IP reservation / "static" IP) or create a hostname for it. For a TP-Link, Netgear, Asus or Linskys router, follow <a href="https://www.coolblue.nl/en/advice/assign-fixed-ip-address-router.html" rel="noopener" target="_blank">these instructions</a>. If you have a different router, you can search (using a search engine such as DuckDuckGo or Google) for instructions for that specific router using the formula "dhcp reservation myroutername router" such as "dhcp reservation netgear router" and follow the instructions to reserve an IP for your PlayStation console so that it won't change. Alternatively, if your router has an option to set hostnames for your devices, you can set a hostname for your PlayStation console and use your hostname in the automation instead of a static IP address.</p>
<h3 id="port-forwarding">Port Forwarding<a class="headerlink" href="#port-forwarding" title="Permanent link">&para;</a></h3>
Expand Down Expand Up @@ -1168,11 +1167,15 @@ <h3 id="test-connection">Test Connection<a class="headerlink" href="#test-connec
</ol>
</div>
<div class="tabbed-block">
<p>Add your remote IP in the automation script when going through the next (<a href="../automation/" rel="noopener" target="_blank">automation</a>) section. Once setup on your local network, try to launch the PlayStation when connected to a different network such as a mobile hotspot.</p>
<p>The console selected for auto-connect will work with the manual remote connection out of the box for PS5. It will launch using the manual connection if it is discovered and the local connection is not discovered. For PS4, unfortunately, discovery doesn't work for remote connections so you will have to wake it up and start it manually from the menu.</p>
</div>
</div>
</div>
<div class="admonition question">
<p class="admonition-title">My Remote Connection isn't Working, What Do I do?</p>
<p>If you have gone through the port forwarding and made sure everything is applied correctly and it still doesn't work, it is likely you are behind <a href="https://nfware.com/blog/what-is-the-difference-between-nat-and-cgnat#:~:text=CGNAT%20(Carrier%2DGrade%20NAT),a%20single%2C%20public%20IP%20address." rel="noopener" target="_blank">CGNAT (carrier-grade NAT)</a>. This means the router that you would need to forward ports on is owned by the ISP and you can't access it to do so. (Note: There is a protocol called <a href="https://en.wikipedia.org/wiki/Port_Control_Protocol" rel="noopener" target="_blank">PCP (Port Control Protocol)</a> that allows you to access it but if port forwarding doesn't work that means either your ISP or router doesn't support it.) This means port forwarding won't work. You can try the remote connection via PSN as this can still work given you have a compatible network type. However, is that isn't working either you will need to setup a VPN on your home network to connect. See <a href="https://github.com/williampiat3/ImprovingPSRemotePlay?tab=readme-ov-file#install-a-vpn-server" rel="noopener" target="_blank">this site</a> for details on how to do setup a VPN using a raspberry PI with Chiaki4deck (replace Chiaki with Chiaki4deck).</p>
</div>
<div class="admonition question">
<p class="admonition-title">If my connection stops working, what should I do?</p>
<p>If the connection stops working please make sure that the IP address for your router hasn't changed by checking it again via one of the methods above or a different one to make sure it's the same. If it has changed, you will need to update to the new IP address of your router.</p>
</div>
Expand All @@ -1182,7 +1185,7 @@ <h3 id="test-connection">Test Connection<a class="headerlink" href="#test-connec
<small>

Last update:
<span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-date">May 26, 2024</span>
<span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-date">May 31, 2024</span>

<br>
Created:
Expand Down
Loading

0 comments on commit 26f5c64

Please sign in to comment.