Created
April 26, 2025 23:15
-
-
Save bsjohnson20/7ab4aad67ee54956bc523eee3a1445a9 to your computer and use it in GitHub Desktop.
To install death stranding zipline mod on linux using wine
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Download Decima from URL | |
url="https://github.com/ShadelessFox/decima/releases/download/v0.1.25/decima-0.1.25.zip" | |
wget $url -O decima.zip | |
# Extract Decima | |
unzip decima.zip -d decima | |
# Copy files from decima-0.1.25 to decima | |
cp -r decima/decima-0.1.25/* decima/ | |
rm -rf decima/decima-0.1.25/ | |
# Check for java inside wine | |
if ! wine cmd /c "java -version" > /dev/null 2>&1; then | |
echo "Java is not installed inside wine. Please install it before proceeding." | |
echo "Please download openjdk 17 JDK .MSI from https://adoptium.net/en-GB/temurin/releases/?version=17&os=windows" | |
input "Enter path of downloaded JDK .msi: " | |
read path | |
wine msiexec /i $path | |
fi | |
# Extract mod zip | |
echo "Enter path of mod zip: " | |
read mod_zip | |
unzip $mod_zip -d decima/ | |
# overwrite install.bat | |
echo '@echo off | |
setlocal | |
:: Using symbolic link to bypass windows issue with space in game name | |
set game_dir=deathstranding | |
:: Execute the command with the input | |
decima.bat repack "--project=%game_dir%" "%game_dir%\\data\\59b95a781c9170b0d13773766e27ad90.bin" ZiplineMagic | |
pause | |
endlocal' > decima/install.bat | |
# Symbolic link to counter windows having issue with space in game name | |
read -p "Enter path of deathstranding game dir: " game_dir | |
ln -s "$game_dir" ./decima/deathstranding | |
cd decima | |
# Run install.bat under decima/ | |
wine cmd /c "install.bat" | |
# Fix tmp issue | |
sp.run("mv decima/deathstranding/59b95a781c9170b0d13773766e27ad90.bin.tmp decima/deathstranding/59b95a781c9170b0d13773766e27ad90.bin", shell=True, check=True) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment