Download file directly from BaNaNaS

Got a problem with OpenTTD? Find some help here.

Moderator: OpenTTD Developers

Post Reply
maggi321
Engineer
Engineer
Posts: 3
Joined: 05 Apr 2021 12:49

Download file directly from BaNaNaS

Post by maggi321 »

Hello,

this might be a stupid question, but how can I download a particular file from BaNaNaS?
I don't want to use the in-game download since I am interested in an older version of a newGRF, but in-game I can only find the newest version, right?

Thanks for you help
Marc
Eddi
Tycoon
Tycoon
Posts: 7627
Joined: 17 Jan 2007 00:14

Re: Download file directly from BaNaNaS

Post by Eddi »

you can only ever download the newest version, unless you have a savegame using a specific older version.
You might not exactly be interested in Ferion, but if you are, have fun :)
maggi321
Engineer
Engineer
Posts: 3
Joined: 05 Apr 2021 12:49

Re: Download file directly from BaNaNaS

Post by maggi321 »

ok, that is what I feared...
But the files on bananas have to be lying somewhere, right?
How does the game retrieve them?
Is there some kind of public repository or something?
How can I access it?
Eddi
Tycoon
Tycoon
Posts: 7627
Joined: 17 Jan 2007 00:14

Re: Download file directly from BaNaNaS

Post by Eddi »

i don't know the details, but you can probably find the communication protocol in the source code. however, the only way you're going to get an old file out of there is if you know the md5sum
You might not exactly be interested in Ferion, but if you are, have fun :)
MLG
Engineer
Engineer
Posts: 47
Joined: 07 Sep 2020 15:12

Re: Download file directly from BaNaNaS

Post by MLG »

What about website bananas.openttd.org , where you have, what you want. All versions of everything avaiable in-game. You just need to put it in correct file directory. (the one with your custom content downloaded from BaNaNaS in-game (in Windows c:/users/your username/documents/openttd/content download or something similar))
This website is handy also if you want to upload something you created for game there. (NewGRF, scenario,...)
You can write to me in English, or Czech.
Můžete mi psát česky, nebo anglicky.
MLG
Engineer
Engineer
Posts: 47
Joined: 07 Sep 2020 15:12

Re: Download file directly from BaNaNaS

Post by MLG »

Whoops, sorry Eddi, just noticed, that it is not like I thought. :roll: I was always thinking, that there is possible to download old versions, but it is not like that... I just misunderstood it. :( However that is nice suggestion for devs to implement it for people like the OP. Maybe with a OTTD-style notice "You are trying to download obsolete NewGRF, are you sure?"
Eddi
Tycoon
Tycoon
Posts: 7627
Joined: 17 Jan 2007 00:14

Re: Download file directly from BaNaNaS

Post by Eddi »

MLG wrote: 06 Apr 2021 12:27However that is nice suggestion for devs to implement it for people like the OP.
no, that option is left out on purpose.
You might not exactly be interested in Ferion, but if you are, have fun :)
maggi321
Engineer
Engineer
Posts: 3
Joined: 05 Apr 2021 12:49

Re: Download file directly from BaNaNaS

Post by maggi321 »

ok, I found an explanation in https://github.com/OpenTTD/bananas-api/ ... /md5sum.md
It seems to be forbidden on purpose due to the BaNaNas terms of service.
In my opinion these tos are overly restrictive and I don't see why my use case is forbidden.
This is really sad.
User avatar
kamnet
Moderator
Moderator
Posts: 7522
Joined: 28 Sep 2009 17:15
Location: Eastern KY
Contact:

Re: Download file directly from BaNaNaS

Post by kamnet »

It may be better if you contacted the developer of the file to see if they can provide you with an older version.

Or, just ask here.
Eddi
Tycoon
Tycoon
Posts: 7627
Joined: 17 Jan 2007 00:14

Re: Download file directly from BaNaNaS

Post by Eddi »

maggi321 wrote: 06 Apr 2021 14:54 In my opinion these tos are overly restrictive and I don't see why my use case is forbidden.
sure, you can have that opinion. probably won't convince anyone to change it :)
You might not exactly be interested in Ferion, but if you are, have fun :)
LaChupacabra
Traffic Manager
Traffic Manager
Posts: 216
Joined: 08 Nov 2019 23:54

Re: Download file directly from BaNaNaS

Post by LaChupacabra »

Yes, the lack of access to older versions is sad. :(

Some older versions of add-ons are more interesting than the newest ones. Sometimes they look better (CZTR Trees 1 vs. 2), have interesting solutions (Manpower Industries - I don't remember the version), or are pleasantly simple compared to their newer, extended versions (Polish Road Set 5 vs. Polroad). There are many such additions that are sometimes difficult or maybe impossible to find, and it is not said that the author will write back.
Image
CZTR Trees 1 vs 2.png
(1.85 MiB) Not downloaded yet
The availability of older versions of add-ons can also be useful when looking for interesting solutions or the source of a problem in the latest version.

Another reason is sheer curiosity to see the development history of an add-on and its older versions.
I am sorry for may English. I know is bed.
User avatar
jfs
Tycoon
Tycoon
Posts: 1313
Joined: 08 Jan 2003 23:09
Location: Denmark

Re: Download file directly from BaNaNaS

Post by jfs »

The BaNaNaS content distribution agreement isn't changing, you can't change an agreement like that unilaterally. Content creators upload their works to BaNaNaS with the understanding that only the latest version is made available for regular download, it will be a really bad case in court to change that without confirming with the creator of every single creator who ever uploaded anything beforehand.

What could perhaps be an option was to add a feature to BaNaNaS where a creator can mark an older version as "freely available" and that would then allow you to get it via the website in some way. The regular search and in-game content UI should still only show the latest. Making it an opt-in feature could be an option, someone just needs to program it.
Post Reply

Return to “OpenTTD Problems”

Who is online

Users browsing this forum: No registered users and 7 guests