[TUTORIAL] How to set up an HTTP file server for your SRB2Kart Server

Keryo Wolfe

Member
Hey, I run a dedicated server for SRB2Kart called "SL Mobius Racing" that runs a significant number of mods. as of 1.2, http downloading is enabled in the game, however I haven't seen anywhere explaining how to set it up for your server. So I did some searching and testing and figured out a fast and easy way to set it all up.

Note: I'm going to assume that you already know how to portforward. If you don't, there's plenty of online tutorials that'll show you how.

First thing you need is a virtual filesystem program. I'm using HFS for this:
62bf338062615ac5c2d223a67ca40cc6.png

You can get it here: https://www.rejetto.com/hfs/

Once you have the program opened, right click on the left panel and select "Add files..."
3152ddc1e5b603a85de3cbb683dd0026.png

Add all the wads and pk3s that you plan to use on your server here.

Next you're gonna want to open your router/modem setting and allow port 8080 through.
8b345dd88710bfdd024c7a2c3446f1f7.png

You can actually change the port to whatever you want by clicking the port button in HFS, then forwarding that port in your router:
35e12a87fa4c0493df276bc0be89b499.png


Once you've done that, head back to HFS, and click on "Self Test"
59d0048a771e5a799a7a5456cd3946fc.png


If the test was successful, the program will update your IP in the top bar to your external IP. You'll need to copy this.
7b8e0410d4fd9327378bca538d6ff9c0.png


Now mosey on over to your server cfg file, open it up and paste that address on the line that says "http_source".
3445ba3ff3c2e0f6aaac26eea15e080e.png


Save your config, load up your server, and if everything works well, people who join your server will have super fast download speeds, grabbing all the files they need in a flash.
Hope this helps!
 
I think that's for external server not your.
Hosting your cause no gain(outside of removing the 1.5MB/s shared cap) and is just dangerous.
Also most of people have dynamic IP so you will need to change HTTP server address sometimes.
 

Who is viewing this thread (Total: 1, Members: 0, Guests: 1)

Back
Top