[Release]Http Download Helper
Posts: 56
Joined: 13 Apr 2019, 08:18
Joined: 13 Apr 2019, 08:18
Re: [Release]Http Download Helper
yep. great useful stuff. About against the classic download of maps in the loading section, this question is a few seconds.
you will never miss Fér Start again! (y)
you will never miss Fér Start again! (y)
Posts: 168
Joined: 02 Dec 2011, 17:23
Joined: 02 Dec 2011, 17:23
Re: [Release]Http Download Helper
Thanks grim.
Version 1.2 is out.
Fixed a bug that meant it would not launch if your sof lived in path with spaces.
Made the windows more hidden
Provide command line options sof in .cmd file
Thanks Acadie and chin for feedback.
Version 1.2 is out.
Fixed a bug that meant it would not launch if your sof lived in path with spaces.
Made the windows more hidden
Provide command line options sof in .cmd file
Thanks Acadie and chin for feedback.
Posts: 234
Joined: 22 Jan 2014, 22:58
Joined: 22 Jan 2014, 22:58
Re: [Release]Http Download Helper
Works great
No issues unzipping to SoF from third internal drive maintaining paths (E:\downloads to C:\Users\MCNE\Raven\SOF PLATINUM\)
I get that path because I still install SoF manually then add the original SoFplus client, both on Windows 7 and Windows 10, stop complaining "you cannot install SoF on 7 and 10 using the "CD""
SoF_HTTP.cmd shortcut on Desktop launches SoF (silently)
"map messages" print before map is downloaded it appears, nice trick specially when map has not been uploaded to github yet ;)
DM/COMPLEX23 Map made by [Ç#]JÙLìˆN!
Downloading : dm/complex23beta.zip
If map is available on github, we get:
Downloading : dm/chaos_fluorine_1.zip
If map is not available on github, we get:
Downloading : dm/complex23beta.zip
Downloading maps/dm/complex23beta.bsp <== no colorful Font; Meaning we are on slow download
No issues unzipping to SoF from third internal drive maintaining paths (E:\downloads to C:\Users\MCNE\Raven\SOF PLATINUM\)
I get that path because I still install SoF manually then add the original SoFplus client, both on Windows 7 and Windows 10, stop complaining "you cannot install SoF on 7 and 10 using the "CD""
SoF_HTTP.cmd shortcut on Desktop launches SoF (silently)
"map messages" print before map is downloaded it appears, nice trick specially when map has not been uploaded to github yet ;)
DM/COMPLEX23 Map made by [Ç#]JÙLìˆN!
Downloading : dm/complex23beta.zip
If map is available on github, we get:
Downloading : dm/chaos_fluorine_1.zip
If map is not available on github, we get:
Downloading : dm/complex23beta.zip
Downloading maps/dm/complex23beta.bsp <== no colorful Font; Meaning we are on slow download
Spoiler:
Posts: 718
Joined: 23 Nov 2011, 16:42
Joined: 23 Nov 2011, 16:42
Location: Canada
Re: [Release]Http Download Helper
Oversight in the sofplus function. If it didn't find the map, the message will pop up regardless of the zip being on github or not. It would be better to disabling it for now (before more people install it) to avoid confusion.
Posts: 168
Joined: 02 Dec 2011, 17:23
Joined: 02 Dec 2011, 17:23
Re: [Release]Http Download Helper
V1.3
That message is renamed to "[HTTP] Checking repo for mapname"
And another message when udp download starts : "[HTTP] Map mapname not in repo"
That message is renamed to "[HTTP] Checking repo for mapname"
And another message when udp download starts : "[HTTP] Map mapname not in repo"
Posts: 168
Joined: 02 Dec 2011, 17:23
Joined: 02 Dec 2011, 17:23
Re: [Release]Http Download Helper
v1.4
Improve threading logic
Improve print
Increase efficiency of timeout map detect
Neaten func file
Btw. Previous Versions are mostly obsolete because they have bugs.
Improve threading logic
Improve print
Increase efficiency of timeout map detect
Neaten func file
Btw. Previous Versions are mostly obsolete because they have bugs.
Posts: 168
Joined: 02 Dec 2011, 17:23
Joined: 02 Dec 2011, 17:23
Re: [Release]Http Download Helper
In some servers and scenarios the previous version also mis-behaved.
New release v1.5 :
Redesigned the reliability of getting mapname.
This version should be much better!
https://github.com/d3nd3/sof-win-http-h ... helper.zip
New release v1.5 :
Redesigned the reliability of getting mapname.
This version should be much better!
https://github.com/d3nd3/sof-win-http-h ... helper.zip
Posts: 168
Joined: 02 Dec 2011, 17:23
Joined: 02 Dec 2011, 17:23
Re: [Release]Http Download Helper
v1.6
https://github.com/d3nd3/sof-win-http-h ... helper.zip
Works on more obscure maps like:
[rdam]_big_bedroom
It wasn't happy with the square brackets, now it uses url encoding to fix that.
https://github.com/d3nd3/sof-win-http-h ... helper.zip
Works on more obscure maps like:
[rdam]_big_bedroom
It wasn't happy with the square brackets, now it uses url encoding to fix that.
Posts: 168
Joined: 02 Dec 2011, 17:23
Joined: 02 Dec 2011, 17:23
Posts: 168
Joined: 02 Dec 2011, 17:23
Joined: 02 Dec 2011, 17:23
Re: [Release]Http Download Helper
v1.8
https://github.com/d3nd3/sof-win-http-h ... er-1_8.zip
https://github.com/d3nd3/sof-win-http-h ... er-1_8.zip
- disable http in singleplayer
- cvar _http2_enabled for manual toggle
Posts: 297
Joined: 07 Aug 2021, 23:29
Joined: 07 Aug 2021, 23:29
Re: [Release]Http Download Helper
on sof all night use are sad lold3nd3 wrote: ↑18 May 2023, 02:36 v1.8
https://github.com/d3nd3/sof-win-http-h ... er-1_8.zip
- disable http in singleplayer
- cvar _http2_enabled for manual toggle
Posts: 168
Joined: 02 Dec 2011, 17:23
Joined: 02 Dec 2011, 17:23
Re: [Release]Http Download Helper
v1.9
- Fixed a bug in the thread logic that didn't always cleanup the created thread/callbackchain.
Posts: 3046
Joined: 21 Nov 2011, 21:12
Joined: 21 Nov 2011, 21:12
Re: [Release]Http Download Helper
Works fine on Windows 10 with no modifications using community edition 7.0 installed to its default location.
Shortcut works too - could do with a better icon for SoF_HTTP.cmd though. Would be good if it was in the community edition, far bettter than any mappack.
There was a link to this topic in the console I noticed, the url could be something like this https://www.sof1.org/app.php/fastmap which is a bit snappier, just needs a better write up using normal language, not nerdy programming lingo so everyone can understand
Shortcut works too - could do with a better icon for SoF_HTTP.cmd though. Would be good if it was in the community edition, far bettter than any mappack.
There was a link to this topic in the console I noticed, the url could be something like this https://www.sof1.org/app.php/fastmap which is a bit snappier, just needs a better write up using normal language, not nerdy programming lingo so everyone can understand
You do not have the required permissions to view the files attached to this post.
Posts: 595
Joined: 19 Dec 2011, 21:35
Joined: 19 Dec 2011, 21:35
Re: [Release]Http Download Helper
Also would like to mention that once you run SoF_HTTP.cmd once - you can continue to use sof.exe after that or atleast i can.
Posts: 168
Joined: 02 Dec 2011, 17:23
Joined: 02 Dec 2011, 17:23
Re: [Release]Http Download Helper
Hard to know what you mean by that. The .cmd file launches a powershell which is ran in background and is closed when the sof.exe process ends. But you're right that only one powershell window is required to serve multiple SoF.exe instances.
Posts: 234
Joined: 22 Jan 2014, 22:58
Joined: 22 Jan 2014, 22:58
Re: [Release]Http Download Helper
Had no issues and like that it is nearly 100% "silent"
May be a tad too silent for some!
Noticed ONCE, it did not delete some .zip files.
This only happened with "map/dt"
May be a tad too silent for some!
Spoiler:
Noticed ONCE, it did not delete some .zip files.
This only happened with "map/dt"
You do not have the required permissions to view the files attached to this post.
Posts: 234
Joined: 22 Jan 2014, 22:58
Joined: 22 Jan 2014, 22:58
Re: [Release]Http Download Helper
Interesting.
The HTTP Download Helper "functions" are enabled in \sofplus\addons
I don't know if "http_listener.ps1" is awakened also when not using "SoF_HTTP.cmd" to launch SoF!
Posts: 595
Joined: 19 Dec 2011, 21:35
Joined: 19 Dec 2011, 21:35
Re: [Release]Http Download Helper
I lied, it doesnt work - just loads the function. :D
Posts: 168
Joined: 02 Dec 2011, 17:23
Joined: 02 Dec 2011, 17:23
Re: [Release]Http Download Helper
v2.0
- Fixed a bug with not deleting .zip files that contain ] and [ characters.
Posts: 168
Joined: 02 Dec 2011, 17:23
Joined: 02 Dec 2011, 17:23
Re: [Release]Http Download Helper
v2.1
- Fix failure to launch correct SoF.exe, if multiple SoF.exe installed with latest windows.
Who is online
Users browsing this forum: No registered users and 0 guests