Skip to content

Optimizations without downsides

Redox edited this page Sep 28, 2024 · 4 revisions

Removing unused model formats

By default StudioMDL compiles models into various different formats for different systems, here are the following extensions it produces:

image

However only dx90.vtx is actually used in gmod, so the other model formats can safely be removed.

We've made a simple python script to automatically remove these files, this can save up to large amounts of filesize from addons. For example all the M9k packs together is roughly 800mb, of which 70mb are unused model formats.

The script can be found here. Simply put the directory you want in the DIR variable and run the script.

Clone this wiki locally