Created
January 2, 2026 03:31
-
-
Save BinToss/1c6ff9064d10c9f9e44cdb0574fe393b to your computer and use it in GitHub Desktop.
ImprovedSocialMenuPatch scripts for Bourne Shell + Wine on Unix/Linux systems
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
| #! /usr/bin/sh | |
| # OPTIONAL. This writes the other scripts in this gist and flags them as executable. | |
| if [ ! -r "../SeventySix - Interface.ba2" ]; then | |
| echo "Error: SeventySix - Interface.ba2 not found!" | |
| echo "Make sure you are running script in the correct directory: Fallout 76/Data/ImprovedSocialMenuPatch/" | |
| echo $PWD | |
| exit 1 | |
| fi | |
| echo '#! /usr/bin/sh | |
| pause(){ | |
| read -n1 -r -p "Press any key to continue..." #key | |
| } | |
| # @echo off | |
| set +v | |
| if [ ! -r "../SeventySix - Interface.ba2" ]; then | |
| echo "Error: SeventySix - Interface.ba2 not found!" | |
| echo "Make sure you are running script in the correct directory: Fallout 76/Data/ImprovedSocialMenuPatch/" | |
| echo $PWD | |
| pause | |
| exit 1 | |
| fi | |
| # @echo on | |
| set -v | |
| cp -f "../SeventySix - Interface.ba2" "SeventySix - Interface.ba2.bak" | |
| wine Archive2/archive2.exe "../SeventySix - Interface.ba2" -quiet -extract="Archive2/data" | |
| cp -f "interface/overlay.swf" "Archive2/data/interface/overlay.swf" | |
| wine Archive2/archive2.exe Archive2/data/ -quiet -compression=None -create="SeventySix - Interface.ba2" | |
| cp -f "SeventySix - Interface.ba2" "../SeventySix - Interface.ba2" | |
| rm -fr Archive2/data | |
| rm -f "SeventySix - Interface.ba2" | |
| pause' > ImprovedSocialMenuPatch_PATCH.sh && chmod +x ImprovedSocialMenuPatch_PATCH.sh | |
| echo '#! /usr/bin/sh | |
| cp "SeventySix - Interface.ba2.bak" "..\SeventySix - Interface.ba2"' > ImprovedSocialMenuPatch_REVERT_PATCH.sh && chmod +x ImprovedSocialMenuPatch_REVERT_PATCH.sh | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment