Times are UTC Toggle Colours
00:11:59 *** Supercheese has quit IRC 00:12:20 *** Supercheese has joined #openttd 00:33:51 <DorpsGek_II> [OpenTTD/OpenTTD] kiwitreekor commented on issue #7562: Feature Request: Add drag functionality to land purchase tool https://git.io/fjnar 00:48:01 <DorpsGek_II> [OpenTTD/OpenTTD] michicc updated pull request #7572: GDI engine for font glyph rendering as a replacement for FreeType (take 2) https://git.io/fjngD 00:48:17 <DorpsGek_II> [OpenTTD/OpenTTD] michicc commented on pull request #7572: GDI engine for font glyph rendering as a replacement for FreeType (take 2) https://git.io/fjna6 01:24:20 *** Samu has quit IRC 01:50:54 *** tokai has joined #openttd 01:50:54 *** ChanServ sets mode: +v tokai 01:57:55 *** tokai|noir has quit IRC 02:23:03 *** Flygon has joined #openttd 02:31:41 *** D-HUND has joined #openttd 02:35:03 *** debdog has quit IRC 02:36:40 *** adikt has joined #openttd 02:38:58 *** chomwitt has quit IRC 03:01:11 *** glx has quit IRC 03:35:20 *** HerzogDeXtEr has quit IRC 03:39:41 *** supermop_Home has joined #openttd 03:46:43 *** Wormnest has quit IRC 04:45:17 *** Supercheese has quit IRC 04:45:39 *** Supercheese has joined #openttd 05:41:46 *** nielsm has joined #openttd 05:44:43 *** gareppa has joined #openttd 05:45:51 *** gareppa has quit IRC 06:13:34 *** andythenorth has joined #openttd 06:19:14 <andythenorth> moin 06:31:36 <nielsm> ehlo 07:11:52 <andythenorth> Horse 88% complete 07:11:57 <andythenorth> it was 94% but eh 07:18:28 <nielsm> :D 07:19:21 <LordAro> never go full andy 07:20:12 <andythenorth> I am about to make it 85% :P 07:20:21 <andythenorth> I made a new FIRS v4 Steeltown 07:20:25 <andythenorth> needs many new wagons :P 07:28:27 <andythenorth> what to call this wagon type? https://www.tosh-railways.com/Wagons/87-sncf-france/400-429/i-QcVXBDQ/A 07:28:44 <andythenorth> in UK railway terms, it's unambiguously 'plate wagon' 07:28:51 <andythenorth> probably fails to translate 07:36:21 <DorpsGek_II> [OpenTTD/OpenTTD] Hexus-One updated pull request #7568: Change: Default setting of "Advertise" in server browser to "Yes" https://git.io/fjn0m 07:36:55 <DorpsGek_II> [OpenTTD/OpenTTD] Hexus-One commented on pull request #7568: Change: Default setting of "Advertise" in server browser to "Yes" https://git.io/fjnrl 07:40:04 *** sla_ro|master has joined #openttd 07:43:22 *** stefino has joined #openttd 07:46:55 *** stefino has quit IRC 07:50:10 <Eddi|zuHause> andythenorth: i'd probably file those under "flat wagon" 07:50:51 <andythenorth> germany seems to 07:51:41 <Eddi|zuHause> and wikipedia doesn't seem to know the term "plate wagon" 07:54:39 <andythenorth> 'low-side wagon' is used by model train shops 07:58:11 * andythenorth lost in UIC wagon codes 07:58:35 <nielsm> low-side wagon is pretty clear imo 07:58:39 <andythenorth> https://en.wikipedia.org/wiki/UIC_classification_of_goods_wagons 07:59:11 <nielsm> danish seems like it's called an open wagon, but that may as well be a minerals car without cover 08:00:30 <andythenorth> low-side https://hattonsimages.blob.core.windows.net/products/5914-U_3227837_Qty1_ruler.jpg 08:00:43 <andythenorth> high-side https://hattonsimages.blob.core.windows.net/products/5850Marklin-PO_3427024_Qty1_1.jpg 08:00:59 <andythenorth> the low-side ones seem to be classified mostly as flat, because sides are removable 08:01:14 <andythenorth> that's not relevant for newgrf purposes :D 08:02:03 <nielsm> open flat wagon 08:02:46 *** APTX_ has quit IRC 08:04:53 *** APTX_ has joined #openttd 08:07:17 <andythenorth> hmm 08:07:20 <andythenorth> what to refit them to 08:07:39 <andythenorth> the sides are 1px high, not sure they can carry bulk cargos like coal ;P 08:08:23 <Eddi|zuHause> they can be used for bulk cargos like sand that you use on construction sites (the lower sides makes it easier to access) 08:08:47 *** APTX_ has quit IRC 08:09:34 <Eddi|zuHause> probably machine parts and stuff 08:09:41 <andythenorth> yeti 08:09:56 <Eddi|zuHause> plausible :p 08:12:33 <andythenorth> https://photos.smugmug.com/Wagons/Updates/2017-Summer/i-GV5c9nX/0/a694a463/L/803360045-1%2047%20Kls-L.jpg 08:12:49 <Eddi|zuHause> that's what i meant 08:12:59 <andythenorth> I actually want them for FIRS vehicle parts, which is exactly this https://www.modellbahnshop-lippe.com/article_data/images/43/313942_c.jpg 08:13:16 <Eddi|zuHause> that's also what i meant :) 08:14:10 <andythenorth> DB wagon manual says " for transporting bulk materials, such as loose rock, aggregate, and sand, or concentrated loads, like iron and steel products, natural stone, semi-finished products, machinery and vehicles" 08:16:04 <andythenorth> eh https://www.tt-forums.net/download/file.php?id=207914 08:16:23 <andythenorth> not my taste, but the czech guys can definitely CGI well 08:19:49 *** Progman has joined #openttd 08:35:27 *** Wolf01 has joined #openttd 08:37:03 <Eddi|zuHause> but they didn't separate the trolley and tram catenary 08:38:23 <Eddi|zuHause> also, i can't imagine that traffic sign to work right 08:49:56 <Wolf01> Meh, tried to scroll an image again 08:50:37 <Eddi|zuHause> that happens all the time :p 08:51:40 <Wolf01> Also, I figured out after 2 months that I didn't cover the forest with the station catchement area in mashinky 08:52:08 <Wolf01> "why no wood tokens?" 09:11:08 *** andythenorth has quit IRC 09:49:32 *** arikover has joined #openttd 09:49:40 *** arikover has quit IRC 09:50:28 *** andythenorth_ has joined #openttd 09:52:57 *** arikover has joined #openttd 09:58:31 *** andythenorth_ has quit IRC 09:59:54 *** andythenorth_ has joined #openttd 10:07:41 *** Progman has quit IRC 10:18:46 *** Corns has joined #openttd 10:20:11 *** Fuco has joined #openttd 10:23:55 <DorpsGek_II> [OpenTTD/website] auge8472 commented on pull request #85: Change: HTML5-elements and corresponding CSS-rules for the blog article template https://git.io/fjnoS 10:25:55 <DorpsGek_II> [OpenTTD/website] auge8472 commented on pull request #84: Change: semantic HTML-elements for the pages main sections and corresponding CSS-rules https://git.io/fjno9 10:34:33 <DorpsGek_II> [OpenTTD/website] auge8472 commented on pull request #84: Change: semantic HTML-elements for the pages main sections and corresponding CSS-rules https://git.io/fjnod 11:21:29 *** chomwitt has joined #openttd 11:22:50 *** supermop_Home has quit IRC 11:31:45 *** andythenorth has joined #openttd 11:41:59 *** Progman has joined #openttd 11:42:26 <DorpsGek_II> [OpenTTD/website] auge8472 commented on issue #77: Download links in header too long https://git.io/fjnK1 11:45:19 <Artea> fuck 11:45:29 <Artea> 17 aircraft crashed :( 11:56:19 <andythenorth> this is a PITA wagon type https://flic.kr/p/ainEr8 11:56:26 <andythenorth> it's not symmetrical :P 11:56:48 <Wolf01> :D 12:00:26 <andythenorth> I could make it symmetrical 12:00:29 <andythenorth> https://www.flickr.com/photos/zorkz/8609408001/in/photolist-e7Mt3Z-by8McB-ovciB3-Cm6Yz8-r1TMea-aoyBiF-i6sbFf-bkdGxf-fmYEKa-2fbdQFj-Wj1eVa-2f1BYRR-cGAfRu-r1zqU8-29K4M97-dCDkMX-7zPM2z-Jgyuhw-das3DQ-73xtW9-YtSoYE-pa1X76-6nJNYS-RJsfSR-NfDJnG-SNaFDf-28YYKTd-nxR4j5-HwvDrP-KXAwDZ-q2N1fQ-NbjNvY-dyosB1-QW46MF-p9kvyG-JwD7ws-raKejH-RpxzXY-BWFR1M-ZYgu5r-uNZJZM-HGis4G-CELr4r-qRuaKg-FcyQWv-Szum5s-PHdsHA-VbokDM-Q4Fmph-HGFJEC 12:00:56 <Wolf01> Nope, that's another one :P 12:02:50 <andythenorth> I could cheat 12:10:18 *** Smedles has joined #openttd 12:13:17 *** Smedles_ has quit IRC 12:17:02 <DorpsGek_II> [OpenTTD/OpenTTD] clzls commented on issue #7567: Chinese(simplified) can not be shown correctly https://git.io/fjn6O 12:21:31 <peter1138> Is it lunch time? 12:30:21 <DorpsGek_II> [OpenTTD/website] auge8472 updated pull request #85: Change: HTML5-elements and corresponding CSS-rules for the blog article template https://git.io/fjmXN 12:43:00 <andythenorth> is cat? 12:43:02 * andythenorth had lunch 12:43:43 <andythenorth> is someone rebuilding the website then? 12:49:08 *** TinoDidriksen has quit IRC 12:49:53 <peter1138> Well. Not me. 12:51:16 <DorpsGek_II> [OpenTTD/OpenTTD] michicc updated pull request #7572: GDI engine for font glyph rendering as a replacement for FreeType (take 2) https://git.io/fjngD 12:53:51 <DorpsGek_II> [OpenTTD/OpenTTD] michicc commented on pull request #7572: GDI engine for font glyph rendering as a replacement for FreeType (take 2) https://git.io/fjn6y 12:59:22 *** TinoDidriksen has joined #openttd 12:59:53 *** TinoDidriksen is now known as Guest1823 13:00:08 *** Guest1823 is now known as TinoDidriksen 13:03:01 *** spnda has joined #openttd 13:08:26 *** Samu has joined #openttd 13:12:16 *** andythenorth has quit IRC 13:14:44 *** glx has joined #openttd 13:14:44 *** ChanServ sets mode: +v glx 13:30:46 <DorpsGek_II> [OpenTTD/website] auge8472 commented on pull request #85: Change: HTML5-elements and corresponding CSS-rules for the blog article template https://git.io/fjnin 13:37:54 *** Gumle2 has joined #openttd 13:50:07 *** HerzogDeXtEr has joined #openttd 13:50:30 *** frosch123 has joined #openttd 14:13:18 *** supermop_Home has joined #openttd 14:18:15 <DorpsGek_II> [OpenTTD/OpenTTD] stale[bot] commented on pull request #7213: Feature: BFS-based river generator https://git.io/fjnih 14:18:46 <DorpsGek_II> [OpenTTD/OpenTTD] PeterN approved pull request #7568: Change: Default setting of "Advertise" in server browser to "Yes" https://git.io/fjnPe 14:18:55 <DorpsGek_II> [OpenTTD/OpenTTD] PeterN merged pull request #7568: Change: Default setting of "Advertise" in server browser to "Yes" https://git.io/fjn0m 14:20:13 <Corns> yay :) 14:21:35 <Samu> hi 14:21:47 <Samu> change inflation defaults too 14:21:58 <Samu> to off, i think most ppl prefer off, i dunno 14:23:10 *** Progman has quit IRC 14:23:20 *** andythenorth has joined #openttd 14:24:00 *** Progman has joined #openttd 14:29:31 <supermop_Home> hi andythenorth 14:29:50 <andythenorth> yo 14:31:46 <peter1138> yolo 14:32:04 <andythenorth> yolo is such a WOT blitz thing 14:32:37 <peter1138> RGBCC, eh eh? 14:32:50 <andythenorth> o_O ? 14:34:30 *** Progman has quit IRC 14:59:11 <peter1138> Hmm, well, docs, I suppose. 15:03:19 <supermop_Home> so moprv seems like it works ok with master 15:10:39 *** adikt has quit IRC 15:12:03 <peter1138> It's weird how everything in it is disabled by default, though. 15:13:41 <peter1138> Also the sound effect (as least for the steam powered trucks) is a wet splot sound. Very odd :p 15:14:19 *** Wormnest has joined #openttd 15:23:01 <supermop_Home> haha 15:23:17 <supermop_Home> I have never played with sound so never knew 15:23:58 <supermop_Home> one issue I have now is that capacity is shown twice in buy menu 15:24:05 <supermop_Home> but is correct elsewhere 15:30:37 * andythenorth has gone Horse mad 15:30:47 *** Flygon has quit IRC 15:38:16 <peter1138> What do you mean by "shown twice"? 15:51:21 <supermop_Home> peter1138: https://www.tt-forums.net/viewtopic.php?p=1221437#p1221437 15:57:43 <andythenorth> isn't that just the trailers? 16:04:21 <peter1138> Only happens when cargo filter is enabled 16:04:49 <peter1138> Hmm 16:05:07 <peter1138> Might just be literally drawing it twice :p 16:05:11 <supermop_Home> hmm 16:05:23 <supermop_Home> anything I can change to fix it? 16:05:27 *** arikover has quit IRC 16:05:53 <supermop_Home> i think i'm just going to put this on bananas as is for now to get more eyes on it 16:12:08 <peter1138> No, I suspect it's an OpenTTD bug. 16:15:43 <peter1138> Yeah. 16:22:19 *** Corns has quit IRC 16:22:57 <supermop_Home> why the hell has mlss been downloaded 300k times 16:23:12 <supermop_Home> who the hell is downloading that broken trash? 16:23:27 <glx> there's a "select all" button 16:24:06 <Eddi|zuHause> supermop_Home: how are people supposed to know it 16:24:09 <Eddi|zuHause> 's trash? 16:24:15 <Eddi|zuHause> without downloading it? 16:25:25 <supermop_Home> haha 16:25:59 <supermop_Home> hmm i really need a better name than 'Mop's Generic NRT Road Vehicles' 16:26:17 *** tobias has joined #openttd 16:26:25 <glx> name's good enough 16:26:53 *** tobias is now known as Guest1836 16:27:16 <peter1138> There isn't a select all button. 16:29:30 <glx> in content download window ? 16:31:03 <Guest1836> hi all, I got trouble installing latest ottd version 1.9.1 on ubuntu 19.04 because the "libiculx60" package is missing... however I'm not sure how to install this dependency. Did anybody encouter this issue and could help me out? 16:33:04 <glx> don't know if it's easy to solve 16:33:12 <DorpsGek_II> [OpenTTD/nml] stormcone opened pull request #38: Fix: Update OTTD_GUI sprite count. https://git.io/fjnXi 16:33:51 <glx> openttd depends on an old ICU version 16:34:48 <Guest1836> hmm, yes.. the libculx60 package doesnt seem to be available for ubuntu disco dingo :( 16:36:22 <glx> https://github.com/OpenTTD/OpenTTD/issues/6922 will need to happen someday 16:36:25 <Guest1836> is it possible to compile this package manually somehow? 16:36:41 <supermop_Home> ok on bananas 16:41:29 <glx> peter1138: oh right "select all" is only when joining a server 16:47:58 <andythenorth> right 16:48:01 <andythenorth> intermodal cars 16:48:04 <andythenorth> it's time 16:48:08 <Guest1836> thanks for the info glx 16:49:36 <andythenorth> so intermodal cars refit all cargos? 16:49:45 <andythenorth> and express intermodal cars are limited refits? 16:54:10 *** Guest1836 has quit IRC 16:54:19 *** gelignite has joined #openttd 16:57:32 *** arikover has joined #openttd 17:00:49 <peter1138> glx, well yes, but that only selects what the server has in the save, right? 17:01:01 <glx> yes 17:16:25 *** Progman has joined #openttd 17:17:08 *** Gumle2 has quit IRC 17:21:24 *** Gumle2 has joined #openttd 17:24:01 <peter1138> There was a fly in my tea :( 17:24:10 <andythenorth> how many carolies? 17:24:43 * _dp_ once found a microusb connector in a tea 17:24:54 <nielsm> Internet of Tea 17:25:49 <andythenorth> tea-tea-forums 17:29:19 <peter1138> I didn't eat it... 17:31:13 <andythenorth> :o 17:31:22 <peter1138> I... have eaten too much again though :/ 17:31:26 <peter1138> Bloody snacks. 17:31:52 <andythenorth> are we supposed to be doing these bloody docs btw? :) 17:31:58 <peter1138> I'm doing it. 17:32:02 <andythenorth> super :) 17:32:04 <peter1138> Intermittently. 17:32:14 <andythenorth> if you want me to help say so, but I will just moan a lot 17:32:27 <andythenorth> TB made me do lots of boring stuff and ignored the moaning 18:31:52 *** Supercheese has joined #openttd 18:34:56 <V453000> :D 18:43:07 *** arikover has quit IRC 18:44:35 *** Wormnest has quit IRC 18:46:19 <DorpsGek_II> [OpenTTD/nml] michicc merged pull request #38: Fix: Update OTTD_GUI sprite count. https://git.io/fjnXi 18:49:09 *** arikover has joined #openttd 19:08:54 <nielsm> re. #7511 this line got me curious: https://github.com/OpenTTD/OpenTTD/blob/d04383ccf06e5f44e92e5287e391138aa78a3b7a/src/strings.cpp#L1790 19:09:21 <nielsm> but commenting it out does not affect the bug 19:10:46 <nielsm> actually reading some more code, it only affects string sorting 19:29:51 * andythenorth pixels 19:38:47 *** spnda has quit IRC 19:44:33 * peter1138 dooms 19:44:48 * andythenorth tanked 19:44:57 <andythenorth> I suspect I am destroying nmls spritecache 19:45:03 <andythenorth> nmlc info: 67120 sprites, 48 cached, 0 orphaned, 42603 duplicates, 24469 newly encoded (native) 19:45:14 <andythenorth> seems like a lot of new encodes for a change to a single wagon 19:45:22 <andythenorth> just 1 png actually changed 19:45:30 *** Maarten has quit IRC 19:45:50 <andythenorth> the graphics regenerate every time, I wonder if that invalidates the cache 19:46:13 * V453000 ruins nuts 19:49:11 <peter1138> I ruined a lot of nuts today. They were mascerated. 19:49:22 <peter1138> And now they're being digested. 19:49:31 <V453000> :d 19:49:52 <frosch123> andythenorth: it uses the timestamp of the png files 19:50:06 <frosch123> so, if that changes, nml can't do anything 19:50:59 <V453000> rekt 19:51:07 <V453000> automation disabled 19:51:11 <V453000> human touch wins 19:51:12 <V453000> GG 19:51:17 <V453000> man > machine 19:51:21 * V453000 will see himself out 19:57:30 <andythenorth> frosch123: I could educate my graphics generation though 19:59:07 <andythenorth> hmm 19:59:23 <andythenorth> reinventing make myself though...terrible idea :P 20:00:17 <frosch123> switch to cmake, just to break devzone compilation even more :) 20:00:28 <andythenorth> ouch 20:00:45 <andythenorth> diffing all the pngs eh 20:00:53 <andythenorth> hmm 20:01:35 *** sla_ro|master has quit IRC 20:01:41 <frosch123> how long does the nml encoding part take :p 20:02:44 <frosch123> i had a patch to make nml encoding multithreaded, but i did not fancy adding a -j option 20:05:27 <andythenorth> I will time it in a minute :) 20:05:45 *** Gumle2 has quit IRC 20:05:54 <frosch123> there is a command line option to print the time of every nml processing step 20:06:34 * andythenorth looks 20:07:09 <frosch123> maybe --verbosity=4 20:10:16 <andythenorth> https://paste.openttdcoop.org/pllddjkr6/tbmayn/raw 20:10:57 <frosch123> so, all your encoding takes 10 seconds 20:11:18 <frosch123> if we make it use 8 cores, you would save 8.75 seconds 20:11:23 <frosch123> worth it? 20:11:24 <andythenorth> even though I blitz the cache 20:11:36 <andythenorth> worth it to me 20:11:43 <andythenorth> is it worth not destroying the cache though? 20:11:44 <andythenorth> let's see 20:11:54 <glx> using 1 big png or many small ones ? 20:12:16 <andythenorth> 354 small ones 20:12:44 <glx> maybe your deps are broken (knowing how you could fail at writing Makefile ;) ) 20:13:01 <LordAro> peter1138: did i win? 20:13:07 <peter1138> Probably? 20:13:23 <andythenorth> glx: the makefile is blind to the pngs 20:13:24 <LordAro> cool. 20:13:31 <andythenorth> it just runs all graphics generation every time 20:14:05 <glx> and the generation touches all the pngs then 20:14:08 <andythenorth> yes 20:14:16 <andythenorth> sprites are composited from multiple files, detecting which ones cause which output files to need rebuilt... 20:14:17 <andythenorth> is hard 20:14:48 <glx> you could generate temp png and compare their checksum 20:14:53 <andythenorth> yes 20:15:06 <andythenorth> the generation is fast enough to do that, and then only replace ones that have changed 20:15:16 <andythenorth> frosch123 this is with primed cache :P https://paste.openttdcoop.org/p7osfvab0/6sdj55/raw 20:15:24 <andythenorth> I should stop destroying the cache :( 20:16:29 <glx> just need a smarter generation 20:16:48 * frosch123 is amazed by the statistics for iron horse 20:16:58 *** Gumle2 has joined #openttd 20:17:34 <frosch123> 1 va2 register, 2 concurrent spritesets, but 25k sprites :p 20:17:48 <andythenorth> I have been considering rewriting it 20:17:55 <andythenorth> to optimise for the compiler 20:17:58 <andythenorth> instead of the author 20:18:10 <andythenorth> currently it's optimised for ease of adding vehicles 20:18:54 <glx> theorically the author should not care about optimising for the compiler 20:19:01 <andythenorth> I need to count how often I compile to check cargo sprites vs how often I check vehicle sprites 20:19:07 <glx> it's the compiler job to optimise stuff 20:19:16 <andythenorth> I might have to move all the cargo sprites into graphics layers 20:19:36 <andythenorth> which are orders of magnitude slower to QA compared to spritesheets 20:19:41 <andythenorth> but don't change very often 20:20:29 <andythenorth> there is a *lot* of repetition of cargo sprites composited into specific vehicles 20:20:43 * andythenorth counts 20:20:55 *** gelignite has quit IRC 20:21:10 <glx> I guess compiler should detect that and factorise 20:21:37 <andythenorth> I don't think it can do that for actual graphic 20:21:39 <andythenorth> graphics * 20:22:29 *** Gumle2 has quit IRC 20:23:05 <andythenorth> this is a typucal wagon https://dev.openttdcoop.org/attachments/download/9431/open_car_pony_gen_6B.png 20:23:21 <andythenorth> about 72 or so rows of "wagon composited with cargo" 20:23:58 <andythenorth> it's just very slow to check the results 20:24:08 <andythenorth> have to run a game, and test every cargo 20:24:14 <andythenorth> takes literally hours 20:25:36 * andythenorth has a idea 20:25:38 <andythenorth> an * 20:26:13 <glx> can't use some kind of return base + cargo_offset ? 20:26:50 * glx knows nothing in grf world 20:26:59 <andythenorth> I use layers for pantographs on electric trains 20:27:06 <andythenorth> because they have up / down states 20:27:07 <andythenorth> https://dev.openttdcoop.org/attachments/download/9432/helm_wind_cab_pantographs_up.png 20:27:53 <andythenorth> I know the location points for the pan in the spritesheet, so I (1) composite the train + pan in a spritesheet, for fast checking (2) just use layers in game, and don't need to check them 20:27:59 <andythenorth> could do same for cargos 20:28:12 <andythenorth> draw them all in spritesheet, but use layers in game 20:29:57 <andythenorth> let's test if it's faster :) 20:32:31 <andythenorth> removing the cargos is 0.4s faster on graphics generation 20:33:19 <andythenorth> maybe about 2s faster for nml 20:35:39 <andythenorth> frosch123: 42603 duplicates <- is that significant / worth worrying about? 20:36:28 <frosch123> the grf will be big 20:36:37 <frosch123> nml does not yet skip duplicates in the output 20:37:05 <frosch123> not sure whether ottd would 20:37:46 <frosch123> container 2 format could handle duplicates and share their space. but the support is incomplete 20:39:37 <andythenorth> presumably I could stop generating so many? 20:39:46 <andythenorth> generated code tends to be noisy and redundant 20:40:00 <frosch123> do you know which sprites are duplicate? 20:40:11 <frosch123> closed wagons with loading stages or something? 20:40:21 <andythenorth> something like that 20:40:43 <andythenorth> can I get it to sort them into sets? :P 20:40:45 <frosch123> hmm, i wonder how nml counts them 20:40:56 <frosch123> does it compare the pixel data, or just the source location 20:41:51 <andythenorth> duno 20:42:06 <andythenorth> I was assuming it counts all sprites, not just graphics? 20:42:26 <frosch123> no, it's just graphics 20:42:58 <andythenorth> hmm 20:43:11 <frosch123> those statistics are about the graphics cache 20:44:04 <andythenorth> there might be a lot of redundant sprites due to the poor choices I've made about spriteset templates 20:44:30 <andythenorth> for legacy reasons, I repeat the same 4 spriteset templates for *every* vehicle 20:44:43 <andythenorth> there are about 300 vehicles 20:46:39 <frosch123> @calc 67120 / 300 / 4 20:46:40 <DorpsGek> frosch123: 55.9333333333 20:47:01 <frosch123> 56 spritesets per vehicle? (without orientations) 20:47:57 <frosch123> maybe you also have wagon sprites for pantograph up/down :) 20:48:35 <frosch123> hmm, i guess wagons have a lot of sprites due to the cargos 20:48:39 <andythenorth> some wagons have 70 or 80 spritesets 20:48:45 <frosch123> so, hmm, engines and wagons are very different 20:49:02 <andythenorth> I should try and unpick this 20:55:36 <andythenorth> hmm 20:55:45 *** Wormnest has joined #openttd 21:12:27 <DorpsGek_II> [OpenTTD/OpenTTD] dorobouNeko opened pull request #7573: Fix #7561: Remove assumption between power and cost https://git.io/fjnyI 21:14:27 *** Wolf01 has quit IRC 21:14:50 * andythenorth removing duplicate spriteset templates 21:14:55 <andythenorth> no difference to timings so far :P 21:21:05 <andythenorth> maybe it cuts about 2s off parsing, but that could be just noise 21:21:18 <frosch123> how much file size? 21:21:36 <andythenorth> oof, I didn't keep a record 21:21:42 <andythenorth> once I have a commit, I'll check 21:22:01 <DorpsGek_II> [OpenTTD/website] steffhip commented on issue #77: Download links in header too long https://git.io/fjnyG 21:22:02 <DorpsGek_II> [OpenTTD/website] steffhip closed issue #77: Download links in header too long https://git.io/fjtq5 21:29:03 <andythenorth> frosch123: previously 8,606,125 bytes (9.4 MB on disk), now 7,828,566 bytes (7.8 MB on disk) 21:29:19 <andythenorth> for the nml file 21:29:56 <frosch123> i meant the .grf 21:30:10 <andythenorth> ok 1 min 21:30:11 <frosch123> but, smaller nml is probably also good :) 21:33:13 <DorpsGek_II> [OpenTTD/OpenTTD] nielsmh commented on pull request #7573: Fix #7561: Remove assumption between power and cost https://git.io/fjnyl 21:33:37 <frosch123> i am getting old 21:33:44 <frosch123> everyone using std::sort does the same mistake 21:33:58 <frosch123> at work and in ottd 21:34:02 <DorpsGek_II> [OpenTTD/OpenTTD] PeterN commented on pull request #7573: Fix #7561: Remove assumption between power and cost https://git.io/fjny8 21:34:12 <andythenorth> frosch123: resulting grf is identically sized 21:34:25 <andythenorth> no surprise, I've just consolidated spriteset templates 21:34:42 <frosch123> oh, i thought you now had less duplicates 21:34:43 <andythenorth> same size is actually a positive outcome, I didn't break anything :P 21:35:03 <andythenorth> duplicates didn't change yet 21:35:42 *** Progman has quit IRC 21:38:24 <andythenorth> 40 minutes, to save 2s on parse step :D 21:38:37 * andythenorth doesn't want to calculate if that was worth it 21:49:40 *** arikover has quit IRC 21:50:37 <andythenorth> @calc 42885 - 42603 21:50:37 <DorpsGek> andythenorth: 282 21:50:47 <andythenorth> wow, adding one wagon created 282 duplicates 21:52:51 *** Gustavo6046 has quit IRC 21:52:56 *** frosch123 has quit IRC 21:53:10 <DorpsGek_II> [OpenTTD/OpenTTD] dorobouNeko commented on pull request #7573: Fix #7561: Remove assumption between power and cost https://git.io/fjny6 21:53:31 *** Gustavo6046 has joined #openttd 22:03:35 *** nielsm has quit IRC 22:12:38 <_dp_> isn't that an integer division anyway? float va = p_a / r_a; 22:13:49 * _dp_ struggling to remember how c++ works 22:21:16 <DorpsGek_II> [OpenTTD/OpenTTD] ldpl commented on pull request #7573: Fix #7561: Remove assumption between power and cost https://git.io/fjnSe 22:23:21 <DorpsGek_II> [OpenTTD/OpenTTD] dorobouNeko commented on pull request #7573: Fix #7561: Remove assumption between power and cost https://git.io/fjnSJ 22:28:50 *** supermop_Home has quit IRC 22:32:39 *** Gustavo6046 has quit IRC 22:33:24 *** Gustavo6046 has joined #openttd 22:34:21 <andythenorth> duplicates are baffling :P 22:34:25 * andythenorth gives up 22:37:00 <DorpsGek_II> [OpenTTD/OpenTTD] dorobouNeko commented on pull request #7573: Fix #7561: Remove assumption between power and cost https://git.io/fjnS3 22:41:14 <andythenorth> oic, the duplicates are just references to the png 22:41:20 <andythenorth> that's not going to decrease then 22:41:38 *** Wormnest has quit IRC 22:42:11 *** Supercheese has quit IRC 22:42:32 *** Supercheese has joined #openttd 22:42:42 <andythenorth> maybe tomorrow I try diffing pngs before replacing :P 22:42:52 *** andythenorth has left #openttd 22:52:46 <DorpsGek_II> [OpenTTD/OpenTTD] ldpl commented on pull request #7573: Fix #7561: Remove assumption between power and cost https://git.io/fjnSW 22:54:01 <DorpsGek_II> [OpenTTD/OpenTTD] dorobouNeko updated pull request #7573: Fix #7561: Remove assumption between power and cost https://git.io/fjnyI 22:55:18 <DorpsGek_II> [OpenTTD/OpenTTD] dorobouNeko commented on pull request #7573: Fix #7561: Remove assumption between power and cost https://git.io/fjnS4 22:59:10 <DorpsGek_II> [OpenTTD/OpenTTD] dorobouNeko commented on pull request #7573: Fix #7561: Remove assumption between power and cost https://git.io/fjnSE 23:07:03 <DorpsGek_II> [OpenTTD/OpenTTD] dorobouNeko updated pull request #7573: Fix #7561: Remove assumption between power and cost https://git.io/fjnyI 23:09:26 <DorpsGek_II> [OpenTTD/OpenTTD] dorobouNeko commented on pull request #7573: Fix #7561: Remove assumption between power and cost https://git.io/fjnSo 23:10:23 *** grorg[m] has left #openttd 23:10:41 *** Gustavo6046 has quit IRC 23:11:25 *** Gustavo6046 has joined #openttd