Zandronum Chat on our Discord Server Get the latest version: 3.1
Source Code

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0004015Zandronum[All Projects] Suggestionpublic2022-07-03 14:022022-07-16 11:03
Reporterduke 
Assigned To 
PrioritynormalSeverityfeatureReproducibilityN/A
StatusnewResolutionopen 
PlatformMicrosoftOSWindowsOS VersionXP/Vista/7
Product Version 
Target VersionFixed in Version 
Summary0004015: [installer] Associate zan:// links with Doomseeker
DescriptionI would like to propose a feature (patch included) for the Zandronum installer: The installer would offer an option to associate links that start with "zan://" with Doomseeker, so that if a user opens a link that has the form "zan://<host>:<port>", Doomseeker would launch Zandronum to connect to that server. This is similar to what for example Steam does with "steam://..." links.

Doomseeker already supports running "doomseeker --connectzan://<host>:<port>", [^] so all that is needed is an extra checkbox in the installer to set up an association with Windows for the "zan" URL scheme by creating entries in the registry.

My motivation is to have working "click to play" server links onhttps://doomlist.net/ [^] without requiring manual configuration by the user. For now users need to edit the registry manually to have the links work (https://doomlist.net/howto_address.html [^] ).

I implemented this feature on top of the Github TorrSamaho/zandronum-installer repository and will make a pull request there (link in comment). The patch is also attached.

If you guys like the idea I would love to see it end up in the installer eventually.
Attached Filespatch file icon installer-add-zan-association.patch [^] (6,140 bytes) 2022-07-03 14:02 [Show Content]
png file icon installer-screenshot1.png [^] (46,877 bytes) 2022-07-03 14:05


png file icon installer-screenshot2.png [^] (20,036 bytes) 2022-07-03 14:05

- Relationships

-  Notes
User avatar (0022275)
duke (reporter)
2022-07-03 14:05

Pull request:https://github.com/TorrSamaho/zandronum-installer/pull/1 [^]
User avatar (0022276)
WubTheCaptain (reporter)
2022-07-15 16:10

Could be better if Zandronum could handle the URIs without the dependency on Doomseeker. My personal opinion.
User avatar (0022277)
duke (reporter)
2022-07-15 16:39

The point of using Doomseeker here is that it can automatically find and load all the WADs for the server. Using Zandronum directly would make it very inconvenient.
User avatar (0022278)
WubTheCaptain (reporter)
2022-07-16 02:58
edited on: 2022-07-16 03:02

Perhaps it would be more useful to Doomseeker's dynamically loaded doomseeker-zandronum plugin users in general, as a configuration option for that plugin. I don't like this configuration being tied to the Zandronum installer. Alternatively, use the system-provided configuration for application handling for schemes.

User avatar (0022279)
WubTheCaptain (reporter)
2022-07-16 03:03

Heck, even Doomseeker can download Zandronum binaries (though it may not be the best practice) without using the Zandronum installer/bundle.
User avatar (0022280)
duke (reporter)
2022-07-16 10:03
edited on: 2022-07-16 11:03

Personally I think the installer is the natural place to initially create the association. Consider:

1) It is analogous to how association of PWAD files is currently done in the installer.

2) How does Steam associate steam:// links? The installer does it (without even asking).

3) In theory nothing is preventing Doomseeker or system-provided tools from managing the association after the installer offers the option first, or setting it up if the installer wasn't used.

3a) In practice in the case of Windows the system-provided tools are not helpful and Doomseeker would require a bunch of extra platform-specific code to request admin permissions (not otherwise needed for Doomseeker) and edit the registry.

3b) On Linux the natural way would be to handle this in packaging, so eg. the DEB packages would set up the association. Not many people are using those so I decided to leave this for later and see how this proposal works out first.


Issue Community Support
Only registered users can voice their support. Click here to register, or here to log in.
Supporters: No one explicitly supports this issue yet.
Opponents: WubTheCaptain

- Issue History
Date Modified Username Field Change
2022-07-03 14:02 duke New Issue
2022-07-03 14:02 duke File Added: installer-add-zan-association.patch
2022-07-03 14:05 duke File Added: installer-screenshot1.png
2022-07-03 14:05 duke File Added: installer-screenshot2.png
2022-07-03 14:05 duke Note Added: 0022275
2022-07-15 16:10 WubTheCaptain Note Added: 0022276
2022-07-15 16:39 duke Note Added: 0022277
2022-07-16 02:58 WubTheCaptain Note Added: 0022278
2022-07-16 03:02 WubTheCaptain Note Edited: 0022278 View Revisions
2022-07-16 03:03 WubTheCaptain Note Added: 0022279
2022-07-16 10:03 duke Note Added: 0022280
2022-07-16 11:03 duke Note Edited: 0022280 View Revisions






Questions or other issues? Contact Us.

Links


Copyright © 2000 - 2022 MantisBT Team
Powered by Mantis Bugtracker