It is currently Tue Dec 12, 2017 2:46 am

All times are UTC




Post new topic Reply to topic  [ 16 posts ] 
Author Message
 Post subject: win32: file association
PostPosted: Mon Aug 27, 2012 1:25 pm 
Offline
Snes9x Yellow Belt
User avatar

Joined: Sun Dec 30, 2007 12:14 am
Posts: 64
Location: Japan, Nagoya
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.

_________________
gocha - TASvideos forum


Top
 Profile  
Reply with quote  
PostPosted: Mon Aug 27, 2012 3:53 pm 
Offline
Official Win32 Porter/Dev
User avatar

Joined: Thu Aug 30, 2007 10:15 pm
Posts: 594
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.


Top
 Profile  
Reply with quote  
PostPosted: Tue Aug 28, 2012 10:59 am 
Offline
Snes9x Yellow Belt
User avatar

Joined: Sun Dec 30, 2007 12:14 am
Posts: 64
Location: Japan, Nagoya
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.

_________________
gocha - TASvideos forum


Top
 Profile  
Reply with quote  
PostPosted: Sat Sep 01, 2012 3:33 am 
Offline
Snes9x Yellow Belt
User avatar

Joined: Mon May 24, 2004 11:03 am
Posts: 61
Location: USA
Who opened the big ol' can of spam as of late..?


Top
 Profile  
Reply with quote  
PostPosted: Sat Sep 01, 2012 4:54 am 
Offline
Hero of Hyrule | Official Port Recruiter

Joined: Mon May 24, 2004 5:06 pm
Posts: 2588
Location: 255.255.255.255
slack wrote:
Who opened the big ol' can of spam as of late..?

Don't worry, I've closed it.

_________________
Image

Unofficial Test Monkey For:
* Snes9X GX (Wii)
* Snes9X EX (Android)
* Snes9X 64-bits (PC/Mac)

ZSNES|Ben Heck|NSRT|Bob Smiley


Top
 Profile  
Reply with quote  
PostPosted: Sat Sep 08, 2012 7:57 pm 
Offline
Snes9x White Belt
User avatar

Joined: Mon Feb 20, 2006 2:01 am
Posts: 6
I agree. Snes9x should at least prompt the user if they want to associate various ROM file extensions to Snes9x.


Top
 Profile  
Reply with quote  
PostPosted: Sun Sep 09, 2012 10:27 pm 
Offline
Official Win32 Porter/Dev
User avatar

Joined: Thu Aug 30, 2007 10:15 pm
Posts: 594
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.


Top
 Profile  
Reply with quote  
PostPosted: Fri Aug 15, 2014 7:18 am 
Offline
Snes9x White Belt

Joined: Fri Aug 15, 2014 6:54 am
Posts: 2
How do I disassociate this emulator from my files?! It's driving me nuts here.


Top
 Profile  
Reply with quote  
PostPosted: Sat Aug 16, 2014 9:07 pm 
Offline
Official Win32 Porter/Dev
User avatar

Joined: Thu Aug 30, 2007 10:15 pm
Posts: 594
Download the zipfile linked above and doubleclick the .reg file.


Top
 Profile  
Reply with quote  
PostPosted: Sat Feb 07, 2015 4:44 pm 
Offline
Snes9x White Belt

Joined: Sat Feb 07, 2015 4:31 pm
Posts: 1
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?


Top
 Profile  
Reply with quote  
PostPosted: Fri Feb 13, 2015 9:51 am 
Offline
Official Win32 Porter/Dev
User avatar

Joined: Thu Aug 30, 2007 10:15 pm
Posts: 594
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.


Top
 Profile  
Reply with quote  
PostPosted: Tue Feb 17, 2015 12:31 am 
Offline
Snes9x White Belt

Joined: Tue Feb 17, 2015 12:13 am
Posts: 1
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.


Top
 Profile  
Reply with quote  
PostPosted: Wed Aug 02, 2017 4:29 pm 
Offline
Snes9x White Belt

Joined: Wed Aug 02, 2017 4:16 pm
Posts: 1
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!


Top
 Profile  
Reply with quote  
PostPosted: Fri Aug 04, 2017 7:04 pm 
Offline
Snes9x White Belt
User avatar

Joined: Sun Jan 31, 2016 7:02 pm
Posts: 11
Location: NH, USA
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...

_________________
[b][u](PC Specs)[/u][/b]
[b]CPU:[/b] AMD FX-9590 4.7GHz 8-core
[b]GPU:[/b] nVidia GTX 750Ti SC 2GB
[b]GFX Drivers:[/b] Nvidia v388.13
[b]OS:[/b] Windows 7 Ultimate 64-bit SP1
[b]RAM:[/b] 16GB 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]


Top
 Profile  
Reply with quote  
PostPosted: Tue Aug 15, 2017 1:14 am 
Offline
Snes9x White Belt
User avatar

Joined: Sun Jan 31, 2016 7:02 pm
Posts: 11
Location: NH, USA
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 68 times

_________________
[b][u](PC Specs)[/u][/b]
[b]CPU:[/b] AMD FX-9590 4.7GHz 8-core
[b]GPU:[/b] nVidia GTX 750Ti SC 2GB
[b]GFX Drivers:[/b] Nvidia v388.13
[b]OS:[/b] Windows 7 Ultimate 64-bit SP1
[b]RAM:[/b] 16GB 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]
Top
 Profile  
Reply with quote  
PostPosted: Tue Aug 15, 2017 1:31 am 
Offline
Snes9x White Belt
User avatar

Joined: Sun Jan 31, 2016 7:02 pm
Posts: 11
Location: NH, USA
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

_________________
[b][u](PC Specs)[/u][/b]
[b]CPU:[/b] AMD FX-9590 4.7GHz 8-core
[b]GPU:[/b] nVidia GTX 750Ti SC 2GB
[b]GFX Drivers:[/b] Nvidia v388.13
[b]OS:[/b] Windows 7 Ultimate 64-bit SP1
[b]RAM:[/b] 16GB 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]


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 16 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 9 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group