In game content downloads

OpenTTD is a fully open-sourced reimplementation of TTD, written in C++, boasting improved gameplay and many new features.

Moderator: OpenTTD Developers

Post Reply
Yexo
Tycoon
Tycoon
Posts: 3663
Joined: 20 Dec 2007 12:49

Re: In game content downloads

Post by Yexo »

FooBar / CommanderZ: already fixed by Rubidium in r15195
User avatar
FooBar
Tycoon
Tycoon
Posts: 6553
Joined: 21 May 2007 11:47
Location: The Netherlands
Contact:

Re: In game content downloads

Post by FooBar »

Ah, good. I wasn't able to check that, because HG is ofcourse down as well.
Swansea Stu
Engineer
Engineer
Posts: 72
Joined: 21 Jan 2009 12:24

Re: In game content downloads

Post by Swansea Stu »

Roujin wrote:
Swansea Stu wrote:Fantastic feature, well done. The only negative I have for it is that a lot of the grf files do not have any description. All they have is a url for their site/wiki which isn't clickable. It would be nice if uploaders had to add a description to their files. Maybe the uploaders could be politely asked to add a description.
I just looked through the list, and only the ECS vectors and the 2cc trainset have no description. Why don't you yourself just politely ask the responsible persons - in the threads "ECS implementation by George" and the "The 2cc set: The Trains of the world in 2cc", respectively. They are found in the TTDPatch->Graphics section of the forums. ;)
Ok that's no problem, I've just done that. I just wanted to highlight that they were being uploaded with no description.
User avatar
DJ Nekkid
Tycoon
Tycoon
Posts: 2141
Joined: 30 Nov 2006 20:33

Re: In game content downloads

Post by DJ Nekkid »

Roujin wrote:
Swansea Stu wrote:Fantastic feature, well done. The only negative I have for it is that a lot of the grf files do not have any description. All they have is a url for their site/wiki which isn't clickable. It would be nice if uploaders had to add a description to their files. Maybe the uploaders could be politely asked to add a description.
I just looked through the list, and only the ECS vectors and the 2cc trainset have no description. Why don't you yourself just politely ask the responsible persons - in the threads "ECS implementation by George" and the "The 2cc set: The Trains of the world in 2cc", respectively. They are found in the TTDPatch->Graphics section of the forums. ;)
i added a close-to-max-size discription yesterday
Member of the
ImageImage
User avatar
planetmaker
OpenTTD Developer
OpenTTD Developer
Posts: 9432
Joined: 07 Nov 2007 22:44
Location: Sol d

Re: In game content downloads

Post by planetmaker »

DJNekkid, still a link to your 2cc-set in the title is missing: http://bananas.openttd.org/en/newgrf/
Nearly all have that :)
Roujin
Tycoon
Tycoon
Posts: 1884
Joined: 08 Apr 2007 04:07

Re: In game content downloads

Post by Roujin »

Thanks for implementing sorting of the content list ;)

Right on to the next suggestion: a textbox to write a filter string in so only items specifying the this keyword / keywords are displayed. We already have the keywords, but they're not used yet, or are they?

edit: if someone isn't already on it, I'm writing a patch for it..
Last edited by Roujin on 23 Jan 2009 13:26, edited 1 time in total.
* @Belugas wonders what is worst... a mom or a wife...
<Lakie> Well, they do the same thing but the code is different.

______________
My patches
check my wiki page (sticky button) for a complete list

ImageImage
ImageImageImageImageImageImageImage
puukko
Engineer
Engineer
Posts: 3
Joined: 01 Dec 2007 21:07

Re: In game content downloads

Post by puukko »

Is there way to remove downloaded content (of course other than finding them from some illogical place in my harddrive and delete them manually)?
Roujin
Tycoon
Tycoon
Posts: 1884
Joined: 08 Apr 2007 04:07

Re: In game content downloads

Post by Roujin »

puukko wrote:Is there way to remove downloaded content (of course other than finding them from some illogical place in my harddrive and delete them manually)?
why illogical? :roll:

no there currently isn't another way.
* @Belugas wonders what is worst... a mom or a wife...
<Lakie> Well, they do the same thing but the code is different.

______________
My patches
check my wiki page (sticky button) for a complete list

ImageImage
ImageImageImageImageImageImageImage
User avatar
Zuu
OpenTTD Developer
OpenTTD Developer
Posts: 4553
Joined: 09 Jun 2003 18:21
Location: /home/sweden

Re: In game content downloads

Post by Zuu »

puukko wrote:Is there way to remove downloaded content (of course other than finding them from some illogical place in my harddrive and delete them manually)?
Files are saved to the content_download directory in your user OpenTTD directory.

In Windows:
My Documents\OpenTTD

Linux:
~/.openttd

Mac:
~/Documents/OpenTTD

In the same OpenTTD directory in which you can have a data directory for data files that all your OpenTTD installations would share, such as the original graphics and sound files, manually downloaded newGRFs etc.
My OpenTTD contributions (AIs, Game Scripts, patches, OpenTTD Auto Updater, and some sprites)
Junctioneer (a traffic intersection simulator)
Moriarty
Tycoon
Tycoon
Posts: 1395
Joined: 12 Jun 2004 00:37
Location: United Kingdom of Great Britain and Northern Ireland
Contact:

Re: In game content downloads

Post by Moriarty »

Roujin wrote:
puukko wrote:Is there way to remove downloaded content (of course other than finding them from some illogical place in my harddrive and delete them manually)?
why illogical? :roll:
I can't speak for the puukko, but I never use the directories OTTD downloads stuff too, and they aren't that quick to navigate too if you don't keep a My Documents (windows) link around.
User avatar
Zuu
OpenTTD Developer
OpenTTD Developer
Posts: 4553
Joined: 09 Jun 2003 18:21
Location: /home/sweden

Re: In game content downloads

Post by Zuu »

Moriarty wrote:I can't speak for the puukko, but I never use the directories OTTD downloads stuff too, and they aren't that quick to navigate too if you don't keep a My Documents (windows) link around.
May I give you a little hint:

Window key + E

It opens an explorer window with this computer viewed by default. Just above this computer in the tree view I have My Documents. So using this shortcut it doesn't take so long to access my documents.
My OpenTTD contributions (AIs, Game Scripts, patches, OpenTTD Auto Updater, and some sprites)
Junctioneer (a traffic intersection simulator)
User avatar
FooBar
Tycoon
Tycoon
Posts: 6553
Joined: 21 May 2007 11:47
Location: The Netherlands
Contact:

Re: In game content downloads

Post by FooBar »

Zuu wrote:
Files are saved to the content_download directory in your user OpenTTD directory.
Actually, the files are downloaded to a content_download folder in the directory where you have your config file. If there's an openttd.cfg in you ottd install dir, downloaded content will go in there as well.
If you have a config file in both (i.e. install dir and user dir), the install dir will take precedence and downloads will still go in there.

In all other cases (i.e. config in user dir or no config at all (yet)), downloads will go into the user dir. Which is IMO the best place to have both the config file and data files anyways for normal gameplay.
Sid
Engineer
Engineer
Posts: 37
Joined: 18 Dec 2004 12:44
Location: Germany
Contact:

Re: In game content downloads

Post by Sid »

Hey guys,

I like the feature and I also like to use it... But I'm only able to download the files. OpenTTD throws an error, while trying to unpack the files. But I can open the files manually. Don't know where the problem might be. I've reinstalled OpenTTD and WinACE twice... It doesn't help... :(
Can you help me?

Sid wrote:
Rubidium wrote:Is the failure reproducable? And what files are there in your <my documents>/OpenTTD/content_download/data directory?
Yes it is! I've justed reinstalled OpenTTD and the error still occurs.

And these files are in my data-directory:
  • OpenGFX.Alpha_4.2.tar.gz
  • OpenGFX.Alpha_4.2.tar
I can open both, but the *.tar seems to be empty. In the *.tar.gz there are some .grf files.
Attachments
Still the error.... :-(<br /><br />It says &quot;Unable to unpack the files.&quot;
Still the error.... :-(

It says "Unable to unpack the files."
failure.PNG (378.3 KiB) Viewed 1526 times
Rubidium
OpenTTD Developer
OpenTTD Developer
Posts: 3815
Joined: 09 Feb 2006 19:15

Re: In game content downloads

Post by Rubidium »

If I would know what's wrong then I can fix it, but the code works fine for a few hundred people and you seem to be the only one having the problems. As long as none of the developers can reproduce the issue or get any clue what is wrong there's not much we can do.

It really looks like either your binary is broken in some way or OpenTTD isn't allowed to open the files it just downloaded, but that'd mean you can't join multiplayer games either, or can you? So it might be that it's your antivirus program that's causing this.
User avatar
Wolf01
Tycoon
Tycoon
Posts: 2016
Joined: 24 Apr 2004 10:43
Location: Venezia - Italia
Contact:

Re: In game content downloads

Post by Wolf01 »

I had this problem too downloading one grf
I deleted the .tar, downloaded it again and worked fine... maybe the first one worked too but I didn't tried to open it
Maybe the game tries to unpack when the file download is not yet completed, or maybe the file is being checked by an antivirus
User avatar
CommanderZ
Tycoon
Tycoon
Posts: 1872
Joined: 07 Apr 2008 18:29
Location: Czech Republic
Contact:

Re: In game content downloads

Post by CommanderZ »

Wolf01 wrote:I had this problem too downloading one grf
I deleted the .tar, downloaded it again and worked fine... maybe the first one worked too but I didn't tried to open it
Maybe the game tries to unpack when the file download is not yet completed, or maybe the file is being checked by an antivirus
Does the game perform some sort of CRC check of teh downloaded files? The file might be corrupted due to a little error in transfer, this happens to me too quite often (not with OTTD), that the download is reported as complet, but it is corrupted.
TrueBrain
OpenTTD Developer
OpenTTD Developer
Posts: 1370
Joined: 31 May 2004 09:21

Re: In game content downloads

Post by TrueBrain »

CommanderZ wrote:
Wolf01 wrote:I had this problem too downloading one grf
I deleted the .tar, downloaded it again and worked fine... maybe the first one worked too but I didn't tried to open it
Maybe the game tries to unpack when the file download is not yet completed, or maybe the file is being checked by an antivirus
Does the game perform some sort of CRC check of teh downloaded files? The file might be corrupted due to a little error in transfer, this happens to me too quite often (not with OTTD), that the download is reported as complet, but it is corrupted.
TCP has checksums, and assures you that a transfer is correct. So that is rarely the case (or a cosmic ray hit your HardDisk, but a retry fixes that ;) ).

Other possibilities: out of diskspace, no zlib, broken zlib, other file-system related problems, broken zlib (oh, I already had thatone? :p) :)
The only thing necessary for the triumph of evil is for good men to do nothing.
heavyguenni
Engineer
Engineer
Posts: 2
Joined: 24 Jan 2009 19:03

Re: In game content downloads

Post by heavyguenni »

Rubidium wrote:If I would know what's wrong then I can fix it, but the code works fine for a few hundred people and you seem to be the only one having the problems. As long as none of the developers can reproduce the issue or get any clue what is wrong there's not much we can do.
I have this problem too, it's reproducible.
The reason may be that there is a 0-Byte .tar-file, which can't be extracted.
Rubidium
OpenTTD Developer
OpenTTD Developer
Posts: 3815
Joined: 09 Feb 2006 19:15

Re: In game content downloads

Post by Rubidium »

heavyguenni wrote:The reason may be that there is a 0-Byte .tar-file, which can't be extracted.
Very unlikely as we are extracting TO the .tar file.
heavyguenni
Engineer
Engineer
Posts: 2
Joined: 24 Jan 2009 19:03

Re: In game content downloads

Post by heavyguenni »

Here is a Explorer-Screenshot after the Error-Message was shown.
Attachments
Screen Explorer.JPG
Screen Explorer.JPG (50.05 KiB) Viewed 3547 times
Post Reply

Return to “General OpenTTD”

Who is online

Users browsing this forum: Ahrefs [Bot] and 16 guests