vault backup: 2025-07-21 19:06:11

This commit is contained in:
2025-07-21 19:06:11 +01:00
parent 906b9c5c26
commit 28102efb79
3 changed files with 75 additions and 9 deletions

4
.obsidian/app.json vendored
View File

@@ -1 +1,3 @@
{}
{
"readableLineLength": false
}

View File

@@ -11,10 +11,14 @@
"id": "384b6e2cd8382bcb",
"type": "leaf",
"state": {
"type": "graph",
"state": {},
"icon": "lucide-git-fork",
"title": "Graph view"
"type": "markdown",
"state": {
"file": "Proton/Mount & Blade 2 Bannerlord.md",
"mode": "source",
"source": false
},
"icon": "lucide-file",
"title": "Mount & Blade 2 Bannerlord"
}
}
]
@@ -90,6 +94,7 @@
"state": {
"type": "backlink",
"state": {
"file": "Proton/Mount & Blade 2 Bannerlord.md",
"collapseAll": false,
"extraContext": false,
"sortOrder": "alphabetical",
@@ -99,7 +104,7 @@
"unlinkedCollapsed": true
},
"icon": "links-coming-in",
"title": "Backlinks"
"title": "Backlinks for Mount & Blade 2 Bannerlord"
}
},
{
@@ -108,11 +113,12 @@
"state": {
"type": "outgoing-link",
"state": {
"file": "Proton/Mount & Blade 2 Bannerlord.md",
"linksCollapsed": false,
"unlinkedCollapsed": true
},
"icon": "links-going-out",
"title": "Outgoing links"
"title": "Outgoing links from Mount & Blade 2 Bannerlord"
}
},
{
@@ -136,12 +142,13 @@
"state": {
"type": "outline",
"state": {
"file": "Proton/Mount & Blade 2 Bannerlord.md",
"followCursor": false,
"showSearch": false,
"searchQuery": ""
},
"icon": "lucide-list",
"title": "Outline"
"title": "Outline of Mount & Blade 2 Bannerlord"
}
},
{
@@ -173,9 +180,11 @@
"omnisearch:Omnisearch": false
}
},
"active": "f97722418d843245",
"active": "384b6e2cd8382bcb",
"lastOpenFiles": [
"README.md",
"Proton/Mount & Blade 2 Bannerlord.md",
"Proton",
"Welcome.md"
]
}

View File

@@ -0,0 +1,55 @@
# Mount & Blade 2 Bannerlord
## Installing BLSE
1. Install BLSE and Harmony like you would on Windows
2. Set launch options to run the BLSE launcher:
`$(echo %command% | sed -r "s/proton waitforexitandrun .*/proton waitforexitandrun/") "$STEAM_COMPAT_INSTALL_PATH/bin/Win64_Shipping_Client/Bannerlord.BLSE.LauncherEx.exe"`
3. Go to your Bannerlord install directory ex. `'/home/$USER/.steam/steamapps/Mount & Blade 2 Bannerlord/bin/Win64_Shipping_Client'`
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:
```
#!/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"
```
6. You're done, launch the game
7. BLSE may tell you harmony was not loaded from the right place, it's fine.
Issue: Under proton, the files from Modules/Bannerlord.Harmony/bin/Win64_Shipping_Client/ are not loaded in correctly. After step 2 you'd get a 'harmony not found' error, BLSE only looks in the main launcher directory. Symlinking fixes this, but Mono.Cecil.dll is provided by default:
Name: Mono.Cecil Version: [0.9.6.0](http://0.9.6.0) PublicKey: BlobPtr (0x00002d2c)
and this is the harmony Mono.Cecil.dll:
Name: Mono.Cecil Version: [0.11.5.0](http://0.11.5.0) PublicKey: BlobPtr (0x00003073)
so we have to remove the stock Mono.Cecil.dll