Config
Log for #openttdcoop.devzone on 9th May 2010:
Times are UTC Toggle Colours
00:03:52  *** frosch123 has quit IRC
00:47:18  *** KenjiE20 has quit IRC
01:18:34  *** OwenS has quit IRC
07:09:35  *** ODM has joined #openttdcoop.devzone
07:47:04  <Webster> Latest update from devactivity: OpenGFX - Revision 456: Doc: Be more verbose on (most) GUI sprites <http://dev.openttdcoop.org/projects/opengfx/repository/revisions/456>
08:51:39  *** Seberoth has joined #openttdcoop.devzone
09:54:46  *** frosch123 has joined #openttdcoop.devzone
10:01:58  *** Seberoth has quit IRC
10:02:03  *** Seberoth has joined #openttdcoop.devzone
10:22:33  *** KenjiE20 has joined #openttdcoop.devzone
10:44:24  *** yorick has joined #openttdcoop.devzone
10:48:49  <yorick> http://paste.openttd.org/225754 <-- yay...we have result :)
10:52:33  <Ammler> now nml
10:52:38  <Ammler> :-)
10:52:59  * yorick goes working on actually saving the png files
10:53:08  <yorick> because png files are nice
10:53:26  <yorick> and saving the same palette 3000 times in each png file seperately isn't too much overhead
10:54:04  <yorick> just 2.2 MB
11:05:54  <yorick> Ammler: might be able to compile nml directly to grf using this :)
11:21:00  <yorick> yeah the png's are actually smaller than the pcx file
11:21:14  <yorick> but I'm not sure if it's good for the filesystem
11:24:12  <planetmaker> yorick, it's indeed an idea to make nml write grfs directly
11:24:30  <planetmaker> if you feel like contributing I propose to start writing patches for NML
11:24:35  <planetmaker> I'm sure they will be welcome
11:24:48  <Ammler> yorick: it would simply rock, currently I use grf2html for that
11:25:04  <yorick> Ammler: for what?
11:25:15  <Ammler> to make pngs from grf
11:25:29  <yorick> Ammler: yes I have that now :)
11:25:30  <planetmaker> Ammler, I'd prefer to make png the input graphics format :-)
11:25:31  <Ammler> and to encode pngs instead pcx :-)
11:25:39  <planetmaker> ^ yeah
11:25:58  <yorick> nautilus really doesn't like it
11:26:00  <planetmaker> python Image library should be able to handle that. A short test showed that results work
11:26:08  <frosch123> Ammler: yorick: there is a big difference between creating .png from grfs and grfs from .pngs :)
11:26:19  <frosch123> (at least if you want to do it good)
11:26:33  <Ammler> yeah, the source for glitches might be higher with png
11:27:53  <planetmaker> of course you'd need proper pngs. Still the responsibility. But I'd like to see two options added to NML in the long run: reading pngs and writing grfs ;-)
11:28:05  <planetmaker> and maybe a 3rd project: grf2nml  ;-)
11:30:43  <yorick> I have sprite decoding already
11:31:06  <frosch123> encoding is harder :)
11:31:33  <yorick> shh
11:31:55  <Ammler> yeah, it should be somehow possible to check the png for right colors :-)
11:32:20  <yorick> Ammler: pngs can be paletted
11:32:32  <frosch123> Ammler: that is also easy, ttdviewer does that
11:32:38  <Ammler> maybe there could be added a bitswitch to the sprite alignments?
11:33:24  <Ammler> frosch123: yes, but how should it know, which colors are allowed?
11:33:41  <yorick> Ammler: I copied the palettes from grfcodec
11:33:57  <Ammler> maybe convert it to the colors
11:34:34  <Ammler> yorick: how you know, when some "action colors" are wanted?
11:35:08  <yorick> when they are used
11:36:04  <Ammler> yorick: did you ever code a grf?
11:36:50  <yorick> mhm
11:36:51  <Ammler> sprite drawer aren't always aware of the palettes
11:36:53  *** OwenS has joined #openttdcoop.devzone
11:37:12  <yorick> grfcodec doesn't warn them
11:37:24  <Ammler> I use 3 different palettes in gimp to convert png2pcx
11:37:24  * planetmaker converted most of the new sprites from png into pcx. Most needed palette adjustment
11:38:30  <yorick> now you'll have to do png2png :P
11:38:32  * planetmaker ponders switches like "no CC/action", "no CC", "no action" "everything allowed" ;-)
11:38:51  <Ammler> yorick: would be nice, if there is a tool which can do that
11:39:06  <Ammler> where you just need to set a bitswitch, which are allowed, which not
11:40:13  <Ammler> and if a bad color is used, not decline encoding, instead convert it to most similar allowed color.
11:54:14  * yorick committed grf(de)codec
11:56:31  <Ammler> hmm, maybe I should use opengfx to test bitbucket admin panel?
11:56:38  <Ammler> shouldn't*
11:56:49  <planetmaker> :-D
11:58:08  <Ammler> why do those stupid scm use "4 months ago" instead the date?
14:52:36  <XeryusTC> because it's popular
15:00:31  <Ammler> yeah, seems so, redmine does the same
15:03:30  *** Yexo has quit IRC
15:03:46  *** Yexo has joined #openttdcoop.devzone
15:23:35  <Brot6> test
15:24:19  <Brot6> abort: push creates new remote heads!
15:25:30  <Brot6> test: abort: push creates new remote heads!
16:06:02  *** KenjiE20 has quit IRC
16:18:31  <Brot6> firs: update from r819 to r820 done (1 errors) - http://bundles.openttdcoop.org/firs/nightlies/
16:19:10  <Brot6> opengfx: update from r455 to r456 done (0 errors) - http://bundles.openttdcoop.org/opengfx/nightlies/
16:19:18  <Brot6> openmsx: update from r49 to r53 done (0 errors) - http://bundles.openttdcoop.org/openmsx/nightlies/
16:19:18  <Brot6> worldairlineset: no commit since last failed compile, compile skipped (r637)
16:19:18  <Brot6> Following repos didn't need a update: 2cctrainset (r517), 32bpp-extra (r32), airportsplus (r48), bros (r10), comic-houses (r69), fish (r360), heqs (r318), nmts (r15), nutracks (r59), opensfx (r88), snowlinemod (r10)
16:28:33  *** KenjiE20 has joined #openttdcoop.devzone
16:47:13  <Yexo> planetmaker: I added hp/ton as units for nml, unfortunatly that broke ogfx+ again
16:47:34  <Yexo> power is now by default in hp, so it's no longer in 10hp steps for road vehicles
16:47:59  <Yexo> weight is still in 0.25 ton by default, but you can now use 4ton instead of 16
16:48:25  <planetmaker> that change was expected - and actually anticipated :-)
16:48:57  <planetmaker> If I hadn't run into errors and insufficient persinstance implementing that, I'd have done it even myself. So thanks :-)
16:49:34  <Yexo> yeah, the code that handles the units could use a lot of improvement
17:02:22  <Webster> Latest update from devactivity: NFO Meta Language - Revision 138: Add: units for power and weight (hp/ton respectively) <http://dev.openttdcoop.org/projects/nml/repository/revisions/138>
17:03:28  <yorick> Yexo: you're writing the nfo using sprite.write(file)?
17:03:51  <Yexo> yes
17:04:32  <yorick> how about using file.write(sprite.getnfo())?
17:05:02  <Yexo> so sprite.getnfo() would return a string?
17:05:06  <yorick> yes
17:05:24  <Yexo> that's another option, I don't see much benefit
17:05:47  <yorick> it allows to use the nfo for something else than a file
17:06:16  <Yexo> like what?
17:06:27  <yorick> like the grf encoder I'm writing :P
17:07:10  <Yexo> it can be written to stdout, then your grf encoder can read it from stdin
17:07:18  <Yexo> but what is the point of that? we already have grfcodec
17:07:30  <yorick> it can read pngs
17:07:44  <Yexo> ah
17:07:55  <Yexo> still, write to a file, your encoder reads it from that file
17:08:37  <yorick> ok then
17:10:18  <planetmaker> the difference is to pipe or not to pipe?
17:10:46  <Yexo> not even that, stdout can be given as argument to sprite.write instead of a file object
17:14:41  <planetmaker> hm, right
17:18:26  <Webster> Latest update from devactivity: NFO Meta Language - Revision 139: Fix: the industry property "nearby station name" is a string <http://dev.openttdcoop.org/projects/nml/repository/revisions/139>
18:06:30  <Webster> Latest update from devactivity: NFO Meta Language - Revision 141: Add: shift operators, currently only work if they can be resolv... <http://dev.openttdcoop.org/projects/nml/repository/revisions/141> || NFO Meta Language - Revision 140: Add: action0 properties for industry tiles <http://dev.openttdcoop.org/projects/nml/repository/revisions/140>
19:26:40  <Webster> Latest update from devactivity: NFO Meta Language - Revision 142: Fix: some errors in action2layout.py <http://dev.openttdcoop.org/projects/nml/repository/revisions/142>
19:52:39  *** yorick has quit IRC
20:42:10  *** frosch123 has quit IRC
21:34:18  <Webster> Latest update from devactivity: NFO Meta Language - Patch #920 (Closed): don't consider all files language files <http://dev.openttdcoop.org/issues/920#change-2504> || NFO Meta Language - Revision 144: Change: use 'lng' as extension for the language files (closes #... <http://dev.openttdcoop.org/projects/nml/repository/revisions/144> || NFO Meta Language - Revision 143: Add: some spriteids of ttd-sprites that are often used <http://dev.openttdcoop.org/projects/nml/repository/revisions/143>
21:36:47  <Yexo> planetmaker: ^^ another commit that breaks ogfx+
21:37:27  <planetmaker> thanks for telling :-)
21:57:53  *** Seberoth has quit IRC
22:05:02  *** ODM has quit IRC

Powered by YARRSTE version: svn-trunk