Stop shipping seven megabytes nobody reads

The original AWE32 soundbanks are the source the shipped sound effects are
generated from, and they belong in the repo for that, but the game has no
use for them at run time - the LoadSBK path died with the sound cards and
AUDIO.INI's [AudioResources] section is commented out alongside it. They
were going into every download regardless.

Also drops four wav files that nothing references: two leftovers named temp,
one of them empty, and two stale zone files orphaned when the preset table
was regenerated from the banks.

Together about 8MB off the package.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
Cyd
2026-08-06 00:22:39 -05:00
co-authored by Claude Opus 5
parent 25e25260b1
commit a5faa6cf9b
5 changed files with 8 additions and 0 deletions
Binary file not shown.
Binary file not shown.
View File
Binary file not shown.
+8
View File
@@ -99,6 +99,14 @@ foreach ($dir in 'AUDIO', 'GAUGE', 'VIDEO') {
Write-Host " copying $dir..."
Copy-Item -Recurse (Join-Path $assets $dir) $dist
}
# AUDIO1.RES / AUDIO2.RES are Red Planet's original AWE32 soundbanks. They
# are the SOURCE the shipped WAVs are generated from (tools/rp_sf2extract.py)
# and are kept in the repo for that, but nothing reads them at run time - the
# engine's LoadSBK path died with the sound cards, and AUDIO.INI's
# [AudioResources] section is commented out along with it. Shipping them adds
# 7MB to every download for nothing.
Get-ChildItem "$dist\AUDIO" -Filter 'AUDIO?.RES' | Remove-Item
foreach ($file in 'RPDPL.INI', 'JOYSTICK.INI', 'RPL4.RES', 'TEST.EGG',
'libsndfile-1.dll', 'oalinst.exe') {
Copy-Item (Join-Path $assets $file) $dist