Last active
May 13, 2025 09:30
-
-
Save quad-damage/6fd9860a8e9ed2e6008536fbab37370c to your computer and use it in GitHub Desktop.
fish script
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
#!/bin/env bash | |
cat > r1delta.reg << 'EOF' | |
Windows Registry Editor Version 5.00 | |
[HKEY_CURRENT_USER\SOFTWARE\R1Delta] | |
@="" | |
"InstallPath"="C:\Games\EA\Titanfall" | |
"LaunchArguments"="" | |
"ShowSetupOnLaunch"=dword:00000001 | |
EOF | |
wine reg import r1delta.reg | |
7z x R1DeltaSetup.exe -y "lib/net462/*" | |
mv ./lib/net462/* ./ | |
rmdir ./lib/net462/ ./lib/ | |
mkdir -p app-0.0.1 | |
mv r1delta app-0.0.1/ | |
mv r1delta.exe app-0.0.1/ | |
mv R1Delta_DS.exe app-0.0.1/ | |
touch app-0.0.1/.dead | |
mv R1Delta_DS_ExecutionStub.exe R1Delta_DS.exe | |
mv r1delta_ExecutionStub.exe r1delta.exe | |
ls -la |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment