Resource icon

[Open Assets] srb2dl - SRB2 Content Downloader CLI

This content may be freely modified and/or maintained by anyone.
Why does it search for some mods multiple times? How can I prevent it from doing this?
1737675868433.png
 
Why does it search for some mods multiple times? How can I prevent it from doing this?
View attachment 155182

This is probably due to you downloaded the same file to the different paths or you downloaded file but with different attachment URL from addon's thread, so there are more entries of this file and command "srb2dl -up/-upgrade" keeps track if there are updates for addon in different paths and updates them if there is new version.

You can solve this issue by two methods:
1. Removing entries with srb2dl --removeurl, which will remove addon entry from list and you need to download addon to your path again
(I could improve here in the next script update to remove only entry for addon in unused specific path.)
2. Removing entries in "database" file from path:
- "C:\Users\[Username]\AppData\Roaming\srb2dl" or "$HOME/AppData/Roaming/srb2dl" for Windows,
- "$HOME/.local/share/srb2dl" for Linux,
- "$HOME/Library/srb2dl" for macOS.
There will be entries with more information, which file was downloaded, from which SRB2 MB thread URL, and to which path file was downloaded.
Post automatically merged:

Also I am aware that there are issues with listing and downloading addons recently, because of Cloudflare anti-bot solution blocking access for mb.srb2.org and I am looking for solutions.
Post automatically merged:

It seems the issue with listing and downloading addons using the script has resolved itself. Still it would be nice to have solution/workaround in case of these situations.
 
Last edited:
Bijman updated srb2dl - SRB2 Content Downloader CLI with a new update entry:

Update 2025-05-06

Features:
  • Added environment variables:
  1. SRB2DLNODUPLICATES (removes duplicates from database, if file was downloaded in diffrent path),
  2. SRB2DLUSERAGENT (browser's user agent. Useful for passing Cloudflare bot challenge),
  3. SRB2DLCOOKIE (browser's cookie from https://mb.srb2.org. Useful for passing Cloudflare bot challenge),
  • Added entries to BlanKart, Ring Racers HEP2, Ring Racers HEP3 builds,
  • More clarified list of downloaded...

Read the rest of this update entry...
 

Who is viewing this thread (Total: 0, Members: 0, Guests: 0)

Back
Top