bijman / srb2dl Goto Github PK
View Code? Open in Web Editor NEWPOSIX shell script that downloads addons/software/builds for SRB2 and SRB2Kart.
License: MIT License
POSIX shell script that downloads addons/software/builds for SRB2 and SRB2Kart.
License: MIT License
when I try to use
srb2dl "$HOME/.srb2/addons"
or its equivalent with '
it doesn't print out anything, nor does it open the menu
https://asciinema.org/a/SkBSmaDkinoCKlQeVFZpmgMX0
PREFIX=$HOME/.local
For example, picking the custom gametype category then picking option 20 prompts if L_FreezeTag_v4.lua (as of this writing) should be downloaded, instead of ZRs_RingSlingerNEO-v3.pk3, option 21 goes to the next page, and option 22 goes to the previous page.
auto-detection of .srb2
,.srb2kart
or equivalent directories in the home folder, and ask which folder(s) to which to download the files
Getting the following error when I try installing anything:
Downloading chosen files. Please wait..
curl: option --output-dir: is unknown
curl: try 'curl --help' or 'curl --manual' for more information
Downloading is successful.
There's a pretty simple explanation for this: https://daniel.haxx.se/blog/2020/09/10/store-the-curl-output-over-there/
tldr: --output-dir [directory] comes in curl 7.73.0
Interesting.
ubuntu@ubuntu-switch-4-cores-4-gb:~$ curl --version
curl 7.58.0 (aarch64-unknown-linux-gnu) libcurl/7.58.0 OpenSSL/1.1.1 zlib/1.2.11 libidn2/2.0.4 libpsl/0.19.1 (+libidn2/2.0.4) nghttp2/1.30.0 librtmp/2.3
Release-Date: 2018-01-24
Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp smb smbs smtp smtps telnet tftp
Features: AsynchDNS IDN IPv6 Largefile GSS-API Kerberos SPNEGO NTLM NTLM_WB SSL libz TLS-SRP HTTP2 UnixSockets HTTPS-proxy PSL
No wonder - Ubuntu 18.04 is too old for the parameter you use to determine download location.
You've got a few options here:
curl --output-dir
- which would be totally fair, my VM is only on something this old for testing purposes anywaysRegardless, you should set up some sort of error handling if the download fails, e.g. [download command goes here] || error message goes here
so that it's not just claiming the download succeeds when it hasn't.
Recent update of SRB2 MB provides new category for Ring Racers addons.
Picking the "done" option seems to attempt to download files even if there is no downloads in the queue. Leading to an error, also followed by a incorrect "Downloading is successful" message print
Please choose category by typing number and then pressing enter. Press enter or ctrl+c to quit.
1) Characters
2) Maps
3) Gametypes
4) Assets
5) Lua
6) Player Colors
7) Miscellaneous
8) Software
9) Builds
10) Done
#? 10
Downloading chosen files. Please wait..
Warning: output file name has no length
curl: option -o: is badly used here
curl: try 'curl --help' for more information
There is an issue with downloading
Downloading is successful.
SRB2 MB received new update which included category Ports, which allows users to upload resources ported from older versions of SRB2.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.