Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 15 additions & 1 deletion misc/repocustomlist.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,16 @@
"https://github.com/BlueSkyDefender/AstrayFX";AstrayFX;BlueSkyDefender;Various anti-aliasing shaders and more (used to be part of Depth3D). Home of Smart Sharp, Temporal AA, NFAA, BloomingHDR and others.
# Custom ReShade Shader Repository List
#
# This file allows you to add custom shader repositories that will be merged with the
# repositories fetched from the PCGamingWiki API.
#
# Format: "URL";Name;Author;Description
# - URL: The GitHub repository URL (include quotes)
# - Name: Short name for the repository
# - Author: Repository author/maintainer
# - Description: Brief description of the shaders included
#
# Example (uncomment to use):
# "https://github.com/BlueSkyDefender/AstrayFX";AstrayFX;BlueSkyDefender;Various anti-aliasing shaders and more (used to be part of Depth3D). Home of Smart Sharp, Temporal AA, NFAA, BloomingHDR and others.
#
# Add your custom repositories below:

21 changes: 16 additions & 5 deletions steamtinkerlaunch
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
PREFIX="/usr"
PROGNAME="SteamTinkerLaunch"
NICEPROGNAME="Steam Tinker Launch"
PROGVERS="v14.0.20250602"
PROGVERS="v14.0.20251227"
PROGCMD="${0##*/}"
PROGINTERNALPROTNAME="Proton-stl"
SHOSTL="stl"
Expand Down Expand Up @@ -3149,7 +3149,7 @@ function setDefaultCfgValues {
if [ -z "$ROBERTAARGS" ] ; then ROBERTAARGS="--wait-before-run"; fi
if [ -z "$LUXTORPEDACMD" ] ; then LUXTORPEDACMD="$STEAMCOMPATOOLS/luxtorpeda/luxtorpeda.sh"; fi
if [ -z "$LUXTORPEDAARGS" ] ; then LUXTORPEDAARGS="wait-before-run"; fi
if [ -z "$RSVERS" ] ; then RSVERS="5.9.1"; fi
if [ -z "$RSVERS" ] ; then RSVERS="6.6.2"; fi
if [ -z "$USERSSPEKVERS" ] ; then USERSSPEKVERS="1"; fi
if [ -z "$RSSPEKVERS" ] ; then RSSPEKVERS="5.4.2"; fi
if [ -z "$AUTOBUMPRESHADE" ] ; then AUTOBUMPRESHADE="0"; fi
Expand Down Expand Up @@ -9154,12 +9154,22 @@ function SHADSRC {
}

function createShaderRepoList {
SHADREPOURL="https://www.pcgamingwiki.com/wiki/${RESH}"
SHADREPOURL="https://www.pcgamingwiki.com/w/api.php?action=parse&page=${RESH}&format=json&prop=text"
MAXAGE=1440

if [ ! -f "$SHADREPOLIST" ] || test "$(find "$SHADREPOLIST" -mmin +"$MAXAGE")"; then
# if this breaks, we'll use bundled static url list instead
"$WGET" -q "$SHADREPOURL" -O - 2> >(grep -v "SSL_INIT") | sed -n '/Repository</,/table>/p' | grep "^<td>" | awk 'ORS=NR%3?FS:RS' | grep -v "https://blues" | sed "s:<td><a rel=\"nofollow\" class=\"external text\" href=::; s:</a></td> <td>:;:; s:</td> <td>:;:; s:\">:\";:; s:<br />: :; s: ;:;:; s:/tree/master::; s:/reshade/Shaders::" > "$SHADREPOLIST"
# Use MediaWiki API to fetch shader repository list
if [ -x "$(command -v "$JQ")" ]; then
"$WGET" -q "$SHADREPOURL" -O - 2> >(grep -v "SSL_INIT") | "$JQ" -r '.parse.text."*"' 2>/dev/null | sed -n '/Repository</,/table>/p' | grep "^<td>" | awk 'ORS=NR%3?FS:RS' | sed "s:<td><a rel=\"nofollow\" class=\"external text\" href=::; s:</a></td> <td>:;:; s:</td> <td>:;:; s:\">:\";:; s:<br />: :; s: ;:;:; s:/tree/master::; s:/reshade/Shaders::" > "$SHADREPOLIST"
else
writelog "WARN" "${FUNCNAME[0]} - jq is not available for JSON parsing - Shader repository list cannot be fetched from API"
fi

Copilot AI Dec 29, 2025

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This line contains trailing whitespace. Consider removing it for code cleanliness.

Copilot uses AI. Check for mistakes.
# If the fetch failed and the repo list is empty, ensure at least the custom list will be available
if [ ! -s "$SHADREPOLIST" ]; then
touch "$SHADREPOLIST"
writelog "WARN" "${FUNCNAME[0]} - Failed to fetch shader repository list from API - Will use custom list only"
fi
fi

RCL="repocustomlist.txt"
Expand All @@ -9175,6 +9185,7 @@ function createShaderRepoList {
fi

sed '/^$/d' -i "$SHADREPOLIST"
sed '/^#/d' -i "$SHADREPOLIST"
}

function unblockrssub {
Expand Down