.WAgame file association [Archive] - Team17 Forum

PDA

View Full Version : .WAgame file association

Explorer
11 May 2010, 13:21
I personally think this is a bug rather than a feature request.
The ".WAgame" file extension is (re-)associated each time I start WA. However, this should be done during installation and not during run-time. What I mean is that the "update installer" should create the file association when updating WA, and the WA.exe should stop doing so when running. This will allow users to tweak the registry for their needs. (associating with WormKit, applying the Thumbnail Extension, etc.)
Also, an "open" shell command should be present for most file extensions. Some programs will only recognize the "open" command when opening files. Why I say this is that Safari, the browser I'm using, will fail (and eventually crash) when it tries to open the ".WAgame" file I just downloaded. Therefore, I suggest that the registry key [HKCR\Team17.WAgame\shell\a.play] should be renamed to [HKCR\Team17.WAgame\shell\open] to solve the problem.
That's the two issues I've seen. Sorry for bad English.

CyberShadow
11 May 2010, 13:28
The first issue has already been fixed for the next Beta.
I disagree with the second issue. Unless you can find some official documentation stating that shell action menus must contain an "open" action, it's a bug in Safari, and I don't see the point of changing something to accommodate a broken and obscure (http://arstechnica.com/apple/news/2008/05/safari-for-windows-triples-infinitesimal-market-share.ars) program.

CyberShadow
11 May 2010, 14:38
FWIW, I researched the problem a bit, and it looks like Safari is most likely incorrectly passing "open" as the action to ShellExecute, instead of passing NULL to execute the default action.

Explorer
11 May 2010, 14:53
I disagree with the second issue. Unless you can find some official documentation stating that shell action menus must contain an "open" action, it's a bug in Safari, and I don't see the point of changing something to accommodate a broken and obscure (http://arstechnica.com/apple/news/2008/05/safari-for-windows-triples-infinitesimal-market-share.ars) program.
AFAIK, it's not a must-have action, but it's recommended to have at least one standard verb.
This is what I've found:
http://msdn.microsoft.com/en-us/library/bb165967(VS.80).aspx
EDIT: I've found more
http://msdn.microsoft.com/en-us/library/cc144101(VS.85).aspx#canonical
ms-help://MS.PSDKSVR2003R2.1033/shellcc/platform/shell/programmersguide/shell_basics/shell_basics_extending/fileassociations/fa_verbs.htm
(requires Microsoft Platform SDK R2 documentation to access to this URI)

CyberShadow
11 May 2010, 15:16
Well, the standard verb that best corresponds to the default action for .WAgame files is "play", but I don't think that'll actually solve the Safari problem.

Explorer
11 May 2010, 15:53
Nevermind about the Safari problem, I just suggest that an "open" verb should be available, which is the most common anyway.
BTW, Windows Media Player registers its file extensions with both "open" and "play" verb, and I don't see any differences between two actions.

vBulletin® v3.8.6, Copyright ©2000-2013, Jelsoft Enterprises Ltd.