The acmrs.sh
script is a utility designed to automatically fix issues with Metamod not loading after updates to Counter-Strike 2 (CS2). It modifies the gameinfo.gi
file in your CS2 server directory automatically to ensure that Metamod loads correctly. This is exactly the same method we use at Game Host Bros to keep our users updated.
- Supports Linux and Windows
- Automatic Modification: Automatically modifies the
gameinfo.gi
file on server start. - Compatibility: Works with both vanilla and modified CS2 servers. Even if you remove Metamod, the server will still load.
- Safe to Use: No negative side effects from modifying the
gameinfo.gi
file.
- Download
acmrs.sh
to your server in a directory accessible by your CS2 server run script (e.g., the same directory ascs2.sh
or whatever startup script you use). - Open
acmrs.sh
with a text editor and make sureTARGET_DIR="/home/container/game/csgo"
matches the folder location of your csgo directory. - Add the line
bash /home/container/game/acmrs.sh
at the top of yourcs2.sh
file, making sure the location is updated to the location of the script.
- Download
acmrs.ps1
to your server in a directory accessible by your CS2 server .bat script. - Open
acmrs.ps1
with a text editor and make sure$TargetDir = "C:\servers\game\csgo"
matches the folder location of your csgo directory. - Add the lines
@echo off
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& 'C:\servers\acmrs.ps1'"
at the top of your .bat
file, making sure the location is updated to the location of the script.