Snes9x.com
http://www.snes9x.com/phpbb3/

win32: file association
http://www.snes9x.com/phpbb3/viewtopic.php?f=8&t=5710
Page 1 of 1

Author:  gocha [ Mon Aug 27, 2012 1:25 pm ]
Post subject:  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.

Author:  OV2 [ Mon Aug 27, 2012 3:53 pm ]
Post subject:  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.

Author:  gocha [ Tue Aug 28, 2012 10:59 am ]
Post subject:  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.

Author:  slack [ Sat Sep 01, 2012 3:33 am ]
Post subject:  Re: win32: file association

Who opened the big ol' can of spam as of late..?

Author:  adventure_of_link [ Sat Sep 01, 2012 4:54 am ]
Post subject:  Re: win32: file association

slack wrote:
Who opened the big ol' can of spam as of late..?

Don't worry, I've closed it.

Author:  King Of Chaos [ Sat Sep 08, 2012 7:57 pm ]
Post subject:  Re: win32: file association

I agree. Snes9x should at least prompt the user if they want to associate various ROM file extensions to Snes9x.

Author:  OV2 [ Sun Sep 09, 2012 10:27 pm ]
Post subject:  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.

Author:  8-bitBishop [ Fri Aug 15, 2014 7:18 am ]
Post subject:  Re: win32: file association

How do I disassociate this emulator from my files?! It's driving me nuts here.

Author:  OV2 [ Sat Aug 16, 2014 9:07 pm ]
Post subject:  Re: win32: file association

Download the zipfile linked above and doubleclick the .reg file.

Author:  EricJ2190 [ Sat Feb 07, 2015 4:44 pm ]
Post subject:  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?

Author:  OV2 [ Fri Feb 13, 2015 9:51 am ]
Post subject:  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.

Author:  Special [ Tue Feb 17, 2015 12:31 am ]
Post subject:  Re: win32: file association

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?


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.

Author:  moefurbino [ Wed Aug 02, 2017 4:29 pm ]
Post subject:  Re: win32: file association

Special wrote:
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?


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.


I literally just registered to say the same! snes9x opening winrar files is driving me nuts!

Author:  Melchior [ Fri Aug 04, 2017 7:04 pm ]
Post subject:  Re: win32: file association

moefurbino wrote:
I literally just registered to say the same! snes9x opening winrar files is driving me nuts!

YUP! annoying as F...
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...

Author:  Melchior [ Tue Aug 15, 2017 1:14 am ]
Post subject:  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 :P :roll: :roll:
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

Attachments:
File comment: ALL OF SNES9x Windows Registry
entries....

snes9x-x64.exe__Reg_entries.reg.zip [2.28 KiB]
Downloaded 69 times

Author:  Melchior [ Tue Aug 15, 2017 1:31 am ]
Post subject:  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

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/