Back to Home / #openttd / 2019 / 05 / Prev Day | Next Day
#openttd IRC Logs for 2019-05-19

---Logopened Sun May 19 00:00:46 2019
00:30<Corns[m]>Patch idea: during world gen, roads connect towns, like in simutrans
00:34<Corns[m]>Q: which files are responsible for handling world gen?
00:37-!-HerzogDeXtEr [~farci@ip92340ed4.dynamic.kabel-deutschland.de] has joined #openttd
00:37-!-HerzogDeXtEr is "purple" on #openttd
02:06-!-tokai|noir [~tokai@00012860.user.oftc.net] has joined #openttd
02:06-!-tokai|noir is "Christian Rosentreter" on #openttd
02:06-!-mode/#openttd [+v tokai|noir] by ChanServ
02:08-!-Supercheese [~Superchee@cpe-98-146-230-183.natnow.res.rr.com] has quit [Read error: Connection reset by peer]
02:09-!-Supercheese [~Superchee@cpe-98-146-230-183.natnow.res.rr.com] has joined #openttd
02:09-!-Supercheese is "Caseum" on #openttd
02:13-!-tokai [~tokai@00012860.user.oftc.net] has quit [Ping timeout: 480 seconds]
02:25-!-nielsm [~nielsm@176-23-103-56-cable.dk.customer.tdc.net] has joined #openttd
02:25-!-nielsm is "Niels Martin Hansen" on #openttd
02:25-!-sla_ro|master [~sla.ro@84.117.88.126] has joined #openttd
02:25-!-sla_ro|master is "slamaster" on #sla #openttd
02:44-!-Supercheese [~Superchee@cpe-98-146-230-183.natnow.res.rr.com] has quit [Quit: Valete omnes]
02:48-!-snail_UES_ [~snail_UES@cpe-98-14-137-148.nyc.res.rr.com] has quit [Quit: snail_UES_]
02:57-!-nielsm [~nielsm@176-23-103-56-cable.dk.customer.tdc.net] has quit [Quit: wroom]
03:03-!-andythenorth [~andytheno@cpc87219-aztw31-2-0-cust178.18-1.cable.virginm.net] has joined #openttd
03:03-!-andythenorth is "andythenorth" on #openttd
03:03<andythenorth>HELLO
03:54-!-Samu [~Ricardo@pa4-84-91-142-34.netvisao.pt] has joined #openttd
03:54-!-Samu is "realname" on #openttd
03:57-!-gelignite [~gelignite@55d47078.access.ecotel.net] has joined #openttd
03:57-!-gelignite is "gelignite" on #openttd
04:03-!-andythenorth [~andytheno@cpc87219-aztw31-2-0-cust178.18-1.cable.virginm.net] has quit [Quit: andythenorth]
04:16-!-andythenorth [~andytheno@cpc87219-aztw31-2-0-cust178.18-1.cable.virginm.net] has joined #openttd
04:16-!-andythenorth is "andythenorth" on #openttd
04:19*andythenorth wonders about vehicles setting a multiplier to prop 12
04:19<andythenorth>(cargo prop 12)
04:19<andythenorth>price factor
04:19<andythenorth>maybe that has horrible performance though
04:41-!-Progman [~progman@p57A2BC0C.dip0.t-ipconnect.de] has joined #openttd
04:41-!-Progman is "Peter Henschel" on #openttdcoop.dev #openttd
05:15<andythenorth>hmm
05:16<andythenorth>I love seeing newgrfs working in OpenTTD :D
05:16<andythenorth>I know I complain a lot, but making things for OpenTTD is really fun
05:17<andythenorth>BBL
05:18-!-andythenorth [~andytheno@cpc87219-aztw31-2-0-cust178.18-1.cable.virginm.net] has quit [Quit: andythenorth]
05:49-!-frosch123 [~frosch@00013ce7.user.oftc.net] has joined #openttd
05:49-!-frosch123 is "frosch" on +#openttd.dev #openttd
05:54-!-andythenorth_ [~andytheno@2a01:4c8:9:c4da:f9c9:c533:9ab8:3ac4] has joined #openttd
05:54-!-andythenorth_ is "andythenorth_" on #openttd
05:55-!-Gumle2 [AdiIRC@80-196-34-14-cable.dk.customer.tdc.net] has joined #openttd
05:55-!-Gumle2 is "Martin" on #ceph #bcache #openttd
06:00-!-andythenorth_ [~andytheno@2a01:4c8:9:c4da:f9c9:c533:9ab8:3ac4] has quit [Remote host closed the connection]
06:09-!-andythenorth_ [~andytheno@2a01:4c8:9:c4da:f9c9:c533:9ab8:3ac4] has joined #openttd
06:09-!-andythenorth_ is "andythenorth_" on #openttd
06:10<andythenorth_>maybe a compile time flag to drop all cargo sprites etc in Horse?
06:10<andythenorth_>might save 10 seconds or so
06:18-!-andythenorth [~andytheno@cpc87219-aztw31-2-0-cust178.18-1.cable.virginm.net] has joined #openttd
06:18-!-andythenorth is "andythenorth" on #openttd
06:18-!-andythenorth [~andytheno@cpc87219-aztw31-2-0-cust178.18-1.cable.virginm.net] has quit []
06:19-!-andythenorth_ [~andytheno@2a01:4c8:9:c4da:f9c9:c533:9ab8:3ac4] has quit [Quit: Leaving]
06:24-!-andythenorth_ [~andytheno@2a01:4c8:9:c4da:f9c9:c533:9ab8:3ac4] has joined #openttd
06:24-!-andythenorth_ is "andythenorth_" on #openttd
06:31<andythenorth_>split Horse into separate grfs?
06:32<andythenorth_>engines grf, wagons grf, etc
06:36<frosch123>debug and release builds?
06:39-!-Wolf01 [~wolf01@0001288e.user.oftc.net] has joined #openttd
06:39-!-Wolf01 is "Wolf01" on #openttd
06:39<Wolf01>o/
06:43<andythenorth_>frosch maybe yes
06:43<andythenorth_>shame we can’t nest grfs
06:45<andythenorth_>hmm
06:45*andythenorth_ has more ideas
06:48<andythenorth_>diff the nml, use some cached nfo & grfcodec if the nml is unchanged
06:49<frosch123>grfcoded has no spritecache
06:49<frosch123>so, encoding will be slower
06:49<frosch123>you are probably better off to generate multiple nml and grf files
06:51-!-andythenorth_ [~andytheno@2a01:4c8:9:c4da:f9c9:c533:9ab8:3ac4] has quit [Remote host closed the connection]
06:53<Eddi|zuHause>... didn't he already have provisions for "only make one vehicle"?
07:05-!-andythenorth_ [~andytheno@2a01:4c8:9:c4da:f9c9:c533:9ab8:3ac4] has joined #openttd
07:05-!-andythenorth_ is "andythenorth_" on #openttd
07:07-!-andythenorth [~andytheno@cpc87219-aztw31-2-0-cust178.18-1.cable.virginm.net] has joined #openttd
07:07-!-andythenorth is "andythenorth" on #openttd
07:08<andythenorth>frosch123: the grfcodec encode of Horse is about 3 seconds
07:08<andythenorth>although that's based on a -d decode, with only 9 spritesheets
07:09-!-andythenorth_ [~andytheno@2a01:4c8:9:c4da:f9c9:c533:9ab8:3ac4] has quit [Remote host closed the connection]
07:09<Corns[m]>Grfs can have dependencies, right?
07:11<andythenorth>kinda
07:12<frosch123>andythenorth: you can also disable cropping
07:12<frosch123>but with same settings, nml encoding should not be slower than grfcodec
07:13<andythenorth>the nmlc encoding is now fast, because I no longer throw away the sprite cache
07:13<andythenorth>but the parse and preprocessing steps are slow
07:14<andythenorth>the specific case I think will be faster with grfcode is changes to only realsprites
07:15*andythenorth tries to remember how to grfcodec :P
07:17<andythenorth>4s or so for grfcodec
07:17<andythenorth>it's expecting a 'sprites' path though, so I'd have to refactor the generated directory structure
07:18<andythenorth>comparison
07:18<andythenorth>iron-horse.nml -> nmlc -> grf ~30s average
07:18<andythenorth>iron-horse.nfo -> grfcodec -> grf 5s average
07:19<andythenorth>so if iron-horse.nml diffs as unchanged, I might as well branch to grfcodec
07:19<Eddi|zuHause>if you were using makefile, inserting grfcodec would be quite simple
07:19<andythenorth>I am
07:19<Eddi|zuHause>add switch to nmlc to generate nfo instead of grf
07:20<andythenorth>trying to work out the overhead
07:20<Eddi|zuHause>add entry to make grf from nfo via grfcodec
07:20<andythenorth>in cases where the nml file *has* changed, this adds a 5 second overhead to every compile
07:20<Eddi|zuHause>remove sprites as dependency from the nmlc stage, and add them to the grfcodec stage
07:20<andythenorth>so working with e.g. vehicle properties will be much slower
07:20<andythenorth>but drawing pixels will be much faster
07:21<Eddi|zuHause>overhead will be less than that
07:21<Eddi|zuHause>because nmlc does not process sprites anymore
07:21<Eddi|zuHause>so should be quicker
07:22<andythenorth>I'm not convinced by that yet
07:22<andythenorth>let's see
07:24<andythenorth>ok it's marginal
07:24<andythenorth>averaging 33 seconds for nmlc -> grf
07:24<andythenorth>averaging 31 seconds for nmlc -> nfo
07:25<andythenorth>fully primed nml cache
07:25<andythenorth>25s gain for changes that only touch realsprites, vs. 2s loss in cases where props etc have changed
07:31<andythenorth>frosch123: presuming nmlc builds some tree in memory, is there any mileage in pickling that, and passing it back to nmlc if they nml is unchanged?
07:31<andythenorth>pickle is slow, but eh
07:35<frosch123>i have some old numbers, when i tried
07:35<frosch123>writing the cache is +50% to parsing time
07:35<frosch123>readnig the cache is 20% of parsing time
07:36<frosch123>cache file size is 7x to 10x the nml source size
07:38<andythenorth>tradeoff doesn't look winning
07:38<frosch123>overall you needed to compile 5 times with valid cache to make up the time for creating the cache
07:42<andythenorth>ok thanks :)
07:51<andythenorth>dropping the cargo graphics
07:52<andythenorth>cuts the nmlc time from about 30 seconds to about 10 seconds
07:52<andythenorth>and the grfcodec time from about 5s to 0.5s
08:01<andythenorth>so I can maybe knock up to 40s off a 70s compile
08:02*andythenorth tries
08:07<andythenorth>sys.argv is a bit limited eh
08:07<Eddi|zuHause>why?
08:09<_dp_>hi, what is the max amount of layouts industry can have? 256?
08:11<andythenorth>Eddi|zuHause: optional args aren't trivial with sys.argv afaict
08:11<andythenorth>doesn't matter, it works
08:11<Eddi|zuHause>andythenorth: you'd usually use a configparser?
08:11<andythenorth>yes
08:11<andythenorth>I'm not
08:12<andythenorth>what I have is really rudimentary
08:12<Eddi|zuHause>also, if you're using make, then maybe env would be better than argv?
08:12<Eddi|zuHause>make SKIP_CARGO=true
08:13<Eddi|zuHause>and then in python check whether env contains SKIP_CARGO?
08:13<andythenorth>that might be better
08:13<andythenorth>I'll make it work, and then link to the comimt
08:13<andythenorth>commit *
08:14<andythenorth>the args have been too crude for years
08:19<andythenorth>well that saves about 55% in cases where it can be used
08:20<andythenorth>https://dev.openttdcoop.org/projects/iron-horse/repository/revisions/19fbe521094a
08:21<andythenorth>Eddi|zuHause: ^ that includes the crap argv parsing I'm doing
08:21<_dp_>there is argparse for any real applications
08:21<andythenorth>it was 'good enough' about 8 years ago :P
08:21<_dp_>argv is just for debugging
08:22<andythenorth>might be better to switch to env, I never figured out how to pass args when running a specific python script
08:22<andythenorth>dunno
08:22*andythenorth happy to take pull requests :P
08:23<Eddi|zuHause>i haven't done configparser in a while
08:24<andythenorth>now let's combine that with grfcodec
08:24*andythenorth will inevitably have make questions :P
08:52-!-arikover [~user@x4e36cc9c.dyn.telefonica.de] has joined #openttd
08:52-!-arikover is "unknown" on #openttd
08:55<Eddi|zuHause>so i "bought" this thing: https://store.steampowered.com/app/325180/AppGameKit_Easy_Game_Development/ anyone know what to do with it?
08:56<nakki>reading the reviews, apparently the thing they're giving away for free now isn't the full license
08:57<andythenorth>Eddi|zuHause: make a game!
08:58<andythenorth>Eddi|zuHause: L81 or so, nmlc runs always, how do I stop that? :)
08:58<andythenorth>https://dev.openttdcoop.org/projects/iron-horse/repository/revisions/19fbe521094a/entry/Makefile#L69
08:58<andythenorth>oh that's the wrong rev, silly redmine
08:58<andythenorth>https://dev.openttdcoop.org/projects/iron-horse/repository/revisions/a81478a26e0e/entry/Makefile#L89 or so
08:59<Eddi|zuHause>andythenorth: remove "$(GRAPHICS_DIR)", put that on the grfcodec part?
09:00<andythenorth>I gave you the wrong url the first time
09:00<andythenorth>sorry :P
09:00<Eddi|zuHause>still same
09:01<Eddi|zuHause>remove it from the nmlc part
09:01<Eddi|zuHause>have it only on the grfcodec part
09:01<andythenorth>oh yes
09:01<andythenorth>ok
09:01<andythenorth>thanks
09:02<andythenorth>hmm that doesn't work yet
09:02<andythenorth>probably the docs
09:03<Eddi|zuHause>remove the docs there as well
09:03<Eddi|zuHause>that dependency seems to be nonsense
09:04<Eddi|zuHause>or, backwards
09:05<andythenorth>wouldn't surprise me
09:06<andythenorth>anyway, that's a 10 second compile if I'm only changing sprites, and I drop all cargo sprites
09:06<andythenorth>much better payoff than me trying to rewrite nmlc myself :(
09:07<andythenorth>oof
09:08<andythenorth>now the docs render after the nml
09:08*andythenorth will come back to that
09:08<andythenorth>13 seconds if the cargo sprites are enabled
09:09<andythenorth>Eddi|zuHause: so the docs...what should I be doing?
09:09<andythenorth>I need the docs built early in the compile
09:09<Eddi|zuHause>why?
09:09<Eddi|zuHause>why would anything depend on the docs?
09:10<andythenorth>because the compile is so slow that I can often open the docs, check the result, and ctrl-c the compile if the result is bad
09:10<andythenorth>but if the result is good, I let the compile continue
09:10<Eddi|zuHause>if they're independent tasks, make -j12 should figure it out
09:13<andythenorth>both the docs and the grf are co-dependent on the graphics,
09:13<andythenorth>in series
09:13<andythenorth>but docs are parallel to grf
09:13<andythenorth>how do I express that in make rules
09:16<Eddi|zuHause>if they're dependent, you put it in the dependency, if they're not, you leave it out
09:17<andythenorth>wait, so I already have 'default: html_docs grf'
09:19-!-Gumle2 [AdiIRC@80-196-34-14-cable.dk.customer.tdc.net] has quit []
09:19<andythenorth>hmm doesn't trigger if graphics change
09:20-!-Gumle2 [AdiIRC@80-196-34-14-cable.dk.customer.tdc.net] has joined #openttd
09:20-!-Gumle2 is "Martin" on #ceph #bcache #openttd
09:20<andythenorth>I don't hate make, I just don't understand it
09:24<andythenorth>what's the .PHONY doing in this case?
09:25<andythenorth>https://dev.openttdcoop.org/projects/iron-horse/repository/revisions/106ea41a628a/entry/Makefile#L52
09:38<arikover>andythenorth: Hello. Sorry to bother again, I'm translating Iron Horse and need some insights on some new freight cars.
09:38<andythenorth>yup
09:39<andythenorth>tell me, I'll find pictures
09:39<arikover>andythenorth: So: What is the difference between a plate car and a flatcar?
09:40<FLHerne>andythenorth: I hear you should be using Meson now :P
09:40<arikover>andythenorth: Someone(s) already found pictures for this one yesterday, but I don't understand exactly the difference: are the sides not removable on the plate cars?
09:40<andythenorth>some are, some aren't
09:41<andythenorth>I considered using 'low-side open car'
09:41<andythenorth>http://cdn.shopify.com/s/files/1/1541/1303/products/W-609_grande.jpg?v=1535718948
09:41<andythenorth>'plate car' is a very specific UK use, not used anywhere else I could find
09:42<arikover>andythenorth: "Low-side open car" <- maybe I could translate that instead? Yeah, I couldn't find any references of plate cars outside UK.
09:42<andythenorth>Europe calls them flat wagons, because the sides are removable
09:42<andythenorth>and the US doesn't seem to have them
09:44<arikover>I could find something approaching, like "low-side open car" then. OK.
09:45<arikover>andythenorth: ...and the second one: what is the difference between an aggregate hopper and a standard hopper?
09:45<andythenorth>good question
09:45<andythenorth>I've turned aggregate hoppers off in current Iron Horse
09:45<arikover>andythenorth: Is it supposed to transport special cargo (like not-coal)?
09:45<andythenorth>I'm not convinced about the names
09:46<arikover>andythenorth: But you already drew the sprites?
09:46<andythenorth>yeah, but I've removed them
09:47<andythenorth>they're just graphical options, but the names are confusing
09:47<andythenorth>I want to put them back
09:47<andythenorth>but I don't know how to name them
09:48<arikover>andythenorth: Do you have any photos I could base myself on?
09:48<andythenorth>hopper https://i.ebayimg.com/images/i/133008425862-0-1/s-l1000.jpg
09:49<andythenorth>aggregate hopper https://i.ytimg.com/vi/uX7U-XwwyL8/maxresdefault.jpg
09:49<andythenorth>one type is silver, and used primarily for coal
09:49<andythenorth>the other type is company colour, and used primarily for stone, sand etc
09:50<andythenorth>there are other differences in real life, but too boring to feature in game
09:51<arikover>What are they? (it could maybe help for the translation)
09:51<FLHerne>arikover: From a real-life perspective, rock aggregates and ores are /much/ denser than coal
09:52<FLHerne>So a coal hopper filled to the brim with rock would be *far* too heavy
09:53<andythenorth>also the doors on coal hoppers are open / closed
09:53<andythenorth>they flood unload
09:53<andythenorth>the doors on agg hoppers have variable opening, for controlled rate
09:53<FLHerne>In the UK, since coal traffic fell off a cliff several companies have been converting coal hoppers to carry aggregate by essentially cutting out 1/3 of the length
09:56<FLHerne>See https://en.wikipedia.org/wiki/Construction_aggregate
09:57<andythenorth>in the US https://www.trovestar.com/images/Collections/0/gallery/tsg_45284_1_1.jpg
09:57<andythenorth>aggregate
09:58<andythenorth>coal http://freightcaramerica.com/wp-content/uploads/2018/07/autoflood_III.jpg
09:59<arikover>FLHerne andythenorth: So the aggregate hopper are designed to carry denser loads (shorter design), and have a more subtle unloading process (in a -rough- nutshell)?
10:00<andythenorth>yup
10:00<FLHerne>Yes
10:00<arikover>Okay. Thank you very much for your answsers!
10:00<andythenorth>if you come up with a name let me know :P
10:01<andythenorth>I have turned them off until I'm satisfied with the name
10:01<FLHerne>I don't see what's wrong with "aggregate hopper" tbh
10:01<andythenorth>or maybe I should name 'hopper' as 'coal hopper' even though it refits other things
10:01<andythenorth>dunno
10:01<FLHerne>They're hoppers for aggregate
10:01<andythenorth>they do refit coal and stuff, because no point limiting gameplay
10:02<FLHerne>Oh, fun
10:02<andythenorth>but they default to stone etc if present in the game
10:06<andythenorth>hmm
10:06<andythenorth>I absolutely don't understand make
10:07<andythenorth>https://dev.openttdcoop.org/projects/iron-horse/repository/entry/Makefile#L53
10:08<andythenorth>I need to trigger rebuilding the docs if any .png files in src have changed
10:08<andythenorth>or if anything has changed in generated/graphics
10:08<andythenorth>in fact the .png files are irrelevant, generated/graphics would catch the case
10:09<andythenorth>but it stubbornly does not work
10:11<andythenorth>html_docs is in the default target
10:12<andythenorth>it has $(GRAPHICS_DIR) as a dept
10:12<andythenorth>dep *
10:21-!-Flygon [~Flygon@114-198-97-40.dyn.iinet.net.au] has quit [Quit: A toaster's basically a soldering iron designed to toast bread]
10:24-!-Gumle2 [AdiIRC@80-196-34-14-cable.dk.customer.tdc.net] has quit []
10:29-!-nielsm [~nielsm@176-23-103-56-cable.dk.customer.tdc.net] has joined #openttd
10:29-!-nielsm is "Niels Martin Hansen" on #openttd
10:32-!-Gumle2 [AdiIRC@80-196-34-14-cable.dk.customer.tdc.net] has joined #openttd
10:32-!-Gumle2 is "Martin" on #ceph #bcache #openttd
10:33<nielsm>so did anything interesting happen over the weekend?
10:39<arikover>FLHerne andythenorth: Heavy Load Hopper? But Aggregate Hopper is perfectly fine. I just wanted to know the difference for the translation.
10:43<arikover>andythenorth: Maybe hoppers' capacity for coal could be a bit lower compared to other aggregates, as it has a lower density? But that would be "realistic", and not really fun...
10:53-!-Gumle2 [AdiIRC@80-196-34-14-cable.dk.customer.tdc.net] has quit []
11:11<juzza1>andythenorth: if i do "touch generated/graphics" and then make, it rebuilds the docs
11:12<juzza1>changing a png does not update the directory timestamp though, so i guess you need the actual generated pngs as dependency as well?
11:15-!-Wormnest [~Wormnest@35.136.176.177] has joined #openttd
11:15-!-Wormnest is "Wormnest" on #openttd
11:30<Eddi|zuHause>andythenorth: how does the stuff in generated/graphics get created?
11:34<Eddi|zuHause>andythenorth: you might want to also generate a .dep file
11:37<Eddi|zuHause>... it takes 4 more minutes to update my iron horse checkout
11:38-!-snail_UES_ [~snail_UES@cpe-98-14-137-148.nyc.res.rr.com] has joined #openttd
11:38-!-snail_UES_ is "Jacopo Coletto" on #openttd
11:43<andythenorth>the stuff in generated/graphics is created by render_graphics.py
11:44<andythenorth>the GRAPHICS_DIR target appears to pick up all the deps reliably
11:45<andythenorth>I could learn about the nmlc -M option for deps, but it seems to require learning something for no benefit :P
11:49<andythenorth>wait wat
11:49<andythenorth>'make' causes the docs to build
11:49<andythenorth>'make install' does not
11:50<andythenorth>ok
11:50<andythenorth>I just paste $(HTML_DOCS) in even more places
11:51<andythenorth>pasting things to more places seems to be how make works
11:52<@peter1138>En-route pork pies, eh?
11:55-!-glx [kvirc@000128ec.user.oftc.net] has joined #openttd
11:55-!-mode/#openttd [+v glx] by ChanServ
11:55-!-glx is "Loïc GUILLOUX" on +#openttd
11:58<@LordAro>peter1138: just the minisnack ones i brought with me
12:02<@peter1138>I didn't have any energy or food enroute today, but I was by myself again.
12:02<@peter1138>In which case I slow down without noticing/causing others to wait.
12:14<andythenorth>so many variants :P https://dev.openttdcoop.org/attachments/download/9446/much_train.png
12:25<andythenorth>lol 13 second Horse compiles
12:25*andythenorth will stop moaning for a bit
12:26<andythenorth>this is happy emoji time
12:34-!-sla_ro|master [~sla.ro@84.117.88.126] has quit []
12:35<Eddi|zuHause>i don't think i see what you think is right/wrong
12:35-!-sla_ro|master [~sla.ro@84.117.88.126] has joined #openttd
12:35-!-sla_ro|master is "slamaster" on #sla #openttd
12:36-!-Gumle2 [AdiIRC@80-196-34-14-cable.dk.customer.tdc.net] has joined #openttd
12:36-!-Gumle2 is "Martin" on #ceph #bcache #openttd
12:37<andythenorth>https://paste.openttdcoop.org/peczugsqb/hmpmda/raw
12:37<andythenorth>I'm unfortunately throwing away the benefit of the nmlc spritecache
12:38<Eddi|zuHause>make a grfcodec spritecache
12:38<andythenorth>but I have implicit and explicit options for compiles to go faster in common cases
12:38-!-sla_ro|master [~sla.ro@84.117.88.126] has quit []
12:39<andythenorth>this addresses the most boring case, which is waiting 1m to see a few pixels difference in game
12:39<Eddi|zuHause>for some reason my youtube suggestions are full of (old) ESC content
12:39<andythenorth>and the second most boring case, which is tweaking costs etc
12:39<andythenorth>oof the power of suggestion
12:39*andythenorth now watches YT
12:39-!-sla_ro|master [~sla.ro@84.117.88.126] has joined #openttd
12:39-!-sla_ro|master is "slamaster" on #sla #openttd
12:40<Eddi|zuHause>not the new stuff, stuff like "watch this song from 1975"
12:47*andythenorth wonders about teaching nmlc that the input .nml hasn't changed
12:47<andythenorth>if it made a .nml.bak file at the end of the compile, it could compare on next run
12:48<andythenorth>nah
12:48<andythenorth>won't work
12:49<andythenorth>onwards :D
12:54<Eddi|zuHause>same way as with the graphics, you output to a .nml.new file, and if cmp says no differences, you leave the .nml untouched, otherwise overwrite it
12:55<Eddi|zuHause>make will then recognize that the file date was not changed, and skip some further processing
12:55<Eddi|zuHause>(assumes proper dependencies)
12:55<andythenorth>I was thinking about a PR for actual nmlc
12:55<Eddi|zuHause>no
12:55<andythenorth>but it won't have any structure to encode
12:55<andythenorth>won't work
12:56<Eddi|zuHause>this is pure makefile stuff
12:56<andythenorth>yes, I have that working
12:56<andythenorth>that's why I wondered if it can be generalised :P
12:56<andythenorth>bundle grfcodec with nmlc? :P
12:56<Eddi|zuHause>if you go on, you land on my ignore list
12:57<andythenorth>I wasn't trolling that one :P
12:57<andythenorth>grfcodec is a pretty good tool
12:59<andythenorth>some of the suggestions for nml speed have revolved around 'rewrite in C++'
12:59<andythenorth>meanwhile frosch has tested disk caching the nmlc tree structure and it's a poor tradeoff
12:59<andythenorth>but nfo is a perfect intermediate format, and we already have the encoder
13:00<andythenorth>and it's very very fast
13:00<Eddi|zuHause>but both are fine standalone tools, there is no need to "bundle" them
13:05<andythenorth>people who need the nmlc.exe won't be able to get grfcodec?
13:05<andythenorth>dunno
13:06<andythenorth>I have no idea actually
13:07<Eddi|zuHause>you're just making compiling and distributing more complicated for no benefit
13:07<Eddi|zuHause>people who can install nmlc.exe can also install grfcodec.exe
13:07<andythenorth>ok so it would just be a dep
13:08<Eddi|zuHause>grfcodec is not a dep of nmlc
13:08<andythenorth>I know
13:08<andythenorth>nvm
13:08<Eddi|zuHause>your makefile just has two deps
13:08<andythenorth>I just find it depressing that the general case doesn't get improved
13:08<andythenorth>I do things to make my compiles faster
13:08<andythenorth>but nobody else benefits
13:08<andythenorth>it always comes back to 'rewrite nmlc properly'
13:09<andythenorth>but there's nobody even maintaining the docs right now
13:09<andythenorth>so that's not gonna happen
13:10<andythenorth>I just wondered how many lines it would be to add an arg, so that grfcodec is the encoder
13:10<andythenorth>and have nmlc do a diff on the .nml file before parsing
13:11<andythenorth>it was surprisingly quick to do for me in my compile, and I wish I'd thought of it before :P
13:11<andythenorth>python subprocess is a bit of a faff though
13:19<Eddi|zuHause>andythenorth: no, that is out of scope for a compile tool
13:21<andythenorth>oh well
13:21<andythenorth>I'll just keep solving my own problems then
13:22<andythenorth>that might be fine, nobody else seems to have nmlc problems
13:35-!-Gumle2 [AdiIRC@80-196-34-14-cable.dk.customer.tdc.net] has quit []
14:14-!-cHawk [cHawk@160-3-247-182.cpe.cableone.net] has quit [Remote host closed the connection]
14:37-!-cHawk [cHawk@160-3-247-182.cpe.cableone.net] has joined #openttd
14:37-!-cHawk is "realname" on #debian-offtopic #debian-next #openttd #debian
15:10-!-gelignite [~gelignite@55d47078.access.ecotel.net] has quit [Quit: Good fight, good night!]
15:26-!-snail_UES_ [~snail_UES@cpe-98-14-137-148.nyc.res.rr.com] has quit [Quit: snail_UES_]
15:31<andythenorth>was it lunch?
15:34-!-Gumle2 [AdiIRC@80-196-34-14-cable.dk.customer.tdc.net] has joined #openttd
15:34-!-Gumle2 is "Martin" on #ceph #bcache #openttd
15:42<@peter1138>not yet
15:45<andythenorth>did you finish Doom yet?
15:46-!-Wolf01 [~wolf01@0001288e.user.oftc.net] has quit [Quit: Once again the world is quick to bury me.]
15:58-!-Supercheese [~Superchee@cpe-98-146-230-183.natnow.res.rr.com] has joined #openttd
15:58-!-Supercheese is "Caseum" on #openttd
16:06-!-cHawk [cHawk@160-3-247-182.cpe.cableone.net] has quit [Remote host closed the connection]
16:06-!-Gumle2 [AdiIRC@80-196-34-14-cable.dk.customer.tdc.net] has quit []
16:08<@peter1138>Which Doom? I've been playing WADs for Doom II, and also the 2016 remake.
16:16-!-cHawk [cHawk@160-3-247-182.cpe.cableone.net] has joined #openttd
16:16-!-cHawk is "realname" on #debian-offtopic #debian-next #openttd #debian
16:17<Eddi|zuHause>i don't think i had lunch
16:20-!-natmac[m] [~natmacmen@2001:470:1af1:101::37cc] has joined #openttd
16:20-!-natmac[m] is "@natmac:mental.af" on #openttd #debian-ruby #mm #Qubes_OS
16:20<frosch123>you should be amout done with the late dinner, and prepare for the midnight snack
16:21<frosch123>*about
16:31*andythenorth wonders if newgrf vehicles could modify cargo price factor
16:31*andythenorth assumes that might have performance issues
16:32<Eddi|zuHause>the industry set can define custom price calculation, afair
16:34<andythenorth>hmm
16:34<andythenorth>there is a cb for custom profit yes
16:35<andythenorth>I am a bit wary of diverging too far from the cargo payment graphs
16:35<andythenorth>I did try to make vehicle aging period 'work' on small maps by setting aggressive t1, t2 decay periods on some cargos
16:36<andythenorth>but it makes very little difference until about 128 tiles (subject to vehicle speed)
16:36<Eddi|zuHause>that seems like the intended purpose
16:38<andythenorth>I tested quite a few things, but concluded that 'make cargo age periods work' isn't going in Horse 2.0.0
16:38<andythenorth>obvs. they do work, just Horse was designed against a misunderstanding of them
17:00-!-frosch123 [~frosch@00013ce7.user.oftc.net] has quit [Quit: be yourself, except: if you have the opportunity to be a unicorn, then be a unicorn]
17:03-!-andythenorth [~andytheno@cpc87219-aztw31-2-0-cust178.18-1.cable.virginm.net] has quit [Quit: andythenorth]
17:18-!-sla_ro|master2 [~sla.ro@84.117.88.126] has joined #openttd
17:18-!-sla_ro|master2 is "slamaster" on #sla #openttd
17:22-!-sla_ro|master [~sla.ro@84.117.88.126] has quit [Ping timeout: 480 seconds]
17:36-!-grossing [pcjL3Fx5WZ@eltanin.uberspace.de] has joined #openttd
17:36-!-grossing is "Florian Gross" on #openttd #centos #oftc #kaschemme #osm-de-ot
17:46-!-sla_ro|master2 [~sla.ro@84.117.88.126] has quit []
17:54-!-nielsm [~nielsm@176-23-103-56-cable.dk.customer.tdc.net] has quit [Ping timeout: 480 seconds]
17:59-!-_lpx [~lpx@nat-178-19-232-4.net.encoline.de] has joined #openttd
17:59-!-_lpx is "Lyle Lack Leopold Penxicles III" on #openttd
18:00-!-Thedarkb [~beno@51-171-48-246-dynamic.agg3.kny.prp-wtd.eircom.net] has joined #openttd
18:00-!-Thedarkb is "realname" on #/r/openttd #openttd #oolite
18:00-!-lpx [~lpx@00029182.user.oftc.net] has quit [Ping timeout: 480 seconds]
18:09-!-_lpx is now known as lpx
18:30-!-Progman [~progman@p57A2BC0C.dip0.t-ipconnect.de] has quit [Remote host closed the connection]
18:35-!-Thedarkb [~beno@51-171-48-246-dynamic.agg3.kny.prp-wtd.eircom.net] has quit [Remote host closed the connection]
18:35-!-Thedarkb [~beno@51-171-48-246-dynamic.agg3.kny.prp-wtd.eircom.net] has joined #openttd
18:35-!-Thedarkb is "realname" on #/r/openttd #openttd #oolite
18:35-!-Thedarkb1 [~beno@51-171-48-246-dynamic.agg3.kny.prp-wtd.eircom.net] has joined #openttd
18:35-!-Thedarkb1 is "realname" on #/r/openttd #openttd #oolite
18:53-!-HerzogDeXtEr [~farci@ip92340ed4.dynamic.kabel-deutschland.de] has quit [Read error: Connection reset by peer]
19:02-!-Supercheese [~Superchee@cpe-98-146-230-183.natnow.res.rr.com] has quit [Quit: Valete omnes]
19:24-!-Thedarkb [~beno@51-171-48-246-dynamic.agg3.kny.prp-wtd.eircom.net] has quit [Ping timeout: 480 seconds]
19:24-!-Thedarkb1 [~beno@51-171-48-246-dynamic.agg3.kny.prp-wtd.eircom.net] has quit [Ping timeout: 480 seconds]
19:26-!-snail_UES_ [~snail_UES@cpe-98-14-137-148.nyc.res.rr.com] has joined #openttd
19:26-!-snail_UES_ is "Jacopo Coletto" on #openttd
19:28-!-arikover [~user@x4e36cc9c.dyn.telefonica.de] has quit [Read error: Connection reset by peer]
19:31-!-Wormnest [~Wormnest@35.136.176.177] has quit [Ping timeout: 480 seconds]
19:31-!-Thedarkb [~beno@51-171-48-246-dynamic.agg3.kny.prp-wtd.eircom.net] has joined #openttd
19:31-!-Thedarkb is "realname" on #oolite #openttd #/r/openttd
19:31-!-Thedarkb1 [~beno@51-171-48-246-dynamic.agg3.kny.prp-wtd.eircom.net] has joined #openttd
19:31-!-Thedarkb1 is "realname" on #oolite #openttd #/r/openttd
20:14-!-Thedarkb1 [~beno@51-171-48-246-dynamic.agg3.kny.prp-wtd.eircom.net] has quit [Ping timeout: 480 seconds]
20:15-!-Thedarkb [~beno@51-171-48-246-dynamic.agg3.kny.prp-wtd.eircom.net] has quit [Ping timeout: 480 seconds]
22:17-!-Flygon [~Flygon@114-198-97-40.dyn.iinet.net.au] has joined #openttd
22:17-!-Flygon is "Flygon" on #openttd
22:20-!-debdog [~debdog@2a00:79c0:606:7d00:7a24:afff:fe8a:d04d] has joined #openttd
22:20-!-debdog is "Wowbagger" on #bitlbee #openttd
22:23-!-D-HUND [~debdog@2a00:79c0:654:3900:7a24:afff:fe8a:d04d] has quit [Ping timeout: 480 seconds]
22:45-!-Samu [~Ricardo@pa4-84-91-142-34.netvisao.pt] has quit [Ping timeout: 480 seconds]
22:50-!-Supercheese [~Superchee@cpe-75-87-252-143.natnow.res.rr.com] has joined #openttd
22:50-!-Supercheese is "Caseum" on #openttd
23:00-!-Wormnest [~Wormnest@35.136.176.177] has joined #openttd
23:00-!-Wormnest is "Wormnest" on #openttd
23:00-!-Wormnest [~Wormnest@35.136.176.177] has quit []
23:05-!-glx [kvirc@000128ec.user.oftc.net] has quit []
---Logclosed Mon May 20 00:00:48 2019