IRC logs for #openttd on OFTC at 2025-06-29
            
00:03:07 *** WormnestAndroid has joined #openttd
00:26:46 *** dh1 has quit IRC (Quit: My Mac has gone to sleep. ZZZzzz…)
00:44:57 *** Tirili has quit IRC (Remote host closed the connection)
01:57:37 *** WormnestAndroid has quit IRC (Read error: Connection reset by peer)
01:58:31 *** WormnestAndroid has joined #openttd
02:18:30 *** gnu_jj_ has joined #openttd
02:21:49 *** gnu_jj has quit IRC (Ping timeout: 480 seconds)
03:02:06 *** WormnestAndroid has quit IRC (Remote host closed the connection)
03:02:08 *** WormnestAndroid has joined #openttd
03:03:34 *** Wormnest has joined #openttd
03:03:55 *** Wormnest has quit IRC ()
04:13:22 *** keikoz has joined #openttd
04:25:21 <DorpsGek> [OpenTTD/OpenTTD] PiQuK opened issue #14399: [Crash]: Game crash (unexcpected ;( ) https://github.com/OpenTTD/OpenTTD/issues/14399
04:26:15 <DorpsGek> [OpenTTD/OpenTTD] WenSimEHRP commented on issue #14399: [Crash]: Game crash (unexcpected ;( ) https://github.com/OpenTTD/OpenTTD/issues/14399
04:29:49 *** WormnestAndroid has quit IRC (Read error: Connection reset by peer)
04:29:50 *** WormnestAndroid has joined #openttd
04:30:01 *** WormnestAndroid has quit IRC (Read error: Connection reset by peer)
04:30:02 *** WormnestAndroid has joined #openttd
04:30:05 *** WormnestAndroid has quit IRC (Read error: Connection reset by peer)
04:42:47 *** WormnestAndroid has joined #openttd
04:45:48 <DorpsGek> [OpenTTD/OpenTTD] eints-sync[bot] pushed 1 commits to master https://github.com/OpenTTD/OpenTTD/commit/9bcf1cf29bd6a70666040057fd24889b12ee2fbb
04:45:49 <DorpsGek> - Update: Translations from eints (by translators)
06:57:05 *** WormnestAndroid has quit IRC (Remote host closed the connection)
06:57:07 *** WormnestAndroid has joined #openttd
07:17:43 *** Wolf01 has joined #openttd
08:18:54 *** mindlesstux has quit IRC (Quit: The Lounge - https://thelounge.chat)
08:19:54 *** mindlesstux has joined #openttd
09:09:57 <DorpsGek> [OpenTTD/OpenTTD] janisozaur updated pull request #14365: Gamepad scrolling https://github.com/OpenTTD/OpenTTD/pull/14365
09:34:55 *** Flygon has quit IRC (Remote host closed the connection)
09:50:17 <DorpsGek> [OpenTTD/OpenTTD] janisozaur commented on pull request #14365: Gamepad scrolling https://github.com/OpenTTD/OpenTTD/pull/14365#issuecomment-3016500711
09:55:46 *** reldred has quit IRC (Quit: User went offline on Discord a while ago)
10:10:39 *** greeter has quit IRC (Remote host closed the connection)
10:21:01 *** greeter has joined #openttd
11:47:42 <peter1138[d]> Quiet again
11:53:12 * pickpacket is looking at string code
11:53:59 <pickpacket> I wanna fix that string whitespace issue I've seen where "T" and "T " are considered different strings for company naming purposes
11:54:09 <pickpacket> despite looking identical in the UI
11:57:05 <pickpacket> oh no... the goto code...
11:58:58 <pickpacket> can several companies have the same president name?
12:01:46 <pickpacket> nvm. I'll get to that when I get to it
12:04:08 <pickpacket> ah, they can't
12:05:58 <peter1138[d]> pickpacket: Simplest way is to just trim the string in the command
12:29:24 <pickpacket> yup
12:30:04 <pickpacket> I don't think the whole goto shenanigans should be too hard to fix either, actually. Will see what I can do
12:33:10 <peter1138[d]> Not using gotos makes that a bit more complex.
12:34:41 <pickpacket> not sure it does. I'll tinker with it, anyway.
12:35:26 <pickpacket> but string stripping first
13:16:13 <_glx_> most "goto" are to simplify reentrant loops
13:18:35 <pickpacket> yeah
13:26:50 *** WormnestAndroid has quit IRC (Remote host closed the connection)
13:27:09 *** WormnestAndroid has joined #openttd
13:36:58 *** Artea has quit IRC ()
13:51:53 <peter1138[d]> Hm. I wonder how / if I should / could make a font-change not be a separate font run.
14:21:23 <michi_cc> A font change has to be a separate run, otherwise the layouter could make invalid ligatures at the transition point.
14:22:10 <michi_cc> A some languages like e.g. arabic rely heavily on ligatures and context dependent glyphs.
14:31:43 <peter1138[d]> Mmm.
14:51:23 *** aperezdc has quit IRC (Remote host closed the connection)
15:02:03 <peter1138[d]> Ugh, the different-fonts-have-different sizes issue though 😦
15:11:25 *** Wormnest has joined #openttd
15:28:35 <peter1138[d]> https://cdn.discordapp.com/attachments/1008473233844097104/1388903987167756298/image.png?ex=6862ad23&is=68615ba3&hm=757d216f31f1d06b8f68aaf2004b7b60534db72ded133803618502ecd44cf004&
15:28:35 <peter1138[d]> 30 is ... somewhat more than 20. :/
15:31:01 *** aperezdc has joined #openttd
15:36:17 <pickpacket> peter1138[d]: just a smidge more
15:36:34 <andythenorth> hmm
15:36:39 <peter1138[d]> Hmm, I wonder if that's partly the size-adjustment thing.
15:38:26 <peter1138[d]> Nope.
15:40:54 <peter1138[d]> https://cdn.discordapp.com/attachments/1008473233844097104/1388907087731359794/image.png?ex=6862b006&is=68615e86&hm=aeb740f849668674e9f8c28fadb7f23e9ccad6bf8da3245fe5346e48dac189cd&
15:40:54 <peter1138[d]> Apart from the slightly iffy alignment (due to the size difference) the actual glyph isn't actually any bigger.
15:42:09 *** APTX has quit IRC (Quit: Farewell)
15:46:57 <andythenorth> wonder why autoreplace fails reasonably often for RVs
15:47:07 <andythenorth> seems they don't pathfind to a depot, afaict
15:47:40 <andythenorth> do RVs need a depot in their orders still?
15:48:34 <peter1138[d]> https://cdn.discordapp.com/attachments/1008473233844097104/1388909014288564326/image.png?ex=6862b1d1&is=68616051&hm=caf28622a99fab6e2c00f7d57c383a413c8ec70b90986cb4a0845b51e4d5241d&
15:48:44 <andythenorth> hmm no it's a bug in HEQS
15:48:47 <andythenorth> lol
15:48:57 <peter1138[d]> Alright, I guess I need to align by the red baseline.
15:49:50 <peter1138[d]> So font size is max(ascender) + max(descender)
15:49:57 <peter1138[d]> Rather than max(ascender + descender)
16:36:37 *** Smedles has quit IRC (Quit: http://quassel-irc.org - Chat comfortably. Anywhere.)
16:36:53 *** Smedles has joined #openttd
16:40:24 <peter1138[d]> https://cdn.discordapp.com/attachments/1008473233844097104/1388922060654379150/image.png?ex=6862bdf8&is=68616c78&hm=4f14d9f59103da6bf412bdb2ddc9b90a63e6df1512a7fc602aa39a5aa3db52fc&
16:40:24 <peter1138[d]> https://cdn.discordapp.com/attachments/1008473233844097104/1388922061048516688/image.png?ex=6862bdf8&is=68616c78&hm=b73d863408b197fc1886dc446d80bc52b1630a5e259b1b4d07d0d03005aeb7a3&
16:41:07 <peter1138[d]> So that aligns different fonts better, at the expense of aligning things oddly in the cell.
16:50:10 <peter1138[d]> Hmm, I wonder if vertical alignment can be set according to the sprite font.
17:12:04 <_glx_> indeed looks better
17:35:59 <jfkuayue> I can’t use ChillRoundF, it says “missing glyphs”
17:37:06 *** su1phur has joined #openttd
17:37:06 <su1phur> https://cdn.discordapp.com/attachments/1008473233844097104/1388936327151489135/image.png?ex=6862cb41&is=686179c1&hm=913d4d8d45064413fbfc02da98919228c8d253a5d1c618356c2f310fffd2b69a&
17:37:06 <su1phur> Can anyone give me a shout on why the running cost is half of what it is measured (manually), whereas the purchase cost is correct?
17:37:06 <su1phur> Or ideally the formula the game uses to calculate purchase/running costs, if possible
17:39:38 <jfkuayue> IIRC the running cost is 14000 (British pounds) * factor / 256, if running cost setting is set to normal
17:43:11 *** akimoto has quit IRC ()
17:43:36 <jfkuayue> https://cdn.discordapp.com/attachments/1008473233844097104/1388937965069275197/IMG_0081.png?ex=6862ccc8&is=68617b48&hm=78ffcb8e4e6e53904a90047aa2be7c506dfa29e757b2d9658eacd4e89dcf2dc2&
17:43:36 <jfkuayue> Oh you may consider “shifting” the running cost basis by the factor of 2 at the starting (header) of the nml file
17:45:10 <su1phur> What does that do?
17:49:40 <jfkuayue> https://newgrf-specs.tt-wiki.net/wiki/NML:Base_cost_table
17:49:40 <jfkuayue> If a NewGRF defines an engine (a steam one, for example), and the base PR_RUNNING_TRAIN_STEAM is explicitly set, then the running costs of all steam engines in this NewGRF will be multiplied by 2^{the number you have set}
17:54:23 <peter1138[d]> Ah, hmm, the suitable baseline for the srite font differs from the scalable font.
17:54:26 <peter1138[d]> Pom te pom.
17:56:20 <peter1138[d]> https://cdn.discordapp.com/attachments/1008473233844097104/1388941171103109201/image.png?ex=6862cfc4&is=68617e44&hm=64d046c7a1dd05f0605cdc6cf69d1c197570be7ed807b5045dfc1c602060ce9b&
17:56:20 <peter1138[d]> https://cdn.discordapp.com/attachments/1008473233844097104/1388941171383992360/image.png?ex=6862cfc4&is=68617e44&hm=842505812f265e66fdc2d6a52acb59d65e46157b27e9b149b2713190ca169d1a&
17:56:31 <peter1138[d]> Nailed it?
17:57:06 <peter1138[d]> Although... it's still annoying that the font height / line height changes when the CJK pops in.
17:57:12 <michi_cc> Looking good
18:27:27 <peter1138[d]> https://cdn.discordapp.com/attachments/1008473233844097104/1388949001486991572/image.png?ex=6862d70f&is=6861858f&hm=34b25f16dd4c55fea3496f05a8d93078eee608409867a12f59f5c02cd0962177&
18:27:27 <peter1138[d]> Hmm, probably "illegal"
18:29:54 <peter1138[d]> Hmm, interesting.
18:30:05 *** WormnestAndroid has quit IRC (Remote host closed the connection)
18:30:06 *** WormnestAndroid has joined #openttd
18:30:55 <peter1138[d]> This is 1) using the new alignment code, 2) ignoring the font height and using the default.
18:32:18 <peter1138[d]> Because everything is aligned to the base line, this "fixes" that ancient "bug" that most truetype fonts have different alignment to what OpenTTD expects.
18:34:06 *** gelignite has joined #openttd
18:34:13 <peter1138[d]> https://cdn.discordapp.com/attachments/1008473233844097104/1388950702327595118/image.png?ex=6862d8a4&is=68618724&hm=a67a9032ced695dc6eb7c83b66e2fc7a88cb4a65bf5362ce666ec7182ad4e214&
18:34:13 <peter1138[d]> That is probably too cramped.
18:35:41 <michi_cc> For most fonts I personally like something like a 1.1 - 1.2 factor for line height (like e.g. when doing a good looking Word or something).
18:48:59 <peter1138[d]> Yeah, but the traditional OpenTTD interface does not do that.
18:55:04 <pickpacket> can someone here do me a huge favour and compile this for win11? https://github.com/TheSpiffingUnpaidIntern/OpenTTD-Spiffing
19:23:56 <_glx_> you can ask github
19:30:31 <locosage> unless I missed something that kinda involves learning how to set up actions
19:36:22 <pickpacket> :(
20:05:14 *** Flygon has joined #openttd
20:32:16 *** dh1 has joined #openttd
20:38:40 <andythenorth> lunch?
20:38:50 <pickpacket> andythenorth: NOW????
20:43:09 *** gelignite has quit IRC ()
20:46:53 *** WormnestAndroid has quit IRC (Remote host closed the connection)
20:47:00 *** WormnestAndroid has joined #openttd
20:49:17 <truebrain> If he wants lunch now, why not?!
20:49:32 <truebrain> We don't judge .. well, maybe a little 😛
20:50:09 *** Wolf01 has quit IRC (Quit: Once again the world is quick to bury me.)
20:51:24 <michi_cc> There's always lunch time somewhere 😛
20:54:13 <pickpacket> ugh... it's Monbday tomorrow
20:54:17 <pickpacket> *Monday
21:00:40 <andythenorth> I had ginger biscuits
21:30:25 *** keikoz has quit IRC (Ping timeout: 480 seconds)
21:45:35 <pickpacket> Oh! I have VSCode on my work computer. Can I cross compile with that?
21:46:41 <peter1138[d]> VS Code is not a compiler.
21:47:22 *** tokai|noir has joined #openttd
21:47:22 *** ChanServ sets mode: +v tokai|noir
21:49:59 <pickpacket> no, but I assume it knows what to tell the compiler to get the right output: https://learn.microsoft.com/en-us/cpp/build/get-started-linux-cmake?view=msvc-170
21:50:31 <pickpacket> oh, crap
21:50:42 <pickpacket> apparently not
21:51:17 <pickpacket> meh. I'll see about getting a VM somewhere for a few hours
21:54:16 *** tokai has quit IRC (Ping timeout: 480 seconds)
22:56:37 <_glx_> locosage: all openttd forks should have the "Release" workflow in "Actions" tab, it can be triggered manually with "Run workflow" button and you'll get many artifacts