speed-dreams-data/data/config/downloadservers.xml
xavi92 c971cb63e7 Implement in-game download manager
This in-game download manager allows users to fetch assets, such as
cars, tracks or drivers, from a configurable list of servers following a
specific JSON schema.

Several smaller classes have been designed to assist the download
manager:

- entry: defines an entry in the assets lists and its state.
- thumbnail: defines a visible entry on the list, will always match
one entry.
- writebuf: allows dumping a file downloaded over HTTP{S} to memory.
- writefile: allows dumping a file downloaded over HTTP{S} to a file.
- unzip: a higher-level, C++ wrapper to minizip.

It was also required to implement a function that removed directories
recursively, namely rmdir_r. Since this is not portable accross POSIX
and Windows systems, their respective implementations have been provided
on src/libs/portability.

The following dependencies have been added:
- libcurl: HTTP{S} operations, already required by webserver.
- OpenSSL: hash calculation.
- minizip: zip extraction, it required its on Findminizip.cmake as it is
not provided by upstream CMake.
- zlib: required by minizip.


git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@9490 30fe4595-0a0c-4342-8851-515496e4dcbd
2024-07-15 03:27:16 +00:00

16 lines
810 B
XML

<?xml version="1.0" encoding="UTF-8"?>
<!-- Speed Dreams, a free and open source motorsport simulator. -->
<!-- Copyright (C) 2024 Xavier Del Campo Romero -->
<!-- This program is free software; you can redistribute it and/or modify -->
<!-- it under the terms of the GNU General Public License as published by -->
<!-- the Free Software Foundation; either version 2 of the License, or -->
<!-- (at your option) any later version. -->
<!DOCTYPE params SYSTEM "../../../libs/tgf/params.dtd">
<params name="downloadservers" type="param" mode="mw" version="2.2">
<section name="Downloads">
<attnum name="num" val="1"/>
<attstr name="url0" val="https://www.speed-dreams.net/assets.json"/>
</section>
</params>