IRC logs for #openttd on OFTC at 2026-03-06
⏴ go to previous day
00:52:42 <goddess_ishtar> how does OpenTTD handle different `FFnnnnnn` grf IDs? the NewGRF spec wiki only says the range is reserved for internal use by the game, but which ones are used and what meaning do they have?
00:53:06 <goddess_ishtar> okay some of them are for base graphics
00:55:13 <peter1138> Base graphcs are not NewGRFs.
00:56:51 <goddess_ishtar> peter1138: they're listed under the special GRFID table
00:57:06 <goddess_ishtar> in the FF "OT" range
00:57:42 <peter1138> The only file that is always loaded is openttd.grf, which is FFFFFFFE.
00:59:55 <peter1138> orig_extra.grf is FF "OTT", but that's used only for the original graphics basesets.
01:00:04 <peter1138> The rest is all very out of date information.
01:00:36 <goddess_ishtar> I'm just asking if I can use IDs in the `FF` something range for indicating folders
01:00:55 <peter1138> I would recommend not using GRF IDs for something that isn't a GRF file.
01:02:59 <goddess_ishtar> well, the idea is the same system which would enable the user to create folders would also enable nesting of any given NewGRF files
01:11:04 <goddess_ishtar> the alternate way of doing it would be to add the functionality to some other GRFContainer class which both real GRFs and folders inherit and only the former would get GRFIDs? but we want folders to behave largely like any other grf (being saved into save games and grf presets)
01:11:11 <goddess_ishtar> probably going to have to do that
01:12:06 <goddess_ishtar> something tiny and technically unrelated but probably necessary for UX would be to filter the unloaded GRFs by tag
01:13:15 <goddess_ishtar> I'll probably do that PR first
01:15:49 <goddess_ishtar> ideally this shit would go straight into the Action14 but I want to use the preexisting BaNaNaS classification info which... complicates things
01:56:44 *** Flygon has quit IRC (Read error: Connection reset by peer)
02:39:34 *** Wormnest has quit IRC (Quit: Leaving)
04:59:17 *** Zathras_11 has joined #openttd
05:01:14 <DorpsGek> - Update: Translations from eints (by translators)
05:02:40 *** Zathras_7 has quit IRC (Ping timeout: 480 seconds)
06:40:25 *** Zathras_4 has joined #openttd
07:37:06 <andythenorth> both train 4 and train 5 look good, but not sure I'd keep both
07:38:33 <andythenorth> looking at train 6 with fresh eyes also, it's not my favourite :P
08:15:59 <telumendur> andythenorth: The grey pixels you used on the cab to suggest the upward swoosh work well enough in my eyes. But up to you of course! As long as you're happy with it, we'll be as well 🙂
08:35:00 <andythenorth> the grey doors are realistic IRL, but they're making it gloomy
08:41:48 <andythenorth> ok, probably enough pixels in the channel for now :|
09:19:09 <andythenorth> peter1138: I have this weird irccloud fake discord thing
09:19:23 <andythenorth> I could post a screenshot, but you'd only see the url :P
09:20:28 <peter1138> Well, irccloud existed before discord.
09:21:06 <LordAro> lucky for you, urls can be clicked on
09:21:26 <andythenorth> then what happens?
09:21:32 <andythenorth> can't we move all this to Facebook?
09:21:53 <LordAro> 🎵It's a whole new world🎵
09:54:32 <goddess_ishtar> andythenorth: if you're going to drop one I'd keep #4
09:54:43 <goddess_ishtar> the contrast looks incredible
09:56:27 <goddess_ishtar> the transition between the red and white, I mean
10:09:42 <peter1138> Why is everything going to shit?
10:09:58 <goddess_ishtar> is it ever not?
10:21:03 <goddess_ishtar> there's an argument for either way
10:23:01 <goddess_ishtar> personally I like the gold
10:32:50 <peter1138> Probably out of date.
10:34:06 <andythenorth> bland but consistent
10:34:21 <will_marshall_> Ask yourself Andy: what would the DfT do?
10:35:44 <will_marshall_> Whatever's cheapest!
10:36:21 <will_marshall_> Maybe that means the gold ornament has to go
10:36:36 <reldred> It’s all pixels, it just costs further deterioration of the carpal tunnel at the end of the day.
10:37:03 <andythenorth> reldred it's the muscle at the back of the armpit, the one that would flap the wing if we were chickens
10:37:44 <reldred> Huh, I don’t have any issues with that one. My fingies and my carpal tunnel are upset with me however.
10:39:28 <andythenorth> dunno, quite like the gimpy white nose one
10:44:48 <andythenorth> Could spend weeks drawing liveries eh
10:45:05 <andythenorth> TF for variants, and badges
11:12:44 *** Tirili has quit IRC (Ping timeout: 480 seconds)
11:19:33 *** WormnestAndroid has quit IRC (Remote host closed the connection)
11:19:37 *** WormnestAndroid has joined #openttd
11:21:13 *** cringe_lord2026 has quit IRC (Quit: User went offline on Discord a while ago)
12:17:24 *** YourOnlyOne has joined #openttd
12:17:57 *** YourOnlyOne is now known as Guest4450
12:31:40 *** Tirili has quit IRC (Quit: Leaving)
12:45:29 <telumendur> andythenorth: +1 on the white cab looking better than the red one (although the idea in itself is good). Love the checkerboard gold highlight on train #5/8, too!
12:45:55 <andythenorth> pleasing isn't it
12:48:46 <telumendur> andythenorth: Yes, and I absolutely *adore* the two windows turned into gold highlights on train #6 (swoosh livery), here! They work better than the checkerboards you replaced them with in the latest versions, I'd say.
12:50:29 <telumendur> Up to you, of course/.
12:52:47 <telumendur> andythenorth: As for yellow or CC1 for the patterns on train #4: *porque no los dos?* Yellow could be *Specials*, and CC1, *Vinyl Vector*.
13:02:21 *** Cursarion has quit IRC (Ping timeout: 480 seconds)
13:04:10 *** Wormnest has joined #openttd
13:14:27 *** Cursarion has joined #openttd
13:27:54 <xarick> rename api functions to their date type
13:30:32 <xarick> GetMonthlyMaintenanceCost -> GetMinuteMaintenanceCost and the like?
13:31:02 <xarick> or GetEconomyMonthlyMaintenanceCost?
14:22:31 <xarick> How do I manually get track of a vehicle age?
14:25:57 <xarick> when the calendar time is frozen
14:37:03 <_glx_> age should be frozen in this case
14:49:43 <andythenorth> the window band .... I don't like the doors still
14:56:33 <talltyler> These are very nice pixels though 🙂
14:59:49 *** Flygon has quit IRC (Read error: Connection reset by peer)
15:02:11 <telumendur> talltyler: The finest pixels in Britain!
15:07:54 <xarick> need a mechanism that won't rely on AIVehicle.GetAge
15:09:28 <_glx_> profit check is done via economy age
15:13:59 <xarick> ehmm... you guys really need to make an ai to understand the problem
15:15:57 <_glx_> calendar age doesn't progress when calendar is frozen
15:17:48 <_glx_> calendar age is increased on new calendar day, econmy age is increased on new economy day
15:18:49 <_glx_> anything related to money is economy
15:20:02 <xarick> how would you rewrite wrightai to work on a frozen calendar
15:20:22 <_glx_> needs API additions first
15:21:09 <_glx_> since API doesn't really support wallclock yet
15:21:25 <_glx_> and frozen is a feature of wallclock
15:25:18 <xarick> not quite the same, but at least it won't explode in complexity
15:43:54 <xarick> somebody crashed trains on my game
15:44:34 <xarick> no desync, must be a windows user like me
16:00:50 <peter1138> Heh, we tried once and cocked it iup :)
16:04:31 *** gelignite has joined #openttd
16:29:08 *** ChanServ sets mode: +v tokai
17:03:40 <xarick> holy, you've been busy
17:17:39 *** toktik has quit IRC (Remote host closed the connection)
17:27:21 *** toktik has quit IRC (Remote host closed the connection)
17:37:17 <_glx_> hmm doxygen is annoying
17:41:43 *** toktik has quit IRC (Ping timeout: 480 seconds)
17:42:19 <_glx_> for some reasons it doesn't see a `#ifndef DOXYGEN_API`
17:52:20 <jfkuayue> birthday = (month(today), day(today))
17:52:24 <jfkuayue> if today != yesterday:
17:52:24 <jfkuayue> if (month(today), day(today)) == birthday:
17:52:26 <jfkuayue> elif birthday == (2, 29):
17:52:28 <jfkuayue> if (month(today), day(today)) == (3, 1) && day(yesterday) != 29:
17:52:53 <dwfreed> please consider not pasting large code blocks in discord, because you flood IRC
17:54:25 <jfkuayue> is this "large" though
17:54:42 <dwfreed> IRC etiquette is anything over 3 lines goes in a pastebin
17:55:11 *** dwfreed[d] has joined #openttd
17:55:11 <dwfreed[d]> On mobile, your code block is like half my screen
17:58:45 <LordAro> clearly TB should never have implemented the rate limiter :p
17:59:04 <dwfreed> would need 30 lines to get flooded off
18:01:13 <dwfreed> True Brain, the guy who wrote the discord bridge
18:03:06 <jfkuayue> Okay, I might know the problem. IRC does not support break of lines?
18:05:16 <peter1138> The problem is you posted 15 lines of ... what?
18:05:48 <jfkuayue> isn't this similar to "lunch?" talk
18:05:50 <peter1138> If there was context and relevance it would be... well.
18:06:50 <peter1138> Not unless andythenorth starts to list all the minor ingredients in his macaroni cheese.
18:07:33 <peter1138> dwfreed[d], ew, dirty.
18:07:37 <andythenorth> social speech is social speech
18:07:51 <andythenorth> it doesn't create a general rule about what's acceptable content
18:08:15 <dwfreed> peter1138: does it have ham in it?
18:24:24 <_glx_> ok found the issue with doxygen
18:36:46 <_glx_> now the doxygen fails for the correct reason
18:46:02 <andythenorth> probably include it anyway
18:58:15 <xarick> do oil rigs spawn in >= 1960 or > 1960?
19:24:38 <talltyler> I like the LNER window band livery 🙂
19:26:45 <telumendur> talltyler: That are ~~dozens~~ at least two of us, then! Please leave it in, Andy 🥺
20:03:28 <andythenorth> _lost in mac forums_
20:03:45 <andythenorth> technology enthusiasts are weird
20:04:24 <andythenorth> Does everyone here have 48GB or more?
20:04:45 <andythenorth> Apparently that’s essential now or something
20:05:32 <andythenorth> Especially for inportant pro mac hardware worfkflows like reading reddit in opera
20:06:09 <andythenorth> And running you own LLMs, whilst plugging in USB-A devices
20:06:19 <andythenorth> Weird folks, I like trains
20:06:49 <LordAro> not getting any more than that any time soon
20:07:22 <andythenorth> Apparently 8GB is unusable and DOA in the new cheap mac thingy “and it’s just a lame phone chip”
20:07:34 <andythenorth> Phone chip is faster than my old i9
20:10:44 *** eed_edward has joined #openttd
20:10:44 <eed_edward> having 48GB would allow You to make 32bit graphics!
20:11:01 <andythenorth> 8GB is about the amount of memory actually used of my 48GB
20:11:23 <andythenorth> Rest is just caching disk files
20:11:42 <andythenorth> Although I only have 1 Chrome tab ooedn
20:12:08 <peter1138> total used free shared buff/cache available
20:12:11 <peter1138> Mem: 67G 54G 7.8G 2.8G 8.6G 12G
20:12:28 <peter1138> Wrong type of G I guess.
20:14:49 <andythenorth> Probably all just chrome eh
20:15:04 <andythenorth> And all your local LLMs obvs
20:15:28 <squirejames> I mean I do have 48gb but, only because my brother upgraded his PC and had some spare DIMMs kicking about. Seemed a shame not to use them
20:15:53 <squirejames> and, much like yourself, I think the only time even half is used is when I make things in AfterFC
20:18:18 <peter1138> I guess you're the sort of person who... closes tabs.
20:43:36 <goddess_ishtar> andythenorth: nobody will ever need more than 640kb of RAM
20:48:21 *** wensimehrp has joined #openttd
20:48:21 <wensimehrp> my app starts and it consumes ~50mb
20:52:37 <andythenorth> “Most modern RAM use is just ad tracking js in Chrome”
20:57:36 <eed_edward> Remember some thread that blocking all ads on router in company reduced network load by half
21:11:56 <wensimehrp> total used free shared buff/cache available
21:11:56 <wensimehrp> Mem: 62Gi 12Gi 32Gi 1.1Gi 18Gi 49Gi
21:11:56 <wensimehrp> Swap: 31Gi 86Mi 31Gi
21:19:39 <dwfreed> yeah, that's way too much swap
21:31:13 <peter1138> Do I still have this source code stuff...
21:36:30 <andythenorth> Probably in svn…
continue to next day ⏵