How To: Make a working MH tab for UT in-game browser

Customize your Barbie World.
Post Reply
Voltoyle
Posts: 19
Joined: Thu Apr 29, 2021 1:52 pm

How To: Make a working MH tab for UT in-game browser

Post by Voltoyle »

Short story: even if you have the Monster Hunt mod installed, you will not be able to see any MH servers listed in the in-game server browser, because the mod has been hard-coded to rely only on the master0.gamespy.com master server, which has shut down its service on May 31, 2014

Solution: there's a workaround for this, but it requires editing a couple of UT system files.
First of all, locate the UnrealTournament.INI file (usually found in C:\UnrealTournament\System folder) and make a backup copy of it in case you screw up something.
Now open it up with a simple text editor such as Windows NotePad.
Search for the [UBrowser.UBrowserMainClientWindow] section, and if not there, add something like this: ServerListNames[XX]=UBrowserMH, where XX is the number of the first usable empty line in that list.
In my case, it looks like this:

[UBrowser.UBrowserMainClientWindow]
LANTabName=UBrowserLAN
ServerListNames[0]=UBrowserUT
ServerListNames[1]=UBrowserLAN
ServerListNames[2]=UBrowserPopulated
ServerListNames[3]=UBrowserDeathmatch
ServerListNames[4]=UBrowserTeamGames
ServerListNames[5]=UBrowserCTF
ServerListNames[6]=UBrowserDOM
ServerListNames[7]=UBrowserAS
ServerListNames[8]=UBrowserLMS
ServerListNames[9]=UBrowserAll
ServerListNames[10]=UBrowserMH
ServerListNames[11]=
[...]
bKeepMasterServer=True


Now keep scrolling down, you'll see some sections such as [UBrowserCTF], [UBrowserLMS], and so on.
Right before [UBrowserAll], add something like this:

[UBrowserMH]
ListFactories[0]=UBrowser.UBrowserSubsetFact,SupersetTag=UBrowserAll,GameType=MonsterHunt,bCompatibleServersOnly=True
ListFactories[1]=UBrowser.UBrowserSubsetFact,SupersetTag=UBrowserAll,GameType=MonsterHuntArena,bCompatibleServersOnly=True
ListFactories[2]=UBrowser.UBrowserSubsetFact,SupersetTag=UBrowserAll,GameType=MonsterHuntFix,bCompatibleServersOnly=True
ListFactories[3]=UBrowser.UBrowserSubsetFact,SupersetTag=UBrowserAll,GameType=MonsterHuntPlus,bCompatibleServersOnly=True
ListFactories[4]=UBrowser.UBrowserSubsetFact,SupersetTag=UBrowserAll,GameType=MonsterHuntSB,bCompatibleServersOnly=True
ListFactories[5]=UBrowser.UBrowserSubsetFact,SupersetTag=UBrowserAll,GameType=TeamMH,bCompatibleServersOnly=True

Pay attention to blank spaces if you're copy pasting this, double check there are none at the end of the lines or this won't work; also leave an empty line from the previous section and before the next one.
What I'm doing here, is making a custom Monster Hunt tab taking into account several different mods relatable to the Monster Hunt gametype.

I did some research as well, and in order to make the best out of this, you should update also the list of the master servers used by the game to browse all of the available game servers.
Keep scrolling to the [UBrowserAll] section and make it look like this:

[UBrowserAll]
ListFactories[0]=UBrowser.UBrowserGSpyFact,MasterServerAddress=utmaster.epicgames.com,MasterServerTCPPort=28900,Region=0,GameName=ut
ListFactories[1]=UBrowser.UBrowserGSpyFact,MasterServerAddress=master.333networks.com,MasterServerTCPPort=28900,Region=0,GameName=ut
bHidden=True
bFallbackFactories=False
ServerListTitle=
ListFactories[2]=UBrowser.UBrowserGSpyFact,MasterServerAddress=master.oldunreal.com,MasterServerTCPPort=28900,Region=0,GameName=ut
ListFactories[3]=UBrowser.UBrowserGSpyFact,MasterServerAddress=master.errorist.eu,MasterServerTCPPort=28900,Region=0,GameName=ut
ListFactories[4]=
ListFactories[5]=
ListFactories[6]=
ListFactories[7]=
ListFactories[8]=
ListFactories[9]=
URLAppend=
AutoRefreshTime=0
bNoAutoSort=False


We're almost done, save the changes and close the file.

Now the last step, look for a file named UBrowser.INT still located in the UnrealTournament\System folder, and again make a backup copy first.
Now temporarily change its extension to .TXT, or just directly open it up with NotePad or a text editor of your choice.

Make it look like this:

[Public]

[ServerListTitles]
UBrowserUT=UT Servers
UBrowserLAN=LAN Servers
UBrowserPopulated=Populated Servers
UBrowserDeathmatch=Deathmatch
UBrowserTeamGames=Team Deathmatch
UBrowserCTF=Capture the Flag
UBrowserDOM=Domination
UBrowserAS=Assault
UBrowserLMS=Last Man Standing
UBrowserAll=All Servers
UBrowserMH=Monster Hunt


Save changes, restore the extension to INT and close.

If you've followed all the steps correctly, now you'll notice a new working Monster Hunt tab in the UT server browser.
DeweyKiller
Posts: 9
Joined: Mon Nov 29, 2021 8:16 am

Re: How To: Make a working MH tab for UT in-game browser

Post by DeweyKiller »

Thank you for the tutorial, works great for except one thing. The display name in the tab. I am running the 496d AMD64 Linux version as of Dec 17. Any suggestions ?
Attachments
Screenshot from 2023-12-17 19-46-04.png
Screenshot from 2023-12-17 19-46-04.png (63.61 KiB) Viewed 1551 times
Barbie
Site Admin
Posts: 197
Joined: Thu Nov 08, 2018 7:12 am

Re: How To: Make a working MH tab for UT in-game browser

Post by Barbie »

Are you sure you have set UBrowserMH=Monster Hunt in section "ServerListTitles" in file UBrowser.INT?
The name "UBrowserMH" there must match the name you have used in "ServerListNames" in section [UBrowser.UBrowserMainClientWindow] in file UnrealTournament.INI.
Post Reply