Log for #openttd on 13th May 2012:
Times are UTC Toggle Colours
00:03:50  *** Pixa [] has quit [Read error: Connection reset by peer]
00:04:10  *** Pixa [] has joined #openttd
00:15:46  *** Firartix [] has quit [Ping timeout: 480 seconds]
00:18:23  *** LordPixaII [] has joined #openttd
00:23:13  *** Pixa [] has quit [Ping timeout: 480 seconds]
00:31:36  *** Chris_Booth [~chatzilla@] has quit [Remote host closed the connection]
00:32:33  *** DOUK [] has quit [Ping timeout: 480 seconds]
00:50:12  *** valhallasw [] has quit [Ping timeout: 480 seconds]
01:14:06  *** Hazzard [] has joined #openttd
01:15:43  *** Wolfie [] has joined #openttd
01:19:45  <Wolfie> I'm curious, what's at the root of the multiple edit boxes per window problem?
01:49:23  <Wolfie> Oh, and polish is broken in 24240.
01:49:41  <Wolfie> Wrong number of plural forms for a fair few strings.
01:57:01  <Hazzard> lol
01:57:55  *** drac_boy [] has joined #openttd
01:57:56  <drac_boy> hi
02:01:30  <Wolfie> Hey.
02:03:21  <drac_boy> how're you wolfie?
02:04:46  <Wolfie> I'm confused, thanks, blundering my way into coding.
02:04:55  <drac_boy> heh ok :
02:04:59  <drac_boy> :s *
02:09:00  <Wolfie> Huh. Temptation to ping devs rising.
02:10:14  <Wolfie> Is there really an issue with having multiple edit boxes? You can just store the current one's widget ID as an integer and modify the handlng code to write to the correct one.
02:10:32  <Wolfie> Or is that not a clean enough way of doing things?
02:15:51  <Wolfie> oh, I see, there's only one edit_str_buf ?
02:18:41  *** NataS is now known as Nat_AFK
02:19:46  *** drac_boy [] has left #openttd [I'm done being in this room!]
02:24:42  *** Hazzard [] has quit [Ping timeout: 480 seconds]
02:43:32  *** LordPixaII [] has quit [Remote host closed the connection]
02:50:51  *** Wolfie [] has quit [Read error: Connection reset by peer]
03:09:57  *** glx [glx@2a01:e35:2f59:c7c0:6d56:a805:d0a:4619] has quit [Quit: bye]
03:27:06  *** kkb110 [~kkb110@NYUFGA-WLESSAUTHCLIENTS-02.NATPOOL.NYU.EDU] has quit [Ping timeout: 480 seconds]
04:04:57  *** kkb110 [~kkb110@NYUFGA-WLESSAUTHCLIENTS-01.NATPOOL.NYU.EDU] has joined #openttd
04:18:48  *** Abydos [] has joined #openttd
04:20:00  <Abydos> Hey can anyone help me out? I'm fairly new to openttd and I just download Chill's patch pack and I'm trying to get FIRS to work with it but it's not showing up in the list of grfs.
04:22:50  <planetmaker> Yup. ChillPP is too old to allow the new(er) FIRS versions to run on it
04:23:19  <Abydos> Yeah, that's what it looked like.
04:23:36  <Abydos> I just got it to recognize FIRS 6.4; is that the newest version it'll use?
04:23:42  <Abydos> Oh wait, 7.0
04:27:45  <planetmaker> there's not even FIRS 1.0 yet ;-)
04:34:53  *** Abydos [] has quit [Quit: ajax IRC Client]
04:38:09  *** Djohaal [] has quit [Read error: Connection reset by peer]
04:39:56  *** telanus [~Barney_Er@] has joined #openttd
04:49:20  *** Eddi|zuHause [] has quit []
04:49:35  *** Eddi|zuHause [] has joined #openttd
05:01:39  *** andythenorth [] has joined #openttd
05:05:35  *** andythenorth [] has quit []
05:13:27  *** Nat_AFK is now known as NataS
05:15:24  *** HerzogDeXtEr1 [~Flex@] has quit [Read error: Connection reset by peer]
05:17:17  *** telanus1 [~Barney_Er@] has joined #openttd
05:22:56  *** telanus [~Barney_Er@] has quit [Ping timeout: 480 seconds]
05:40:09  *** andythenorth [] has joined #openttd
05:58:52  <CIA-1> OpenTTD: rubidium * r24241 /trunk/src/lang/english.txt: -Fix: some typos and inconsistencies in the base language
06:13:36  *** Devroush [] has joined #openttd
06:20:43  *** andythenorth [] has quit [Quit: andythenorth]
06:23:47  *** andythenorth [] has joined #openttd
06:32:28  *** collinp [] has joined #openttd
06:32:28  *** NataS [] has quit [Read error: Connection reset by peer]
06:32:32  *** NataS [] has joined #openttd
06:53:26  *** andythenorth [] has quit [Quit: andythenorth]
06:57:34  *** sla_ro|master [~slaco@] has joined #openttd
06:58:29  *** andythenorth [] has joined #openttd
07:05:04  *** mahmoud [] has joined #openttd
07:19:04  *** TWerkhoven [] has joined #openttd
07:22:06  *** collinp [] has quit [Quit: Colloquy version 2.3]
07:25:30  *** NataS is now known as Nat_AFK
07:40:40  *** Alberth [] has joined #openttd
07:40:43  *** mode/#openttd [+o Alberth] by ChanServ
07:40:58  <Alberth> moin
07:42:14  *** andythenorth [] has quit [Quit: andythenorth]
07:48:23  *** mahmoud [] has quit [Read error: Connection reset by peer]
07:50:36  *** kkb110 [~kkb110@NYUFGA-WLESSAUTHCLIENTS-01.NATPOOL.NYU.EDU] has quit [Ping timeout: 480 seconds]
07:57:32  *** mal2_ [] has joined #openttd
08:10:26  *** goodie [~KVIrc@] has joined #openttd
08:12:24  *** Chris_Booth [~chatzilla@] has joined #openttd
08:20:38  *** kkb110 [] has joined #openttd
08:21:12  *** mahmoud [] has joined #openttd
08:29:09  *** zzach [] has joined #openttd
08:37:47  *** TGYoshi [~TGYoshi@] has joined #openttd
08:43:14  *** Progman [] has joined #openttd
08:43:58  <Yexo> good morning
08:47:11  *** flaa [~flaa@] has joined #openttd
08:54:07  *** DDR [] has quit [Quit: for the love of god this is not safe for work]
08:54:29  <Alberth> moin
08:54:51  <Rienzilla> moin moin
08:55:17  <Alberth> Yexo: did you see my multi-line patch in the language file?
08:55:27  <Alberth> I wonder what you think of it
08:55:37  <Yexo> not yet, will look at it later today
08:58:30  *** mal2_ [] has quit [Ping timeout: 480 seconds]
08:59:26  *** Rhamphoryncus [] has quit [Quit: Rhamphoryncus]
09:03:49  <Alberth> I am trying to enhance the interface towards translators. I wrote the '' program that gives better output than the current 'check_language' that people use. is example output.
09:03:49  <Alberth> There are two other problems creating false positives in the output. One is that some strings are not translatable; ie "{STRING}" or "" or "1923" :) . Currently there is no way to express 'no need to translate this string' in nml.
09:05:11  <Alberth> The other problem is that change revisions are used to indicate up-to-date-ness. If a string in the master file gets modified that does not require a change in the translation, you cannot say 'this string is correct w.r.t. the master entry'.
09:06:34  <Alberth> Yexo: more in general, how do you feel about making the language files better usable for translation? Should it be part of nml, or should it get done in another program / system?
09:09:15  <Alberth> the latter problem may be solved better in such a system, perhaps. (At least I don't see an easy way to express it in nml other than messing with revision numbers in the file itself.
09:15:02  <Yexo> sorry, no time to discuss, I'm on the phone right now
09:17:05  *** MNIM [] has quit [Remote host closed the connection]
09:18:45  <Alberth> no problem, my main goal was to give you this information, so you can think about it :)
09:18:56  *** andythenorth [] has joined #openttd
09:19:07  <Alberth> o/ andy!
09:19:43  * andythenorth has been ordering lego parts from Croatia
09:19:49  <Alberth> did you already decide how to build your new beast?
09:20:39  <andythenorth> slightly
09:20:49  <andythenorth> need parts to prototype with
09:21:42  *** frosch123 [] has joined #openttd
09:22:12  <Alberth> an early frosch, welcome :)
09:22:35  *** valhallasw [] has joined #openttd
09:22:42  <frosch123> moin :)
09:33:53  <TWerkhoven>        7t7t7tt  76t fvkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkvvkvjl;
09:34:14  <frosch123> don't put your cat on the keyboard
09:34:30  <TWerkhoven> 75+4555225454544556999999998999999999999679700000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001
09:34:39  <__ln__> not the dog either
09:36:10  <TWerkhoven> 3yo daughter?
09:36:32  <__ln__> that's ok i suppose
09:45:01  <Yexo> Alberth: one thing I've wanted for a long time is a webinterface for translations like
09:45:25  <Yexo> that webinterface could completely replace the "string needs updating' part of the "check_language" scripts
09:45:26  <valhallasw> TWerkhoven: you're already teaching her how to play ttd?
09:45:45  <Alberth> Yexo: I like that too :)
09:46:19  <Yexo> unfortunately I lack the time/will to set that up myself within any reasonable timeframe
09:46:20  <Alberth> I have made a few baby steps in that direction, but I don't know anything about www :)
09:46:55  <Alberth> TB suggested to use REST framework underneath it, which makes a lot of sense
09:47:40  <Yexo> I don't know anything about that
09:48:07  <Yexo> in any case: NML itself is not the right place to determine whether a string needs updating
09:48:24  <Alberth> basically, you don't have state in the session, you just do query/response
09:48:55  <Yexo> if a (more-or-less) foolproof script can be written it can become part of the nml repro, but not part of nmlc itself
09:49:20  <Alberth> I agree the latter problem should not be in the translation file
09:49:32  <Yexo> I wouldn't like to modify the language files too much, as currently they resemble the openttd language files and if possible I'd like to keep it that way as much as possible
09:49:51  <Alberth> ok
09:50:10  <Alberth> what about the 'non-translatable' problem?
09:50:23  <Alberth> that's much more static information
09:50:33  <TWerkhoven> valhallasw: she likes seeing me play it, though every time she wants to drive the train
09:50:35  <Yexo> is there a problem with adding it to all translations? That's what openttd does
09:51:16  <Yexo> it's redundant information, but for the final grf size it doesn't matter
09:51:41  <Alberth> that would be a solution I guess, except you duplicate information with the consistency problems that come with it
09:51:52  <Alberth> ie I would not add it
09:52:28  <Yexo> so that case would need an addition to the language file structure
09:52:42  <Alberth> andy said  grfcodec uses #@@translate on and #@@translate off to denote a group of untranslatable strings
09:53:26  <Alberth> I am not sure I like it, as it breaks the concept of one line contains everything
09:54:18  <Alberth> @STR_WHATEVER : ...     would be an alternative, but not sure it is much better :)
09:54:23  <Yexo> I was thinking along the lines of "!STR_NON_TRANSLATABLE   :1923", or "STR_ABC =1923" (with = instead of : )
09:54:47  <Alberth> better :)
09:54:50  <valhallasw> TWerkhoven: :D awesome
09:56:18  <Alberth> andythenorth: ^ what do you think of this proposal?
09:56:38  <Yexo> <Alberth> Yexo: did you see my multi-line patch in the language file? <- was that referring to #3960
09:57:24  <Alberth>  nope
09:58:06  <Alberth> but if you want to be openttd compatible, it won't fly
09:59:05  <Yexo> I'm not sure about that one
09:59:36  <Yexo> does it offer a benefit over an editor with line wrapping?
10:00:04  <Alberth> you have sane formatting, ie break the line at 'logical' points
10:00:19  <Yexo> I'm also afraid it'll be confusing for new users as the newline they see is not actually in the newgrf file (as opposed to {} to force a newline)
10:00:33  <Alberth> good point
10:01:20  <Alberth> you may need to have a 'display the string in-game' thingie for those users
10:01:28  <Yexo> now if the newline could replace {} that'd be something different, but in that case you can't start a line with whitespace (you need one space to indicate it's a continuation, so either force one space or don't allow whitespace there)
10:02:01  <Alberth> you'd end up with \<newline>   then, I think
10:02:02  <Yexo> I think this problem too boils down to: we need good interface to edit translations, not just via text files
10:03:01  <Alberth> this is not only translations but the master file too, but yeah, editing language files basically sucks for translating
10:04:49  <andythenorth> :o
10:04:51  <Alberth> ok, thanks for explaining
10:04:51  <andythenorth> yexo is back :)
10:06:07  <Yexo> just today, tomorrow till Friday I'll be in Warsaw
10:06:07  <Alberth> another question, did you consider encoding real sprites in a distributed fashion? iirc that is one of the bottle-necks of nml, and andy has good experiences with it in pixa
10:06:50  <Yexo> it's indeed one of the bottle-necks, although I don't think it's as big a problem as it was before
10:06:59  <Yexo> I haven't yet considered it
10:07:13  <Yexo> I like the idea, but again no time to implement it anytime soon
10:07:28  <Yexo> I should first squash a few bugs that have popped up over the last few weeks
10:07:28  <Alberth> you're too busy :)
10:08:08  <Yexo> last few weeks: yes
10:17:16  *** FLHerne [] has joined #openttd
10:40:35  *** Chrill [] has joined #openttd
10:50:26  *** DOUK [] has joined #openttd
10:54:38  *** FLHerne [] has left #openttd []
10:55:20  <andythenorth> hmm
10:55:24  <andythenorth> trucks
10:56:06  *** mahmoud [] has quit [Ping timeout: 480 seconds]
10:56:09  <CornishPasty> pew pew, laser trucks
10:56:27  <andythenorth> how big should trucks be?
10:56:59  *** Zuu [] has joined #openttd
10:58:10  <Alberth> anything wrong with the size of existing trucks?
10:58:33  <Alberth> for the few times I use them, I find the default ones quite nice
10:58:41  <andythenorth> too big
10:58:48  <andythenorth> pikka wanted me to make insanely small trucks
10:58:50  <andythenorth> :)
10:59:06  <andythenorth> about that I am not convinced
10:59:22  <Alberth> based on RL arguments?
10:59:32  <andythenorth> based on fitting with UKRS and NARS
10:59:34  <andythenorth> and HEQS
10:59:55  <CornishPasty> And WTFS
11:00:00  <andythenorth> that too
11:00:09  <Alberth> HEQS makes little sense imho
11:00:09  * andythenorth hasn't released WTFS yet
11:01:07  <Alberth> don't know how big HEQS trucks are, but imho a regular truck should be bigger than a special truck (or faster)
11:01:20  <Alberth> otherwise I simply use HEQS all over the place
11:01:40  <Alberth> we need road-types? :)
11:01:44  <andythenorth> yup
11:02:06  <andythenorth> biab
11:02:07  *** andythenorth [] has quit [Quit: andythenorth]
11:03:06  *** jo2k [] has joined #openttd
11:03:12  *** jo2k [] has quit []
11:27:27  <opa> whats that symbol below the vehicle number in vehicle list?
11:29:33  <opa> is it possible to change the default parameters of conditional orders?
11:36:50  <frosch123> that symbol indicates the profit
11:38:38  *** glx [glx@2a01:e35:2f59:c7c0:d824:145c:b842:4aea] has joined #openttd
11:38:42  *** mode/#openttd [+v glx] by ChanServ
11:47:35  *** roadt [~roadt@] has joined #openttd
11:58:59  *** roadt [~roadt@] has quit [Remote host closed the connection]
12:25:07  *** roadt [~roadt@] has joined #openttd
12:41:04  *** telanus [~Barney_Er@] has joined #openttd
12:43:51  *** sla_ro|master [~slaco@] has quit [Quit: DANGER is OFFLINE DANGER]
12:45:19  *** telanus1 [~Barney_Er@] has quit [Ping timeout: 480 seconds]
12:47:49  *** roadt [~roadt@] has quit [Remote host closed the connection]
12:49:17  *** FLHerne [] has joined #openttd
12:51:17  <frosch123> "Linux Khedron 3.2.0-2-amd64 #1 SMP Sun Apr 15 16:47:38 UTC 2012 x86_64 GNU/Linux" <- does that line tell me which distribution is used?
12:51:32  <frosch123> i.e. does "gnu/linux" hint for debian, or is that more common?
12:53:25  *** goodie [~KVIrc@] has quit [Ping timeout: 480 seconds]
12:56:57  <Alberth> I'd say it is more common, ie any distribution that is friendly enough to Gnu :)
12:57:15  <Alberth> and distributions like ubuntu probably copy it verbatim
12:58:34  <Alberth> maybe you can find the used kernel package by the time stamp :p
12:59:34  <Alberth> Linux localhost.localdomain 3.3.4-3.fc16.x86_64 #1 SMP Thu May 3 14:46:44 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux  <-- that's mine
12:59:42  <FLHerne> My Kubuntu also says GNU/Linux, also says Ubuntu though :P
13:00:39  <Alberth> FLHerne: same time stamp too?
13:01:25  <Rubidium> frosch123: you could google the build time and decude it version from that
13:03:30  <Rubidium> from that I'd say: Debian Wheezy (last update between 10th of May and 18th of April) or SID (last update beteen 15th of April and 30th of April), version 3.2.15-1
13:03:37  <frosch123> ok, the first five hits say debian
13:04:05  <frosch123> so, does debian wheezy properly install the ai compatibility scripts?
13:04:15  <frosch123> i have no "installed" ottd :)
13:05:04  <FLHerne> Alberth: no, Thu Mar 8 20:45:39
13:07:25  <Rubidium> frosch123: for me it says 0.7 API compatability layer in effect
13:07:37  *** Pixa [~pixa@] has joined #openttd
13:07:49  <Rubidium> and the compat scripts seem to be there
13:08:09  <frosch123> well, then i have no idea about fs#5186 :)
13:14:02  <Rubidium> what version of the AI is used?
13:14:09  <frosch123> simpleai 6
13:14:19  <frosch123> the current one from bananas
13:14:25  <frosch123> it works fine for me
13:14:30  <frosch123> loads 1.0 compatibliity thingie properly
13:16:21  <Rubidium> works with the debian packages for me as well
13:17:20  <Rubidium> might the user just have copied the executable and a language file from the tar?
13:20:23  *** Hazzard [] has joined #openttd
13:23:03  *** Wolf01 [~wolf01@] has joined #openttd
13:23:05  *** Wolfie [] has joined #openttd
13:23:17  <Wolf01> hello
13:23:35  <Wolfie> Hi.
13:24:04  <frosch123> is there any relation between you? :)
13:24:14  <Wolfie> No >:C
13:26:15  *** HerzogDeXtEr [~Flex@] has joined #openttd
13:28:18  <Wolfie> Anyway my job for the day was gonna be to play with QueryStringBaseWindow
13:29:19  *** andythenorth [] has joined #openttd
13:30:58  <frosch123> <- what composes that list?
13:36:21  <frosch123> <- oh, it is part of openttd-data package
13:58:10  *** FLHerne [] has left #openttd []
13:59:12  *** FLHerne [] has joined #openttd
14:03:33  *** Elu [] has quit []
14:08:03  *** Chrill [] has quit []
14:08:42  *** Dragi [] has joined #openttd
14:09:10  *** Dragi [] has quit []
14:11:57  *** eQualizer|dada [] has joined #openttd
14:12:24  *** Hazzard [] has quit [Ping timeout: 480 seconds]
14:16:24  *** Hazzard [] has joined #openttd
14:17:20  *** eQualizer [] has quit [Ping timeout: 480 seconds]
14:24:25  *** Hazzard [] has quit [Ping timeout: 480 seconds]
14:25:48  *** KritiK [] has joined #openttd
14:26:20  *** sla_ro|master [~slaco@] has joined #openttd
14:50:37  *** HerzogDeXtEr [~Flex@] has quit [Read error: Connection reset by peer]
14:51:50  *** HerzogDeXtEr [~Flex@] has joined #openttd
14:53:04  *** roadt [~roadt@] has joined #openttd
14:53:55  *** pugi [] has joined #openttd
15:00:28  *** KByte [] has joined #openttd
15:04:58  *** KByte [] has quit []
15:11:05  *** Chris_Booth [~chatzilla@] has quit [Ping timeout: 480 seconds]
15:26:36  *** goodie [~KVIrc@] has joined #openttd
15:35:23  <goodie> Hi, I'm using openTTD v1.2.0 and I have some problems. Is openTTD able to save changes in "Game Options" menu? For example, if I'll try to change screen resolution, this might working only till next start of the game. For example, if I'll try to change screen resolution, this might working only till next start of the game. (sorry for bad english)
15:36:33  <Yexo> yes, those settings are saved in openttd.cfg
15:41:23  <goodie> Yexo: thanks :)
15:58:32  *** Kurimus [] has quit []
16:05:18  *** Kurimus [] has joined #openttd
16:19:36  *** Chris_Booth [~chatzilla@] has joined #openttd
16:26:08  *** Chris_Booth [~chatzilla@] has quit [Remote host closed the connection]
16:45:17  *** cyph3r [] has joined #openttd
16:51:58  *** Biolunar [] has joined #openttd
16:54:32  <Eddi|zuHause> goodie: make sure openttd.cfg or the directory it is in is not write protected
16:55:03  *** roadt [~roadt@] has quit [Remote host closed the connection]
16:56:45  <goodie> Eddi|zuHause: thank you for responding :) I've solved this problem by creating blank file openttd.cfg. It works! :)
16:59:19  *** Rhamphoryncus [] has joined #openttd
17:03:59  <Wolfie> Alright. If I just map WidgetIDs to array indexes now, I should be good.
17:05:25  *** goodie [~KVIrc@] has quit [Quit: Changing server...]
17:05:33  <Alberth> GetWidget<>() ?
17:06:35  *** goodie [~KVIrc@] has joined #openttd
17:11:10  <Wolfie> Um, not quite, I need to give each editbox a sequential number, I suppose.
17:19:52  *** andythenorth [] has quit [Quit: andythenorth]
17:35:58  <Wolfie> Oh my god I'm an idiot.
17:39:12  <CIA-1> OpenTTD: translators * r24242 /trunk/src/lang/ (8 files): (log message trimmed)
17:39:12  <CIA-1> OpenTTD: -Update from WebTranslator v3.0:
17:39:12  <CIA-1> OpenTTD: belarusian - 109 changes by Wowanxm
17:39:12  <CIA-1> OpenTTD: catalan - 18 changes by mtormo
17:39:12  <CIA-1> OpenTTD: english_US - 7 changes by Rubidium
17:39:12  <CIA-1> OpenTTD: finnish - 60 changes by jpx_
17:39:12  <CIA-1> OpenTTD: french - 120 changes by OliTTD, glx
17:45:09  *** TWerkhoven[l] [] has joined #openttd
17:47:05  *** TWerkhoven [] has quit [Quit: He who can look into the future, has a brighter future to look into]
17:48:41  <Wolfie> Whoo, 24242.
17:49:05  *** Nat_AFK is now known as NataS
18:07:59  *** Devroush [] has quit [Ping timeout: 480 seconds]
18:15:38  *** andythenorth [] has joined #openttd
18:16:19  <NGC3982> ..
18:17:14  <andythenorth> ho
18:17:21  <Alberth> he
18:17:23  <andythenorth> openttd[83384:1adb] *** __NSAutoreleaseNoPool(): Object 0x11e1c6510 of class NSCFArray autoreleased with no pool in place - just leaking
18:17:25  <andythenorth> how rare
18:17:29  <andythenorth> a hard crash on map gen
18:17:40  <andythenorth> unrepeatable
18:18:02  <Alberth> wrong random number :)
18:26:12  *** kkb110 [] has quit [Ping timeout: 480 seconds]
18:31:53  <andythenorth> how do I call make in a path (not pwd)
18:31:56  <andythenorth> e.g. ./src/pixel_generator/make
18:32:44  <Alberth> make -C src/pixel_generator   ?   (does cd src/pixel_generator ; make )
18:33:59  <andythenorth> works
18:34:01  <andythenorth> thanks
18:34:12  <andythenorth> -C is what?  context?
18:34:22  <Alberth> an option name :p
18:34:30  <Alberth> see make(1)  :p
18:34:33  <andythenorth> man make has nothing on it here :P
18:34:35  <andythenorth> nvm
18:34:44  <andythenorth> it works is the main thing
18:34:47  *** telanus [~Barney_Er@] has quit [Quit: Leaving.]
18:36:17  <Alberth>    my man-page gives no explanation for 'C' :)
18:37:00  <andythenorth> thanks
18:38:02  <andythenorth> hmm
18:38:17  <andythenorth> I need to tell nmlc to write nfo, and *stop* whining that the pngs aren't there
18:38:35  <andythenorth> as I can't generate the pngs as deps without being able to parse the nfo to get them as deps :P
18:38:38  <Wolfie> nmlc -stfu
18:38:41  <andythenorth> he
18:38:58  <Wolfie> if that's not the param, it should be
18:39:18  <Alberth> that are 4 optionss :)
18:40:18  <andythenorth> what does nml's dep generator do?
18:40:29  <andythenorth> I tried it before but couldn't get it to do anything but error :P
18:40:39  <Alberth> nml does not have a dep generator afaik
18:40:48  <andythenorth> -M ?
18:40:51  <andythenorth>
18:40:57  <Alberth> oh, yeah, perhaps it has now
18:41:00  <andythenorth> also --MF and --MT
18:41:24  <andythenorth> I would expect it to write the png names out from that so make can see them
18:41:38  *** NataS is now known as Nat_AFK
18:41:44  <andythenorth> which if it works, means I don't need to parse deps myself so much
18:41:53  <Alberth> tias? :)
18:42:30  <Alberth> otherwise parse the error messages :p
18:42:49  <andythenorth> hmm
18:42:52  <andythenorth> worked this time
18:43:11  <andythenorth> -M just works
18:43:23  <andythenorth> I tried --MF and --MT before, but couldn't figure them out
18:47:30  *** Nat_AFK is now known as NataS
18:54:42  <CIA-1> OpenTTD: alberth * r24243 /trunk/src/lang/english.txt: -Fix: Typo fixes and wording improvements in the base language.
18:55:39  <andythenorth> nml is awesome
18:55:54  <andythenorth> Yexo: ^ ;)
18:56:03  <Yexo> thanks :)
19:01:23  *** Zeknurn [] has quit [Remote host closed the connection]
19:02:05  *** Zeknurn [] has joined #openttd
19:06:52  *** TWerkhoven2[l] [] has joined #openttd
19:11:32  *** flaa [~flaa@] has quit [Quit: leaving]
19:13:19  *** TWerkhoven[l] [] has quit [Ping timeout: 480 seconds]
19:14:01  *** Devroush [] has joined #openttd
19:20:06  <andythenorth> hmm
19:20:12  <andythenorth> NoGo
19:20:15  <NGC3982> i have so much of mml to discover.
19:20:17  <andythenorth> and town stuff
19:20:54  <NGC3982> i have yet to achieve something greater than making a lorry.
19:21:14  *** NataS is now known as Nat_AFK
19:24:26  <Alberth> that's one lorry more than I have made :)
19:24:35  *** theholyduck [] has quit [Quit: Forlater kanalen]
19:25:01  *** theholyduck [] has joined #openttd
19:25:09  <Yexo> Alberth: can you commit #3960 btw?
19:25:23  <Yexo> or do I need to move you from "Inactive" back to "developer" first?
19:25:46  <Alberth> feel free to commit
19:26:22  *** Djohaal [] has joined #openttd
19:26:51  <Alberth> I may not even have the patch any more :p
19:26:53  <Yexo> you should be able to commit patches yourself
19:27:02  <Yexo> in that case I'll commit it :)
19:28:25  <Alberth> I have no intention of making changes in nml, other than 'by accident'
19:28:37  <Alberth> I have too many other projects already :)
19:28:50  <Yexo> ok
19:29:01  <Alberth> I did notice the amount of docs is much better nowadays, though :)
19:29:28  <Yexo> still lacking in several areas, but you did motivate me to write more comments
19:30:03  <Alberth> how do language files in nml and openttd compare
19:30:15  <Alberth> are they the same?
19:30:20  <Yexo> yes
19:30:35  <Alberth> nice :)
19:30:48  <Yexo> with a few minor differences, not all string codes from openttd are supported by nml
19:30:59  *** Chris_Booth [~chatzilla@] has joined #openttd
19:31:16  <Yexo> and support for cases might be a bit less good, but part of that is due to limitations in the newgrf spec
19:31:54  <Alberth>    I started writing random ramblings on a translation service
19:33:09  <Alberth> I might do some hacking on parsing language files, and nml seems the simplest starting point in that case
19:34:07  <Yexo> I think the part of nml that parses the language files is one of the worst documented parts
19:34:11  <Alberth> although I failed on understanding the plural problem posted in the nml thread today :p
19:34:29  <Alberth> yeah it is, but that's to be expected
19:34:29  <andythenorth> Alberth: I'm reading lines from a dep file with python, I need to ignore (split) the newlines, how do I do that safely
19:34:37  <Alberth> it is very stable :)
19:34:42  <andythenorth> e.g 'trailer-0_2-body_flat-cc1-7_8-cargo_coils-grey_metal.png\n'
19:35:06  <Yexo> it was ported from strgen, which is part of openttd and has been tested for a long time
19:35:08  <andythenorth> will nml always write '\n' for newlines when generating deps?
19:35:22  <andythenorth> or is it platform specific?
19:35:24  <Yexo> andythenorth: to trim any whitespace use .strip()
19:35:47  <Alberth> or .rstrip() if you only want the right part stripped
19:36:14  <andythenorth> :o
19:36:20  <Alberth> and it is always \n if you open a file in text-mode at the right platform :)
19:36:22  <andythenorth> I didn't know strip took out newlines :)
19:36:37  <Alberth> it's whitespace :)
19:36:45  <andythenorth> I may have code running on the internets that is slightly wrong due to that :P
19:36:53  <andythenorth> hey ho
19:37:18  <Alberth> you're not the only person, I can assure you :)
19:40:04  * NGC3982 stimulerar SmatZ
19:40:08  <NGC3982> oops
19:49:37  <andythenorth> hmm
19:51:03  <andythenorth> I'm using a shell script to build BANDIT, because it takes 18 seconds from scratch
19:51:31  <andythenorth> but I need to maintain the makefile to match what the shell script does
19:51:34  <andythenorth> not sure how
19:51:51  <andythenorth> the makefile takes 40s to build
19:52:22  <andythenorth> so I don't want to use it locally
19:52:38  <andythenorth> but it's required for the compile farm
19:52:39  *** DDR [] has joined #openttd
19:54:12  *** Nat_AFK is now known as NataS
19:55:05  <Alberth> run the shell script from the makefile?
19:56:21  <andythenorth> plausible
19:56:57  <andythenorth> but that breaks me away from the makefile framework
19:57:04  <andythenorth> I think
19:58:10  *** roadt [~roadt@] has joined #openttd
20:00:06  <andythenorth> planetmaker: what will the devzone do with a non-standard makefile?
20:00:13  <andythenorth> does it 'just work' ?
20:00:51  <andythenorth> hmm, I give myself a big headache though, I have to provide all the targets
20:01:00  <andythenorth> and build the docs and such
20:11:30  <andythenorth> maybe I can just run the shell script
20:11:35  <andythenorth> it will cause the grf to be built twice
20:11:37  <andythenorth> but meh
20:14:14  <andythenorth> can't call the shell script from make
20:15:43  <CornishPasty> Why, andythenorth?
20:15:50  <andythenorth> invalid syntax
20:16:16  <andythenorth>
20:16:46  <Yexo> that's the script? where is the makefile and error message?
20:17:11  <CornishPasty> andythenorth: you should use `#!/usr/bin/env bash` btw :P
20:17:24  *** kkb110 [~kkb110@NYUFGA-WLESSAUTHCLIENTS-01.NATPOOL.NYU.EDU] has joined #openttd
20:17:35  <Alberth> #!/bin/sh    is sufficient, often :)
20:17:52  <CornishPasty> Alberth: that's suggesting that /bin/sh exists :P
20:18:04  <CornishPasty> (Which it normally does)
20:18:23  <Alberth> yeah for the past 30 years or so
20:18:28  <CornishPasty> :P
20:18:40  <Alberth> just like /usr/bin/env :p
20:18:41  <CornishPasty> I tend to use zsh for everything now
20:18:48  <CornishPasty> I just like env :P
20:18:50  <Alberth> me too
20:18:58  <andythenorth>
20:19:34  <andythenorth>     && nmlc -M bandit.nml \
20:19:34  <andythenorth>      ^
20:19:34  <andythenorth> SyntaxError: invalid syntax
20:20:00  <CornishPasty> andythenorth: don't use \ then :P
20:20:03  <CornishPasty> Put it all on one line
20:20:10  *** perk11 [~perk11@] has joined #openttd
20:20:18  <CornishPasty> Also seems like it's not really using bash
20:20:36  <Alberth> andythenorth: python ???
20:20:50  <andythenorth> good idea
20:21:07  <CornishPasty> andythenorth: /usr/bin/env python :P
20:21:08  <CornishPasty> ftfy
20:21:54  <Alberth> use autotools :p
20:21:57  <CornishPasty> NO
20:22:03  <CornishPasty> Go away Alberth
20:22:12  * CornishPasty makes cross sign at the devil that is autotools
20:22:21  <Alberth> ok
20:22:22  *** MNIM [] has joined #openttd
20:22:22  *** Alberth [] has left #openttd []
20:22:26  *** perk11 [~perk11@] has quit []
20:23:03  <andythenorth> maybe it's time for a new makefil
20:23:04  <andythenorth> e
20:23:17  <andythenorth> why do we use make?
20:23:30  <CornishPasty> Because derp
20:24:16  <andythenorth> well obviously
20:24:33  *** frosch123 [] has quit [Remote host closed the connection]
20:25:38  <andythenorth> but why make instead of a shell script, python file etc?
20:27:47  <andythenorth> ach nvm
20:34:11  *** theholyduck [] has quit [Read error: Connection reset by peer]
20:35:32  *** DDR [] has quit [Quit: for the love of god this is not safe for work]
20:37:38  <andythenorth> how do I make this work in python? :P
20:37:39  <andythenorth> call(["nmlc, -M, ../../bandit.nml"])
20:37:58  <andythenorth> or rather, this
20:38:05  <andythenorth> nmlc -M ../../bandit.nml
20:38:32  <Yexo>["nmlc", "-M", "../../bandit.nml"])
20:38:45  <andythenorth> :)
20:38:55  <andythenorth> it's the path that is troubling me, I should be more specific :P
20:39:17  <andythenorth> nmlc doesn't much like the ../../
20:39:32  <Yexo> depending on your current directory, that shouldn't be a problem
20:40:01  <Wolfie> nmlc always allowed me to descend directories like that.
20:40:04  <andythenorth> nmlc: Input file "../../bandit.nml" does not exist
20:40:15  <Yexo> which directory are you currently in?
20:40:24  *** sla_ro|master [~slaco@] has quit [Quit: DANGER is OFFLINE DANGER]
20:40:24  <andythenorth> src/pixel_generator
20:40:39  <andythenorth> relative to bandit.nml
20:40:40  <Yexo> and bandit.nml does really exist?
20:40:49  <Yexo> does it work from the commandline?
20:40:53  <andythenorth> ho
20:41:04  <andythenorth> I would have wasted hours before checking that :P
20:41:07  <Wolfie> Yeah, that's my first inclination.
20:41:08  <Wolfie> x3
20:41:08  <Yexo> the current directory matters btw, not the directory where the script is
20:41:50  <Yexo> so if the python script is in src/pixel_generator/ but you call it like "python src/pixel_generator/" you should use "bandit.nml" as path, not "../../bandit.nml"
20:41:53  <andythenorth> hmm, now I have brain ache
20:42:02  <andythenorth> bandit.nml won't exist until the main script has run
20:42:12  <andythenorth> but the main script can't run without calling the pixel generator
20:42:23  <andythenorth> and the pixel generator needs bandit.nml to generate the deps :P
20:42:37  <andythenorth> I need to fix that :)
20:42:45  <Yexo> that can't work :)
20:42:48  <andythenorth> indeed :)
20:42:51  <andythenorth> I shall fix it
20:43:16  <Yexo> the dependency files generated by nmlc won't be complete btw, since it'll only list the generated png files are dependency
20:43:22  <Yexo> not the source files needed to generate those pngs
20:43:26  <andythenorth> that's ok
20:43:40  <andythenorth> that's how the pixel generator is rigged
20:43:53  <andythenorth> it looks only at what final png is required by the grf
20:43:57  <andythenorth> then works backwards
20:45:19  *** krinn [] has joined #openttd
20:45:28  <krinn> hi
20:45:36  *** kaenkky_ [] has joined #openttd
20:46:17  <krinn> Zuu (ping)
20:46:48  *** kaenkky [] has quit [Ping timeout: 480 seconds]
20:50:33  *** krinn [] has quit [Quit: brb]
20:51:12  *** goodie [~KVIrc@] has quit [Quit: When two people dream the same dream, it ceases to be an illusion. KVIrc 3.4.3 Shiny(svn-3155)]
20:52:39  *** snorre_ [] has joined #openttd
20:52:52  <andythenorth> Yexo: so using the "../../bandit.nml" path, nmlc can't see the lang file
20:52:54  <andythenorth> Default language file "lang/english.lng" doesn't exist
20:53:03  <andythenorth> which is no surprise to me, but is there a solution?
20:53:04  <Zuu> pong (@ krinn)
20:53:12  <Yexo> yes, the --lang-dir commandline option
20:53:23  <Yexo> check nmlc --help to get the exact name
20:53:41  <CornishPasty> andythenorth: os.chdir maybe?
20:53:47  <andythenorth> k
20:54:22  *** drac_boy [] has joined #openttd
20:54:25  <drac_boy> hi
20:54:29  *** snorre [] has quit [Ping timeout: 480 seconds]
20:56:42  <andythenorth> hmm
20:56:59  <andythenorth> when hacking together your own build scripts, it's easy to get tied up in knots :P
20:57:11  <andythenorth> circular deps are trivial to create, hard to unpick :P
20:57:14  *** neunlivegucker [] has joined #openttd
20:57:14  <CornishPasty> mmmmmmmh... Knotts
20:57:18  * CornishPasty leaves now
20:57:26  <andythenorth> also everything has to be run in very specific order :P
20:57:27  <Yexo> good luck with your new build script andythenorth
20:57:29  <Yexo> and good night
20:57:32  <andythenorth> bye :)
20:58:12  <andythenorth> ach this might have worked
20:58:23  <CornishPasty> :O
21:05:24  *** roadt [~roadt@] has quit [Ping timeout: 480 seconds]
21:20:42  <andythenorth> hmm
21:20:47  <andythenorth> complex thing is complex
21:20:54  <andythenorth> might be easier to just...not :P
21:21:34  <andythenorth> also
21:21:35  <andythenorth> bed
21:21:36  *** andythenorth [] has quit [Quit: andythenorth]
21:28:43  *** Chris_Booth [~chatzilla@] has quit [Ping timeout: 480 seconds]
21:30:43  *** drac_boy [] has left #openttd [I'm done being in this room!]
21:41:30  *** mal2_ [] has joined #openttd
21:41:59  <Terkhen> good night
21:43:14  *** Zuu [] has quit [Quit: Leaving]
21:44:03  *** Devroush [] has quit []
21:45:00  *** NataS is now known as Nat_AFK
21:47:25  *** TGYoshi [~TGYoshi@] has quit [Quit: Popidopidopido]
21:54:23  *** valhallasw [] has quit [Ping timeout: 480 seconds]
21:57:28  *** mal2_ is now known as mal2
22:00:57  *** KritiK [] has quit [Quit: Leaving]
22:09:49  *** theholyduck [] has joined #openttd
22:13:07  *** tokai|noir [] has joined #openttd
22:13:10  *** mode/#openttd [+v tokai|noir] by ChanServ
22:15:59  <Wolf01> 'night
22:16:01  *** Wolf01 [~wolf01@] has quit [Quit: Once again the world is quick to bury me.]
22:19:08  *** tokai|mdlx [] has quit [Ping timeout: 480 seconds]
22:24:16  *** neunlivegucker [] has quit [Quit: Leaving]
22:26:29  *** Biolunar [] has quit [Quit: All your IRC are belong to us]
22:35:23  *** mal2 [] has quit [Ping timeout: 480 seconds]
22:38:58  *** Progman [] has quit [Remote host closed the connection]
22:41:12  *** TWerkhoven2[l] [] has quit [Ping timeout: 480 seconds]
22:44:34  *** Hazzard [] has joined #openttd
22:56:00  *** pugi [] has quit []
23:00:20  *** Keyboard_Warrior [] has joined #openttd
23:03:38  *** theholyduck [] has quit [Ping timeout: 480 seconds]
23:21:07  *** Hazzard [] has quit [Quit: Page closed]
23:26:13  *** FLHerne [] has left #openttd []
23:43:43  *** brambles [brambles@] has quit [Ping timeout: 480 seconds]
23:52:52  *** brambles [brambles@] has joined #openttd
23:58:09  *** drac_boy [] has joined #openttd
23:58:11  <drac_boy> hi
23:59:48  *** Keyboard_Warrior [] has quit [Read error: Connection reset by peer]

Powered by YARRSTE version: svn-trunk