Desktop tool to optimize Garry's Mod addons/maps
- Material compression and resizing
- Sound compression (referenced WAV/MP3 to OGG conversion, with an option to keep original filenames)
- Remove unused files from addons
- Open the Releases page.
- Download
gm_content_optimizer.exefrom the latest release's Assets section. - Place the file in a folder of your choice and double-click it to launch the application.
Install Python 3.11, then run the following from the repository root in PowerShell:
python -m pip install --upgrade pip
python -m pip install -r requirements.txt pyinstaller pillow
pyinstaller --clean --noconfirm --onefile --windowed --name gm_content_optimizer --icon icon.ico --add-data "icon.png;." main.pyThe executable is created at dist\gm_content_optimizer.exe.
- Run the application:
python main.py
- Originally made in collaboration with @CFC-Servers
- sourcepp python library for various source format handling