{"id":24288732,"url":"https://github.com/captainzero93/hl2dm_local_fastdl","last_synced_at":"2026-06-05T17:31:30.790Z","repository":{"id":272315830,"uuid":"916183735","full_name":"captainzero93/Hl2DM_Local_FastDL","owner":"captainzero93","description":"A locally run FastDL server using FLASK, saving a lot of effort when setting up servers","archived":false,"fork":false,"pushed_at":"2025-01-13T16:05:09.000Z","size":9,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-13T17:22:00.993Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/captainzero93.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-01-13T16:01:59.000Z","updated_at":"2025-01-13T16:05:12.000Z","dependencies_parsed_at":"2025-01-13T17:22:03.875Z","dependency_job_id":"4c66874f-6b0f-4f2a-9264-6943c08baf7e","html_url":"https://github.com/captainzero93/Hl2DM_Local_FastDL","commit_stats":null,"previous_names":["captainzero93/hl2dm_local_fastdl"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/captainzero93%2FHl2DM_Local_FastDL","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/captainzero93%2FHl2DM_Local_FastDL/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/captainzero93%2FHl2DM_Local_FastDL/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/captainzero93%2FHl2DM_Local_FastDL/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/captainzero93","download_url":"https://codeload.github.com/captainzero93/Hl2DM_Local_FastDL/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242128314,"owners_count":20076177,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-01-16T10:37:29.663Z","updated_at":"2026-06-05T17:31:30.714Z","avatar_url":"https://github.com/captainzero93.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Half-Life 2 Deathmatch FastDL Server Setup Guide\n\nThis guide explains how to set up a local FastDL (Fast Download) server for your Half-Life 2 Deathmatch server. This allows players to quickly download custom maps and content when joining your server.\n\n## Prerequisites\n\n- Python 3.7 or higher\n- Half-Life 2 Deathmatch server already installed and configuration files accesable\n\n## Required Python Packages\n\n```bash\npip install flask pyftpdlib\n```\n\n## FastDL Server Setup\n\n1. Save the provided Python script as `fastdl_server.py`\n2. Create the following directory structure in the same folder:\n```\n📁 fastdl/\n├── 📁 maps/\n├── 📁 materials/\n├── 📁 models/\n└── 📁 sound/\n```\n\n3. Place your custom content in the appropriate folders\n4. Compress custom content files using bzip2 (resulting in .bz2 files)\n\n## Server Configuration\n\nAdd these lines to your `server.cfg`:\n```\nsv_downloadurl \"http://YOUR_LOCAL_IP:5000\"\nsv_allowdownload 1\nsv_allowupload 1\n```\nReplace YOUR_LOCAL_IP with your actual local IP address (e.g., 192.168.1.164)\n\n## Running the FastDL Server\n\n1. Open Command Prompt or Terminal\n2. Navigate to your FastDL directory\n3. Run the script:\n```bash\npython fastdl_server.py\n```\n\nThe server will start on port 5000 and display your local IP address. You don't need to forward port 5000 since the game server will access it locally.\n\n## Testing the Setup\n\n1. Start your HL2DM server\n2. Connect to your server using your public IP\n3. Check the server console for any FastDL-related errors\n4. Try joining with a fresh client that doesn't have your custom content\n\n## Troubleshooting\n\n- If players can't connect to your server, verify the port forwarding settings\n- If downloads fail, check that:\n  - Files are in the correct directories\n  - Files are properly compressed with bzip2\n  - FastDL server is running\n  - `sv_downloadurl` is set correctly\n  - File permissions allow the FastDL server to read the files\n\n## Notes\n\n- The FastDL server must be running whenever your game server is running\n- Keep your custom content organized in the appropriate directories\n- Regularly check the FastDL server logs for any errors or issues\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcaptainzero93%2Fhl2dm_local_fastdl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcaptainzero93%2Fhl2dm_local_fastdl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcaptainzero93%2Fhl2dm_local_fastdl/lists"}