From 8b1f0eed5542ababf1598a58e4cfaa61643b921c Mon Sep 17 00:00:00 2001 From: rtxa Date: Tue, 4 Jul 2023 00:11:25 -0300 Subject: [PATCH] Fix BHL not working on Linux in some cases BugfixedHL wasn't working on Linux for some reason when using Metamod from https://github.com/Bots-United/metamod-p/ This metamod didn't find the game dll so I switch the name of hl.so to hl_i386.so and it worked but that leaded to another issue. When a hl.so file is already present (like the one from vanilla HL), Metamod will not look for my hl_i386.so, so AG Mod X will not work. I managed to get a mirror of the previous Metamod I was using, which was deleted by his author. Let's hope this fix it. --- .github/workflows/amxx.yml | 7 +++---- valve/dlls/{hl_i386.so => hl.so} | Bin 2 files changed, 3 insertions(+), 4 deletions(-) rename valve/dlls/{hl_i386.so => hl.so} (100%) diff --git a/.github/workflows/amxx.yml b/.github/workflows/amxx.yml index 2b33bcb..34a3cb7 100644 --- a/.github/workflows/amxx.yml +++ b/.github/workflows/amxx.yml @@ -19,11 +19,10 @@ jobs: mkdir amxx-windows amxx-linux tar -xzf amxx-linux.tar.gz -C amxx-linux && unzip amxx-windows.zip -d amxx-windows - - name: Download Metamod-P v1.21p38 + - name: Download Metamod-P CMake v1.21p39 run: | - wget "https://github.com/Bots-United/metamod-p/releases/download/v1.21p38/metamod_i686_linux_win32-1.21p38.tar.xz" -O metamod.tar.xz - mkdir metamod - tar -xf metamod.tar.xz -C metamod + wget "https://github.com/rtxa/Metamod-P-CMake/releases/download/v1.21p39/metamod-cmake-1.21p39-win32-linux.zip" -O metamod.zip + unzip metamod.zip -d metamod - name: Compile plugins run: | diff --git a/valve/dlls/hl_i386.so b/valve/dlls/hl.so similarity index 100% rename from valve/dlls/hl_i386.so rename to valve/dlls/hl.so