Lobby
| Futurama
|
| Admin
|
| Enforcers
|
| SLDL
|
| Fishbowl
|
| L4D L4D2
|
| Alien Swarm
|
| Firearms
|
|
Connect Now
Help
|
[Access Forum] | | | | MEMBERS ONLINE | | | | There are 10 unlogged users and 2 registered users online |  You are an anonymous user. You can register for free by clicking here |
|
|
- AS (Sep 06, 2010)
- BF2 (Jul 29, 2005)
- CAMP (Jul 25, 2008)
- DOD (Dec 19, 2006)
- DOD:S (Aug 21, 2010)
- FAS (Sep 03, 2010)
- FishStock (Jul 07, 2010)
- HL2 (Apr 17, 2007)
- HLDM (Aug 08, 2005)
- HLRR (Jul 19, 2004)
- INS (Jul 03, 2007)
- KF (Aug 17, 2010)
- L4D (Sep 01, 2010)
- L4D2 (Sep 01, 2010)
- ProDOD (Jan 10, 2007)
- PVK (Jan 03, 2007)
- SLDL (Aug 19, 2010)
- TF2 (Jun 10, 2010)
|
- Friday, August 13
- Dead City2 Lite **updated 08/15/2010** (0)
- Tuesday, August 10
- FAS Friendly Fire (0)
- Friday, August 06
- Heaven Can Wait 2 (0)
- Thursday, August 05
- SLDL Player Eligibility (0)
- Wednesday, August 04
- Server Maintenance (0)
- Tuesday, August 03
- ps_thunder_b7 (0)
- Sunday, August 01
- FAS Patch 1.0d (0)
- Saturday, July 31
- FAS 1.0c Gameplay Changes (0)
- Wednesday, July 28
- Dblocker 1.5c for the SLDL 21 (0)
- Monday, July 26
- Heaven Can Wait Updated (0)
Older articles
|
|
| |
SunLit Games FAQs (frequently-asked questions)
|
|
Category: Main -> Server Operator InformationQuestionAnswerHow do I enable fast in game downloads on my Source server?Fast in game downloads work for all Source games, DODS, HL2DM and CSS, TF2.
A few things to do:
1) Autodownloads should be from a file download server separate from your game server.
http://www.yourwebsite.com/downloads/modname/auto
Files should be uploaded to their correct directory structures
<modname>/maps
<modname>/sound/<your sounds="sounds" folders="folders">
<modname>/materials - if you have custom skins etc
2)You direct your game server to download from your file server with the following cvars
In your game server.cfg file
//map downloads
sv_allowupload 0
sv_allowdownload 1
sv_downloadurl "http://www.yourwebsite.com/downloads/dods/auto"
If players are having trouble downloading bigger maps, you can also add in
net_maxfilesize 30 (or 40 or 50 just make it bigger than the file that is needed to be downloaded)
3) If there is more than just the *.bsp make a *.res file of the map's other required files. If the map only has a bsp file, go to step #4.
This file is tells the server what files to download to support the bsp file.
The res file can be created manually in this format, in Notepad as *txt and then saved as mapname.res
The format of the file is:
-----------------------------------------------
"resources"
{
"blabla.txt" "file"
"sounds/blabla2.txt" "file"
}
-------------------------------------------------
Note the "file" parameter, the .res file consists of key values pairs
and each value parameter must be "file" for map resource files.
The res file is needed for both in game downloading and for the http
external downloader.
On your file download host server, put map files in actual directory structure
..downloads/modname/auto/maps
..downloads/modname/auto/materials
..downloads/modname/auto/models
etc
4) Source maps are notoriously large. Bzip2 compression makes the file size manageable.
They are downloaded in compressed form to the client and Source itself unzips them.
Download Bzip2
( More info on main site http://www.bzip.org/downloads.html )
====================
SETUP FOR WINDOWS
====================
1. Move the download file (make sure it is for windows) into an empty folder in your default harddisk called "bzip2".
(without the quotes)
So an example of the path to the downloaded file's FOLDER would look like:
C:\bzip2
Change C to your default hardisk
2. Rename the file "bzip2.exe" (don't use the quotes)
3. Add your .BSP files that you want compressed into the bzip2 folder.
=================
BZIPPING for WINDOWS
=================
1. Go to Start menu > Run and enter "cmd" (without quotes) into the text area.
2. Click ok and a black window should open.
3. type:
cd C:\bzip2
Again, changing C to your default harddisk then press ENTER.
4. Now type:
bzip2 -v filename.bsp
Replace filename.bsp with your map name.
5. This will compress your .bsp file. To bzip another, press the up arrow and change the filename.
6. Once you have compressed all of your .bsp files, upload them to your WEBSERVER into the correct location, i.e.
"www.domain.com /game/maps"
and delete the non-zipped versions.
5) Upload the map itself , with all files in the correct directory structure, to the game server
Add the names of the new maps to the mapcycle.txt and maplist.txt files in the root mod directory.
</modname></your></modname></modname> Back to top
How can I generate a complete list of my server's maps?This procedure takes about 2 minutes to complete
1) Log onto your Server
Click on Start --> Run
Type in the Open: field,
cmd
This opens the old
MsDos Prompt Window
2) Switch to your map directory by typing in its location and hit Enter
It should look something like this,
cd C:\YourGameServerName\dod\maps
(if you dont know it, right click on the map directory, select properties and copy and paste the line you see in Location)
3)Then copy and paste this line into the command line
dir *.bsp /L /B >filelist.txt
Enter
This will generate a list of ALL .bsp files in the map directory as a file called filelist.txt
The list gives the names of all maps with the .bsp extension.
Remember, the maplist.txt file can not be read with the bsp extension in the name
4) To remove all the .bsp extensions in one step, simply open filelist.txt with Notepad
Click on Edit in the toolbar
Select Replace
Type in the Find What: field, .bsp
Leave Replace with: field empty
Click on Replace All button. Done
5) Save the final document as maplist.txt and paste into the server root dod directory
Thanks to [I&S] Pvt_John for this slick trick. :)
Back to top
|
|
|
|