Tired of manually downloading missing maps when joining a server? This utility is for you! It uses PowerShell to automatically download, unzip, and install maps for Soldier of Fortune 1 (SoF1) as you connect to a game.
- Extract: Download the contents of this repository or the release section .zip and extract all the files directly into your main SoF installation folder (where
SoF.exeis located). - Addon File: Copy the provided
http2.funcfile into your SoFPlus addon directory:[SoF_Install]/User/sofplus/addons/. - Launch: Use the new
SoF_HTTP.cmdfile to launch the game instead of your usual shortcut.- Pro Tip: Create a desktop shortcut to
SoF_HTTP.cmdfor easy access!
- Pro Tip: Create a desktop shortcut to
This helper seamlessly manages map downloads in the background:
SoF_HTTP.cmdlaunches the hiddenhttp_listener.ps1PowerShell script.- The
http_listener.ps1script then startsSoF.exe. - When you connect to a server that requires a map you don't have, the game tells the script what to download.
- The script downloads the map's ZIP file from the official map repository:
https://github.com/plowsof/sof1maps. - It automatically extracts the map files.
- It only downloads if the map's
.bspfile is missing, saving bandwidth and time! ⏳
You can easily add your usual launch options (like your desired resolution, bind settings, etc.) directly into the SoF_HTTP.cmd file.
The SoF_HTTP.cmd file uses this structure:
REM Define the SOF_OPTIONS variable
SET "SOF_OPTIONS=+set console 1"
powershell.exe -WindowStyle Hidden -ExecutionPolicy Bypass -File http_listener.ps1 %SOF_OPTIONS%To add more options, simply modify the SET "SOF_OPTIONS=..." line. The PowerShell script then passes the %SOF_OPTIONS% variable to SoF.exe when launching the game.
Got a bug report or a feature idea? Feedback is welcome! Feel free to open an issue or submit a pull request.