Staredit Network > Forums > General StarCraft > Topic: Delayed Unit Commands in BW running on Windows 8.1
Delayed Unit Commands in BW running on Windows 8.1
Jun 10 2015, 1:35 pm
By: ScOULaris  

Jun 10 2015, 1:35 pm ScOULaris Post #1



Alright, I'm trying my damnedest to get Brood War functioning adequately on my Windows 8.1 machine. It seems like every solution to one problem requires conceding another. At first the game felt choppy, but running it with the ddemulate flag fixed that. Then I wanted to have working Bnet menus, so I used window mode in Chaoslauncher... but ddemulate doesn't work within the launcher.

Okay... so I can accept garbled Bnet menus as long as I can play the actual game, but there's one last problem that I feel like I haven't seen mentioned around here. There is a considerable delay when telling a unit to perform an action. I loaded up the game on an old Windows 7 laptop just to make sure I wasn't imagining things. It's not mouse lag. The game responds to my mouse immediately when it comes to animating the reticle whenever I click somewhere on the terrain, but units have what feels like a full second delay before they react to the command.

Has anyone else encountered this?

Post has been edited 2 time(s), last time on Jun 10 2015, 1:59 pm by ScOULaris.



None.

Jun 10 2015, 2:02 pm Roy Post #2

An artist's depiction of an Extended Unit Death

That's game latency. It exists in any multiplayer game. You were likely playing on high or extra-high latency when you were noticing the higher delay.

Game latency is a mechanism used to sync clients without lagging the game. Basically, your actions are queued up and communicated to all other players to be executed on a particular frame. If your connection isn't fast enough to receive everyone's actions, the game waits for you by pausing and bringing up the lag screen for other players. In this scenario, increasing the game latency would reduce or eliminate lag.

The default latency for bnet games is low. LAN games have an extra-low latency that is even more responsive (though the UI still just calls it "low"); you can achieve this in bnet by manually setting a value in memory, but it is regarded as cheating (low-latency hack). Single-Player has no latency, as the mechanism is unnecessary there.




Jun 10 2015, 2:31 pm ScOULaris Post #3



Quote from Roy
That's game latency. It exists in any multiplayer game. You were likely playing on high or extra-high latency when you were noticing the higher delay.

Game latency is a mechanism used to sync clients without lagging the game. Basically, your actions are queued up and communicated to all other players to be executed on a particular frame. If your connection isn't fast enough to receive everyone's actions, the game waits for you by pausing and bringing up the lag screen for other players. In this scenario, increasing the game latency would reduce or eliminate lag.

The default latency for bnet games is low. LAN games have an extra-low latency that is even more responsive (though the UI still just calls it "low"); you can achieve this in bnet by manually setting a value in memory, but it is regarded as cheating (low-latency hack). Single-Player has no latency, as the mechanism is unnecessary there.

Hm. You think that's all it is? I was experiencing this when playing in solo sessions on Bnet to test out performance, so latency wasn't being affected by any other connections.

One thing that I haven't yet done on my Win8.1 machine is set up the port forwarding rules for Brood War. Maybe once I do that I'll see a reduction in this latency. I remember having severe lag when playing online in Windows 7 on my old laptop until I forwarded the correct ports.

EDIT: Since I have someone's attention (thanks for replying!), I'll throw in another related question. Is there any way to use the ddemulate flag with Windowed mode via something like Chaoslauncher? If I could do that, I think all of my major concerns would be addressed.



None.

Jun 10 2015, 2:45 pm jjf28 Post #4

Cartography Artisan

You can try ScQuickLaunch with the arguments:

-ke -de -nl

This will kill windows explorer while StarCraft is open (should help with many graphical issues), run the ddemulate command, and activate NoLatency mode. Remember to unblock the zip file after downloading, like in this example:

Unblock Example

Not sure if it will necessarily solve your menu display issues; let me know the results :)



AFAIK there is no way to add arguments (like ddemulate) to StarCraft in chaos launcher (the only stable method to run wmode that I know of).



TheNitesWhoSay - Clan Aura - github

Reached the top of StarCraft theory crafting 2:12 AM CST, August 2nd, 2014.

Jun 10 2015, 3:06 pm ScOULaris Post #5



Quote from jjf28
AFAIK there is no way to add arguments (like ddemulate) to StarCraft in chaos launcher (the only stable method to run wmode that I know of).
Yeah, damn. That would be pretty much perfect for my needs if it were possible.

When I get home I'll forward the Brood War ports and see if the latency issue goes away.



None.

Jun 10 2015, 5:18 pm Roy Post #6

An artist's depiction of an Extended Unit Death

Quote from ScOULaris
I was experiencing this when playing in solo sessions on Bnet to test out performance, so latency wasn't being affected by any other connections.
Latency isn't impacted by other players. It's a setting in Options > Network. It doesn't matter whether you're alone or with 7 other players: if you're on Battle.net, the latency will be the same.




Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[03:29 am]
DarkenedFantasies -- Probably just didn't care. For example, at some point before release, they've updated the graphics of some of the Protoss buildings (Forge, CyberCore, Citadel, Observatory, Arbiter Tribunal), but instead of properly re-rendering them with edited 3D models, they did crappy copy-paste jobs on the rendered graphics.
[2026-6-22. : 8:35 pm]
Ultraviolet -- :wob:
[2026-6-21. : 11:38 pm]
Symmetry -- :wob:
[2026-6-21. : 4: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
[2026-6-21. : 4: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?
[2026-6-21. : 4: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
Please log in to shout.


Members Online: RIVE, JamaL