49 users online: 7 up, Amine Retro,  Anorakun, Bernardo, blgmadresh0000, Blizzard Buffalo, brickblock369, bwal, chickaDEE Magazine, CosmicTiff, Darolac,  Doctor No, DPBOX,  E-man38,  Ersanio, Green Jerry, Hayashi Neru, Katrina, Kevin WAT,  KevinM, KiloMinimo,  Koopster, kyasarintsu,  lion, LOLRyan2006 the Goombud, lordkronos100, Lotica, Louie_Fan, Luigiman941, Mandagary,  Meirdent, Mogu94, musicalman, NewPointless, ninj, NoMoreStars, P1JDS, Raidenthequick, RetroJunky.T, Soonstar, StackDino, SubconsciousEye, Super Maks 64,  Tahixham,  Teyla, thejhonny-ador, TheMorganah,  Tob, Von Fahrenheit - Guests: 156 - Bots: 288 Users: 45,649 (3,283 active)
Latest user: zyta
Not logged in.
Can't associate .smc files with ZSNES in Windows 7
Forum Index - Donut Plains - Computers & Technology - Can't associate .smc files with ZSNES in Windows 7
Pages: « 1 »
Edit: Solved my problem, see my last post.

I'm having a bit of trouble trying to associate .smc files with my ZSNES emulator. When I try doing "open with" and navigate to ZSNES (using the Browse button and opening up ZSNES from the folder), ZSNES does not appear in the list of programs.

My computer is running Windows 7 Ultimate x64 edition, if it helps.

Is there any way I can manually associate .smc files so that I don't have to manually open them within ZSNES?

Edit2: Updated title to be more specific.
Huh. Are you sure that the ZSNES executable has the right extension? Also, try setting the "File Type" box to "All Files (*.*)". Or put *.* in the filename box.

Celarix | [email protected] | Avatar by Uhrix
Yes, I tried both. No luck. #w{:s}
I believe this is a common bug(?) with Windows now-a-days, I have also seen this happen to me, and I have been unable to find a fix without resorting to third-party tools.
File type associations are completely borked when the executable is commonly moved or renamed, it seems. You'll have to use some other tool, or use the registry editor to do it yourself manually.

World Community Grid: Thread | Team
 
Tried manually associating the file via regedit, still nothing doing.

As it is right now I have to manually open the roms within ZSNES - a pretty repetitive (and therefore annoying) process especially since I play lots of romhacks. #w{>=(}

Looks like third party tools may unfortunately be my only option. Anybody have any suggestions?

Edit: Or perhaps maybe I did the regedit thing wrong. Eh, probably not since I've played around with the Windows registry quite a bit in my computer classes, and I've manually associated files before.
Editing the Registry often requires a reboot to see desired effects.

--------------------
Layout by Counterfeit.
Originally posted by Pikachu32
Editing the Registry often requires a reboot to see desired effects.


That is exactly what I did when fiddling around with the registry, and of course to no avail.

For whatever reason Windows is being a complete asshole to me right now. #w{>=(}

Guess my only options may be either stick with manually loading files from ZSNES, waiting for a new version of ZSNES, or (as stated above) using a third party tool. Suggestions anyone?

Edit: Problem solved, turns out I had to do something simple in HKEY_CLASSES_ROOT. #w{=3} This thread may be trashed now.
Why trash it when you have performed a working solution that other people would be interested in? Well I guess they can't search for this, as you destroyed the thread title

(By this, I mean there is no reason to trash solved threads, as it can contain invaluable information. Information should never be trashed or destroyed, please restore the original thread title so future members searching the Tech Desk can find this solution if they have the same problem.)

World Community Grid: Thread | Team
 
Originally posted by Ultimaximus
Information should never be trashed or destroyed, please restore the original thread title so future members searching the Tech Desk can find this solution if they have the same problem.


Done. No need to trash the thread then.

Edit: I guess I might as well explain what I did while I'm at it as well, so that people can further benefit from the thread.

1. The first thing you need to do is create a shortcut to ZSNES in the same folder as ZSNES. If done right you should have zsnesw.exe (the actual program) and zsnesw.lnk (the shortcut).

2. In regedit, you will need to navigate to HKEY_CLASSES_ROOT\smc_auto_file\shell\open\command.

3. Modify the (Default) value in the command key so that it displays the following (quotation marks included):
Code
"C:\<replace this with path to folder containing ZSNES>\zsnesw.lnk" "%1"


4. Reboot your computer, then go back into regedit and navigate back to the key you modified in step 3, then change the 'lnk' to 'exe'.

5. Right click any smc file and select "open with". ZSNES should be available as an option. Select it, and make sure you have "Always use the selected program to open this type of file" checked.

Voila! Problem solved.

Note that I did this with Windows 7; it might work with Vista, but I can't be 100% sure.

Also, if you don't have an smc_auto_file key in the registry, go to HKEY_CLASSES_ROOT\.smc. Look at the data in the (Default) value. Write this down on piece of paper or something. Then, while still in HKCR, navigate to the key that you wrote down, and expand it. Inside, you should see a key called "shell". Expand that, and you'll see the key "open"; expand THAT, and you will get to the "command" key. From there, simply follow the instructions from step 3.
will this also work for lunar magic? I like being able to open .smc files like a document and work on it.

Edit: Works for lunar magic too :)

This will probably work for all extensions that I have broken.

--------------------
My Current Hacking Project: "Static E"
Supporting:
Mario's Kool-Aid Acid Trip (maybe?)
It's a bit of a cheat, since you're applying the file association to the shortcut rather than the actual program. If you replace every instance of the old file path to the executable with the new file path, you shouldn't need to associate it with a shortcut. It still works though, I guess.

World Community Grid: Thread | Team
 
I skipped the shortcut part, and just went ahead and copied the new path like you had in mind. His way just adds a step for some reason, but it works... I'm associating .bin files to yy-chr now since I used to have it that way till it broke.

--------------------
My Current Hacking Project: "Static E"
Supporting:
Mario's Kool-Aid Acid Trip (maybe?)
I hate to bump this, but I can't seem to figure something out. In regedit, there's a ".smc" entry in the list of file types, but it's not ".smc_auto_file" and there's no way to expand it. :S

--------------------
Re-registered as Roadsguy.
I'd delete that registry key and start from scratch with associating that file with anything. It's rather messy.

--------------------
<blm> zsnes users are the flatearthers of emulation
It turns out I was looking at the wrong thing.

Now I can't even change the "(default)" value. It's grayed out and can't be edited. :(

EDIT: Should I make a new registry value and delete the old one?

--------------------
Re-registered as Roadsguy.
Pages: « 1 »
Forum Index - Donut Plains - Computers & Technology - Can't associate .smc files with ZSNES in Windows 7