Dedicated server

From UOAF Codex
Jump to navigation Jump to search

It takes some special configuration to run a dedicated server that can host BMS.

Learning objectives

  1. DLL overrides for running 3D without a graphics card
  2. Bandwidth requirements
  3. Configuration file settings
    1. Six minute taxi
    2. Long running campaign
    3. Settings to keep server flight in 3D

Learning files

Install

  1. Download and install original Falcon 4
  2. Download 4.33 U1
  3. Download 4.33 U2
  4. Download 4.33 U3
  5. Install U1
  6. Update U2
  7. Update U3
  8. dedicated-server-for-Windows-with-no-GPU
    1. copy the .dll's to bin/x64 after fulfilling requirements.
    2. invoke BMS through the "run-bms-server.bat" batch file.
  9. Configure the server for windowed mode
  10. Run server and make sure BMS works
  11. Download Elouda's 2.56 1989 campaign
    1. Patch up to 2.57
  12. Set up Phonebook for localhost connections

run-bms-server.bat

rem set GALLIUM_HUD=fps,cpu
set WINEDEBUG=-all
set LP_NUM_THREADS=%NUMBER_OF_PROCESSORS%
set vblank_mode=0
"Falcon BMS.exe" -window

Settings

falcon-bms.cfg

set g_nTaxiLaunchTime 6 // Time before TOT to launch to TAXI (in min)
set g_bStrictFogOfWar 1 // Experimental! Forces the map and OOB to honor the unit spotted/identified status more rigorously (default 0/false)
set g_nForceMinClientBwSetting 1024
set g_nDeagTimer 2 // AB A/C spawn-> lead time before taxiing (in min)
set g_npercentage_available_aircraft 100 // Determines what proportion of your squadron's roster will be available (in %)

atc.ini

These settings will keep your 3D flight committed for the entire time.

;This is the amount of time in minutes the player has from the 
;time he enters the sim to get off the ground or get bumped back 
;to the UI.  (Note: regardless of this value the player is always 
;given at least 1 minute past his scheduled takeoff time)
PlayerBumpTime = 1000000
;At what amount of time in minutes past their scheduled takeoff 
;time is an AI plane yanked out of the sim (i.e. cancelled)
AIPullTime = 20
{{#invoke:Navbox|navbox}}