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  

Nov 24 2015, 3:59 pm JCarrill0 Post #1



I recently re-installed Starcraft Anthology (Starcraft brood War) on my Laptop. I noticed that on my computer, the .scm and .scx map files do not have that map or world icon (a green world for .scm and blue world for .w3x) like my old one. I'd really like to have that on my computer, so I was wondering how can I make it so that my computer uses those icons for .scm and .scx files? I am using Windows 7; I used to use Windows XP.

I been searching google for the regedit Fix, but I cant seem to find it.

EDIT: I got the icons to show up, (with the REG i was given by Roy), however I still have an issue.

When I click on a map, it doesn't open the map, it just opens up the Editor to a blank map.

Post has been edited 2 time(s), last time on Nov 24 2015, 11:06 pm by JCarrill0.




Nov 24 2015, 4:18 pm BloodyZombie117 Post #2

I have no idea what to put here... So I guess I'll just put this here.

Should be as simple as right clicking the .scm/scx file, selecting "Open With" and then use Staredit or SCMDraft as your opening program. Just remember to check the option to always open the file using it. You'll have to do the same to both file types.






Nov 24 2015, 4:20 pm Roy Post #3

An artist's depiction of an Extended Unit Death

The simplest way would be to right-click a map and select "Open with..." (or "Open" if it has no association already), find the map editor of your choice (I recommend ScmDraft 2), and then check "Always use the selected program to open this kind of file ".

You can also add the extension association manually by opening Control Panel > Default Programs > Associate a file type or protocol with a program.

Edit: Ninja'd




Nov 24 2015, 4:24 pm JCarrill0 Post #4



Correct, that is a method of use, just like I can open my Staredit and open them that way, but... I'm looking for a RegEdit fix that does the same thing with my issue I had with warcraft 3.




Nov 24 2015, 4:27 pm BloodyZombie117 Post #5

I have no idea what to put here... So I guess I'll just put this here.

Okay, important question: What's the special deal with using a RegEdit fix?
This process gives you the icons perfectly fine.
Just curious, since I rarely touch RegEdit.




Nov 24 2015, 4:34 pm Roy Post #6

An artist's depiction of an Extended Unit Death

The file extension information is located at: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts

Just add your associations there if you really want. The instructions Bloody and I gave automatically populate the registry values, which makes it a lot easier to deal with. You shouldn't be manually editing the Windows registry (this goes with running .reg files as well) unless you really know what you're doing.

Quote from BloodyZombie117
Okay, important question: What's the special deal with using a RegEdit fix?
There is no advantage.




Nov 24 2015, 4:38 pm JCarrill0 Post #7



Quote from BloodyZombie117
This process gives you the icons perfectly fine.

I just want to correct icons, I did it with the "OpenWith" section already (before I made the post), all it did was associate "ALL" files(both SCM & SCX with the same icon), so it wasn't what I wanted.

The RegFix isn't important, just easier, since the file fixes it the correct way.

I do appreciate your help guys, I'm sorry i was being specific, just wanting it fixed with the correct icons.

Post has been edited 1 time(s), last time on Nov 24 2015, 4:44 pm by JCarrill0.




Nov 24 2015, 4:53 pm JCarrill0 Post #8



Quote from JCarrill0
The RegFix isn't important, just easier, since the file fixes it the correct way.

I do appreciate your help guys, I'm sorry i was being specific, just wanting it fixed with the correct icons.
To help prove my point, I took a screenshot, this issue that was suggested doesn't fix the issue, plus when done it opens a BLANK map, not the one I clicked on.
As you can see all the map icons are the same (SCM & SCX)

maybe I am an idiot and need further help since I didn't configure it correctly.


Post has been edited 2 time(s), last time on Nov 24 2015, 5:02 pm by JCarrill0.




Nov 24 2015, 4:54 pm O)FaRTy1billion[MM] Post #9

👻 👾 👽 💪

Have you run StarEdit? I believe the first time you run StarEdit it sets the association and icons.



TinyMap2 - Latest in map compression! ( 7/09/14 - New build! )
EUD Action Enabler - Lightweight EUD/EPD support! (ChaosLauncher/MPQDraft support!)
EUDDB - topic - Help out by adding your EUDs! Or Submit reference files in the References tab!
MapSketch - New image->map generator!
EUDTrig - topic - Quickly and easily convert offsets to EUDs! (extended players supported)
SC2 Map Texture Mask Importer/Exporter - Edit texture placement in an image editor!
\:farty\: This page has been viewed [img]http://farty1billion.dyndns.org/Clicky.php?img.gif[/img] times!

Nov 24 2015, 4:58 pm JCarrill0 Post #10



Quote from O)FaRTy1billion[MM]
Have you run StarEdit? I believe the first time you run StarEdit it sets the association and icons.
Yes, but the issue is with the Digital Edition of Starcraft Broodwar (Starcraft Anthology), I do not believe it does this, Only when you use the good ol'discs.


PS- Sorry had issues uploading a better screenshot!




Nov 24 2015, 5:40 pm Roy Post #11

An artist's depiction of an Extended Unit Death

I assume you want it to look like this?


Personally, I've gotten used to both .scm and .scx files having the same icon., but I wrote up a quick .reg to make it look like the above. Just update the path to wherever you installed SC (I keep my install in C:\Games\StarCraft):
Code
Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\scm_auto_file]

[HKEY_CLASSES_ROOT\scm_auto_file\DefaultIcon]
@="C:\\Games\\StarCraft\\StarEdit.exe,2"

[HKEY_CLASSES_ROOT\scx_auto_file]

[HKEY_CLASSES_ROOT\scx_auto_file\DefaultIcon]
@="C:\\Games\\StarCraft\\StarEdit.exe,3"

Edit the two paths if necessary, and then save as a .reg and run it. You'll have to restart explorer to see the changes.

This is also a great time to mention if you have SC installed in Program Files, you should definitely reinstall it to somewhere else, as that location can cause problems.




Nov 24 2015, 5:55 pm JCarrill0 Post #12



LOVE YOU! <3 :wub:

EDIT: Didn't work, hmm...
Code
Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\scm_auto_file]

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

[HKEY_CLASSES_ROOT\scx_auto_file]

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


Edit: ok weird, when i uploaded a map today.. the files seems to be associated as they should, but only when i try to open to actual folder and view the files that way, the icons still have the wrong one and open a blank StarEdit still. Odd

Post has been edited 2 time(s), last time on Nov 24 2015, 6:22 pm by JCarrill0.




Nov 24 2015, 7:27 pm JCarrill0 Post #13



I made a post on the actual Blizzard Support Ticket, and I got this reply:
Quote
Dear JCarrill0,

This is GM Thunrix at your service. I hope you're doing great :)

If the content of the game changed, unfortunately we don’t have information on how to make those maps or icon reappear.

You may want to ask other players that are actively playing StarCraft Anthology on the Classic Games forum here:

http://us.battle.net/en/forum/

Have a good one. Thank you again for contacting us. It was a pleasure :)

I'll appreciate a lot if you mark this petition as resolved from Battle.net > SUPPORT > Support Tickets. If you have another issue you can contact me through ticket or chat, to talk in person.

/Hug
Thunrix
I even made a Support Forum Post HERE




Nov 24 2015, 11:05 pm JCarrill0 Post #14



I got the icons to show up, (with the REG i was given by Roy), however I still have an issue.

When i click on a map, it doesn't open the map, it just opens up the Editor to a blank map.




Nov 24 2015, 11:14 pm Roy Post #15

An artist's depiction of an Extended Unit Death

Quote from JCarrill0
Edit: ok weird, when i uploaded a map today.. the files seems to be associated as they should, but only when i try to open to actual folder and view the files that way, the icons still have the wrong one and open a blank StarEdit still. Odd
Seems like I have the same problem. Could be a bug with Staredit.exe for modern operating systems.

Try installing X-tra Editor if you want an editor that has the same feel as Staredit.exe but with slightly fewer limitations. I can't run it on Windows 10, it seems, but maybe you'll have more luck.




Nov 24 2015, 11:17 pm JCarrill0 Post #16



Quote from Roy
Quote from JCarrill0
Edit: ok weird, when i uploaded a map today.. the files seems to be associated as they should, but only when i try to open to actual folder and view the files that way, the icons still have the wrong one and open a blank StarEdit still. Odd
Seems like I have the same problem. Could be a bug with Staredit.exe for modern operating systems.

Try installing X-tra Editor if you want an editor that has the same feel as Staredit.exe but with slightly fewer limitations. I can't run it on Windows 10, it seems, but maybe you'll have more luck.
LOl funny story, I actually KNOW General Mengsk (who created the extra editor)! I met him back when he created 2.5 and I helped test the 2.6 and 2.7 (which was never released)

Starforge was advanced for that time, but Heimdal went MIA. Eventually Mengsk when to work on SCM Draft 2, X-tra Editor 2.7 was never released cuz SCM Draft 2 is superior in every way.




Nov 25 2015, 4:54 pm O)FaRTy1billion[MM] Post #17

👻 👾 👽 💪

Quote from Roy
Quote from JCarrill0
Edit: ok weird, when i uploaded a map today.. the files seems to be associated as they should, but only when i try to open to actual folder and view the files that way, the icons still have the wrong one and open a blank StarEdit still. Odd
Seems like I have the same problem. Could be a bug with Staredit.exe for modern operating systems.

Try installing X-tra Editor if you want an editor that has the same feel as Staredit.exe but with slightly fewer limitations. I can't run it on Windows 10, it seems, but maybe you'll have more luck.
If StarEdit won't work then X-Tra very likely won't work either since it is just a mod of StarEdit.



TinyMap2 - Latest in map compression! ( 7/09/14 - New build! )
EUD Action Enabler - Lightweight EUD/EPD support! (ChaosLauncher/MPQDraft support!)
EUDDB - topic - Help out by adding your EUDs! Or Submit reference files in the References tab!
MapSketch - New image->map generator!
EUDTrig - topic - Quickly and easily convert offsets to EUDs! (extended players supported)
SC2 Map Texture Mask Importer/Exporter - Edit texture placement in an image editor!
\:farty\: This page has been viewed [img]http://farty1billion.dyndns.org/Clicky.php?img.gif[/img] times!

Nov 25 2015, 5:24 pm JCarrill0 Post #18



Quote from O)FaRTy1billion[MM]
If StarEdit won't work then X-Tra very likely won't work either since it is just a mod of StarEdit.

I am not sure since i use Win7. I only use StarEdit/SCMD2 these days StarForge is a lost Gem of its era, and X-tra Editor was left behind as he moved to SCMD2.




Nov 27 2015, 5:07 am rockz Post #19

ᴄʜᴇᴇsᴇ ɪᴛ!

Usually you have to add %1 to get an application to open a particular file, %1 being the name of the file you're referencing. For example: here's how to add a context menu item for text files to edit with notepad:

http://www.howtogeek.com/howto/windows-vista/add-open-with-notepad-to-the-context-menu-for-all-files/

I'm unsure if windows 8 makes any significant changes to the registry to prevent this. Typically you can set the default program for a file extension in the default program wizard.

A quick way to test if this works is to drag a scm file on top of the staredit.exe file, or opening a command prompt and typing "staredit.exe example.scx" to try to open an example.scx file in the directory that staredit.exe is currently in.



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

Nov 30 2015, 1:18 pm JCarrill0 Post #20



Quote from rockz
Usually you have to add %1 to get an application to open a particular file, %1 being the name of the file you're referencing. For example: here's how to add a context menu item for text files to edit with notepad:

http://www.howtogeek.com/howto/windows-vista/add-open-with-notepad-to-the-context-menu-for-all-files/

I'm unsure if windows 8 makes any significant changes to the registry to prevent this. Typically you can set the default program for a file extension in the default program wizard.

A quick way to test if this works is to drag a scm file on top of the staredit.exe file, or opening a command prompt and typing "staredit.exe example.scx" to try to open an example.scx file in the directory that staredit.exe is currently in.
Still opens up blank file when dragging the map to the StarEdit, the program opens, just as a blank file.

Quote
Windows must not be passing the editor the right arguments. Often there are flags needed to auto open maps.

how do I fix it?

Quote
For StarCraft II they use the following default...
Code
"C:\Program Files (x86)\StarCraft II\Support64\SC2Editor_x64.exe" -loadfile "%1" -product SC2

This was placed in...
Code
HKEY_CLASSES_ROOT\SC2.Map\shell\open\command

StarCraft I will obviously need something similar to this. Which is linked to the file extension like...
Code
HKEY_CLASSES_ROOT\.SC2Map
(default) : SC2.Map





Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[05:00 pm]
lil-Inferno -- benis
[10:41 am]
v9bettel -- Nice
[01:39 am]
Ultraviolet -- no u elky skeleton guy, I'll use em better
[10:50 pm]
Vrael -- Ultraviolet
Ultraviolet shouted: How about you all send me your minerals instead of washing them into the gambling void? I'm saving up for a new name color and/or glow
hey cut it out I'm getting all the minerals
[10:11 pm]
Ultraviolet -- :P
[10:11 pm]
Ultraviolet -- How about you all send me your minerals instead of washing them into the gambling void? I'm saving up for a new name color and/or glow
[2024-4-17. : 11:50 pm]
O)FaRTy1billion[MM] -- nice, now i have more than enough
[2024-4-17. : 11:49 pm]
O)FaRTy1billion[MM] -- if i don't gamble them away first
[2024-4-17. : 11:49 pm]
O)FaRTy1billion[MM] -- o, due to a donation i now have enough minerals to send you minerals
[2024-4-17. : 3:26 am]
O)FaRTy1billion[MM] -- i have to ask for minerals first tho cuz i don't have enough to send
Please log in to shout.


Members Online: jun3hong, Ultraviolet, Roy