IRC logs for #openttd on OFTC at 2022-12-12
            
00:04:34 <glx[d]> oh no full rebuild πŸ™‚
00:07:46 *** Soni has quit IRC (Ping timeout: 480 seconds)
00:09:04 *** Tirili has quit IRC (Ping timeout: 480 seconds)
00:09:30 *** Tirili has joined #openttd
00:14:27 <DorpsGek> [OpenTTD/OpenTTD] glx22 commented on issue #10208: [Bug]: NRT road tunnels lack custom overlays https://github.com/OpenTTD/OpenTTD/issues/10208
00:32:50 <DorpsGek> [OpenTTD/OpenTTD] PikkaBird commented on issue #10208: [Bug]: NRT road tunnels lack custom overlays https://github.com/OpenTTD/OpenTTD/issues/10208
00:43:58 *** HerzogDeXtEr1 has quit IRC (Read error: Connection reset by peer)
01:01:13 <petern> So...
01:30:00 <Pruple> soso
01:35:46 <petern> Cool, default ground tiles are -124, not -128.
01:35:58 <Pruple> yes
01:36:23 <Pruple> everything in most base sets and newgrfs is shifted one px to the right πŸ™‚
01:36:40 <petern> Stupid off-by-one
01:37:06 <Pruple> I fix it in my newgrfs
01:37:25 <Pruple> which is why most train grfs don't quite line up with the notbase tracks πŸ˜‰
01:44:36 <petern> Oh.
01:44:38 <petern> It snew.
01:45:39 <petern> Offsets eh? What a can of worms.
01:50:14 <petern> So everyone modelled their shorter vehicle offsets of the MJS 250, which is an 8/8 vehicle but only half filled
01:51:01 <Pruple> yes, offsets are going to depend on template
01:51:58 <Pruple> and again, I fix it in my UKRS3 workflow... I draw everything on an 8/8 template and shorten vehicles at the back, the offsets stay the same. πŸ™‚
01:55:18 *** _aD has quit IRC (Quit: leaving)
01:55:19 <Pruple> moving to 32bpp / ez was really good, I got to throw out all the bad newgrf habits and start from scratch
01:59:36 <petern> UKRS3 offsets are all weird too
01:59:40 <petern> No free passes
02:00:25 <Pruple> after compiling, sure, because the sprites get cut to size
02:03:26 <Pruple> before compiling, each vertical sprite, each horizontal sprite, and each diagonal sprite has the same offsets, regardless of vehicle length or direction.
02:04:55 <petern> https://cdn.discordapp.com/attachments/1008473233844097104/1051681021571121183/image.png
02:04:55 <petern> That's how UKRS3 solves it πŸ˜‰
02:05:08 <Pruple> ?
02:05:37 <Pruple> you can reverse all the non-articulated locos
02:06:25 <Pruple> you can't reverse shortened wagons because there'd be no point and it would add unnecessary sprites, they'd look the same
02:08:33 <petern> Hmm, your vertical sprites look too long
02:08:59 <petern> Probanly the stretching bollocks πŸ˜„
02:09:20 <Pruple> yes
02:10:13 <Pruple> they're dimensonally correct against the horizontal sprites, eg a line 16px long horizontal will be 8px high vertical
02:10:21 <Pruple> but the diagonals are squashed, as always
02:14:11 <Eddi|zuHause> i think i first noticed this with the earky post wagons in DBSetXL
02:15:15 <Eddi|zuHause> i have no idea when this was. but i'm fairly sure that was the reason why it ultimately was disabling reversing for shortened vehicles
02:15:35 <Eddi|zuHause> ... who even wrote the reversing patch?
02:26:54 <Pruple> but yeah, the 1px to the right thing was a bugger for offsets, because it meant nothing was quite symmetrical
03:19:58 *** Flygon has joined #openttd
03:25:34 *** Soni has joined #openttd
03:28:58 <DorpsGek> [OpenTTD/OpenTTD] glx22 commented on issue #10208: [Bug]: NRT road tunnels lack custom overlays https://github.com/OpenTTD/OpenTTD/issues/10208
03:53:16 *** Wormnest has quit IRC (Quit: Leaving)
03:54:47 *** D-HUND has joined #openttd
03:58:09 *** debdog has quit IRC (Ping timeout: 480 seconds)
04:14:41 <DorpsGek> [OpenTTD/OpenTTD] PikkaBird commented on issue #10208: [Bug]: NRT road tunnels lack custom overlays https://github.com/OpenTTD/OpenTTD/issues/10208
04:20:02 <DorpsGek> [OpenTTD/OpenTTD] PikkaBird commented on issue #10208: [Bug]: NRT road tunnels lack custom overlays https://github.com/OpenTTD/OpenTTD/issues/10208
04:34:49 *** pip[m] has joined #openttd
04:34:50 *** pip[m] has left #openttd
04:57:02 <DorpsGek> [OpenTTD/OpenTTD] glx22 commented on issue #10208: [Bug]: NRT road tunnels lack custom overlays https://github.com/OpenTTD/OpenTTD/issues/10208
04:57:16 *** keikoz has joined #openttd
04:58:08 <Eddi|zuHause> <petern> For horizontal or vertical, it's the centre. <-- i think that's just because the bounding box corner happens to be at the center (x-coordinate), however, the y coordinate is still offset. (which might be the origin of the weird depot y-offset
05:03:03 <DorpsGek> [OpenTTD/OpenTTD] PikkaBird commented on issue #10208: [Bug]: NRT road tunnels lack custom overlays https://github.com/OpenTTD/OpenTTD/issues/10208
05:10:19 *** Tirili has quit IRC (Quit: Leaving)
05:59:52 *** tokai has joined #openttd
05:59:52 *** ChanServ sets mode: +v tokai
06:05:19 *** keikoz has quit IRC (Ping timeout: 480 seconds)
06:16:45 <Pruple> https://cdn.discordapp.com/attachments/1008473233844097104/1051744399870148678/Chundnor_End_Transport_1902-12-23.png
06:16:45 <Pruple> some interesting river generation πŸ™‚
06:27:23 <DorpsGek> [OpenTTD/OpenTTD] PikkaBird commented on issue #10231: [Bug]: GRF vehicles < 8/8 long need special handling of action 1 realsprites when reversed (flipped) https://github.com/OpenTTD/OpenTTD/issues/10231
06:30:48 <DorpsGek> [OpenTTD/OpenTTD] PikkaBird commented on issue #10218: [Bug]: Banks of wide rivers on sloped terrain https://github.com/OpenTTD/OpenTTD/issues/10218
07:23:36 *** sla_ro|master has joined #openttd
08:03:00 *** supermop_toil has quit IRC (Read error: Connection reset by peer)
08:07:45 <DorpsGek> [OpenTTD/OpenTTD] andythenorth commented on issue #10231: [Bug]: GRF vehicles < 8/8 long need special handling of action 1 realsprites when reversed (flipped) https://github.com/OpenTTD/OpenTTD/issues/10231
08:08:14 *** gelignite has joined #openttd
08:08:16 <Eddi|zuHause> <andythenorth> Eddi has explained to me at least twice why we can't reverse articulated engines <-- mainly it's because you have to also reorder the articulated parts
08:19:58 <andythenorth> reverse the array and copy properties?
08:20:21 <andythenorth> but then grf code might be expecting certain IDs or other vars?
08:20:25 <reldred> Mmmmm, got my 5800X3D installed
08:20:43 <reldred> now lets just play openttd
08:21:11 <reldred> I really need to make that newrocks .grf
08:22:58 <Eddi|zuHause> andythenorth: it involves weird pointer reattaching, because trains are a linked list, not an array
08:25:25 <andythenorth> let's rebuild everything πŸ˜›
08:25:51 <Eddi|zuHause> frosch probably made a plan for that
08:26:51 <reldred> mmm, bitmap font with chunky bevels looks better
08:26:58 <reldred> verigud
08:28:03 *** gelignite has quit IRC (Quit: Stay safe!)
08:49:16 <EmperorJake> reldred: I'm thinking of upgrading to one of those, how does it perform in ottd? I'd be curious how it compares to the M2
08:49:58 *** HerzogDeXtEr has joined #openttd
08:54:02 <reldred> Dunno. None of my saves stressed my 3600x
08:54:12 <reldred> I bought the 5800X3D for other nonsense.
09:09:27 <andythenorth> do max ffwd on Wentbourne πŸ˜›
09:09:30 <andythenorth> uncapped
09:10:51 <andythenorth> ok maybe I can make variants all use a shared action 2 / 1 chain
09:10:53 <andythenorth> hmm
09:11:03 <andythenorth> why are action 1s bad again?
09:38:33 <petern> There was one patch that allowed a train's engine to be anywhere in the consist, not just the front.
09:40:06 <petern> Proper snow here now.
09:57:56 <LordAro> nothing here :(
09:58:20 <Pruple> nothing worse than improper snow
10:09:35 <FLHerne> today is a lot milder than yesterday here
10:09:59 <FLHerne> the canal is thawing a bit
10:10:30 <andythenorth> Pruple: improper snow angels?
10:10:37 <andythenorth> improper yellow snow?
10:10:44 <FLHerne> Yesterday I went canoeing but it didn't work too well :-( https://www.flherne.uk/files/VID-20221211-WA0010.mp4
10:10:55 <FLHerne> [dog barking warning]
10:11:07 <LordAro> :D
10:11:24 <FLHerne> canaltypes when
10:19:19 <TallTyler> Pruple: I’m going to work on fixing this today, although I won’t be able to open a PR until I get internet service connected at my new apartment. 🫀
10:34:00 <reldred> oh no i spent all night grfing and didnt eat dinner
10:34:19 <petern> Have breakfast
10:35:48 <reldred> fortunately, it is not quite that late
10:55:55 *** gelignite has joined #openttd
11:19:54 <petern> Mouse wheel sprite aligner: Zoom or adjust offsets?
11:52:13 *** D-HUND is now known as debdog
12:04:03 <glx[d]> Zoom feels logical
12:06:08 *** sla_ro|master has quit IRC ()
12:16:21 <petern> Probably. We'd have to implement shift-scroll for horizontal adjustment, and that would break our commitment to estimate costs πŸ˜„
12:16:31 <LordAro> :D
12:17:01 <LordAro> i think i'm ok with shift-scroll not estimating the cost of scrolling
14:04:47 *** tokai|noir has joined #openttd
14:04:47 *** ChanServ sets mode: +v tokai|noir
14:11:46 *** tokai has quit IRC (Ping timeout: 480 seconds)
14:25:09 <petern> What's missing from it is a sprite sheet.
14:25:23 <petern> Pick sprite is cool 'n all but.
14:26:04 <petern> Limitation disturbs me very sprites?
14:27:34 *** birdjj has quit IRC (Remote host closed the connection)
14:27:56 <petern> I guess GETS' weird offsets in diagonal views is the articulated longer engines hack.
14:28:24 *** birdjj has joined #openttd
14:28:49 <petern> https://cdn.discordapp.com/attachments/1008473233844097104/1051868233210282124/image.png
14:28:49 <petern> 🀷
14:30:10 <petern> https://cdn.discordapp.com/attachments/1008473233844097104/1051868571233435719/image.png
14:30:10 <petern> Checks out...
14:49:03 *** nielsm has joined #openttd
15:09:07 *** gelignite has quit IRC (Read error: Connection reset by peer)
15:09:34 *** gelignite has joined #openttd
16:02:56 *** sla_ro|master has joined #openttd
16:09:16 <petern> Aligns with the rest of itself though πŸ™‚
16:09:51 <petern> In case the author is reading, this is not criticism, I was just curious πŸ™‚
16:28:16 <garlic_bread42> https://cdn.discordapp.com/attachments/1008473233844097104/1051898291731824720/image.png
16:28:16 <garlic_bread42> petern: i am reading. thanks for your help on the forums btw. Looks way better now πŸ™‚
16:31:29 <petern> Nice πŸ™‚
17:12:01 *** keikoz has joined #openttd
17:15:31 *** Flygon has quit IRC (Quit: A toaster's basically a soldering iron designed to toast bread)
17:32:45 <andythenorth> https://cdn.discordapp.com/attachments/1008473233844097104/1051914521259802694/image.png
17:32:45 <andythenorth> reddit gold
17:35:56 <dP> https://cdn.discordapp.com/attachments/1008473233844097104/1051915319301636146/Screenshot_from_2022-12-12_21-35-19.png
17:35:56 <dP> also xD
17:36:21 *** Wormnest has joined #openttd
17:40:40 <andythenorth> "should have got an M1"
17:47:18 <LordAro> andythenorth: lol that reddit post
17:47:54 <andythenorth> seems it had a nice ending though πŸ™‚
17:48:08 <LordAro> playing on a phone (though admittedly a fairly beefy one), on a 1024x1024 map
17:48:12 <LordAro> "if that helps"
17:48:39 <petern> 1024x1024 "not big"
17:48:42 <petern> Kids these days
17:49:34 <petern> Mobile port of JGRPP will be the killer-app
17:50:01 <andythenorth> phone should be able to do 1024x1024 easy
17:51:10 <andythenorth> my eyes were opened some years ago when iPhone single core started markedly outstripping my intel laptop
17:51:28 <andythenorth> there's a lot of details about sustained perf. and battery life, but eh
17:52:13 <petern> M1 isn't that old is it?
17:52:57 <andythenorth> couple of years
17:53:08 <andythenorth> this is my old intel laptop https://browser.geekbench.com/macs/macbook-pro-16-inch-late-2019
17:53:22 <andythenorth> this is a 3 generation ago iPhone https://browser.geekbench.com/ios_devices/iphone-11
17:53:31 <andythenorth> multi-core is a different story
17:53:40 <andythenorth> and the iPhone will aggressively stop background processes
17:54:25 <andythenorth> ^ both devices released autumn 2019
17:55:20 <andythenorth> hmm life admin beckons
17:56:19 <petern> Those benchmarks aren't a good indication of actually in use performance.
17:56:28 <andythenorth> no
17:56:37 <andythenorth> and we don't have OpenTTD for iOS πŸ˜›
17:57:05 <andythenorth> I assumed Android phones have equally good performance though?
17:57:21 <andythenorth> maybe not their SD cards πŸ˜›
17:58:13 <andythenorth> so JGRP 16x16k maps on mobile when?
18:01:34 <petern> vehicle sprite offsets in a logical place when?
18:04:10 <petern> https://cdn.discordapp.com/attachments/1008473233844097104/1051922426247782430/image.png
18:04:10 <petern> Imagine
18:08:35 <petern> Hmm, need to up the boiler a bit again 😦
18:13:21 <kamnet> andythenorth: There is one but it appears to be a pretty poor port.
18:16:14 <petern> We don't have one, same as we don't have an Android port.
18:19:24 <dP> hm, my phone runs wentbourne at 0.3x
18:20:01 <petern> Good enough.
18:23:05 <dP> yep, and that's some cheap android phone
18:23:18 <dP> my laptop does 0.4x πŸ˜…
18:24:49 <petern> Apple M2 can get near realtime.
18:25:04 <petern> My i7 8700K is also just about 0.4x.
18:26:50 <petern> Annoying that pause doesn't pause the frame rate stats πŸ™‚
18:27:22 <petern> 75ms per tick, 35ms of that is trains.
18:27:55 <petern> I've lost about 10ms somewhere.
18:36:14 <andythenorth> petern: nice chunks
18:47:04 <DorpsGek> [OpenTTD/OpenTTD] DorpsGek pushed 1 commits to master https://github.com/OpenTTD/OpenTTD/commit/fd5de3b3660334cb2aeeb4a2cb6abd3b570061e3
18:47:05 <DorpsGek> - Update: Translations from eints (by translators)
19:26:04 <petern> Hmm, automatic variants from cargo subtype refits?
19:27:04 <petern> I'm going with no πŸ™‚
19:32:46 <andythenorth> 'might be a thing'
19:38:52 <petern> Added some more fediverse relays today, maybe I'll doom-scroll my global feed.
19:58:55 *** Wolf01 has joined #openttd
20:04:32 <garlic_bread42> petern: if that could be a thing i'd highly appreciate that 😍
20:10:51 <andythenorth> I mean...what would it even?
20:11:02 <andythenorth> πŸ˜›
20:14:53 *** HerzogDeXtEr has quit IRC (Read error: Connection reset by peer)
20:17:39 <petern> No, it can't.
20:17:54 <petern> There's too many things in the way.
20:50:58 <petern> I have to keep deleting NewGRFs to test andy's stuff.
20:57:33 <petern> Help?
20:57:57 *** nielsm has quit IRC (Ping timeout: 480 seconds)
21:00:50 <petern> https://cdn.discordapp.com/attachments/1008473233844097104/1051966886973276211/OpenTTD_20221212-variants-m355ad6335d_2022-12-12_21-00-20.mp4
21:00:50 <petern> Wut
21:01:19 <andythenorth> nice
21:01:25 <andythenorth> what now?
21:01:38 <petern> I have no idea, I have not touched movement code.
21:01:48 <andythenorth> is the snowplough flipping?
21:01:57 <andythenorth> it has some magic about reversing if it is last vehicle in consist
21:02:05 <andythenorth> /me must now try
21:02:15 <petern> It should just be leaving the depot...
21:02:33 <andythenorth> oh πŸ˜›
21:02:37 <petern> OH!
21:02:40 <petern> Wrong variable.
21:02:52 <petern> `direction =` should be `dir =`
21:03:04 <petern> direction is actually this->direction
21:03:06 <andythenorth> you broke it!
21:03:20 <petern> pro programmer
21:03:42 <andythenorth> /me tests snowploughs
21:03:43 <petern> Is there a compiler flag to require this->? πŸ˜„
21:03:45 <andythenorth> they look so weird
21:03:48 <andythenorth> who drew this?
21:03:58 <petern> Some guy
21:16:23 <petern> Right, so making / \ views work was easy.
21:19:41 <petern> Even if your offsets are all wonky πŸ˜„
21:20:04 <andythenorth> can you hard-code fixing them πŸ˜›
21:20:09 <andythenorth> thanks
21:20:16 <andythenorth> if (Horse) { fix }
21:23:36 <petern> Hmm, maybe it is.
21:27:13 <petern> ``` Direction dir = this->direction;
21:27:13 <petern> if (HasBit(this->flags, VRF_REVERSE_DIRECTION)) dir = ReverseDir(dir);```
21:27:43 <petern> ^ fixes all offsets in viewport without requiring duplicate sprites.
21:28:03 <petern> (Depot image also needs handling)
21:29:06 <petern> AFAIK it only affects manually flipped engines?
21:31:21 <petern> I'm tempted to suggest turning the flag that enables flipping into "don't flip offsets after flipping".
21:31:51 <petern> Flipping flips
21:32:22 <petern> See, I knew it was a simple fix, shame nobody reported a bug all those years ago and just came up with awkward workarounds.
21:39:13 <andythenorth> /me enjoying finding emoji reactions
21:39:18 <andythenorth> lost on irc probably πŸ˜›
21:40:33 <andythenorth> I think andythenorth went on a war against tickets
21:40:42 <andythenorth> might have discouraged new ones
21:41:20 <andythenorth> 13.0 beta 4 then?
21:42:06 <petern> Well
21:44:11 <andythenorth> https://cdn.discordapp.com/attachments/1008473233844097104/1051977794613153862/image.png
21:44:11 <andythenorth> current issue count is a nice number
21:44:16 <andythenorth> means nothing, but eh
21:47:38 <petern> Needs a new flag for backwards compatibility I guess.
21:49:44 <DorpsGek> [OpenTTD/OpenTTD] glx22 commented on issue #10208: [Bug]: NRT road tunnels lack custom overlays https://github.com/OpenTTD/OpenTTD/issues/10208
21:50:51 <andythenorth> is the flag on the vehicle, or the grf, or on the realsprite?
21:50:51 <petern> ^ We even reserved the group? Nice πŸ˜„
21:51:10 <petern> 🀷
21:52:11 <andythenorth> do it like toggle palette πŸ˜›
21:52:13 <andythenorth> make the user choose
21:53:09 <DorpsGek> [OpenTTD/OpenTTD] PeterN commented on issue #10208: [Bug]: NRT road tunnels lack custom overlays https://github.com/OpenTTD/OpenTTD/issues/10208
21:53:19 <petern> No?
21:53:35 <petern> There is already a flag per vehicle which could be used.
21:53:44 <petern> (Per engine, rather)
22:03:22 <petern> Oops, I changed a header file.
22:05:02 <glx[d]> as long as it's not stdafx
22:05:08 <andythenorth> recompile all the things?
22:05:56 <petern> Basically I can repurpose 'EF_RAIL_FLIPS' to mean do it the old way, and go back to always allowing flipping.
22:06:03 <petern> (Except articulated)
22:07:25 <petern> Hmm, I guess I should check a standard 8/8 still works ;D
22:08:04 *** keikoz has quit IRC (Ping timeout: 480 seconds)
22:10:23 <andythenorth> this would be an evil-reduction measure for Horse πŸ˜›
22:10:45 <andythenorth> the template loops are just slightly nastier because of needing to handle flipped offset
22:13:00 <petern> Hmm, okay, not quite right
22:13:15 <petern> https://cdn.discordapp.com/attachments/1008473233844097104/1051985110272069632/image.png
22:14:18 <petern> The off-by-one stuff for odd-length wagons makes it "split" πŸ™‚
22:15:50 <andythenorth> mind the gap
22:19:21 <petern> Even works.
22:19:31 <petern> I'm flipping wagons in UKRS3 which doesn't normally allow it.
22:20:49 <andythenorth> this should roughly halve the Horse filesize
22:22:38 <andythenorth> oof sleeping time arrives so soon πŸ˜›
22:22:48 <petern> Every day
22:23:11 <andythenorth> sometimes it can be avoided in a day
22:23:17 <andythenorth> usually ends badly
22:33:20 *** gelignite has quit IRC (Quit: Stay safe!)
22:50:38 <DorpsGek> [OpenTTD/OpenTTD] CyberHippy1991 opened issue #10232: [Crash]: Black screen on startup and crash https://github.com/OpenTTD/OpenTTD/issues/10232
22:54:43 *** sla_ro|master has quit IRC ()
23:12:34 *** Wolf01 has quit IRC (Quit: Once again the world is quick to bury me.)
23:42:46 <DorpsGek> [OpenTTD/OpenTTD] PeterN commented on issue #10232: [Crash]: Black screen on startup and crash https://github.com/OpenTTD/OpenTTD/issues/10232