Unreal Tournament 3 (UT3) Protocol Registry Fix for launching UT3 links
UT3, at least installed via Steam, doesn't seem to register a URI scheme in Windows so that you can create links to UT3 servers, as was possible in earlier versions of Unreal Tournament.
This can be fixed by manually adding a ut3 protocol to the Windows registry.
Instructions
- Download the initial registry fix, but don't merge it yet: Download UT3 Protocol registry fix
- Open it with a text editor such as Notepad
- Change the install location to make where you have UT3. If your steam library is by default C:\Games\Steam, then you won't have to change anything.
- Save the file.
- Double-click the file to merge it with Windows Registry; click Yes at the warning prompt to proceed.
For information's sake, the contents of the registry file is below. You can create your own registry file from this by copying and saving the text, giving the file a .reg file extension.
Microsoft.Playwright.PlaywrightException: Error: The language "registry" has no grammar.
at Object.highlight (http://127.0.0.1:41899/main.js:3978:11)
at eval (eval at evaluate (:226:30), :2:18)
at UtilityScript.evaluate (:233:19)
at UtilityScript. (:1:44)
at Microsoft.Playwright.Transport.Connection.InnerSendMessageToServerAsync[T](ChannelOwnerBase object, String method, Dictionary`2 dictionary, Boolean keepNulls) in /_/src/Playwright/Transport/Connection.cs:line 209
at Microsoft.Playwright.Transport.Connection.WrapApiCallAsync[T](Func`1 action, Boolean isInternal) in /_/src/Playwright/Transport/Connection.cs:line 535
at Microsoft.Playwright.Core.Frame.EvaluateAsync[T](String script, Object arg) in /_/src/Playwright/Core/Frame.cs:line 548
at SiteGen.Extensions.Markdown.Prism.PrismHost.Highlight(String source, String language)
at SiteGen.Extensions.Markdown.Prism.PrismCodeBlockRenderer.Write(HtmlRenderer renderer, PrismCodeBlock obj)
I will look into automating this to detect where UT3 is installed, but I'm not sure how or where to get this information from Steam programmatically.
Creating server links
Format:
unreal://serveraddress:port
The address starts with unreal://, followed by the server name or IP address, then the server port (default being 7777).
UT3 apparently only likes the unreal protocol; changing it to ut3 or ut, the game complains at launch time about the URL.