Bug Tracker – Bug 1270

Wad Downloading From Web Implementation

Last modified: 2019-02-22 10:32:46 CST
Bug 1270 - Wad Downloading From Web Implementation
Summary: Wad Downloading From Web Implementation
Status: NEW
Alias: None
Product: Odamex
Classification: Unclassified
Component: Client (show other bugs)
Version: 0.8.x
Hardware: All All
: P5 enhancement
Assignee: Odamex Bug Reporter
URL:
Depends on:
Blocks:
 
Reported: 2019-02-21 22:39 CST by HeX_Vulture
Modified: 2019-02-22 10:32 CST (History)
2 users (show)

See Also:

Attachments

Add an attachment (proposed patch, testcase, etc.)

Note You need to log in before you can comment on or make changes to this bug.
Description HeX_Vulture 2019-02-21 22:39:02 CST
Our goal for the future of Odamex is to solve the problem of downloading wads. Currently, downloading wads means downloading the wad uncompressed from the server. This process is slow, lags the server, and is prone to errors. We would like to fix this by implementing libcURL to download a wad (compressed or not, we have zlib) directly from the web.

We would provide mirrors to various web hosting sites that can be modified, and the server can also directly link to the wad via sv_website, like what getwad uses. There will be three new commands to help manage this system:

waddownloadlink_add
waddownloadlink_remove
waddownloadlink_list

waddownloadlink_add would allow the user to add a mirror to the list stored in odamex.cfg. The list that odamex will provide will also be stored in this list in case the user wishes to modify it.

waddownloadlink_remove would allow the user to select which mirror they wish to remove.

waddownloadlink_list would list the mirrors by number so they can view the list without having to open odamex.cfg. These numbers are used with waddownloadlink_remove to specify which mirror to remove from the list.

This system is designed to be easy for the user to manage, and to solve the long-lasting problem of wad management. When a wad is downloaded, it is saved wherever the user wishes to save them via the command waddownloaddir.
Comment 1 Maëllig Desmottes 2019-02-22 10:32:46 CST
100% supporting the idea.

We could use cURL as the licence is MIT, making it compatible with the whole project.

Plus, it can be used very easily into Android, and probably other consoles aswell.