SRB2 Message Board

SRB2 Message Board (https://mb.srb2.org/index.php)
-   SRB2 Discussion (https://mb.srb2.org/forumdisplay.php?f=52)
-   -   [TUTORIAL] How to set up an HTTP file server for your SRB2Kart Server (https://mb.srb2.org/showthread.php?t=47759)

Keryo Wolfe 06-08-2020 12:13 AM

[TUTORIAL] How to set up an HTTP file server for your SRB2Kart Server
 
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:
https://i.gyazo.com/62bf338062615ac5...a67ca40cc6.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..."
https://i.gyazo.com/3152ddc1e5b603a8...b683dd0026.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.
https://i.gyazo.com/8b345dd88710bfdd...2c3446f1f7.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:
https://i.gyazo.com/35e12a87fa4c0493...c0be89b499.png

Once you've done that, head back to HFS, and click on "Self Test"
https://i.gyazo.com/59d0048a771e5a79...56cd3946fc.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.
https://i.gyazo.com/7b8e0410d4fd9327...538d6ff9c0.png

Now mosey on over to your server cfg file, open it up and paste that address on the line that says "http_source".
https://i.gyazo.com/3445ba3ff3c2e0f6...eea15e080e.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!


All times are GMT. The time now is 02:55 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2020, vBulletin Solutions, Inc.