diff --git a/assets/RP411/AUDIO/LiftCut01c.wav b/assets/RP411/AUDIO/LiftCut01c.wav deleted file mode 100644 index 35cfd22..0000000 Binary files a/assets/RP411/AUDIO/LiftCut01c.wav and /dev/null differ diff --git a/assets/RP411/AUDIO/ReleaseMine01a.wav b/assets/RP411/AUDIO/ReleaseMine01a.wav deleted file mode 100644 index 860567c..0000000 Binary files a/assets/RP411/AUDIO/ReleaseMine01a.wav and /dev/null differ diff --git a/assets/RP411/AUDIO/temp-old1.wav b/assets/RP411/AUDIO/temp-old1.wav deleted file mode 100644 index e69de29..0000000 diff --git a/assets/RP411/AUDIO/temp.wav b/assets/RP411/AUDIO/temp.wav deleted file mode 100644 index ff0600d..0000000 Binary files a/assets/RP411/AUDIO/temp.wav and /dev/null differ diff --git a/pack-dist.ps1 b/pack-dist.ps1 index fbbb41d..3517afb 100644 --- a/pack-dist.ps1 +++ b/pack-dist.ps1 @@ -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