D.E.P.
Feb 13 2009, 5:19 am
By: A_of-s_t  

Feb 13 2009, 5:19 am A_of-s_t Post #1

aka idmontie

So, I'm trying to get my mod to run on my Vista 32 bit computer. SC works fine, and I can connect to ShadowFlare's Realm. However, when I try to run my mod, Vista says "Starcraft has stopped working" and a bubble in the bottom right says that Starcraft has been prevented from running due to DEP. So, I grapped ToggleNX. No help. I tried adding SC to the exception list for DEP -- to which I found out that SC CANNOT be added to the exception list. I tried: bcdedit.exe /set {current} nx AlwaysOff, it STILL says DEP prevented the program even though it is completely off. I tried running as admin...

Nothing seems to work, and yet, I remember at one point in time I could run my mods on Vista 32 bit (I recently had my computer's hard drive wiped clean by HP).

Did I forget something I did long ago? I have also tried getting MPQDraft for Vista and tried running my Firegraft mod through it, but the grafting changes don't show up. Any help is appreciated.



Personal GitHub
Starcraft GitHub Organization - Feel free to request member status!
TwitchTV

Feb 13 2009, 5:40 am A_of-s_t Post #2

aka idmontie

LOL SOLVED.

You need to restart after doing the command prompt.



Personal GitHub
Starcraft GitHub Organization - Feel free to request member status!
TwitchTV

Feb 14 2009, 7:15 am ShadowFlare Post #3



Hmm, has a more recent version of FireGraft or a plugin started putting code in memory that isn't being marked as executable? (note: this isn't a question for you, but for the creators of those)

Last I knew of, no recent utilities required that to be disabled for it to run...



None.

Feb 16 2009, 6:03 pm A_of-s_t Post #4

aka idmontie

The most recent version of Firegraft I have (the non-beta) requires me to disable DEP, so I just took DEP off completely using the command prompt; DEP is quite useless in my opinion, it doesn't even stop viruses. And, MPQDraft works fine without disabling DEP, its just .exe files that require DEP to be turned off.

And, for people who have the same problem:
1. Open Command Prompt (search for it in the start menu)
2. Type in: bcdedit.exe /set {current} nx AlwaysOff
3. Restart your computer
4. ????
5. Profit!



Personal GitHub
Starcraft GitHub Organization - Feel free to request member status!
TwitchTV

Feb 17 2009, 1:22 am ShadowFlare Post #5



It isn't useless. It can prevent code from running that is injected by an intentional buffer overflow, for example. The buffer overflow could be from a specially crafted file (sometimes related to compressed data that is designed to overflow when decompressed), a specially crafted web site (possibly related to a javascript exploit), etc.

Buffer overflows are probably one of the most common things that is exploited and Data Execution Prevention is one of the mechanisms in place to make sure it can't be exploited.



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[08: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
[2026-6-19. : 9:57 am]
Oh_Man -- artosis dropped pretty interesting vid: https://youtu.be/EqZHB8Blra4
Please log in to shout.


Members Online: RIVE