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.
[01:24 pm]
Vrael -- NEED SOME SPORTBALL> WE GOT YOUR SPORTBALL EQUIPMENT MANUFACTURING
[2024-4-30. : 5:08 pm]
Oh_Man -- https://youtu.be/lGxUOgfmUCQ
[2024-4-30. : 7:43 am]
NudeRaider -- Vrael
Vrael shouted: if you're gonna link that shit at least link some quality shit: https://www.youtube.com/watch?v=uUV3KvnvT-w
Yeah I'm not a big fan of Westernhagen either, Fanta vier much better! But they didn't drop the lyrics that fit the situation. Farty: Ich bin wieder hier; nobody: in meinem Revier; Me: war nie wirklich weg
[2024-4-29. : 6:36 pm]
RIVE -- Nah, I'm still on Orange Box.
[2024-4-29. : 4:36 pm]
Oh_Man -- anyone play Outside the Box yet? it was a fun time
[2024-4-29. : 12:52 pm]
Vrael -- if you're gonna link that shit at least link some quality shit: https://www.youtube.com/watch?v=uUV3KvnvT-w
[2024-4-29. : 11:17 am]
Zycorax -- :wob:
[2024-4-27. : 9:38 pm]
NudeRaider -- Ultraviolet
Ultraviolet shouted: NudeRaider sing it brother
trust me, you don't wanna hear that. I defer that to the pros.
[2024-4-27. : 7:56 pm]
Ultraviolet -- NudeRaider
NudeRaider shouted: "War nie wirklich weg" 🎵
sing it brother
[2024-4-27. : 6:24 pm]
NudeRaider -- "War nie wirklich weg" 🎵
Please log in to shout.


Members Online: jjf28, Moose, Oh_Man