Log for #openttdcoop.devzone on 24th March 2010:
Times are UTC Toggle Colours
01:03:11  *** KenjiE20 has quit IRC
01:06:27  *** OwenS has quit IRC
08:06:12  *** ODM has joined #openttdcoop.devzone
09:44:44  *** ODM has quit IRC
11:34:19  *** KenjiE20 has joined #openttdcoop.devzone
12:51:58  *** ODM has joined #openttdcoop.devzone
13:11:46  <andythenorth> planetmaker we need a coding apprentice!  To do things like put all HEQS vehicle IDs on defines :o
13:12:06  <planetmaker> :-O
13:12:22  <planetmaker> Could it be a coding slave? ;-)
13:12:35  <andythenorth> :P
13:12:41  <planetmaker> But yes, that'd make sense and keep cross-version compatibility easier
13:13:02  * andythenorth wonders what PeterT is doing
13:13:06  <planetmaker> Though you could do it step by step: Just start an ids.pnfo and add those vehicle IDs which you work on
13:13:27  <andythenorth> yup
13:15:28  <planetmaker> Another important piece is: articulated or not. That must not be changed unless GRFID changes
13:15:49  <planetmaker> (or at least not normal->articulated direction which is unsafe)
14:39:56  <andythenorth> Ammler: so would you like me to try and remove the current HEQS build errors :P
14:40:02  <andythenorth> for the good of the nightly server logs
14:41:46  <Ammler> he, up2you, I was just wondering, if the logs are of any use
14:42:35  <andythenorth> I don't look at them.
14:42:39  <Webster> Latest update from devactivity: OpenMSX - Revision 29: Change: Use the common newgrf makefile (r73) for this project <>
14:42:41  <andythenorth> but I do like the fact they exist
14:42:54  <andythenorth> quality is higher when quality is checked
14:44:01  <planetmaker> Yexo, you could make the newgrf processor you write a project at this place :-)
14:44:28  <Yexo> when I get to alpha state I might do that
14:47:05  <Ammler> it doesn't replace cpp, it is just another step before nforenum, if I get it right...
14:47:36  <planetmaker> It's replacing renum IIRC :-)
14:47:44  <planetmaker> Doing its own checks.
14:48:10  <Ammler> oh, ok :-)
14:48:29  <Ammler> anyway, andythenorth cpp will still be needed also with Yexo's tool
14:48:49  <Yexo> Ammler: not necesarilly
14:49:10  <planetmaker> :-) My idea is also to have cpp replaced by such tool
14:49:39  <andythenorth> the templating of CPP would be replaced by?  Arguments to functions?  Or properties on objects?
14:49:41  <planetmaker> But it will surely be possible to combine, if certain precautions are taken. Anyway... music of the future. for now
14:49:49  <Ammler> andythenorth: yes
14:49:56  <planetmaker> :-)
14:50:32  <Ammler> so the tool will also replace grfcodec?
14:50:44  <Yexo> no
14:50:54  <Yexo> it'll write nfo that has to be processed by nforenum first
14:51:19  <Rubidium> planetmaker: how much am I allowed to nitpick on packaging? make bundle_src in an already bundled source creates a slightly different tarball
14:51:28  <andythenorth>  /me wonders when electric industrial trams should appear
14:51:41  <planetmaker> Rubidium, speak right your mind
14:51:52  <andythenorth> wrong channel :m
14:51:56  <Rubidium> planetmaker: <- the difference
14:52:22  <Rubidium> I know, not much... so it's actually doing its job pretty well (talking about openmsx at the moment ofcourse)
14:52:53  <Ammler> hmm, what is the difference, trailing spaces?
14:52:59  <planetmaker> :-) So... it adds two lines?
14:53:13  <Rubidium> planetmaker: yes; Ammler: no
14:53:35  <planetmaker> That's unwanted but doesn't hurt.
14:53:49  <planetmaker> And probably happens with every repo...
14:53:52  <Rubidium> that's why I called it nitpicking
14:53:56  <planetmaker> :-)
14:54:03  <Ammler> I suprised bundle_src works :-)
14:54:06  <Ammler> quite useless, imo
14:54:08  <planetmaker> I still consider it a bug, though
14:54:33  <planetmaker> Ammler, not really... it's a sanity check :-)
14:55:22  <planetmaker> I *think* one could check on $(HG) and conditionally add that lines only when $(HG) is set.
14:55:47  <Ammler> planetmaker: you could btw. also pack the whole hg archive (wiht .hg)
14:56:07  <Ammler> do require mercurial for building :-)
14:56:08  <planetmaker> Rubidium, otherwise, any difficulties with OpenMSX? I haven't yet extensively tested the new makefiles
14:56:23  <planetmaker> Ammler, that sounds stupid :-)
14:56:55  <planetmaker> It'd bloat our source downloads enormously and serve not much purpose.
14:59:29  <Rubidium> planetmaker: make bundle_bzip misbehaves
14:59:40  <Rubidium> but I can't really find out what goes wrong
15:00:02  <planetmaker> I'll look. OpenMSX?
15:00:54  <Rubidium> yes
15:01:21  <Rubidium> it's odd though; executing the same command in a console gives no issues at all
15:01:48  <planetmaker> hm... actually there's the issue with zip which misbehaves on my laptop AND on the compile farm
15:01:56  <planetmaker> it doesn't use the proper filename...
15:02:10  <planetmaker> And I absolutely don't see why. Does make bundle_zip work for you properly?
15:02:41  <Ammler> planetmaker: the whole hg archive is 11MB the src.tar.gz is 8MB (opengfx)
15:03:12  <Rubidium> Ammler: in the future the hg archive will grow faster than the source-only archive
15:03:42  <Rubidium> planetmaker: oh yes, did not mention that; was more flabbergasted by the bzip issue
15:03:51  <Rubidium> and though it could be a bug in my zip
15:03:58  <Ammler> well, the mercurial requirement might be the worse reason against
15:04:27  <planetmaker> Rubidium, the funny thing is that I didn't change the way zip is called. It's a verbatim copy from the previous versions of the makefile...
15:04:32  <planetmaker> and 7zip works.
15:04:50  <planetmaker> if you redefine that via Makefile.local or so
15:05:07  <Ammler> what if oyu redfine zip with Makefile.local?
15:05:24  <planetmaker> don't you do that for the CF?
15:05:41  <Ammler> yes, but there i use p7zip
15:05:45  <planetmaker> Ah.
15:05:46  <Ammler> 7za
15:05:49  <planetmaker> ok, I meant that.
15:07:27  <Ammler> does it work on your local side?
15:08:42  <planetmaker> I only have zip
15:09:23  <Rubidium> bzip2 worked in r28... so what changed?
15:09:53  <planetmaker> the makefiles :-)
15:10:03  <planetmaker> Basically everything
15:10:23  <planetmaker> Possibly an uninitialized variable
15:10:56  <planetmaker> bzip2: Can't open input file bzip2: No such file or directory.
15:10:56  <planetmaker>  <-- like that?
15:11:05  <Rubidium> yes
15:11:19  <Rubidium> but the command (printed to the console) looks perfectly fine
15:11:26  <Rubidium> if I copy-paste that, it works perfectly fine
15:11:36  <planetmaker> the same is the issue actually with zip
15:11:47  <planetmaker> the zip command works for me on the console. That's why I'm so puzzled
15:11:49  <Ammler> maybe something with quote
15:11:51  <Ammler> escape
15:12:13  <Ammler> an issue iwth := ?= or =
15:12:54  <Rubidium> nah, even writing the complete command in the makefile makes it go haywire
15:14:13  <Ammler> another race condition?
15:15:37  <Rubidium> nope
15:15:59  <Rubidium> also when I make bundle_bzip depend on nothing and put bzip9 openmsx-nightly.tar it goes haywire
15:18:47  <Rubidium> the export in Makefile is the culprit
15:19:18  <Ammler> what does btw. happen the first 3 seconds until first target will be proceed?
15:19:35  <Rubidium> determining the hg revision and such?
15:20:01  <planetmaker> ^
15:20:08  <planetmaker> Initialization of all stuff
15:20:19  <planetmaker> which is already quite a sequence of commands.
15:21:40  <Rubidium> as I said a while ago, getting the version of HG isn't really fast ( (openttd) for svn is about 10 times faster than hg, which takes almost 2 seconds)
15:22:20  <planetmaker> hm :-)
15:24:31  <planetmaker> the interesting thing is that tar doesn't complain.
15:26:07  <Rubidium> maybe tar is something makefile thinks is special or so?
15:27:07  <Ammler> Rubidium: hg id -n is fast
15:27:26  <Ammler> the issue might be on openttd, that you need to search the logs for the svn version in hg repo
15:28:18  <Webster> Latest update from devactivity: OpenMSX - Revision 30: Change: Also add the md5 sums of the midi files to source releases <>
15:28:31  <Ammler> REPO_FILES/DIRS might be the slow part here
15:28:37  <planetmaker> yes
15:28:46  <planetmaker> but not only
15:29:19  <Ammler> planetmaker: why do you use that, btw?
15:29:26  <planetmaker> dep check
15:29:34  <planetmaker> and for the search path
15:29:46  <andythenorth> DJ_Nekkid: ??
15:29:48  <Webster> Title: BBC News - Train in deadly crash in Norwegian capital (at
15:29:55  <Ammler> but why the hg files and not the files of the working copy?
15:30:01  <Rubidium> you don't need to run the depcheck each time
15:30:15  <planetmaker> But how do I know I need to run it?
15:30:33  <Ammler> the other issue with it is that you need to add files to run make
15:30:41  <Ammler> (no good patch support)
15:31:26  <planetmaker> I added the parsing of the source files as repos like 2cctrainset constantly added new files in new subdirs included in new sub files - which make didn't know anything about.
15:31:44  <planetmaker> And then make will think that everything is fine and not remake a newgrf, if things change
15:31:52  <Ammler> "find . " ?
15:31:58  <planetmaker> And when I have parsed the source files... voila
15:32:10  <planetmaker> Ammler, they need to be part of the repo yet.
15:32:15  <planetmaker> But may be required
15:32:24  <Ammler> hmm?
15:32:26  <Rubidium> I'll try to fiddle with that
15:33:04  <planetmaker> I find the dep check less worrying than the failed bundle_(b)zip
15:33:24  <planetmaker> Alternatively one could certainly run ./configure && make - which I tried to avoid.
15:33:29  <planetmaker> Might be an alternative approach
15:33:44  <Ammler> hmm
15:34:08  <Rubidium> planetmaker: the bundle_(b)zip problem is the export in Makefile (in case you didn't know yet)
15:34:13  <Ammler> what you need in configure, what wouldn't work in makefile?
15:34:45  <planetmaker> Rubidium, uhm, you mean when calling a sub make, the export of the vars?
15:35:16  <Rubidium> planetmaker: no idea; remove the like with "export" from Makefile and it magically works
15:35:23  <planetmaker> very strange
15:35:47  <planetmaker> I wonder whether the rest works without. I remember to have had some reason for it - but I don't recall which
15:36:05  <planetmaker> it was related to calling make recursively in the 'all' target
15:37:00  <Ammler> what is difference between include and -include?
15:38:16  <planetmaker> required vs. optional
15:42:04  <Ammler> ok, thanks
15:43:49  <Webster> Latest update from devactivity: HEQS "Heavy Equipment" Set - Revision 228: Change: removed cargo availability check for Foundry... <> || HEQS "Heavy Equipment" Set - Revision 227: Change: escaped byte counts in Foundry Transporters <> || HEQS "Heavy Equipment" Set - Revision 226: Change: converted some line numbers to -1 <> || HEQS "Heavy Equipment" Set - Revision 225: Change: suppress renum error 100 <> || HEQS "Heavy Equipment" Set - Revision 224: Fix: several trailers had prop 13 and 14 defined twi... <> || HEQS "Heavy Equipment" Set - Revision 223: Change: introduced ids.pnfo file <> || HEQS "Heavy Equipment" Set - Revision 222: Change: add Industrial Trams include to heqs.pnfo <> || HEQS "Heavy Equipment" Set - Revision 221: Add: pnfo file for Industrial Trams (copy of bulldoz... <>
15:44:00  <planetmaker> holy shit. Removing the export halfs the compile time for firs
15:44:14  <andythenorth> could be a win :P
15:44:40  <planetmaker> seems like
15:45:16  <planetmaker> I guess that's a commit I'm going to do right now on all repos as it also kills bundle_(b)zip
15:45:33  <Ammler> indeed worth...
15:46:19  <Ammler> maybe you can add a "make sysupdate" target :-)
15:46:22  <andythenorth> there's about 1hr I'll never get back :(
15:46:33  <planetmaker> hehe
15:48:15  <Rubidium> average 1.225s -> 0.875s for makes where no dependency changed, e.g. changing a .mid
15:48:48  <Rubidium> so ~0.4s is spent in creating the .dep
15:51:39  <planetmaker> Rubidium, but if you're editing a r29M version and you change things your patch is going to fail to pick up dep changes
15:52:24  <Rubidium> because it changes file changed dates back or so?
15:52:38  <Rubidium> no sense make sentence
15:52:57  <planetmaker> uh...
15:53:19  <planetmaker> Consider this: you have a modified version in your repo. That will give your blubber-nightly-rXXM.REV
15:54:15  <planetmaker> Now you continue to modify this version. Make further changes, include a file but make a typo in the included file's name
15:54:28  <planetmaker> Then the dep check should fail. With your patch the dep check won't even be run.
15:54:44  <planetmaker> it's still the same version after all.
15:55:35  <Rubidium> planetmaker: first look at what is in Makefile.dep (generated by my change)
15:57:11  <Rubidium> then you'll see that Makefile.dep depends on themes.list (which is slightly inconsistent w.r.t. space and tab usage) and the Makefiles themselves
15:57:42  <Rubidium> so change either one of them and presto, Makefile.dep is regenerated (works the same way in OpenTTD)
15:58:17  <Rubidium> (besides that a change in Makefiles triggers a configure which triggers Makefile.dep to be redone)
15:59:24  <planetmaker> hm... :-) Sounds awesome
16:00:56  <Rubidium> what you basically need for grf-ish projects is that each #include is added to the depend file as $NFO $INCLUDED_NFO and $MAKEFILE_DEP: $MAIN_NFO
16:02:12  <planetmaker> yup
16:14:43  <Webster> Latest update from devactivity: Example NewGRF Project - Revision 76: Change: Improve speed of dep check, the main target depend ... <> || Example NewGRF Project - Revision 75: Change: Add a few commonly used things to Makefile.config a... <> || Example NewGRF Project - Revision 74: Fix: Remove the 'export' in the Makefile. It made bundle_(b... <>
16:29:46  <Webster> Latest update from devactivity: OpenGFX - Revision 395: Change: [Makefile] Update to r76 <> || FIRS Industry Replacement Set - Revision 753: Change: [Makefile] Update to r76 <>
16:31:27  <andythenorth> ^^ faster :)
16:33:40  *** OwenS has joined #openttdcoop.devzone
16:35:32  <planetmaker> hm...
16:35:40  <planetmaker> make: *** No rule to make target `Makefile.dep', needed by `depend'.  Stop.
16:38:30  *** frosch123 has joined #openttdcoop.devzone
16:38:38  <Rubidium> planetmaker: what repo is that?
16:38:43  <planetmaker> 2cctrainset
16:39:10  <planetmaker> with the newest version of the Makefiles from the newgrf_makefile repo
16:39:15  <Rubidium> odd
16:39:34  <Rubidium> $(MAKEFILE_DEP) is probably not properly set somewhere
16:40:30  <planetmaker> it's defined in Makefile itself...
16:40:39  <Rubidium> very odd then
16:41:18  <planetmaker> he... I guess it was a missing 'clean'
16:41:23  <planetmaker> no
16:41:25  <planetmaker> darn
16:43:49  <planetmaker> he... it might be other files missing. But cloaked by a failure to make Makefile.dep
16:44:59  <planetmaker> as Makefile.dep cannot be made, if one of the dependencies is missing
16:45:01  <Webster> Latest update from devactivity: OpenMSX - Revision 31: Change: [Makefile] Update to r76 <>
16:45:33  <planetmaker> Without the change I get make[1]: *** No rule to make target `sprites/nfo/engines/spd-40f.pnfo', needed by `sprites/nfo/2cctrainset.pnfo'.  Stop.
16:45:34  <planetmaker>  <-- and that is useful information :-)
16:46:49  <Rubidium> you added the dependency tree I mentioned, right?
16:47:23  <planetmaker> I applied the patch you posted, yes
16:47:45  <Rubidium> hmm, but you didn't do the tree thing
16:48:06  <planetmaker> ah... you mean rework it to a tree only?
16:48:10  <planetmaker> Hm, no
16:48:14  <planetmaker> Not yet :-)
16:48:22  <Rubidium> in case of opengfx only sprites/*.pnfo should be a dependency of Makefile.dep
16:48:51  <planetmaker> <Rubidium> what you basically need for grf-ish projects is that each #include is added to the depend file as $NFO $INCLUDED_NFO and $MAKEFILE_DEP: $MAIN_NFO <-- that one you mean, right?
16:48:51  <Rubidium> all other dependencies are pulled in via the already existing depends
16:48:58  <Rubidium> planetmaker: yes
16:49:14  <planetmaker> hm, ok
16:56:46  <planetmaker> well, I guess then Makefile.dep could just depend on $(MAIN_TARGET). That's sufficient. It will always depend on the dependencies it has itself.
16:57:17  <Rubidium> yeah, and the Makefiles
16:57:41  <planetmaker> yes, and those. But that's only the next line ;-)
17:00:14  <Webster> Latest update from devactivity: 2cc train set - Bug #864 (Confirmed): Missing file <>
17:15:37  <Webster> Latest update from devactivity: FISH - Revision 255: Change: [Makefile] Update Makefile to r77 <> || HEQS "Heavy Equipment" Set - Revision 229: Change: [Makefile] Update Makefile to r77 <> || 2cc train set - Revision 486: Change: [Makefile] Update Makefile to r77 <> || 2cc train set - Bug #864: Missing file <> || Example NewGRF Project - Revision 77: Fix (r76): Let Makefile.dep only depend on the MAIN_TARGET.... <>
17:31:37  <Webster> Latest update from devactivity: OpenSFX - Revision 81: Change: [Makefile] Update Makefile to r77 <> || OpenGFX - Revision 396: Change: [Makefile] Update Makefile to r77 <> || OpenMSX - Revision 32: Change: [Makefile] Update Makefile to r77 <> || Climate dependant airports - Revision 42: Change: [Makefile] Update Makefile to r77 <>
17:39:56  <Rubidium> planetmaker: does look sane?
17:45:06  <planetmaker> he... what is actually the "Unused/Nothing" sound?
17:45:45  <Rubidium> literally nothing
17:45:48  <Rubidium> just the WAV header
17:48:03  <planetmaker> yes... I mean... is it used *somewhere*?
17:49:07  <Rubidium> I couldn't find any use of it in-game
17:49:28  <Rubidium> i.e. I've searched the source code for uses of those sounds, did not find them
17:49:40  <Rubidium> I did find where they were used so I could give them better names
17:50:01  <Rubidium> balloon sounds for the lumber mill :)
17:50:03  <planetmaker> lol :-) Probably like some game sprites which we also map to empty
17:50:17  <Rubidium> yup
17:50:26  <DJ_Nekkid> andythenorth: i saw that one on the newspapers...
17:50:52  <DJ_Nekkid> go to and click on pretty much any of the top links ... "ulykke" or "tog" should be words to look for ... then it :)
17:50:59  <planetmaker> balloon at lumber mill? Sounds like they're having a small party over there
17:51:23  <andythenorth> Ammler: heqs builds without errors :)
17:51:35  <Rubidium> just catdecodec and check the names :)
17:51:43  <Rubidium> then listen to the individual samples
17:51:46  <planetmaker> ah :-)
17:51:53  <Rubidium> and then lusten to the lumber mill in-game
17:52:07  <planetmaker> :-)
17:52:27  <Rubidium> who temporarily transposed my i and u?
17:52:54  <planetmaker> Ribudium? ;-)
17:53:47  <planetmaker> Rubidium, the patch is missing out on cleaning the sfo file
17:54:03  <Rubidium> good point
17:54:33  <planetmaker> in Makefile.config: CLEAN_ADD             := src/*.sfo
17:55:19  <planetmaker> Maybe also add the .sfo to the .hgignore. Then it's fine with me
17:56:18  <planetmaker> and thanks for producing it in the first place... :-)
18:02:51  *** DJ_Nekkid has quit IRC
18:02:54  <Webster> Latest update from devactivity: OpenSFX - Revision 82: -Change: store the version number of OpenSFX in the .cat file (so we have ... <> || HEQS "Heavy Equipment" Set - Revision 237: Change: removed pure white pixels <> || HEQS "Heavy Equipment" Set - Revision 235: Change: refits for industrial tram (unfinished) <> || HEQS "Heavy Equipment" Set - Revision 236: merge <> || HEQS "Heavy Equipment" Set - Revision 234: Change: foundry transporter articulated instructions... <>
18:04:39  *** Beardie has joined #openttdcoop.devzone
18:04:59  *** frosch has joined #openttdcoop.devzone
18:11:37  *** frosch123 has quit IRC
18:17:45  <Rubidium> planetmaker: make mrproper leaves some files behind that are generated during compilation, at least: docs/*.txt sprites/*.bak for OpenGFX (and src/ for OpenSFX, change the cp to mv?)
18:18:08  <Beardie> Ammler was looking into a idea about seeing if a Price of Plane gets cheaper if you own alot of type of plane allready, i don't think its possible, but i want to confirm? Or maybe Rubidium could help?.
18:18:11  <Webster> Latest update from devactivity: OpenSFX - Revision 83: -Update: readme/changelog <>
18:18:36  <planetmaker> Rubidium, rather add those files to CLEAN_ADD :=
18:18:55  <planetmaker> I don't delete them straight away as I might delete source files in some cases
18:19:08  <Rubidium> Beardie: don't think that information is available for NewGRFs
18:19:22  <andythenorth> Beardie: there's no cb to test number of vehicles you already own
18:19:30  <Beardie> Rubidium: Didn;t think is was,want to make sure XD
18:19:38  <Beardie> Thanks guys
18:19:50  <andythenorth> ^ another case for grf-local storage
18:19:54  <Beardie> Didn't think there was, thought i better ask though.
18:20:12  *** DJ_Nekkid has joined #openttdcoop.devzone
18:25:14  <planetmaker> DJ_Nekkid, the train set needs an additional file :-)
18:25:22  <planetmaker> oh, and hello :-)
18:27:34  <DJ_Nekkid> what file? :P
18:27:38  <DJ_Nekkid> spd-40f or something?
18:27:41  <planetmaker> yup
18:28:47  <DJ_Nekkid> should be online now
18:31:07  <planetmaker> sprites/nfo/nutracksupport.pnfo:3:30: error: ../../templates/var2common/tracktype.tnfo: No such file or directory
18:31:07  <planetmaker>  <-- I guess that vanishes, if it's just templates/var2common/tracktype.tnfo
18:31:22  <planetmaker> or if that file is present.
18:31:43  <Rubidium> planetmaker: there are no real changes regarding the way releases are done, right?
18:31:59  <planetmaker> Rubidium, just tag it and build the tag'ed version
18:32:13  <planetmaker> so: no, there's no change
18:32:53  <planetmaker> DJ_Nekkid, so you missed yet another file :-)
18:33:03  *** Beardie has left #openttdcoop.devzone
18:33:49  <Webster> Latest update from devactivity: 2cc train set - Revision 487: add: missing file <> || 2cc train set - Revision 488: Merge <> || OpenSFX - Revision 84: -Fix: some files were not properly cleaned or ignored <>
18:34:18  <planetmaker> I usually check via hg st for files I might miss
18:34:34  <planetmaker> I might miss files which are not in the repo, marked by an ?
18:49:52  <Webster> Latest update from devactivity: OpenSFX - OpenSFX 0.2.2 <> || OpenSFX - Revision 85: Added tag 0.2.2 for changeset 3ec8d5e7fe81 <>
18:53:16  <Rubidium> planetmaker: if you've uploaded OpenGFX to bananas (upon any new release), could you please notify me and/or TB to force a bananas mirror sync?
18:55:53  <planetmaker> ok, will do.
18:59:47  <planetmaker> <-- Ammler any idea why that triggers an internal error?
19:00:29  <planetmaker> <-- added to my list, Rubidium :-)
19:01:51  <planetmaker> DJ_Nekkid, do we get the next missing file, too?
19:04:09  *** Pe1erT has joined #openttdcoop.devzone
19:05:36  <planetmaker> <-- when you're at it, DJ_Nekkid. It will make sure that templates are also searched
19:10:09  <Ammler> planetmaker: differences of wiki edits?
19:10:20  <planetmaker> yes
19:12:50  <Ammler> but that worked once?
19:13:04  <planetmaker> AFAIR, yes
19:13:28  <planetmaker> I don't know which pages,but I'm pretty sure I used it already.
19:14:24  <planetmaker> I just noticed. Did you somewhen create the "Base Data Sets" category? :-) Nice
19:24:09  *** Pe1erT has quit IRC
19:25:36  <DJ_Nekkid> is wikipedia down?
19:25:51  <andythenorth> yup
19:26:14  <andythenorth> and google seem to have updated their serps algorithm in a tiresome way
19:26:22  <andythenorth> lots of serps spam
19:26:30  <andythenorth> or maybe the spammers won again :|
19:26:33  <DJ_Nekkid> whats a serp(s) ?
19:26:44  <andythenorth> search engines results page(s)
19:26:50  <DJ_Nekkid> ahh
19:27:01  <DJ_Nekkid> and i wanted to read about the norwegian class 226
19:27:18  <andythenorth> I'm drowning in pdf aggregation services and people who've ripped wikipedia
19:27:31  <andythenorth> DJ_Nekkid: try one of the many wikipedia spam clones :)
19:28:53  <planetmaker> DJ_Nekkid, pull before you commit. I added the changeset I posted above
19:29:21  <planetmaker> and you really should add the missing template file.
19:29:59  <DJ_Nekkid> is there a missing template file as well? bah
19:30:22  <DJ_Nekkid> and if so, witch one?
19:30:27  <planetmaker> Well. I told you now three times ;-)
19:30:38  <planetmaker> make mrpropermake: *** No rule to make target `../../templates/var2common/tracktype.tnfo', needed by `sprites/nfo/ids.pnfo'.  Stop.
19:30:45  <DJ_Nekkid> ahh
19:30:53  <OwenS> andythenorth: PDF aggregators are any electronic's engineers worst enemy
19:31:17  <planetmaker> DJ_Nekkid, try to check for missing files. Normally there shouldn't be many files with a "?" in your repo
19:31:27  <OwenS> I don't want an PDF about a version made in 1984! I want the bloody manufacturer's website!
19:31:27  <andythenorth> planetmaker: he
19:31:35  <andythenorth> run hg st on my local firs repo
19:31:41  <Rubidium> OwenS: I though GV@GA through the body was their worst enemy :)
19:31:56  <planetmaker> andythenorth, yes. I have in my local opengfx repo also a dir with many sprites
19:32:07  <planetmaker> But I added that to my global .hgignore
19:32:13  <planetmaker> Thus everything in there is ignored
19:32:43  <planetmaker> and from time to time I clean up the rest.
19:33:24  <planetmaker> clean up as in manually remove the not needed files. In my case mostly some pcx which became stale or diff files
19:38:01  <Webster> Latest update from devactivity: 2cc train set - Revision 490: add: Tracktype.tnfo <> || 2cc train set - Revision 489: Change: [Makefile] Also depend on tnfo files <> || HEQS "Heavy Equipment" Set - Revision 240: Fix: Fourtrac couldn't climb hills with realistic ac... <> || HEQS "Heavy Equipment" Set - Revision 239: Change: fourtrac uses defines and byte escape <> || HEQS "Heavy Equipment" Set - Revision 238: Change: tram wagon default settings <>
19:57:29  <DJ_Nekkid> appears to be Di8's that crashed
19:57:55  <planetmaker> hm?
19:58:10  <planetmaker> oh, that train crash / loose wagons incident?
20:00:55  <Ammler> planetmaker: seems like the history is broken
20:01:45  <planetmaker> redmine issue or database?
20:02:13  <Ammler> wiki
20:02:14  *** thomas__ has joined #openttdcoop.devzone
20:02:43  *** thomas__ is now known as DJNekkid
20:05:41  *** DJ_Nekkid has quit IRC
20:28:55  *** Seberoth has joined #openttdcoop.devzone
21:17:47  <planetmaker> DJNekkid, just for you in 2cctrainset r491: The target 'addcheck'
21:24:57  <planetmaker> andythenorth, do you also need the target 'addcheck' ?
21:24:58  *** frosch has quit IRC
21:25:09  <andythenorth> it would be useful
21:25:19  <andythenorth> I'd have to remember to use it though :P
21:25:39  <planetmaker> I just wonder if it's worth a separate commit or whether you get it with the next makefile upgrade :-)
21:25:54  <planetmaker> also... it's an undocumented feature :-P
21:26:18  <andythenorth> I wondered if it was worth attaching as a commit hook on 'push'
21:26:34  <planetmaker> Might be.
21:26:55  <planetmaker> but difficult. It'd need the same kind of analysis
21:27:14  <planetmaker> 	$(_V) for i in `$(REPO_FILES_CMD) | grep -E '($(FILE_SRC_RE)grf)$$'`; do hg st $$i `for j in $(FILE_SRC_EXTENSIONS) $(FILE_INC_EXTENSIONS); do cat $$i |  grep -v '^//' | grep -o "[a-zA-Z0-9/_.-]\+\.$$j" | sort | uniq; done`; done | sort | uniq  | grep "^?" && echo "Missing dependencies!" || echo "All is fine"
21:27:18  <planetmaker> ^ :-P
21:27:22  <Webster> Latest update from devactivity: 2cc train set - Revision 491: Change: [Makefile] Update to makefile r79 <> || Example NewGRF Project - Revision 79: Change: Add tnfo as usual template source file <> || HEQS "Heavy Equipment" Set - Revision 241: Change: set some basic values for Indsutrial Tram 1 <> || Example NewGRF Project - Revision 78: Feature: Add 'addcheck' which checks for dependencies not a... <>
21:29:47  <Ammler> planetmaker: you could run "make addcheck" with the hook...
21:30:32  <andythenorth> that's what I thought
21:30:51  * planetmaker doesn't know too much about hooks. But I should add a "false" to it...
21:31:12  <andythenorth> from what little I read, hooks can run pretty much any shell script
21:31:20  <andythenorth> certainly python looked available
21:31:28  <andythenorth> but I got no further
21:34:21  <Ammler> changegroup.uprepos = sudo -u dev /home/dev/
21:35:09  <Ammler> changegroup.aaaab_update = hg update
21:36:10  <Ammler> so you run something like outgoing.addcheck = make addcheck
21:37:56  <planetmaker> But it would need to fail (e.g. not return 0) for an error, right?
21:38:20  <Ammler> well, you should make it that way
21:38:49  <planetmaker> He... Easy to make it reverse :-P - that's what I had initially ;-)
21:39:08  <Ammler> if make fails, also the hook fails
21:39:10  <Ammler> afaik
21:39:29  <planetmaker> I guess I could also add it as an additional shell script
21:39:43  <Ammler> like my first example
21:40:13  <Ammler> or we do build on every push ;-)
21:40:31  <planetmaker> not worth IMHO
21:40:45  <Ammler> then andythenorth wouldn't push anymoe :-P
21:41:56  <andythenorth> I think build before push would actually be good
21:42:17  <andythenorth> "don't check in broken code"
21:42:47  <Ammler> is it possible to share data between 2 users with umask 022?
21:43:33  <Ammler> share=read & write
22:30:31  <Webster> Latest update from devactivity: HEQS "Heavy Equipment" Set - Revision 242: Change: add cargo subtype texts for Industrial Tram <>
22:34:17  *** Seberoth has quit IRC
22:49:49  *** Pe1erT has joined #openttdcoop.devzone
22:50:35  *** Pe1erT has quit IRC
23:27:53  *** ODM has quit IRC

Powered by YARRSTE version: svn-trunk