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.
[07:12 am]
NudeRaider -- cwinowich
cwinowich shouted: guys does anyone know, what is the max unit limit on extended now ?
don't quote me on it, but I think they doubled these limits. (not dimensions)
[07:10 am]
NudeRaider -- Ultraviolet
Ultraviolet shouted: these guys may as well be pissing in the wind
sounds liberating
[04:43 am]
cwinowich -- i cant quite remember, and cant find it anywhere, 2400 or something? idk
[04:43 am]
cwinowich -- guys does anyone know, what is the max unit limit on extended now ?
[02:47 am]
Ultraviolet -- these guys may as well be pissing in the wind
[2026-7-29. : 12:59 pm]
Vrael -- 1
[2026-7-29. : 10:32 am]
NudeRaider -- too much text. i cant tell which one yuo want removed. tell me 1, 2 or 3 for the one you want to keep.
[2026-7-29. : 3:16 am]
Symmetry -- that is a serious crime
[2026-7-29. : 3:11 am]
O)FaRTy1billion[MM] -- right to jail
[2026-7-28. : 11:29 pm]
Vrael -- idk what I did but I like triple-posted in SD sorry
Please log in to shout.


Members Online: DarkenedFantasies