win32: file association
win32: file association
I think two things about file association.
- Snes9x changes file associations with no confirmation. I really hate it.
- I do not want to associate "all" valid extensions to Snes9x. I would only want to associate with SFC and SMC.
Personally, I do not need the file association function at all, so just removing it is OK to me. However, for people who want the function, I suggest making a new "File Association..." menu item.
Idea 1: It popups yes/no dialog. If "yes" is clicked, Snes9x updates file association like as the older version does.
Idea 2: It popups a dialog which has "Extensions" listbox, "Select All" button, "Deselect All" button, OK and Cancel buttons. Snes9x updates file association of selected extensions, only if OK is pressed.
What do you think of these?
For the time being, I made a small patch to apply Idea 1.
- Snes9x changes file associations with no confirmation. I really hate it.
- I do not want to associate "all" valid extensions to Snes9x. I would only want to associate with SFC and SMC.
Personally, I do not need the file association function at all, so just removing it is OK to me. However, for people who want the function, I suggest making a new "File Association..." menu item.
Idea 1: It popups yes/no dialog. If "yes" is clicked, Snes9x updates file association like as the older version does.
Idea 2: It popups a dialog which has "Extensions" listbox, "Select All" button, "Deselect All" button, OK and Cancel buttons. Snes9x updates file association of selected extensions, only if OK is pressed.
What do you think of these?
For the time being, I made a small patch to apply Idea 1.
Re: win32: file association
A few facts:
S9x registers itself as a possible handler for all its file types, which means:
a) it does not overwrite any existing file associations
b) it appears in the "open with" list for these types
c) win7 can display these types in the jumplist
d) it seems that explorer displays the snes9x icon for all those types that do not have an association set
c) is why I added it in the first place, and d) is probably why people hate it.
We could add an option to create empty associations for all extensions that do not have an association, then those would retain the default "unknown filetype" icon.
S9x registers itself as a possible handler for all its file types, which means:
a) it does not overwrite any existing file associations
b) it appears in the "open with" list for these types
c) win7 can display these types in the jumplist
d) it seems that explorer displays the snes9x icon for all those types that do not have an association set
c) is why I added it in the first place, and d) is probably why people hate it.
We could add an option to create empty associations for all extensions that do not have an association, then those would retain the default "unknown filetype" icon.
Re: win32: file association
OV2, thank you for your info.
Some other thoughts:
- Because it updates file association every time, it is hard to coexist with two or more different versions, and fix the file association to one of them. (Since making a TAS needs a much time, TASers sometimes can use old version, that's not rare.)
- There is no easy way to uninstall S9x with the file association, right? I guess this can be why some people hate it.
I think it would be a little more acceptable than before, if S9x wouldn't change icons. Still I think altering user environment settings without his/her agreement is not much good.
Anyway, I hope the situation will be somewhat improved in some way someday. Thanks.
Some other thoughts:
- Because it updates file association every time, it is hard to coexist with two or more different versions, and fix the file association to one of them. (Since making a TAS needs a much time, TASers sometimes can use old version, that's not rare.)
- There is no easy way to uninstall S9x with the file association, right? I guess this can be why some people hate it.
I think it would be a little more acceptable than before, if S9x wouldn't change icons. Still I think altering user environment settings without his/her agreement is not much good.
Anyway, I hope the situation will be somewhat improved in some way someday. Thanks.
Re: win32: file association
Who opened the big ol' can of spam as of late..?
-
- Hero of Hyrule | Official Port Recruiter
- Posts: 2588
- Joined: Mon May 24, 2004 5:06 pm
- Location: 255.255.255.255
Re: win32: file association
Don't worry, I've closed it.slack wrote:Who opened the big ol' can of spam as of late..?
![Image](http://i16.tinypic.com/403lj49.gif)
Unofficial Test Monkey For:
* Snes9X GX (Wii)
* Snes9X EX (Android)
* Snes9X 64-bits (PC/Mac)
ZSNES|Ben Heck|NSRT|Bob Smiley
- King Of Chaos
- Snes9x White Belt
- Posts: 6
- Joined: Mon Feb 20, 2006 2:01 am
Re: win32: file association
I agree. Snes9x should at least prompt the user if they want to associate various ROM file extensions to Snes9x.
Re: win32: file association
I've found a way to register as an open with handler that will not cause the icon to appear in windows explorer. You can try the new testbuild - it also includes a .reg file to remove existing icons.
-
- Snes9x White Belt
- Posts: 2
- Joined: Fri Aug 15, 2014 6:54 am
Re: win32: file association
How do I disassociate this emulator from my files?! It's driving me nuts here.
Re: win32: file association
Download the zipfile linked above and doubleclick the .reg file.
Re: win32: file association
I would like to have the ability to run snes9x without registering associations at all on the host machine. This would be useful for those who want to have a portable copy on a thumbdrive or just don't want it to add these associations on their machine. It could look for a config file which, if present, skips RegisterProgid and RegisterExts. Would you be interested in a patch that does this if I were to submit one?
Re: win32: file association
I don't see any harm in the current registering process, but I can understand it if you want to have a version that does not touch the registry at all. If you make it an option in the config file I'll add it to the testbuilds.
Re: win32: file association
I literally just registered to say that EricJ2190, you will become a God in my book if this happens. The way Snes9X handles file association now is such a PITA.EricJ2190 wrote:I would like to have the ability to run snes9x without registering associations at all on the host machine. This would be useful for those who want to have a portable copy on a thumbdrive or just don't want it to add these associations on their machine. It could look for a config file which, if present, skips RegisterProgid and RegisterExts. Would you be interested in a patch that does this if I were to submit one?
-
- Snes9x White Belt
- Posts: 1
- Joined: Wed Aug 02, 2017 4:16 pm
Re: win32: file association
I literally just registered to say the same! snes9x opening winrar files is driving me nuts!Special wrote:I literally just registered to say that EricJ2190, you will become a God in my book if this happens. The way Snes9X handles file association now is such a PITA.EricJ2190 wrote:I would like to have the ability to run snes9x without registering associations at all on the host machine. This would be useful for those who want to have a portable copy on a thumbdrive or just don't want it to add these associations on their machine. It could look for a config file which, if present, skips RegisterProgid and RegisterExts. Would you be interested in a patch that does this if I were to submit one?
Re: win32: file association
YUP! annoying as F...moefurbino wrote: I literally just registered to say the same! snes9x opening winrar files is driving me nuts!
Its for this reason I won't even open Snes9X anymore...
I had to manually edit the registry to hack out the SNES9X stuff...
I was under the impression that the newest version was supposed to have removed the File Type association stealing...
but not sure... and I am not even willing to test out that theory without risking having to g in and re-edit the registry allover again...
[b][u](PC Specs)[/u][/b]
[b]CPU:[/b] AMD FX-9590 4.7GHz 8-core
[b]GPU:[/b] nVidia GTX 1070 Ti 8GB
[b]GFX Drivers:[/b] Nvidia v431.60
[b]OS:[/b] Windows 7 Ultimate 64-bit SP1
[b]RAM:[/b] 32GB DDR3
[b][u]Favorite Emulators:[/u][/b]
PS2 : [url=http://buildbot.orphis.net/pcsx2/]PCSX2 (Auto-Builds)[/url]
N64 : [url=http://www.pj64-emu.com]Project64[/url]
[b]CPU:[/b] AMD FX-9590 4.7GHz 8-core
[b]GPU:[/b] nVidia GTX 1070 Ti 8GB
[b]GFX Drivers:[/b] Nvidia v431.60
[b]OS:[/b] Windows 7 Ultimate 64-bit SP1
[b]RAM:[/b] 32GB DDR3
[b][u]Favorite Emulators:[/u][/b]
PS2 : [url=http://buildbot.orphis.net/pcsx2/]PCSX2 (Auto-Builds)[/url]
N64 : [url=http://www.pj64-emu.com]Project64[/url]
Re: win32: file association
OK...
HAVING HACKED out every trace of SNES9x from the Windows Registry..
I decided to try SNES9x out AGAIN! OR at least the (x64) build anyhow...
O_o
its adds back all sorts of FILE HANDLER entries..
I have attached the exported reg file with everything I found in it.....
It at least DID NOT MESS with the active file type associations..
I found that I could use the ZSNES command line stuff to get ZSNES to
open ROMS (.sfc) right from the Explorer... lol
;p :p
SO IDK... to use SNES9x OR NOT... lol ;p
HAVING HACKED out every trace of SNES9x from the Windows Registry..
I decided to try SNES9x out AGAIN! OR at least the (x64) build anyhow...
O_o
![Razz :P](./images/smilies/icon_razz.gif)
![Rolling Eyes :roll:](./images/smilies/icon_rolleyes.gif)
![Rolling Eyes :roll:](./images/smilies/icon_rolleyes.gif)
its adds back all sorts of FILE HANDLER entries..
I have attached the exported reg file with everything I found in it.....
It at least DID NOT MESS with the active file type associations..
I found that I could use the ZSNES command line stuff to get ZSNES to
open ROMS (.sfc) right from the Explorer... lol
![Wink ;)](./images/smilies/icon_wink.gif)
SO IDK... to use SNES9x OR NOT... lol ;p
- Attachments
-
- snes9x-x64.exe__Reg_entries.reg.zip
- ALL OF SNES9x Windows Registry
entries.... - (2.28 KiB) Downloaded 3173 times
[b][u](PC Specs)[/u][/b]
[b]CPU:[/b] AMD FX-9590 4.7GHz 8-core
[b]GPU:[/b] nVidia GTX 1070 Ti 8GB
[b]GFX Drivers:[/b] Nvidia v431.60
[b]OS:[/b] Windows 7 Ultimate 64-bit SP1
[b]RAM:[/b] 32GB DDR3
[b][u]Favorite Emulators:[/u][/b]
PS2 : [url=http://buildbot.orphis.net/pcsx2/]PCSX2 (Auto-Builds)[/url]
N64 : [url=http://www.pj64-emu.com]Project64[/url]
[b]CPU:[/b] AMD FX-9590 4.7GHz 8-core
[b]GPU:[/b] nVidia GTX 1070 Ti 8GB
[b]GFX Drivers:[/b] Nvidia v431.60
[b]OS:[/b] Windows 7 Ultimate 64-bit SP1
[b]RAM:[/b] 32GB DDR3
[b][u]Favorite Emulators:[/u][/b]
PS2 : [url=http://buildbot.orphis.net/pcsx2/]PCSX2 (Auto-Builds)[/url]
N64 : [url=http://www.pj64-emu.com]Project64[/url]
Re: win32: file association
STRANGE there doesn't seem to be an EDIT button... :/
BUT the EDIT button showed up for this POST??!!
anywho...
I would like to suggest changing the file type extension used for SNES9x's save-states to something more verbose..
it would make giving it a proper FILE TYPE label better.. then trying to associate a generic .000
like..
- ".snes9x_st_#"
OR
- ".snes9x_savestate_#"
or even
- ".snes9x_#"
and that is IF Windows will accept such a long file type name.. :p ;/
# = only 1 digitneded because there are only 1-9 save-states possible... as far as I can tell
BUT the EDIT button showed up for this POST??!!
anywho...
I would like to suggest changing the file type extension used for SNES9x's save-states to something more verbose..
it would make giving it a proper FILE TYPE label better.. then trying to associate a generic .000
like..
- ".snes9x_st_#"
OR
- ".snes9x_savestate_#"
or even
- ".snes9x_#"
and that is IF Windows will accept such a long file type name.. :p ;/
# = only 1 digitneded because there are only 1-9 save-states possible... as far as I can tell
[b][u](PC Specs)[/u][/b]
[b]CPU:[/b] AMD FX-9590 4.7GHz 8-core
[b]GPU:[/b] nVidia GTX 1070 Ti 8GB
[b]GFX Drivers:[/b] Nvidia v431.60
[b]OS:[/b] Windows 7 Ultimate 64-bit SP1
[b]RAM:[/b] 32GB DDR3
[b][u]Favorite Emulators:[/u][/b]
PS2 : [url=http://buildbot.orphis.net/pcsx2/]PCSX2 (Auto-Builds)[/url]
N64 : [url=http://www.pj64-emu.com]Project64[/url]
[b]CPU:[/b] AMD FX-9590 4.7GHz 8-core
[b]GPU:[/b] nVidia GTX 1070 Ti 8GB
[b]GFX Drivers:[/b] Nvidia v431.60
[b]OS:[/b] Windows 7 Ultimate 64-bit SP1
[b]RAM:[/b] 32GB DDR3
[b][u]Favorite Emulators:[/u][/b]
PS2 : [url=http://buildbot.orphis.net/pcsx2/]PCSX2 (Auto-Builds)[/url]
N64 : [url=http://www.pj64-emu.com]Project64[/url]
-
- Snes9x White Belt
- Posts: 1
- Joined: Tue Jun 22, 2021 7:31 pm
Re: win32: file association
How tf do I remove the file association without hacking and without updating? My friend put this on my laptop and now I can't download .bin files without it association the file and now I can't update my 3d printer.