-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
better README, ps1 file hides its self, cmd file enables double click…
… launch
- Loading branch information
Showing
4 changed files
with
18 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,19 @@ | ||
# Soldier Of Fortune 1 windows http map auto-downloader | ||
|
||
Uses powershell to download a map zip and extract it. Extract this to your sof folder. http_listener.cmd launches http_listener.ps1. | ||
**Extract this to your sof folder.** | ||
**Open the SoF_HTTP.cmd file to launch SoF.** | ||
**Make a desktop shortcut of it etc.** | ||
|
||
Put http2.func in User/sofplus/addons dir. | ||
Uses powershell to download a map zip and extract it. | ||
SoF_HTTP.cmd *launches* http_listener.ps1. | ||
http_listener.ps1 *starts* SoF.exe. | ||
|
||
Use the SoF HTTP Launcher. It will launch SoF.exe. And handle downloads in background. | ||
Put user/sofplus/addons/http2.func into SoF_Install/User/sofplus/addons dir. | ||
|
||
It downloads zip files from https://github.com/plowsof/sof1maps. | ||
|
||
Extracts them and then deletes them. | ||
|
||
If mapfile.bsp already is present in your directory, it does not download the map. | ||
|
||
Test by deleting your maps folder if you dare. | ||
It *downloads* zip files from https://github.com/plowsof/sof1maps. | ||
*Extracts* them. | ||
Only downloads if .bsp does not exist already. | ||
Test by deleting your maps folder if you dare. | ||
|
||
Feedback welcome. | ||
|
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
powershell.exe -ExecutionPolicy Bypass -File http_listener.ps1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters