IRC logs for #openttd.dev on OFTC at 2012-12-27
            
04:43:12 *** Supercheese has quit IRC
04:49:54 *** Supercheese has joined #openttd.dev
08:40:07 *** Zuu has joined #openttd.dev
08:40:07 *** ChanServ sets mode: +v Zuu
08:41:40 *** andythenorth has joined #openttd.dev
08:41:41 *** ChanServ sets mode: +v andythenorth
09:03:00 *** andythenorth has quit IRC
09:15:20 *** andythenorth has joined #openttd.dev
09:15:20 *** ChanServ sets mode: +v andythenorth
09:29:06 *** frosch123 has joined #openttd.dev
09:29:06 *** ChanServ sets mode: +v frosch123
10:13:11 *** andythenorth has quit IRC
10:13:19 *** andythenorth has joined #openttd.dev
10:13:19 *** ChanServ sets mode: +v andythenorth
10:22:32 <frosch123> bye
10:22:37 <frosch123> see you next year, 2nd or 3rd :)
10:22:44 *** frosch123 has quit IRC
10:50:45 *** Zuu has quit IRC
11:09:34 *** Supercheese has quit IRC
11:35:39 *** andythenorth is now known as Guest2702
11:35:39 *** andythenorth has joined #openttd.dev
11:35:39 *** ChanServ sets mode: +v andythenorth
11:35:40 *** Guest2702 has quit IRC
12:49:35 *** Vinnie_nl has joined #openttd.dev
12:50:49 *** Vinnie_nl has left #openttd.dev
13:35:06 *** DorpsGek` has joined #openttd.dev
13:35:06 *** ChanServ sets mode: +v DorpsGek`
13:35:40 *** orudge` has joined #openttd.dev
13:35:49 *** DorpsGek has quit IRC
13:35:49 *** orudge has quit IRC
13:35:49 *** planetmaker has quit IRC
13:35:49 *** welshdragon has quit IRC
13:35:49 *** Belugas has quit IRC
13:35:55 *** DorpsGek` is now known as DorpsGek
13:38:15 *** planetmaker has joined #openttd.dev
13:38:15 *** welshdragon has joined #openttd.dev
13:38:15 *** Belugas has joined #openttd.dev
13:38:15 *** graviton.oftc.net sets mode: +vv planetmaker Belugas
13:38:23 *** Belugas has quit IRC
13:43:59 *** Belugas has joined #openttd.dev
13:43:59 *** ChanServ sets mode: +v Belugas
13:46:03 *** planetmaker has quit IRC
13:46:03 *** welshdragon has quit IRC
13:48:11 *** planetmaker has joined #openttd.dev
13:48:11 *** ChanServ sets mode: +v planetmaker
13:53:51 *** welshdragon has joined #openttd.dev
14:00:18 *** welshdragon has quit IRC
14:07:53 *** welshdragon has joined #openttd.dev
14:14:23 *** welshdragon has quit IRC
14:15:53 *** welshdragon has joined #openttd.dev
15:06:43 *** welshdragon has quit IRC
15:08:16 *** welshdragon has joined #openttd.dev
15:14:18 *** welshdragon has quit IRC
15:16:46 *** ntoskrnl has joined #openttd.dev
15:18:55 *** welshdragon has joined #openttd.dev
17:09:32 <Terkhen> hi :)
17:10:05 <Terkhen> Alberth: http://devs.openttd.org/~terkhen/patches/index.php?source=100_Add_Tar_save_functions.diff <--- do you remember the purpose of "dir_name" in this patch? it does not seem to be used
17:44:59 <Alberth> Terkhen: Interesting :)
17:45:49 <Alberth> no I don't remember that at all :(
17:48:32 <Terkhen> I checked the code and I did not see it being used at all except for initialization and freeing :P
17:49:02 <Alberth> yeah, I tried that too :)
17:52:08 <Terkhen> thanks, I'll try to use it and see what happens :)
17:52:08 <Terkhen> I have reached a point in which I can try to produce a tar file with a heightmap png :P
17:53:02 <Alberth> My guess it continues to work, and nothing changes :)
17:53:29 <Alberth> I guess I wanted to allow adding a root directory, but I forgot about implementing it along the way
17:53:56 <Terkhen> in our specific case a single folder should be enough
17:54:37 <Alberth> that's why I wrote *root* directory ;)
17:55:50 <Alberth> I don't know what is supposed to happen when you add a directory.
17:55:59 <Alberth> perhaps just the filename is extended?
17:57:28 <Terkhen> I don't know, I barely know how tar files work at all :P
17:57:48 <Terkhen> for now I was aiming at "use the functions and see what happens"
18:00:43 <Alberth> sounds like a good first start :p
18:04:32 <Alberth> I was about to try and fix an old bug in the autoreplace window, but I can just as well look into this :)
18:05:21 <Terkhen> thanks :)
18:05:25 <Terkhen> I'm going to be a bit busy today
18:05:39 <Alberth> it's not 7PM there?
18:06:05 <Alberth> ie there is not that much 'today' left :)
18:06:39 <Terkhen> we have dinner at 10PM and I go to sleep at 12PM :P
18:10:36 *** LordAro has joined #openttd.dev
18:10:36 *** ChanServ sets mode: +v LordAro
18:16:58 <Alberth> hmm, the patch was 2K revisions old :)
18:18:31 <Terkhen> the tar patch? the version I uploaded has been updated to head
18:18:36 <Terkhen> I don't remember any rejects, though
18:46:02 *** andythenorth has quit IRC
18:49:28 <Alberth> new code has few connections :)
19:11:23 <LordAro> michi_cc: DorpsGek lost op again ;)
19:34:47 *** ChanServ sets mode: +o DorpsGek
19:38:50 *** ntoskrnl has quit IRC
19:41:37 <Terkhen> I'm "back" now
19:44:29 <Alberth> hmm, I did have two rejected hunks in fileio.cpp
19:45:31 <Terkhen> maybe there were some rejects there, I'm not sure :)
19:45:47 <Terkhen> if they were, they should be minor things
19:51:30 <Alberth> The generated tarfile seems to have a root directory
19:56:16 <Alberth> ttd_strlcpy(this->header.name, this->dir_name, lengthof(this->header.name)); <-- there it is copied
19:57:57 * Alberth considers the issue fixed :)
20:02:01 <Terkhen> sorry :)
20:02:06 <Terkhen> oh, I missed that, let me see
20:02:13 *** andythenorth has joined #openttd.dev
20:02:14 *** ChanServ sets mode: +v andythenorth
20:02:32 <Terkhen> true, it is used :)
20:03:33 <Alberth> It looks like it will work atm, if you need further fixes, please let me know
20:06:17 <Terkhen> so... the call to ttd_strlcpy should reference dir_name instead of dir_entry?
20:18:06 <Alberth> My version of the patch has no dir_entry
20:18:41 <Alberth> http://devs.openttd.org/~alberth/mktar.patch
20:26:00 <Terkhen> oh, perfect :)
20:26:05 <Terkhen> thank you Alberth
20:26:53 <Alberth> afaik it's the same file I gave you earlier, so it's a mystery where this new code came from
20:30:21 <Alberth> http://paste.openttdcoop.org/show/2005/ perhaps you added that variable?
20:31:30 <Terkhen> if I did, it is a mystery to me why I did it :P
20:32:09 <Terkhen> I don't remember any required changes to how tar files were written to make the patch work with the scenario format
20:33:29 <Alberth> well, nvm then, it's already fixed, it seems :)
20:34:54 <Terkhen> :)
21:07:58 *** FLHerne has joined #openttd.dev
21:11:11 *** FLHerne has quit IRC
21:20:41 *** Alberth has left #openttd.dev
22:08:31 *** andythenorth has quit IRC
22:12:39 *** Supercheese has joined #openttd.dev