Page 5 of 11

Re: In game content downloads

Posted: 21 Jan 2009 14:34
by Yexo
FooBar / CommanderZ: already fixed by Rubidium in r15195

Re: In game content downloads

Posted: 21 Jan 2009 15:14
by FooBar
Ah, good. I wasn't able to check that, because HG is ofcourse down as well.

Re: In game content downloads

Posted: 22 Jan 2009 08:38
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.

Re: In game content downloads

Posted: 23 Jan 2009 08:36
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

Re: In game content downloads

Posted: 23 Jan 2009 09:24
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 :)

Re: In game content downloads

Posted: 23 Jan 2009 12:34
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..

Re: In game content downloads

Posted: 23 Jan 2009 12:57
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)?

Re: In game content downloads

Posted: 23 Jan 2009 13:10
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.

Re: In game content downloads

Posted: 23 Jan 2009 17:16
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.

Re: In game content downloads

Posted: 23 Jan 2009 19:19
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.

Re: In game content downloads

Posted: 23 Jan 2009 20:27
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.

Re: In game content downloads

Posted: 23 Jan 2009 23:25
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.

Re: In game content downloads

Posted: 24 Jan 2009 15:56
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.

Re: In game content downloads

Posted: 24 Jan 2009 16:07
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.

Re: In game content downloads

Posted: 24 Jan 2009 16:26
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

Re: In game content downloads

Posted: 24 Jan 2009 16:50
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.

Re: In game content downloads

Posted: 24 Jan 2009 17:32
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) :)

Re: In game content downloads

Posted: 24 Jan 2009 19:09
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.

Re: In game content downloads

Posted: 24 Jan 2009 19:13
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.

Re: In game content downloads

Posted: 24 Jan 2009 19:27
by heavyguenni
Here is a Explorer-Screenshot after the Error-Message was shown.