Skip to content

wrefgtzweve/gm_addon_optimization_tricks

Repository files navigation

gm_addon_optimization_tricks

Desktop tool to optimize Garry's Mod addons/maps

Features

  • Material compression and resizing
  • Sound compression (WAV to MP3/OGG conversion)
  • Remove unused files from addons
  • Find and analyze map content
  • Easy-to-use desktop interface

Prerequisites

  • Python 3.10 or higher
  • Git (for cloning the repository)

Installation

Step 1: Clone the Repository

If you're new to Git, follow these steps:

  1. Open a terminal (Command Prompt, PowerShell, or Git Bash on Windows)
  2. Navigate to where you want to install the tool:
    cd C:\Users\YourUsername\Documents
  3. Clone the repository:
    git clone https://github.com/CFC-Servers/gm_addon_optimization_tricks.git
  4. Enter the project directory:
    cd gm_addon_optimization_tricks

Step 2: Run the Tool

Windows (Easy Method)

Simply double-click the run.bat file in the project folder.

This will automatically:

  • Automatically update tool if needed
  • Create a virtual environment
  • Install all required dependencies
  • Launch the desktop UI

Alternative Method (All Platforms)

If you prefer to run it manually:

  1. Install the required dependencies:

    pip install -r requirements.txt
  2. Run the application:

    python main.py

Screenshot

image

Credits

  • Originally made in collaboration with @CFC-Servers
  • sourcepp python library for various source format handling

About

Tips & Tricks to make your addon slim and fast

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 5