Skip to content

Addon size reduction: asset dedupe, re-encode, and dx80/sw model variant removal - #322

Closed
KemGus wants to merge 6 commits into
ACE-Project-Team:texture-downsizingfrom
KemGus:size-reduct-addon
Closed

Addon size reduction: asset dedupe, re-encode, and dx80/sw model variant removal#322
KemGus wants to merge 6 commits into
ACE-Project-Team:texture-downsizingfrom
KemGus:size-reduct-addon

Conversation

@KemGus

@KemGus KemGus commented Jul 31, 2026

Copy link
Copy Markdown
Member

Stacks on top of #321.

Cuts the addon from ~1.44 GB to ~0.89 GB on top of texture-downsizing (−548 MB).

  • Remove stray non-addon files (rar archive, VS cache, test script)
  • Re-encode WAV sounds in place: mono everywhere, 22 kHz for engines/ambience
  • Dedupe byte-identical VTF textures, point VMTs at the canonical copies
  • Recompress and downscale VTF textures
  • Drop dx80/sw model variants; GMod only loads dx90

texture-downsizing is merged in. 176 assets were re-encoded by both branches; those conflicts take the texture-downsizing versions, which are smaller on 152 of the 176.

Description to be expanded.

KemGus and others added 6 commits July 12, 2026 06:44
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
…ience

Source plays 3D-positioned sounds mono, so the stereo downmix is
inaudible in game. Engine/vehicle/ambience directories additionally
drop to 22.05kHz; gunfire, cracks, ricochets and penetration sounds
keep their original sample rate for transient sharpness. Loop cue
points are preserved with offsets rescaled to the new sample rate.
sound/ shrinks from 683MB to 364MB with no path or format changes.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
15 duplicate texture files removed (31.6MB); the referencing VMTs now
share the surviving copy. No visual change.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Uncompressed BGRA/RGBA textures are re-encoded as DXT1 (opaque) or
DXT5 (alpha/normal maps), and 2048x2048 textures are downscaled to
1024. Flags (clamp, normal, nomip, etc.) are carried over; animated
and envmap textures are left untouched. materials/ shrinks from
578MB to 321MB.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Overlapping re-encoded assets take the texture-downsizing versions; they are smaller on 152 of the 176 files both branches touched.
@KemGus KemGus closed this Jul 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant