From 28102efb79d7888eb2f9d06ac78fba7ae0be2e62 Mon Sep 17 00:00:00 2001 From: George Wilkinson Date: Mon, 21 Jul 2025 19:06:11 +0100 Subject: [PATCH] vault backup: 2025-07-21 19:06:11 --- .obsidian/app.json | 4 +- .obsidian/workspace.json | 25 +++++++++---- Proton/Mount & Blade 2 Bannerlord.md | 55 ++++++++++++++++++++++++++++ 3 files changed, 75 insertions(+), 9 deletions(-) create mode 100644 Proton/Mount & Blade 2 Bannerlord.md diff --git a/.obsidian/app.json b/.obsidian/app.json index 9e26dfe..1bcb890 100644 --- a/.obsidian/app.json +++ b/.obsidian/app.json @@ -1 +1,3 @@ -{} \ No newline at end of file +{ + "readableLineLength": false +} \ No newline at end of file diff --git a/.obsidian/workspace.json b/.obsidian/workspace.json index dd33b0e..f164aaf 100644 --- a/.obsidian/workspace.json +++ b/.obsidian/workspace.json @@ -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" ] } \ No newline at end of file diff --git a/Proton/Mount & Blade 2 Bannerlord.md b/Proton/Mount & Blade 2 Bannerlord.md new file mode 100644 index 0000000..159a130 --- /dev/null +++ b/Proton/Mount & Blade 2 Bannerlord.md @@ -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 \ No newline at end of file