Skip to content

Commit

Permalink
openra - Add yuri's revenge
Browse files Browse the repository at this point in the history
  • Loading branch information
d10sfan committed Mar 31, 2024
1 parent af48f88 commit d037665
Show file tree
Hide file tree
Showing 3 changed files with 84 additions and 3 deletions.
39 changes: 39 additions & 0 deletions engines/openra/assets/run-openra-ra2-yr.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
#!/bin/bash

if [ ! -d ~/.config/openra/Content/ra2 ]; then
mkdir -p ~/.config/openra/Content

ln -rsf "$PWD" ~/.config/openra/Content/ra2
fi

if [ ! -d ~/.config/openra/Content/yr ]; then
mkdir -p ~/.config/openra/Content

ln -rsf "$PWD" ~/.config/openra/Content/yr
fi

wantedversion="20200717"
filepath="./YurisRevenge-yr-playtest-20200717-x86_64.AppImage"

if [ -f "readyversion.txt" ]; then
readyversion=$(cat readyversion.txt)
echo "Found version: $readyversion"
else
readyversion="none"
echo "No Version Found"
fi

if [ "$readyversion" != "$wantedversion" ]; then
echo "Running Setup"

chmod +x "$filepath"
LD_LIBRARY_PATH="" "$filepath" --appimage-extract

echo "$wantedversion" > ./readyversion.txt
else
echo "Not Running Setup"
fi

rm -rf ./squashfs-root

./squashfs-root/AppRun
1 change: 1 addition & 0 deletions engines/openra/assets/run-openra-ra2.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,5 @@ else
echo "Not Running Setup"
fi

rm -rf ./squashfs-root
./squashfs-root/AppRun
47 changes: 44 additions & 3 deletions metadata/packagessniper_v2.json
Original file line number Diff line number Diff line change
Expand Up @@ -7646,15 +7646,40 @@
"file": "Romanovs.Vengeance-playtest-20240218-x86_64.AppImage",
"cache_by_name": true
},
{
"name": "openra-yr-binaries",
"url": "https://github.com/cookgreen/Yuris-Revenge/releases/download/yr-playtest-20200717/",
"file": "YurisRevenge-yr-playtest-20200717-x86_64.AppImage",
"cache_by_name": true
},
{
"name": "openra",
"url": "https://github.com/luxtorpeda-dev/packages/releases/download/openra-5/",
"file": "openra-common-5.tar.xz",
"cache_by_name": true
}
],
"engine_name": "OpenRA Romanov's Vengeance",
"command": "./run-openra-ra2.sh",
"choices": [
{
"name": "OpenRA Romanov's Vengeance",
"engine_name": "OpenRA Romanov's Vengeance",
"command": "./run-openra-ra2.sh",
"download": [
"openra",
"openra-ra2-binaries"
]
},
{
"name": "OpenRA Yuri's Revenge",
"engine_name": "OpenRA Yuri's Revenge",
"command": "./run-openra-ra2-yr.sh",
"download": [
"openra",
"openra-yr-binaries"
]
}
],

"cloudAvailable": true,
"cloudIssue": true,
"cloudIssueReason": "saves_not_compatible",
Expand Down Expand Up @@ -10383,6 +10408,22 @@
"engine_name": "OpenRA Romanov's Vengeance",
"internal_engine_name": "openra-ra2"
},
{
"engine_link": "https://github.com/cookgreen/Yuris-Revenge",
"version": "playtest-20200717",
"author": "d10sfan",
"author_link": "https://github.com/d10sfan",
"license": "GPLv3",
"license_link": "https://github.com/cookgreen/Yuris-Revenge/blob/master/COPYING",
"controllerNotSupported": true,
"notices": [
{
"key": "in_progress"
}
],
"engine_name": "OpenRA Yuri's Revenge",
"internal_engine_name": "openra-yr"
},
{
"engine_link": "https://github.com/ABrandau/Shattered-Paradise-SDK",
"version": "playest-20240315",
Expand Down Expand Up @@ -10755,4 +10796,4 @@
"value": "Save Format Not Compatible"
}
]
}
}

0 comments on commit d037665

Please sign in to comment.