Skip to content

Commit

Permalink
Documentation touch-up, change AC proton download
Browse files Browse the repository at this point in the history
- change AC proton download to the new CoZ-hosted one
  - added cURL output to stderr if debug mode is on bc it took me a bit
    to figure out I need to add -L to the command
  - get rid of the MD5 var, it's not used anyway lmao

- a few final touches on the README and documentation
  • Loading branch information
Macitron authored and Enorovan committed Mar 1, 2024
1 parent 2aa2b43 commit 9d6f011
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 8 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ This Bash script is intended to automate the process of installing CoZ Steam pat

**The instructions below are written specifically for the Steam Deck** as this has proven to be the most common use case. They should be largely adaptable to any desktop Linux installation, but for more general instructions, system requirements, and other information about the script including the CLI mode, see [GENERAL-INFO.md](/docs/GENERAL-INFO.md).

See [TROUBLESHOOTING.md](/docs/TROUBLESHOOTING.md) if anything goes wrong during usage.

## Setup

1. Switch to [Desktop Mode](https://youtu.be/FAf2s99-iik).
Expand Down Expand Up @@ -54,4 +56,4 @@ Worry not! See [TROUBLESHOOTING.md](/docs/TROUBLESHOOTING.md) for a list of comm

------------

The Polyversal Linux Steam Patcher for the Committee of Zero's Science Adventure Steam Patches on Linux has been tested on Arch Linux, Fedora 37, and SteamOS 3.x. Any pull requests or feedback related to other distribtions are especially appreciated.
The Polyversal Linux Steam Patcher for the Committee of Zero's Science Adventure Steam Patches on Linux has been tested on Arch Linux, Fedora 37, and SteamOS 3.x. Any pull requests or feedback related to other distributions are especially appreciated.
4 changes: 3 additions & 1 deletion docs/AC.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,6 @@ The Polyversal Patcher makes it easy to install this Proton version:

And that's it! You can [return to the instructions](/README.md#setup) and pick up where you left off.

For troubleshooting, see the aptly-named [TROUBLESHOOTING.md](/docs/TROUBLESHOOTING.md).
If for some reason the script is unable to successfully install the custom Proton, you can [directly download it here](https://github.com/CommitteeOfZero/ProtonGE-AC/releases/download/1.0.0/protonge-anonymouscode.tar.gz) and [install it manually](https://github.com/GloriousEggroll/proton-ge-custom#installation).

For all other troubleshooting, see the aptly-named [TROUBLESHOOTING.md](/docs/TROUBLESHOOTING.md).
2 changes: 1 addition & 1 deletion docs/GAMES.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Below is a table with relevant information for each game that currently has a pa
| CHAOS;CHILD | 8 | cc | 970570 |
| STEINS;GATE 0 | 8 | sg0 | 825630 |
| ROBOTICS;NOTES DaSH | 7[^rn] | rnd | 1111390 |
| ANONYMOUS;CODE | [Custom Proton-GE build](http://sonome.dareno.me/projects/coz-linux-deck.html) | ac | 2291020 |
| ANONYMOUS;CODE | [Custom Proton-GE build](https://github.com/CommitteeOfZero/ProtonGE-AC/releases) | ac | 2291020 |

Using Proton Experimental may or may not work for any given game; be sure to try it with the required version given here before troubleshooting further.

Expand Down
2 changes: 1 addition & 1 deletion docs/VERIFY.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Below you can find a list of the quickest ways to verify that the installation of each game's CoZ patch was successful.

Regardless of the specific game, do make sure upon launching from Steam that you are met with the black CoZ game launcher and not the vanilla (uglier) beige launcher.
Regardless of the specific game, do make sure upon launching from Steam that you are met with the black CoZ game launcher and not the (uglier) beige vanilla launcher.

As always, check [TROUBLESHOOTING.md](/docs/TROUBLESHOOTING.md) if it turns out that your game has in fact not been patched correctly.

Expand Down
12 changes: 8 additions & 4 deletions polyversal
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@ readonly URL_RELEASES="https://github.com/${REPO_ID}/releases"
readonly URL_API_LATEST="https://api.github.com/repos/${REPO_ID}/releases/latest"

# Custom Proton download
readonly AC_PROTON_URL='https://hawkhe.art/protonge-anonymouscode.tar.gz'
readonly AC_PROTON_MD5='1ab4a7d9d0351e0242436caf2964b73a'
readonly AC_PROTON_URL='https://github.com/CommitteeOfZero/ProtonGE-AC/releases/download/1.0.0/protonge-anonymouscode.tar.gz'
readonly AC_PROTON_DIRNAME='protonge-anonymouscode'


Expand Down Expand Up @@ -854,7 +853,7 @@ function download_ac_proton() {

# CLI is so much easier jfc
if ! $is_gui; then
if ! curl -o "$proton_tar_name" "$AC_PROTON_URL"; then
if ! curl -Lo "$proton_tar_name" "$AC_PROTON_URL"; then
log_error "cURL error occurred while downloading custom proton"
exit 1
fi
Expand All @@ -869,7 +868,12 @@ function download_ac_proton() {
exit 1
fi

curl -o "$proton_tar_name" "$AC_PROTON_URL" > "$curl_fifo" 2>&1 &
if $mode_debug; then
# show cURL output for debugging
curl -Lo "$proton_tar_name" "$AC_PROTON_URL" 2>&1 | tee "$curl_fifo" 1>&2 &
else
curl -Lo "$proton_tar_name" "$AC_PROTON_URL" > "$curl_fifo" 2>&1 &
fi
dl_proc=$!

(
Expand Down

0 comments on commit 9d6f011

Please sign in to comment.