Compare commits

...

2 Commits

Author SHA1 Message Date
e8b0b97ac2 Blades of Glory: try with the bridge.
It's opening the window and it's staying open, but it's shitting the
bed with the same error.
Traceback (most recent call last):
  File "C:\users\sektor\AppData\Local\Temp\ONEF~3LZ\blades_of_glory.py", line 447, in <module>
  File "C:\users\sektor\AppData\Local\Temp\ONEF~3LZ\blades_of_glory.py", line 114, in run
  File "C:\users\sektor\AppData\Local\Temp\ONEF~3LZ\discordmanager.py", line 25, in connect
  File "C:\users\sektor\AppData\Local\Temp\ONEF~3LZ\pypresence\presence.py", line 43, in connect
  File "C:\users\sektor\AppData\Local\Temp\ONEF~3LZ\asyncio\base_events.py", line 654, in run_until_complete
  File "C:\users\sektor\AppData\Local\Temp\ONEF~3LZ\pypresence\baseclient.py", line 106, in handshake
  File "C:\users\sektor\AppData\Local\Temp\ONEF~3LZ\pypresence\utils.py", line 42, in get_ipc_path
OSError: [WinError 66] Bad device type: '\\\\?\\pipe\\'
2025-11-06 13:14:52 -05:00
4de95e7a7c For games that need it, install the Discord bridge. 2025-11-06 13:14:34 -05:00
2 changed files with 12 additions and 2 deletions

View File

@@ -183,3 +183,14 @@ add_launcher() {
fi
fi
}
# Install the Discord RPC bridge
install_discord_rpc_bridge() {
echo "Installing Discord RPC bridge for Wine compatibility..."
download "https://github.com/EnderIce2/rpc-bridge/releases/download/v1.4.0.1/bridge.zip"
if [[ -f "${cache}/bridge.zip && ! -f "${cache}/bridge.exe ]]; then
# the package is on the system, but not extracted just yet.
unzip bridge.zip
fi
wine "${cache}/bridge.exe" --install
}

View File

@@ -1,6 +1,5 @@
export winVer="win10"
download "https://nibblenerds.com/static/blades_of_glory.zip"
install_wine_bottle
install_wine_bottle "sapi"
install_with_progress unzip "Extracting game files..." -d "$WINEPREFIX/drive_c/Program Files/Blades of Glory" "${cache}/blades_of_glory.zip"
install_discord_rpc_bridge
add_launcher "c:\Program Files\Blades of Glory\blades_of_glory.exe"