User:Webb/Better GitHub FastDL: Difference between revisions
From TF2 Classified Wiki
More actions
No edit summary |
No edit summary |
||
| Line 5: | Line 5: | ||
First, create a GitHub repository and upload your files using the typical FastDL file structure. You can find the repository I use [here https://github.com/webbongithub/fastdl]. | First, create a GitHub repository and upload your files using the typical FastDL file structure. You can find the repository I use [here https://github.com/webbongithub/fastdl]. | ||
Next you'll need to set your <code>sv_downloadurl</code> console variable to a specific value to have it download directly from the repository. In the case of my repository, that is <code>https://github.com/webbongithub/fastdl/raw/refs/heads/main/tf2c/</code>. You may need to adjust this value depending on the name of your branch (which is by default "main") and what subfolder you chose (or if you chose one at all. | Next you'll need to set your <code>sv_downloadurl</code> console variable to a specific value to have it download directly from the repository. In the case of my repository, that is <code>https://github.com/webbongithub/fastdl/raw/refs/heads/main/tf2c/</code>. You may need to adjust this value depending on the name of your branch (which is by default "main") and what subfolder you chose (or if you chose one at all,) and your username/repository name. A simple way of getting it is to go to, say a map file and copy the raw link: | ||
<code>https://github.com/webbongithub/fastdl/raw/refs/heads/main/tf2c/maps/4arena_downtown_rc.bsp.bz2</code> | <code>https://github.com/webbongithub/fastdl/raw/refs/heads/main/tf2c/maps/4arena_downtown_rc.bsp.bz2</code> | ||