Q: Why did I create this repository?
A: Because it's much easier for me to compile and upload GMod addons directly to the Steam Workshop. Additionally, it's faster for me to compile large addons since my processor is not the best.
How do I use and install this?
- A Linux server, preferably with Debian 9/10/11 or a version of Ubuntu (Tested with Debian 10 & 11).
- Git installed on your server.
- The server processor should have at least 3 GHz single-core performance for compiling large addons with many files (you cannot use multiple cores, so as I mentioned, single-core performance is more important than multi-core performance).
- At least 8 GB of RAM available on your server for addon creation.
- A legitimate copy of Garry's Mod.
- A Desktop Environment installed, such as GNOME, KDE, or XFCE on your server.
- A VNC server program installed on your server (e.g., TigerVNC or TightVNC) and a VNC client (e.g., RealVNC) on your computer.
- SteamCMD and Steam installed on your server. (Steam).
This should work on all the mentioned operating systems.
Open your terminal...
First, update your system and install Git with:
sudo apt update -y && sudo apt upgrade -y && sudo apt install git
After installing Git and updating your system, clone the repository using:
git clone https://github.com/Liatoast/liatoast-gmadpublish
Enter the directory and use the following command to open GMAD:
./gmad
If an error occurs, scroll down to Common Issues.
If you want to use GMPublish to upload your addons directly to the Steam Workshop, make sure you have Steam installed, logged in to your account, and have accepted the Steam Workshop Terms of Service (You will get a prompt in the command line if you haven't done so).
Q: I get an error saying that libsteam_api.so is missing or any other libsteam error!
A: This happens because sometimes the API cannot hook or get the libraries. To resolve this, simply copy libsteam_api.so to the /lib/ directory using:
sudo cp libsteam_api.so /lib/
Q: I accepted the Steam Workshop ToS, but I still cannot upload addons, and it logs me out of Steam on my server!
A: Make sure Garry's Mod is closed when you're trying to upload an addon. It attempts to start Garry's Mod to verify that you have accepted the Steam Workshop ToS, but only one instance of Garry's Mod can run at a time. So, just close Garry's Mod while you're using GMPublish!
I do not own any of these files! These are just original copies for you to clone and use. I do not hold any credit or copyright.