Staredit Network > Forums > Technology & Computers > Topic: How to get the .scm and .scx file icons
How to get the .scm and .scx file icons
Nov 24 2015, 3:59 pm
By: JCarrill0  

Dec 2 2015, 9:19 pm rockz Post #21

ᴄʜᴇᴇsᴇ ɪᴛ!

Try this in your registry, but change the path to where your staredit.exe is.

Code
Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\.scm]
@="StarEdit.Scenario"

[HKEY_CLASSES_ROOT\.scx]
@="StarEdit.BWScenario"

[HKEY_CLASSES_ROOT\StarEdit.BWScenario]
@="Starcraft Brood War Scenario"

[HKEY_CLASSES_ROOT\StarEdit.BWScenario\DefaultIcon]
@="C:\\Program Files (x86)\\Blizzard\\StarCraft\\StarEdit.exe,3"

[HKEY_CLASSES_ROOT\StarEdit.BWScenario\shell]

[HKEY_CLASSES_ROOT\StarEdit.BWScenario\shell\open]

[HKEY_CLASSES_ROOT\StarEdit.BWScenario\shell\open\command]
@="C:\\Program Files (x86)\\Blizzard\\StarCraft\\StarEdit.exe -n"

[HKEY_CLASSES_ROOT\StarEdit.BWScenario\shell\open\ddeexec]
@="%1"

[HKEY_CLASSES_ROOT\StarEdit.BWScenario\shell\open\ddeexec\Application]
@="StarEdit"

[HKEY_CLASSES_ROOT\StarEdit.Scenario]
@="Starcraft Scenario"

[HKEY_CLASSES_ROOT\StarEdit.Scenario\DefaultIcon]
@="C:\\Program Files (x86)\\Blizzard\\StarCraft\\StarEdit.exe,2"

[HKEY_CLASSES_ROOT\StarEdit.Scenario\shell]

[HKEY_CLASSES_ROOT\StarEdit.Scenario\shell\open]

[HKEY_CLASSES_ROOT\StarEdit.Scenario\shell\open\command]
@="C:\\Program Files (x86)\\Blizzard\\StarCraft\\StarEdit.exe -n"

[HKEY_CLASSES_ROOT\StarEdit.Scenario\shell\open\ddeexec]
@="%1"

[HKEY_CLASSES_ROOT\StarEdit.Scenario\shell\open\ddeexec\Application]
@="StarEdit"


http://www.robvanderwoude.com/ddecommandline.php has more info on Windows DDE, and as far as I can tell, you can't replicate opening a map in staredit from the command line without using a third party tool like classexec.exe.

I manually changed all of the paths to staredit as mine is in a weird place, so if I missed one, please double check.



"Parliamentary inquiry, Mr. Chairman - do we have to call the Gentleman a gentleman if he's not one?"

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[03:53 am]
jjf28 -- memes
[2023-3-26. : 5:11 pm]
KroznadeSC -- Didn't see the color selection on the left XD
[2023-3-26. : 5:10 pm]
KroznadeSC -- hehe, I managed to on broodwarmaps.net XD
[2023-3-26. : 3:21 pm]
Vrael -- <div class="TakeOverAsAdmin" class="threeturtlesinastraightjacket" class="Boppin"> Hi Guys! Nothing inconspicuous here!</element>
[2023-3-26. : 6:54 am]
NudeRaider -- KroznadeSC
KroznadeSC shouted: oh my god sorry having problems typing
you mean having problems cheating your way into a shoutbox color :P
[2023-3-26. : 4:56 am]
Dem0n -- meme
[2023-3-26. : 3:34 am]
KroznadeSC -- :wob:
[2023-3-26. : 2:45 am]
O)FaRTy1billion[MM] -- i forgot this was a thing
[2023-3-26. : 2:44 am]
O)FaRTy1billion[MM] -- ya
[2023-3-25. : 11:56 pm]
KroznadeSC -- oh my god sorry having problems typing
Please log in to shout.


Members Online: Roy, TheHappy115, lil-Inferno