IRC logs for #openttd on OFTC at 2016-01-28
            
00:20:43 *** JezK_ has joined #openttd
00:25:05 *** sim-al2 has joined #openttd
00:32:16 *** Wormnest has quit IRC
00:40:14 *** TheMask96 has quit IRC
00:46:42 *** Biolunar has joined #openttd
00:47:49 *** sla_ro|master has quit IRC
00:58:44 *** efess has joined #openttd
01:16:01 *** smoke_fumus has quit IRC
01:19:15 *** Myhorta has quit IRC
01:22:09 *** DDR has joined #openttd
01:41:12 *** __builtin has quit IRC
01:42:06 *** Hiddenfunstuff has quit IRC
01:42:17 *** __builtin has joined #openttd
01:47:10 *** HerzogDeXtEr1 has quit IRC
03:37:05 *** Snail has joined #openttd
03:48:08 *** glx has quit IRC
04:08:13 *** Tirili has quit IRC
04:47:52 *** Biolunar_ has joined #openttd
04:54:50 *** Biolunar has quit IRC
04:59:31 *** Flygon has quit IRC
05:02:36 *** Flygon has joined #openttd
06:31:59 *** supermop has quit IRC
06:56:02 *** Eddi|zuHause has quit IRC
06:56:25 *** Eddi|zuHause has joined #openttd
07:22:17 *** Snail has quit IRC
08:09:35 *** JezK_ has quit IRC
08:18:58 *** tycoondemon has quit IRC
08:19:14 *** tycoondemon has joined #openttd
08:28:29 *** sla_ro|master has joined #openttd
08:43:28 *** mescalito has quit IRC
09:09:30 *** TheMask96 has joined #openttd
09:17:23 *** juzza1 is now known as Guest1300
09:17:31 *** juzza1 has joined #openttd
09:17:36 *** juzza1 has quit IRC
09:41:48 *** Wolf01 has joined #openttd
09:41:56 <Wolf01> moin
09:51:07 *** sim-al2 has quit IRC
09:54:31 *** Guest1300 has quit IRC
10:00:16 *** juzza1 has joined #openttd
10:20:29 <Eddi|zuHause> what a "security warning" looks like to normal people: https://i.imgur.com/H0uVqFe.jpg
10:26:19 <Wolf01> yes
10:27:09 <planetmaker> hehe, indeed
10:31:22 <^Spike^> XD
10:31:25 <^Spike^> sounds true :)
10:31:59 <Eddi|zuHause> planetmaker: did you get anywhere with the build dependency problem?
10:48:29 *** smoke_fumus has joined #openttd
10:48:34 *** tokai has joined #openttd
10:48:34 *** ChanServ sets mode: +v tokai
10:50:26 <peter1138> pretty much
10:53:17 *** tokai|noir has quit IRC
11:11:54 *** mntasauri has joined #openttd
11:13:35 <planetmaker> Eddi|zuHause, sorry not yet... there was work work
11:17:09 *** Clockworker_ has joined #openttd
11:24:42 *** Clockworker has quit IRC
11:54:49 *** Hiddenfunstuff has joined #openttd
12:13:41 *** day has quit IRC
12:20:09 *** day has joined #openttd
13:03:25 *** sla_ro|master has quit IRC
13:07:38 *** sla_ro|master has joined #openttd
13:28:27 <Wolf01> nice, would I be able to do paris-amsterdam in 1 hour?
13:31:08 *** Supercheese has quit IRC
13:31:35 *** Supercheese has joined #openttd
13:42:48 <argoneus> good morning train friends
13:44:08 <Wolf01> o/
13:44:28 <argoneus> turns out dytech makes factorio fun
13:44:34 <argoneus> I'm not sure I can play vanilla anymore
13:45:14 <argoneus> having stuff like smart short long handed close inserter makes stuff more flexible
13:45:33 <argoneus> and the metallurgy thing is great
13:46:03 *** liq3 has quit IRC
14:15:08 *** Snail has joined #openttd
14:16:26 *** day has quit IRC
14:17:11 *** guru3_ has joined #openttd
14:18:01 *** guru3 has quit IRC
14:39:41 *** Snail has quit IRC
15:25:02 *** supermop has joined #openttd
16:14:55 <Wolf01> reboot
16:14:59 *** Wolf01 has quit IRC
16:21:07 *** Wolf01 has joined #openttd
16:21:26 *** Biolunar_ has quit IRC
16:28:02 *** Alberth has joined #openttd
16:28:02 *** ChanServ sets mode: +o Alberth
16:54:45 *** sim-al2 has joined #openttd
17:18:08 *** efess has quit IRC
17:41:05 *** tt_johannes has joined #openttd
17:43:42 *** Wormnest has joined #openttd
17:47:55 *** TheMask96 has quit IRC
17:52:15 <tt_johannes> where should one lookup the tile indices?
17:52:19 <tt_johannes> is there a tile pool?
17:52:51 <tt_johannes> e.g., BaseStation has a "TileIndex xy;"
17:58:58 <Eddi|zuHause> there are helper function that turn an (x,y) coordinate into a TileIndex and back
18:01:34 *** sla_ro|master2 has joined #openttd
18:02:41 <Eddi|zuHause> try src/map_func.h
18:03:42 <Eddi|zuHause> and to find out what's on the tile you need to use the map accessor functions (in src/*_map.h)
18:03:49 *** sim-al2 has quit IRC
18:06:46 *** Progman has joined #openttd
18:06:57 *** sla_ro|master has quit IRC
18:10:10 <tt_johannes> Eddi|zuHause: ah, ok, looks like a tileindex is just two tiles pushed into one 32 bit int
18:10:45 <Eddi|zuHause> yes, there's no deep magic involved...
18:11:05 <planetmaker> but use the proper accessor functions. Don't re-invent the wheel
18:11:30 <planetmaker> get_tile_by_index or similar exists. etc
18:11:50 <tt_johannes> I know: TileX(), TileY(), right?
18:12:52 <tt_johannes> get_tile_by_index... does not exist
18:13:43 <Eddi|zuHause> yeah, that's nonsense
18:14:49 <tt_johannes> :)
18:15:51 <_dp_> there are Industry::GetByTile(TileIndex) and similar
18:22:16 *** sim-al2 has joined #openttd
18:22:49 <tt_johannes> how to compile with -g ? something like CXXFLAGS=-g ./configure ?
18:25:33 <tt_johannes> --enable-debug=3 ?
18:25:35 <Alberth> ./configure --enable-debug=3
18:25:39 <tt_johannes> :)
18:28:54 <tt_johannes> hm it recompiled, but valgrind keeps saying: ==15017== at 0x855B95: VideoDriver_Graph::MainLoop() (in /data/cprogs/openttd/installed/games/openttd)
18:29:36 <tt_johannes> the CFLAGS variable has no -g
18:29:50 <tt_johannes> oh it has!
18:29:52 <tt_johannes> strange
18:31:19 *** sim-al2 has quit IRC
18:32:45 *** Clockworker has joined #openttd
18:35:04 *** frosch123 has joined #openttd
18:38:13 *** Clockworker_ has quit IRC
18:47:20 *** HerzogDeXtEr has joined #openttd
18:54:32 *** glx has joined #openttd
18:54:32 *** ChanServ sets mode: +v glx
19:10:26 *** efess has joined #openttd
19:30:48 *** sim-al2 has joined #openttd
19:31:27 <Terkhen> Hello
19:32:48 <Rubidium> tt_johannes: running the wrong openttd binary? (i.e. not the built one but an installed one)
19:33:21 <tt_johannes> Rubidium: ah indeed! I had to run make install first!
19:35:18 <Alberth> make gdbrun or something?
19:35:52 <tt_johannes> valgrind should do it...
19:43:08 *** andythenorth has joined #openttd
19:44:34 *** HerzogDeXtEr1 has joined #openttd
19:45:13 <Eddi|zuHause> i think it was make run_gdb (or possibly run-gdb)
19:45:22 *** iostat has joined #openttd
19:45:32 <andythenorth> o/
19:45:32 *** Clockworker_ has joined #openttd
19:45:39 <Alberth> hi hi
19:45:49 <Eddi|zuHause> whichever i pick, it's always the wrong one :p
19:47:15 <Rubidium> Eddi|zuHause: those are better odds than an USB connector ;)
19:48:01 <andythenorth> so pypy3 for nml?
19:48:10 * andythenorth is trying to work out under what conditions it is better
19:48:32 <Eddi|zuHause> Rubidium: yeah. USB only ever works in the 3rd try :p
19:48:51 <andythenorth> for code changes only, a FIRS recompile with primed cache is *substantially* faster with pypy3 than any py3.x I have
19:49:14 <V453000> how great idea is it to have 6448 sprites per engine? XD
19:49:44 <andythenorth> awesome
19:50:04 <V453000> hm might need to almost double that
19:50:06 <V453000> XD
19:50:07 *** HerzogDeXtEr has quit IRC
19:50:18 <Eddi|zuHause> V453000: depends on how big you expect people's sprite cache to be :p
19:50:24 <V453000> :)
19:50:56 *** Clockworker has quit IRC
19:51:26 <Alberth> one engine per newgrf? :)
19:51:38 <V453000> maybe? :D
19:52:58 <andythenorth> for a change to a single png and otherwise primed cache, the FIRS compile time with pypy3 (50s) is close to the unprimed cache condition (1m)
19:53:05 <andythenorth> which is…interesting
19:53:59 <andythenorth> same condition for all python 3.x afaict
19:54:16 <andythenorth> so a single changed png negates much of the caching?
20:00:07 <andythenorth> hmm
20:00:14 <andythenorth> docs rendering seems much slower under pypy3
20:00:20 <andythenorth> maybe chameleon performance is poor
20:01:31 <Wolf01> o/ cat man
20:05:44 <Alberth> meow
20:09:59 <Wolf01> andy, how many claas xerion will you purchase?
20:10:34 <Wolf01> with my technic group we decided that at least 2 each is a fair number
20:23:37 <tt_johannes> configure does not work somehow...
20:23:44 <tt_johannes> when I type make it compiles
20:23:49 <tt_johannes> (including a configure)
20:24:07 <tt_johannes> when I then tell qtcreator to run make in the same directory, it configures and makes again
20:24:19 <tt_johannes> and when I go back to the commandline, make is invoking a configure again
20:32:04 <planetmaker> uhm... qtcreator? The question is, does that happen, if you only ever use make. And not qtcreator in between
20:32:26 <planetmaker> it might update whatever files in between. And with newer time stamp on some relevant ones, configure has to be re-executed
20:33:19 <tt_johannes> planetmaker: If I type make twice, it works
20:33:29 <tt_johannes> it's just when I switch between konsole and the IDE
20:33:49 *** Clockworker__ has joined #openttd
20:34:44 <tt_johannes> when I typed make after qtcreator, it said: "The system detected that source.list or any configure file is altered. Going to reconfigure with last known settings...
20:34:47 <tt_johannes> "
20:37:19 <planetmaker> well. There you go. Don't touch those files, unless you want a re-compile
20:37:36 <planetmaker> it's not configure's fault but your IDE, saving crap all over, without it being changed
20:37:56 <planetmaker> s/re-compile/re-configure/
20:37:58 <Alberth> check for changes relative to the repo?
20:38:12 <Alberth> clearly the ide is doing something :)
20:38:43 <Alberth> but yeah, pseudo-smart software, such joys.... :p
20:39:22 *** Clockworker_ has quit IRC
20:42:40 <tt_johannes> planetmaker: what files could the IDE change? Of course, it has project files that it changes, but does openttd's configure tool know about them?
20:42:47 <tt_johannes> I did not register these prohect files
20:43:05 <andythenorth> Wolf01: probably no Xerion
20:43:11 <andythenorth> probably only the Volvo
20:43:16 <andythenorth> and even that, not sure
20:43:17 <andythenorth> :)
20:45:53 <Wolf01> :)
20:46:27 <andythenorth> it’s all nice, but eh, maybe I have enough technic
20:46:32 <andythenorth> and it’s mostly very expensive
20:47:31 <andythenorth> I am not sure about all these AFOL focussed sets
20:47:38 <andythenorth> not sure if there are enough AFOLs
20:48:30 <Wolf01> we are a nice group here :P
20:48:55 *** gelignite has joined #openttd
20:50:02 <glx> [19:48:48] <Eddi|zuHause> Rubidium: yeah. USB only ever works in the 3rd try :p <-- still better than SCART
20:50:46 *** Alberth has left #openttd
20:50:54 <Eddi|zuHause> hehe ;)
20:56:52 <tt_johannes> an unformatted graph, not yet improved, just for fun to show some progress: https://www.docdroid.net/6XS14j9/graph1.pdf.html
20:57:01 <andythenorth> USB is for putting essential malware on your machine?
20:57:26 <andythenorth> SCART can’t do that
20:57:28 <andythenorth> AFAIK
20:59:59 *** liq3 has joined #openttd
21:01:01 * Supercheese had never heard of SCART before now
21:01:08 <Supercheese> you learn something new each day
21:01:28 <andythenorth> Wolf01: there is some serious reverse engineering of the Porsche in Eurobricks
21:01:37 <Wolf01> :o
21:01:57 <andythenorth> mostly the sequential gear paddles
21:02:01 <andythenorth> nobody knows much else
21:02:09 <andythenorth> but if they’re right, it’s very technically neat
21:10:31 * andythenorth back to FIRS
21:12:40 <andythenorth> ho
21:12:47 <andythenorth> Road Hog doesn’t compile under pypy3
21:12:49 <andythenorth> what larks
21:13:13 <planetmaker> tt_johannes, if you have them open, it might simply save them w/o any change. Maybe. I don't know that IDE
21:13:43 <Wolf01> wow, sequential gearbox :O
21:14:36 <andythenorth> yup
21:14:47 <andythenorth> Lego pushing envelope
21:15:02 <andythenorth> hmm nmlc -s isn’t getting me a useful stack trace
21:17:15 <andythenorth> ah 2 definitions of flags in makefile
21:17:30 <andythenorth> well: http://pastebin.com/raw/0dcW7k1h
21:18:29 <andythenorth> dropping the -c option for nmlc does not help
21:23:59 <frosch123> it's the sprite compression
21:24:04 <frosch123> you cannot disable that :p
21:24:05 <andythenorth> it’s pypy3 FWIW
21:24:19 <andythenorth> I was surprised it worked for FIRS :P
21:24:29 <andythenorth> I am curious why Road Hog fails, Iron Horse and FIRS don't
21:24:38 <andythenorth> same nmlc, PILLOW etc
21:25:37 <andythenorth> you might validly suspect simple user error
21:25:41 <andythenorth> but I can’t see what I did wrong
21:27:39 <andythenorth> FISH works also
21:27:48 <frosch123> different palette?
21:27:53 <frosch123> did you go 32bpp?
21:28:07 <frosch123> what about the spritecache?
21:28:14 <frosch123> it won't encode if the spritecache is filled
21:29:25 <andythenorth> how would I determine that?
21:30:07 * andythenorth tries other pythons meanwhile
21:30:59 <andythenorth> road hog is surprisingly big
21:31:02 <andythenorth> 4600 sprites
21:31:10 <andythenorth> FIRS has only 3864
21:31:44 <andythenorth> vehicle cargo support I guess
21:32:04 <andythenorth> 0 cached
21:32:08 <andythenorth> even on repeat runs
21:32:56 <andythenorth> ah, they probably don’t cache because they’re regenerated every time in the compile
21:33:00 <andythenorth> maybe
21:33:20 <tt_johannes> planetmaker: well, it's a very good IDE (the one most kde/qt developers use), I don't think that it will do that :P
21:33:32 <andythenorth> road hog sprites all get pixa processed on every compile :P
21:33:47 <tt_johannes> I mostly wonder why it re-calls the configure file, that's really strange
21:34:32 <andythenorth> balls, instead of finishing FIRS I am pissing around timing compile runs :)
21:34:49 <andythenorth> not even trying to make them faster, just pure timewasting
21:35:18 <andythenorth> how does that xkcd ‘automate’ chart apply, when you don’t bother with the ‘automate’ bit :P
21:37:59 *** oskari89 has joined #openttd
21:49:17 <Supercheese> I generally find myself firmly on the "don't bother automating" side of that chart
21:49:39 <andythenorth> I would like to automate tasks like shaving
21:49:42 <andythenorth> and cleaning teeth
21:49:48 <Supercheese> like the paperwork I have to do at the office... yeah, there's quite probably a better way to automate it, but it would not be worth the time investment
21:53:17 *** tt_johannes has quit IRC
22:03:12 *** frosch123 has quit IRC
22:12:37 *** iostat has quit IRC
22:12:48 *** iostat has joined #openttd
22:13:17 *** Wormnest_ has joined #openttd
22:20:09 *** Wormnest has quit IRC
22:26:59 *** iostat has quit IRC
22:36:51 *** sim-al2 has quit IRC
23:09:08 *** andythenorth has quit IRC
23:14:30 *** oskari89 has quit IRC
23:15:22 *** Progman has quit IRC
23:17:11 *** Clockworker_ has joined #openttd
23:18:06 *** Biolunar has joined #openttd
23:24:31 *** Clockworker__ has quit IRC
23:53:09 *** skybon has joined #openttd