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.
[06:11 pm]
Ultraviolet -- :wob:
[2023-2-04. : 11:43 am]
Zycorax -- :wob:
[2023-2-03. : 6:54 pm]
Zoan -- :wob:
[2023-2-03. : 3:35 am]
Ultraviolet -- :wob:
[2023-2-02. : 3:26 am]
Ultraviolet -- :wob:
[2023-2-01. : 2:29 am]
Ultraviolet -- how about yourself?
[2023-2-01. : 2:29 am]
Ultraviolet -- pretty good elite ejaculator
[2023-1-31. : 10:07 pm]
ejac1337 -- How's it going guys?
[2023-1-31. : 2:59 pm]
No-Name-Needed-II -- @Ultraviolet Thanks! It wasn't easy defeating the TMOANC lol..
[2023-1-30. : 8:45 pm]
Ultraviolet -- No-Name-Needed-II
No-Name-Needed-II shouted: Nobody showed interest in Authoring a story for my KotK Shores of Hell terrain so I uploaded it to terrain genre, You'll never look at Asheworld Tileset the same way again :) http://www.staredit.net/sc1db/file/6236/
Checked it out last night, definitely looks interesting. Can tell a lot of effort went into it
Please log in to shout.


Members Online: Roy, Dem0n