Config
Log for #openttd on 24th March 2026:
Times are UTC Toggle Colours
08:30:42  *** Webster has joined #openttd
08:30:58  <LordAro> it's funny because go is one of the easiest compiled languages to do cross-platform stuff
08:35:29  *** Zathras_7 has joined #openttd
08:36:11  *** Zathras_7 has quit IRC
08:37:29  <peter1138> Do I need to make it work with aBase/BigGUI?
08:37:34  <peter1138> Requires more code :o
08:39:26  <peter1138> They use sprites bigger than the expected size, so the hardcoded minimal size has no effect and the buttons are a bit mixed.
08:39:49  <LordAro> there's enough people using it (even if they shouldn't) that it'd be worth the effort imo
08:40:03  <LordAro> given the whole point is to improve the new menu :)
08:41:05  <peter1138> In fact, SetToolbarMinimalSize() does assume toolbar buttons are the default size.
08:41:27  <peter1138> Maybe I should change that instead, so it applies anywhere where we have toolbar buttons.
08:44:10  <peter1138> Seems a better idea.
09:04:41  <Timberwolf> peter1138: quite :)
09:05:08  <Timberwolf> Never drive a mechanic's own car, never look at the stuff a commercial programmer does for themselves off-duty.
09:06:17  <reldred> Oh yeah, that was entirely too harsh of me
09:06:20  <peter1138> Supplied as-is, no warranty.
09:06:39  <reldred> Please take any of my criticisms as firmly tongue in cheek
09:07:26  <reldred> Mostly just me pissy that I thought James was bringing me the usual gcc+make nonsense and then I was figuring out how go works
09:07:46  <LordAro> reldred? pissy? I am shocked.
09:08:01  <LordAro> ;)
09:08:09  <Timberwolf> Nah, I am aware it's bad, but I prefer "the bad thing is still publicly available for study" than "it's locked away in private because I'll never get round to making the build process suitable for humans"
09:08:45  <reldred> Yeah thats very fair. I'd rather my trash be public for all to see and (re/ab)use incase I get hit by a bus
09:10:21  <peter1138> Timberwolf, I was wondering how well a modern compiler could optimise your C-ified version of yoour QBasic... and then remembered it needs to work on DOS... Oh :)
09:10:25  <reldred> Got there in the end, the WSL vs git bash thing I think drew my ire the most.
09:12:02  <locosage> alternatively, you can just show a warning for abase an such that ui may not look the best
09:12:10  <locosage> to encourage people moving to better stuff
09:12:51  <locosage> might be a better approach in the long run
09:14:46  <Timberwolf> I was quite surprised by how good the Watcom output is (although I recall it had a good reputation even back then). The big gain would be if a compiler was running in 386+ mode and able to be smart enough to convert the shifts to use that 386 double-precision shift so you only need to load the next byte of bitplane data into the register, rather than calculating both "next" and "previous"
09:17:16  <Timberwolf> Obviously the absolute overkill would be a compiler which can convert it into vectored instructions (in a magic world where it can actually infer this from the code) although at the point you have a CPU which supports that you're going to be getting absolutely killed by branch prediction misses.
09:17:54  <peter1138> Mmm, and running EGA on a CPU with that... yeah, no :)
09:18:38  <Timberwolf> Emailing aliexpress sellers like, "hi, I need a PCIe 256KB EGA card"
09:22:58  <peter1138> Hmm, I wonder if the VGA compatibility that... may... still exist on modern GPUs also includes EGA and CGA. Not something I've tried.
09:23:37  <peter1138> I do wonder about the important things sometimes...
09:23:49  <will_marshall_> timberwolf's build process is fine but everyone says i'm a terrible judge of build processes after I  praised ant and later the abomination that is UnrealBuildTool.
09:24:13  <LordAro> oh yeah, your opinion is garbage
09:24:13  <will_marshall_> they still let me put "lead software engineer" on my business cards
09:24:17  <LordAro> <3
09:24:28  <will_marshall_> what do they call the person who graduated with the lowest grade in medical school?
09:24:43  * LordAro spends a decent chunk of his time doing terrible things with makefiles and actually quite likes XSLT
09:24:48  <Timberwolf> I think it was getting ropey even in the early SVGA days!
09:25:25  <Timberwolf> The later Keen games have an "SVGA mode" because some of the SVGA cards didn't have the same scroll register behaviour as a real EGA.
09:26:06  <will_marshall_> Makefiles I just never got on with. CMake drives me crazy whenever I have to touch it but I can see how it was the only port in a storm for a long time.
09:27:18  <Timberwolf> Not uncommon for the CGA support to only use palette 1, too, and ignore any attempts to switch it.
09:27:47  <peter1138> Monuments of Mars in magenta, cyan and white...
09:29:24  <peter1138> (That'll be the snow/ice levels)
09:32:26  *** Flygon has joined #openttd
09:37:30  *** Hermokuolio has joined #openttd
09:39:44  <_zephyris> @peter1138 Bring back the missing sprites warning in release branches? Add a 'click to fix' button, which downloads ogfx(2) or opens content manager with it selected?
09:41:02  <LordAro> oho
09:45:57  <peter1138> It's not missing sprites, it's because the sprites that do exist are larger than intended.
09:49:56  <LordAro> will_marshall_: makefiles are great as long as you have a "one command takes some inputs and has a single output file"
09:50:08  <LordAro> if you start diverging from that it gets all sorts of funky
09:50:15  <LordAro> and of course spaces and backslashes are right out
09:52:54  <will_marshall_> spaces in filenames - convenient skeumorphism or evil work of satan? vote now on your phones.
09:53:24  <LordAro> clearly DOS 8.3 filenames are the way to go
10:18:57  <orudge> Heh, an e-mail from someone suggesting to save money, we should migrate all our services to a cheap dedicated server...
10:19:05  <orudge> I pointed them to TrueBrain's infrastructure posts from a few years ago
10:19:39  <LordAro> an actual email? from someone that isn't selling dedicated servers?
10:19:40  <orudge> LordAro: we seem to be missing a FILE_ID.DIZ from our zip files
10:19:50  <orudge> LordAro: indeed
10:20:14  <LordAro> orudge: i had to google that one
10:44:52  <_zephyris> @peter1138 I realise it's solving one problem with the solution to a different problem... but worth considering?
11:17:44  <peter1138> No, it won't make the menu look any better :)
11:18:13  <peter1138> And people will continue using zBase/aBase/biggui.
11:18:25  <peter1138> Pixels "hurt".
11:32:34  <_zephyris> well... I guess I should finish the extra zoom then!
11:42:13  <squirejames> Morning, just, all. Well apparently my efforts did actually compile. Or, at least it outputted a nml file and a .tar file, I assume the latter is the usable newgrf
11:58:05  <LordAro> squirejames: tar is an archive file, like zip
11:58:12  <LordAro> it likely contains the actual grf file
12:00:00  <_glx_> Tape ARchive if my memory is right
12:06:30  <squirejames> Okeedokes. It compiled something anyway so that's a relief 😄
12:07:05  <squirejames> I'll experiment more later. If I read correctly I can bypass most of that process since I'm not messing with sprites only code
12:53:03  <DorpsGek> [OpenTTD/OpenTTD] 2TallTyler merged pull request #15398: Codechange: Rename "non-stop" and "go via" order flags for clarity https://github.com/OpenTTD/OpenTTD/pull/15398
12:55:45  <DorpsGek> [OpenTTD/OpenTTD] 2TallTyler updated pull request #15379: Feature: Trains with an engine on the rear drive backwards when reversing https://github.com/OpenTTD/OpenTTD/pull/15379
12:57:40  <DorpsGek> [OpenTTD/OpenTTD] 2TallTyler updated pull request #15391: Add: Setting to disallow train magic flip, and reverse at reduced speed https://github.com/OpenTTD/OpenTTD/pull/15391
13:26:39  <DorpsGek> [OpenTTD/OpenTTD] 2TallTyler commented on pull request #15397: Add: Lower the Send To Depot button when a vehicle is on its way to one https://github.com/OpenTTD/OpenTTD/pull/15397#pullrequestreview-3999166266
13:38:50  *** Wormnest has joined #openttd
14:07:56  <andythenorth> nap?
14:18:36  *** SigHunter has quit IRC
14:20:39  *** SigHunter has joined #openttd
15:21:14  <_cyclops_> Is there a way (in multiplayer) to automatically replace old vehicles? I know just send them to the depot and close them, sell the old one..
15:24:49  <peter1138> Yes, autorenew and autoreplace
15:28:10  <_cyclops_> where are those options available?
15:30:01  <LordAro> https://wiki.openttd.org/en/Manual/Replace%20vehicles
15:30:10  <_glx_> auto renew is in settings "renew when old" or similar, auto replace is in vehicle list, there's a drop-down at bottom
15:31:14  <LordAro> yeah, wiki seems oddly quiet about autorenew
15:31:36  <_cyclops_> thx glx
15:31:51  <_cyclops_> it's on the vehicles page, but the screenshot on where in the settings it is, seems wrong
15:31:59  <_cyclops_> the 'renew when old' glx mentioned helped me
15:32:08  <LordAro> indeed
15:32:13  <LordAro> autorenew and autoreplace are two separate things
15:32:39  <LordAro> did the same model restriction for autoreplace get lifted?
15:35:17  <peter1138> Yes,
15:36:48  <jfkuayue> launch?
16:39:59  <peter1138> Pub?
16:50:56  <jfkuayue> Publič Hauše.
16:55:12  <jfkuayue> Wait this actually sounds like poo-bleach, how-shit.
16:57:33  <jfkuayue> So wetherspoons are apparently selling ready meals.
16:57:51  <peter1138> Wetherspoons is shit.
16:58:24  <jfkuayue> The cheaper options are macdonalds though
17:34:16  <peter1138> https://fuzzle.org/~petern/ottd/abasetoolbarbefore.png
17:34:30  <peter1138> https://fuzzle.org/~petern/ottd/abasetoolbarafter.png
17:34:36  <peter1138> Uniform toolbar button size...
17:37:55  <LordAro> seems reasonable
17:38:06  <LordAro> another nudge towards a more complete baseset :)
17:43:40  *** hexdog has joined #openttd
17:44:53  <LordAro> though perhaps too much padding? i'm looking at the trees icon in the landscaping toolbar
17:45:17  <LordAro> it was definitely intended to fit the button size exactly
17:45:28  *** hexdog has quit IRC
17:54:00  *** hexdog has joined #openttd
17:57:09  *** tabytac has joined #openttd
17:57:10  <tabytac> i wonder how that would look at lower resolutions
18:01:25  *** hexdog has quit IRC
18:09:10  <andythenorth> robot report https://usercontent.irccloud-cdn.com/file/rqAtk9rT/image.png
18:09:20  <andythenorth> doesn't work very well
18:09:32  <andythenorth> such GPT
18:12:41  *** hexdog has joined #openttd
18:50:19  <peter1138> LordAro, that's the issue, aBase/zBase used way larger than normal toolbar icons, but didn't replace everything.
18:50:38  <peter1138> So the dynamite icon is large, the landscaping toolbar is large, etc...
18:52:49  <peter1138> https://fuzzle.org/~petern/ottd/abasemenubefore.png
18:52:52  <peter1138> https://fuzzle.org/~petern/ottd/abasemenuafter.png
18:53:25  <peter1138> Basically, there's a toolbar sprite somewhere that's larger than the others :)
18:53:53  <peter1138> https:2026-03-24T23:45:24  <DorpsGek> [OpenTTD/OpenTTD] 2TallTyler updated pull request #15391: Add: Setting to disallow train magic flip, and reverse at reduced speed https://github.com/OpenTTD/OpenTTD/pull/15391

Powered by YARRSTE version: svn-trunk