Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: Why doesn't the CHK WAV section include file duration of eac
Why doesn't the CHK WAV section include file duration of eac
Jul 20 2024, 8:25 pm
By: sethmachine  

Jul 20 2024, 8:25 pm sethmachine Post #1



The CHK WAV section only includes the path of the WAV file in the MPQ archive: http://www.staredit.net/wiki/index.php/Scenario.chk#.22WAV_.22_-_WAV_String_Indexes

However, the corresponding trigger actions for playing a wav file (http://www.staredit.net/wiki/index.php/Scenario.chk#Trigger_Actions_List) like 8 = Play WAV(Wav, WavTime) expect a duration of milliseconds for the WAV file to be played.

In the default GUI map editor, you can't normally choose a time, and instead it looks like the map editor implicitly gathers the millisecond duration of the file and adds it into the trigger action behind the scenes.

This is unfortunate, because it means to allow creating triggers related to WAV files, you have to have access to full MPQ archive in order to find out the WAV durations.

Am I wrong? Is the WAV duration stored somewhere else in the CHK sections? Would it be hacky to create an extra section in the CHK to store WAV file metadata like duration (or use an not commonly used section)?

Does anyone have insight into the design reasoning of this choice by Blizzard?



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[04:56 am]
Ultraviolet -- I suppose we'll likely never know, but my guess would be that they already saw it operating successfully and there was no monetary incentive to finish the original work. And the dev cycle in old school Blizzard was so hectic, it's possible it just got forgotten about after the original game got released. Plus there's an element of existing MPQ files that were packaged with the original discs becoming outdated if they updated it. And it's not like they remade the original MPQs, they just made new ones for BW specifically
[04:26 am]
Oh_Man -- so that makes me think maybe the theory they are unfinished is not true and its a deliberate design decision, coz why not finish them wen ur making brood war?
[04:25 am]
Oh_Man -- the thing is thos buildings are from classic. that means they went ahead and made brood war without ever finishing the 'unfinished' buildings
[2026-6-20. : 6:15 pm]
Ultraviolet -- Yeah he's talked about a lot of that stuff in his casts before. It seems plausible. Especially knowing how Blizzard of yesteryear operated.
[2026-6-20. : 3:47 pm]
NudeRaider -- to clarify: couldn't recall the behavior for every single Protoss building but I was aware the disparity exists.
[2026-6-20. : 3:43 pm]
NudeRaider -- Contained nothing new for me. Didn't know all building's behavior, but very much all unit's. Also Terran balance whine - also nothing new :lol:
[2026-6-19. : 9:57 am]
Oh_Man -- makes me wonder if SEN knows anything about the topic
[2026-6-19. : 9:57 am]
Oh_Man -- artosis dropped pretty interesting vid: https://youtu.be/EqZHB8Blra4
[2026-6-18. : 5:01 pm]
Ultraviolet -- :wob:
[2026-6-17. : 6:15 am]
RexyRex -- :wob:
Please log in to shout.


Members Online: Roy, O)FaRTy1billion[MM]