Times are UTC Toggle Colours
00:30:07 *** OwenS has quit IRC 03:24:30 *** Doorslammer has quit IRC 04:32:19 <Webster> Latest update from devactivity: NFO Meta Language - Support #901 (New): trouble to run setup <http://dev.openttdcoop.org:81/issues/901> 05:20:24 <Webster> Latest update from devactivity: NFO Meta Language - Support #901: trouble to run setup <http://dev.openttdcoop.org:81/issues/901#change-2439> 05:26:44 <Yexo> good morning 05:28:00 <DJNekkid> <Yexo> DJNekkid: the order is 1-2-0-4-3, which is valid as far as I'm aware <-- its valid, just kinda orthdox :) 05:31:24 <planetmaker> moin 05:34:36 <Yexo> planetmaker: I addded #! /usr/bin/env python to setup.py 05:34:47 <Yexo> no idea about the other error you got 05:35:13 <planetmaker> I'll have to look into that later today 05:35:34 <planetmaker> but frustrating that it worked neither at home nor here :-( 05:36:31 <planetmaker> when I call NML now without installation (adding the additional nml to the path) it complains about a missing module 05:36:35 <planetmaker> 'generic' 05:36:51 <Yexo> which file does complain? 05:37:32 <planetmaker> let me check... I tested that during breakfast ;-) 05:39:04 <planetmaker> try make install in ogfxplus 05:39:33 <planetmaker> http://paste.openttd.org/225676 05:40:06 <planetmaker> http://paste.openttd.org/225677 05:40:11 <planetmaker> ^ 1st is paste fail 05:43:06 <Yexo> planetmaker: try callling nml2nfo instead of nml/nml.py 05:44:22 <planetmaker> uhm... no? 05:44:33 <planetmaker> ah. sorry. 05:44:40 <planetmaker> :-) I read 'you are...' 05:45:55 <planetmaker> that looks better. There it - as expected - only complains about missing lex module 05:45:59 <planetmaker> thanks :-) 05:52:30 <Webster> Latest update from devactivity: NFO Meta Language - Revision 116: Fix (#901): make sure setup.py starts with "#! /usr/bin/env pyt... <http://dev.openttdcoop.org:81/projects/nml/repository/revisions/116> 06:02:40 <Yexo> planetmaker: can you still reproduce that "error: invalid Python installation:" error? 06:06:01 *** ODM has joined #openttdcoop.devzone 06:11:21 <planetmaker> yes 06:11:30 <planetmaker> ingo@devera:~/ottd/grfdev/nml> sudo ./setup.py install 06:11:30 <planetmaker> root's password: 06:11:30 <planetmaker> running install 06:11:31 <planetmaker> error: invalid Python installation: unable to open /usr/lib/python2.5/config/Makefile (No such file or directory) 06:12:00 <Yexo> which os is that? 06:12:06 <planetmaker> the config dir simply does not exist. SuSE 11.1 06:12:18 <Rubidium> no python 2.5? Maybe 2.6 (or already 3.1)? 06:12:46 <planetmaker> python --version gives me 2.5.2 06:13:20 <planetmaker> the python2.5 dir exists. Just not the config sub-dir 06:13:53 <Ammler> maybe you need python-devel 06:14:36 <planetmaker> let's see 06:14:57 <planetmaker> yes. That's it. 06:15:02 <planetmaker> :-) 06:15:38 <Ammler> what does the setup script? 06:15:54 <planetmaker> install nml2nfo in /usr/local/bin 06:15:57 <Yexo> dunno, it uses python setuptools 06:16:14 <planetmaker> copying build/scripts-2.5/nml2nfo -> /usr/local/bin 06:16:42 <Yexo> it does more then that, it also copies the other *.py files to /usr/lib/python2.5/site-packages/nml 06:16:48 <planetmaker> creating /usr/local/lib/python2.5/site-packages/nml 06:16:50 <Ammler> I would symlink the wrapper 08:55:19 <Ammler> planetmaker: specially if you plan to use nml2nfo tip 08:55:30 <Ammler> else you need to run setup.py every time 09:01:12 <planetmaker> yes, I'm aware that installation is not the best thing in my case :-) 09:01:35 <planetmaker> And tip will be what is needed probably for quite some time. 09:03:04 <Ammler> ln -s nml2nfo-wrapper ~/bin|/usr/local/bin or whatever, you see what I mean :-) 09:03:26 <planetmaker> yup :-) 09:04:40 <Ammler> Yexo: dunno, if it is a good idea to call the subir again nml :-) 09:05:12 <Ammler> subdir* 09:08:08 <planetmaker> it allows to add another subdir there which then reads n2gc ;-) 09:08:15 <planetmaker> nfo to grf converter :-P 09:08:16 <Ammler> he, just a guess 09:08:37 <Ammler> might it be possible, that the zlib bug also affects grfcodec with suse factory? 09:09:19 <planetmaker> hm, maybe. Dunno 09:09:31 <Ammler> I mean, in 2 months, 11.3 will be released then we should have a fix for it :-) 09:10:36 <Ammler> also openttd wouldn't work with it anymore 09:11:11 <Ammler> I could make a bugreport and ask for not update zlib 09:16:13 <planetmaker> do so :-) 09:17:00 <Ammler> well, the openttd news is a bit strange 09:17:26 <planetmaker> how so? Or which? 09:17:29 <Ammler> it speaks about version 1.2.3.5, but I have 1.2.3 only 09:18:06 <Ammler> .5 sounds more like a package version 09:18:54 <Ammler> Version: 1.2.3-140.2 <-- on my suse 11.2 09:19:09 <Rubidium> http://zlib.net/current/beta/ <- 1.2.4.5 09:19:10 <Webster> Title: Index of /current/beta (at zlib.net) 09:19:42 <Rubidium> they're more or less betas/intermediate unofficial releases that people tend to package 09:19:56 <planetmaker> Ammler, no, there are at least 10 versions of 1.2.3 09:19:56 <Rubidium> especially if nothing happened for 4 years since that beta 09:22:13 <Ammler> Current release: 09:22:14 <Ammler> zlib 1.2.4 09:22:15 <Ammler> March 14, 2010 09:22:19 <Hirundo> Yexo: I'm running into some problems because reduce_expr alters the expression its working with, instead of returning a copy 09:22:25 <Ammler> so 1.2.4 is stable now :-) 09:22:46 <Hirundo> Shall I alter reduce_expr to change this, or add some copy functions to the template code to avoid the problem? 09:25:54 <planetmaker> Ammler, I assume rather that they didn't want to issue .1.2.3.10 ;-) 09:26:03 <planetmaker> if you look at the releases starting in November 09:27:09 <Ammler> suse zlib 1.2.3 has around 10 patches 09:28:03 <Rubidium> Ammler: check the release date of 1.2.3 09:28:17 <Rubidium> or rather the dates in http://www.zlib.net/ChangeLog.txt 09:28:42 <planetmaker> ^ 09:29:41 <Rubidium> 1.2.3: mid 2005, .1->.3 "fall" 2006, .4 end of 2009, .5->.9 jan/feb 2010 09:31:54 <planetmaker> yep, they started to break it :-P 09:36:23 <Ammler> Rubidium: which version does debian use? 09:37:30 <Rubidium> 1.2.3.3 in stable, 1.2.3.4 in testing/unstable, 1.2.3.5 in experimental (with bug reports about it breaking stuff) 09:39:19 <Ammler> suse maintainer doesn't update 09:39:33 <Ammler> except I proof, it has a bug :-) 09:39:57 <Rubidium> oh, you want poc? 09:40:16 <Ammler> Rubidium: well, 1.2.3 is fine 09:41:24 <Rubidium> you've got mail :) 09:43:28 *** Seberoth has joined #openttdcoop.devzone 09:46:39 *** Seberoth_ has quit IRC 09:49:15 <Ammler> oh, so 1.2.4 won't work either? 09:50:08 <Rubidium> yes, 1.2.4 is broken 09:58:17 <Ammler> using grfcodec -n does disable zlib or is that something else? 09:58:50 <Ammler> -u* 10:01:01 *** OwenS has joined #openttdcoop.devzone 10:02:19 <Ammler> looks like suse 11.2 and Factory still use the same zlib, so that is something else 10:02:40 <Ammler> Rubidium: your mail proofs the maintainer to keep on 1.2.3 :-) 10:07:03 <Rubidium> grfcodec doesn't use zlib 10:29:25 <Ammler> hmm, how does it compress then? 10:31:00 *** ODM has quit IRC 10:51:45 *** KenjiE20 has joined #openttdcoop.devzone 10:56:51 <Rubidium> some custom RLE-type compression 10:57:51 <planetmaker> hm. So grfs need to implement a custom compression algorithm? :S 11:00:16 <Ammler> it uses something, which breaks in suse factory... :-( 11:03:26 <Rubidium> planetmaker: yes 11:03:49 <planetmaker> goodness. That sucks :-( 11:04:09 <Rubidium> why? 11:05:18 <Rubidium> the compression is done in such a way that decompression is easy and drawing is fast 11:09:30 <planetmaker> ok, that's a bonus :-) 13:07:49 *** OwenSX28-AC has joined #openttdcoop.devzone 13:10:16 *** OwenS has quit IRC 13:40:14 *** ODM has joined #openttdcoop.devzone 14:45:37 <Yexo> Hirundo: I think modifying reduce_expr would be best 14:53:10 *** OwenSX28-AC is now known as OwenS 16:26:14 <Webster> Latest update from devactivity: NFO Meta Language - Support #901: trouble to run setup <http://dev.openttdcoop.org:81/issues/901#change-2440> 16:36:32 <Hirundo> Yexo: shouldn't reduce_expr be moved to expression.py? 16:40:05 *** Doorslammer has joined #openttdcoop.devzone 16:41:57 <planetmaker> Yexo: Hirundo r111 has the effect that the action8 is not written anymore... 16:44:06 <Hirundo> could you post some example code? 16:46:56 <planetmaker> my example is ogfxplus 16:47:19 <planetmaker> http://paste.openttd.org/225678 16:47:34 <planetmaker> or http://mz.openttdcoop.org/hg/ogfxplus 16:47:42 <planetmaker> if you like to get the checkout ;-) 16:59:03 <Hirundo> 1 * 0 08 07 "OG+0" "ÞOpenGFX+ Add-on NewGRF nightly-r1" 00 "ÞOpenGFX+ enhances default vehicles extends the rolling stock. Designed to fit OpenGFX style." 00 <-works for me, with and without sprite_count 17:00:21 <Hirundo> <- away 17:01:38 *** frosch123 has joined #openttdcoop.devzone 17:15:07 <planetmaker> ah... the problem is the sprite order... 17:15:17 <planetmaker> action8 must be AFTER the sprite count. Which is not 17:15:45 <planetmaker> or rather which is not there. 17:36:47 *** Doorslammer has quit IRC 18:07:46 <andythenorth> hi hi 18:47:02 <OwenS> Why does that text have thorns in it? 18:47:06 <OwenS> :s 18:50:36 <Rubidium> that's "heh, UTF-8 text coming" 18:50:53 <Rubidium> probably not needed, but when generated automatically... who cares? 18:51:40 * andythenorth spent some of today fighting exciting unicode errors 19:52:37 *** Yexo has quit IRC 19:52:56 *** Yexo has joined #openttdcoop.devzone 19:58:57 <Yexo> OwenS: it's only needed for utf-8 strings, but since ascii (at least 0-127) is a valid subset of utf-8 it's safe to write it always 19:59:23 <Yexo> and writing it always safes me the trouble of finding out which strings need it and which don't 19:59:47 <Yexo> planetmaker: you need to start the nml file with "sprite_count;" since r111 19:59:53 <Yexo> as the commit message also says 20:04:01 <Webster> Latest update from devactivity: NFO Meta Language - Support #901 (Closed): trouble to run setup <http://dev.openttdcoop.org:81/issues/901#change-2441" target="_blank">http://dev.openttdcoop.org:81/issues/901#change-2441> || NFO Meta Language - Support #901 (Closed): trouble to run setup <http://dev.openttdcoop.org:81/issues/901> 20:07:46 <Yexo> <Hirundo> Yexo: shouldn't reduce_expr be moved to expression.py? 20:07:46 <Yexo> <_ yes 20:26:47 <andythenorth> planetmaker: what user do I need to scp to bundles.openttdcoop.org/fish/ 20:26:48 <andythenorth> ? 20:33:14 <Ammler> andythenorth: sftp://openttd@openttdcoop.org 20:33:30 * andythenorth face palm 20:36:08 <andythenorth> Ammler: I've added the FISH 0.4 release http://bundles.openttdcoop.org/fish/releases/ 20:41:45 <Ammler> andythenorth: nice :-) 20:42:05 <andythenorth> did I miss an md5 :o 20:42:24 <Ammler> readme.txt 20:42:33 <Ammler> but compiled... 20:46:25 <Ammler> .REV is useless :-) 20:46:49 <Ammler> that is just for depends checks 20:51:21 <planetmaker> Ammler: REV is useless but simplifies the copy command enormously ;-) 20:51:45 <planetmaker> just fish-0.4.* and done ;-) 20:51:55 <planetmaker> andythenorth: thanks for copying 20:51:56 <Ammler> oh, ok :-) 20:53:21 <andythenorth> hmm why didn't readme.txt compile? 20:55:32 *** frosch123 has quit IRC 21:01:03 <planetmaker> andythenorth: is it that the original file is also called readme.txt and not readme.ptxt? 21:01:18 <andythenorth> probably that 21:20:16 <Webster> Latest update from devactivity: OpenGFX+ - Revision 4: Change: Declare the sprite count sprite explicitly as required as of NML r111 <http://dev.openttdcoop.org:81/projects/ogfxplus/repository/revisions/4> 21:24:10 <Ammler> Yexo: Hirundo, I have an idea about sprite count 21:24:38 <Ammler> action8 is indicator for newgrf, wihout it, no newgrf, no sprite count 21:25:09 <Yexo> hmm, that is a good idea :) 21:25:52 <Ammler> I am not sure, is it possible to code base grf anyway? 21:26:04 <Yexo> dunno 21:26:20 <Yexo> it might be possible to include some spriteset blocks in the global scope 21:26:38 <Yexo> and if it isn't, we could make that possible 21:30:02 <planetmaker> I like the idea to connect action8 + spritecount :-) 21:32:51 <planetmaker> Yexo: you had yesterday some action3 / liveryoverride somewhere. Could you paste that (again) please? 21:33:10 <Yexo> planetmaker: I don't have it anymore 21:33:20 <planetmaker> oh :-( 21:33:45 <Yexo> just add liveryoverride(wagon_id) { same_contents_as_graphics_block; } in the Item block of the engine 21:34:09 <planetmaker> :-) Let's see how that looks like 21:34:34 <Ammler> the base grfs have fixed size 21:35:16 <Ammler> not sure, if it is worth to support it... 21:35:18 <Webster> Latest update from devactivity: OpenGFX+ - Revision 5: Add: 32px normal passenger wagon sprites for arctic climate <http://dev.openttdcoop.org:81/projects/ogfxplus/repository/revisions/5> 21:49:28 *** Seberoth_ has joined #openttdcoop.devzone 21:50:57 *** ODM has quit IRC 21:57:02 *** Seberoth has quit IRC 22:27:26 *** Seberoth_ has quit IRC 23:39:49 *** KenjiE20 has quit IRC