HOWTO: link unreal://ip or xmp://ip to XMP

  • Two Factor Authentication is now available on BeyondUnreal Forums. To configure it, visit your Profile and look for the "Two Step Verification" option on the left side. We can send codes via email (may be slower) or you can set up any TOTP Authenticator app on your phone (Authy, Google Authenticator, etc) to deliver codes. It is highly recommended that you configure this to keep your account safe.
Status
Not open for further replies.

Bazzi

Wearing pink
Apr 22, 2001
629
0
0
Germany
www.bazzinet.info
As Rage requested in another thread, it'd be useful to have XMP associated to unreal:// (or to avoid conflicts with UT2003 xmp://)

I've put together 2 scripts for the Windows Registry.

unreal://

Code:
Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\unreal]
@="URL:Unreal Protocol"
"URL protocol"=""

[HKEY_CLASSES_ROOT\unreal\DefaultIcon]
@="I:\\Games\\U2XMP\\Help\\Unreal.ico"

[HKEY_CLASSES_ROOT\unreal\Shell]
@="open"

[HKEY_CLASSES_ROOT\unreal\Shell\open]
@="&Play this Unreal level"

[HKEY_CLASSES_ROOT\unreal\Shell\open\command]
@="I:\\Games\\U2XMP\\System\\U2XMP.exe \"%1\""

xmp://

Code:
Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\xmp]
@="URL:Unreal Protocol"
"URL protocol"=""

[HKEY_CLASSES_ROOT\xmp\DefaultIcon]
@="I:\\Games\\U2XMP\\Help\\Unreal.ico"

[HKEY_CLASSES_ROOT\xmp\Shell]
@="open"

[HKEY_CLASSES_ROOT\xmp\Shell\open]
@="&Play this Unreal level"

[HKEY_CLASSES_ROOT\xmp\Shell\open\command]
@="I:\\Games\\U2XMP\\System\\U2XMP.exe \"%1\""

ATTENTION: Of course u have to edit the paths to fit yours!
Pay attention to using double back slashes (\\) for paths!
 

iddQd

Yours truly
Dec 26, 2001
1,219
0
0
38
Sweden
Uh oh. m... couldn't you like... eh write a nubs guide for this? I don't really know where to start :(
 

Bazzi

Wearing pink
Apr 22, 2001
629
0
0
Germany
www.bazzinet.info
OK:
Save the stuff of the code boxes to a textfile (test.txt)

Then edit the path:

Code:
@="I:\\Games\\U2XMP\\System\\U2XMP.exe \"%1\""
^this is the path to your XMP, if you have it in C:\XMP change it to:

Code:
@="C:\\XMP\\System\\U2XMP.exe \"%1\""

Afterwards rename it to test.reg and double-click it.
There should pop up a question like "Do you want to add test.reg to your registry"?
Click ok and you're done!
 

Zur

surrealistic mad cow
Jul 8, 2002
11,708
8
38
49
Hey Bazzi, that's a very neat tweak you've developped there and be certain that I will pass it on. This association problem with the unreal url (which is official by Internet standards) is common to all of the Unreal series, though.

I posted a suggestion in the Coding forum in the hopes that someone might implement a solution, but noone seems to have picked it up. If you know any programmers out there that develop Windows applications then please forward them this link :

http://forums.beyondunreal.com/showthread.php?t=117660
 

Zur

surrealistic mad cow
Jul 8, 2002
11,708
8
38
49
Bazzi said:
Fearless: I can make such an application if needed ;)

That would be much appreciated :D . An application that allows a user to select an Unreal game from a pull-down list would be more than sufficient.

There is a document somewhere in that thread that details how to identify the type of server running on a specific IP using a protocol specific to Gamespy.
 

Zur

surrealistic mad cow
Jul 8, 2002
11,708
8
38
49
It's an addition to the registry that makes an xmp:// style link (with IP) launch Unreal II 2 XMP and access a online server with a simple click. In short, it's a customized unreal:// link :p .
 

Zur

surrealistic mad cow
Jul 8, 2002
11,708
8
38
49
Anathema- said:
What does this do exactly?

Launch XMP whenever an xmp:// style link is clicked. The current unreal:// link will launch whatever the lastest Unreal title you've installed is whether it's Unreal, UT, UT2003/UT2004 or XMP.
 
Status
Not open for further replies.