vault backup: 2025-07-21 19:17:56
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
|
||||
4. Rename `Mono.Cecil.dll` to `Mono.Cecil.dll.bak`
|
||||
|
||||
5. Symlink all files from $STEAM_COMPAT_INSTALL_PATH/Modules/Bannerlord.Harmony/bin/Win64_Shipping_Client/ to the current directory. You can use this script:
|
||||
5. Download `symlink-bannerlord.sh`, place in the same directory. This will symlink all files from `$STEAM_COMPAT_INSTALL_PATH/Modules/Bannerlord.Harmony/bin/Win64_Shipping_Client/`(Files from the Harmony mod) to the current directory.
|
||||
|
||||
```
|
||||
#!/bin/bash
|
24
Proton/Mount & Blade 2 Bannerlord/symlink-bannerlord.sh
Normal file
24
Proton/Mount & Blade 2 Bannerlord/symlink-bannerlord.sh
Normal file
@@ -0,0 +1,24 @@
|
||||
#!/bin/bash
|
||||
|
||||
SOURCE_DIR=../../Modules/Bannerlord.Harmony/bin/Win64_Shipping_Client
|
||||
LOG_FILE=symlinks-created.txt
|
||||
|
||||
> "$LOG_FILE" # Empty the log file
|
||||
|
||||
for file in "$SOURCE_DIR"/*; do
|
||||
base=$(basename "$file")
|
||||
if [ ! -e "$base" ]; then
|
||||
ln -s "$file" .
|
||||
echo "$base" >> "$LOG_FILE"
|
||||
echo "Linked: $base"
|
||||
else
|
||||
if [ -L "$base" ]; then
|
||||
echo "$base" >> "$LOG_FILE"
|
||||
echo "Skipped (symlink already exists): $base"
|
||||
else
|
||||
echo "SHOULD NOT HAPPEN"
|
||||
fi
|
||||
fi
|
||||
done
|
||||
|
||||
echo "Symlinking complete. Reversible via: xargs rm < $LOG_FILE"
|
Reference in New Issue
Block a user