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.
[05:47 pm]
Ultraviolet -- zsnakezz
zsnakezz shouted: ultra you have any thought or notes on undead invasion?
I still haven't gotten a chance to play it yet unfortunately. I just downloaded, but today I'm working on a project with a deadline so won't be able to play it today
[04:59 am]
zsnakezz -- >:)
[04:59 am]
zsnakezz -- :)
[04:58 am]
zsnakezz -- somebody gets it
[04:58 am]
zsnakezz -- and its not all just numbers in my file screen
[04:57 am]
zsnakezz -- thank you for your comment though, good to know some people out there tried my map out
[04:57 am]
zsnakezz -- just kidding
[04:57 am]
zsnakezz -- ultra you have any thought or notes on undead invasion?
[2024-5-31. : 2:36 pm]
Wing Zero -- Bop em
[2024-5-31. : 2:36 pm]
Wing Zero -- Mods
Please log in to shout.


Members Online: Roy