Wad Downloading From Web Implementation
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.
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.