IRC logs for #openttd on OFTC at 2021-12-24
        
        
        
            ⏴ go to previous day
00:02:53  *** WormnestAndroid has quit IRC (Ping timeout: 480 seconds)
 
00:10:49  *** WormnestAndroid has joined #openttd
 
00:14:57  *** nielsm has quit IRC (Ping timeout: 480 seconds)
 
00:18:23  *** WormnestAndroid has quit IRC (Read error: No route to host)
 
00:18:56  *** WormnestAndroid has joined #openttd
 
00:25:30  *** gelignite has quit IRC (Quit: Stay safe!)
 
00:36:23  <DorpsGek> [OpenTTD/OpenTTD] glx22 opened pull request #9767: Fix #9766: Don't write uninitialised data in config file https://git.io/JyLmD
 
03:09:34  *** Wormnest has quit IRC (Quit: Leaving)
 
04:02:26  *** debdog has quit IRC (Ping timeout: 480 seconds)
 
04:13:32  *** Flygon has quit IRC (Ping timeout: 480 seconds)
 
04:19:30  *** D-HUND is now known as debdog
 
04:58:33  *** Montana has quit IRC (Quit: Leaving)
 
07:13:17  *** sla_ro|master has joined #openttd
 
08:49:45  *** andythenorth has joined #openttd
 
09:12:31  *** sla_ro|master has quit IRC ()
 
09:26:26  <TrueBrain> And James created the first bug report in TrueGRF <3
 
09:27:22  <TrueBrain> Sadly of a component not mine, but I upstreamed a PR for it already .. just waiting for it to be merged :p
 
09:59:19  <TrueBrain> I wonder if I can write a script that converts FIRS to my JSON format ... should be doable, not?
 
10:01:16  <andythenorth> if you navigated far enough into my compile, you could json.dumps the internal representation
 
10:01:36  <andythenorth> I actually need a json repr for GS
 
10:01:57  <TrueBrain> I can just make a Python script
 
10:03:39  <TrueBrain> what the actual fuck ... I can only fit 32 in TrueGRF :P
 
10:04:52  <TrueBrain> how does that even work? :P
 
10:06:03  <andythenorth> they're not all used at once
 
10:06:08  <andythenorth> max per game is 64
 
10:06:16  <TrueBrain> That is why I am asking ;)
 
10:06:28  <andythenorth> there are Economies
 
10:06:36  <TrueBrain> ah, there that comes into play
 
10:06:37  <andythenorth> player chooses which one to use, in grf parameters
 
10:07:05  <andythenorth> that's political :P
 
10:07:16  <andythenorth> I like Steeltown, playerbase prefers an entirely different grf
 
10:07:17  <TrueBrain> I can only import one, so pick one :D
 
10:07:52  <andythenorth> is the import repeatable?
 
10:08:11  * andythenorth wonders if we could just load an existing grf :P
 
10:08:25  <TrueBrain> I am not going to support loading grfs ..
 
10:09:31  <TrueBrain> still more than the 32 I support ..
 
10:09:37  <TrueBrain> as someone told me: just start at 32, it will be fine :P
 
10:10:05  <TrueBrain> you don't have the mandatory toyland cargoes .. hmm
 
10:10:08  <TrueBrain> I should add climate support
 
10:11:14  <andythenorth> that's very basic, but eh
 
10:11:31  <TrueBrain> no, steeltown it is now
 
10:12:06  <andythenorth> forwards, to victory!
 
10:12:06  <TrueBrain> and I will not bitch about your Python either
 
10:12:12  <TrueBrain> I just need to add some stuff to make it sane :D
 
10:12:21  <andythenorth> some of my python I am aware is anti-pattern, 
 
10:12:28  <andythenorth> it works, so I don't care :P
 
10:12:59  <andythenorth> the importing of content / configuration is particularly weird
 
10:13:11  <TrueBrain> oof, string lookups
 
10:20:58  <andythenorth> first time I've seen it acronymed that way :P
 
10:22:27  <TrueBrain> wow, my Python skills have degraded by writing Javascript a lot :P
 
10:35:07  <andythenorth> "all languages are equal for a good programmer"
 
10:36:02  <andythenorth> I hate writing javascript, at least in html page context
 
10:41:48  <TrueBrain> right, now let's see if I can load the sprites from this ..
 
10:45:16  <TrueBrain> CC_LIQUID + CC_PIECE_GOODS
 
10:45:21  <TrueBrain> how does that work andythenorth ?
 
10:45:42  <TrueBrain> so many funny images cross my mind :P
 
10:46:12  <andythenorth> classes aren't exclusive
 
10:46:27  <andythenorth> " One specific type of cargo could appear both as liquid or as piece goods (e.g. milk), which depends on the actual representation."
 
10:46:57  <TrueBrain> that makes so little sense :P
 
10:47:07  <TrueBrain> and I love how that contradicts what frosch told me, but what-ever :P
 
10:47:16  <andythenorth> e.g. oil can go in tanker vehicles, or in drums on palettes
 
10:47:46  <TrueBrain> I was just imagining a cargo that depending on the speed is either fluid or not
 
10:47:58  <TrueBrain> so the train must move fast to unload it
 
10:48:59  <TrueBrain> similar I was told CC_EXPRESS + CC_PIECE_GOODS should never be mixed :P
 
10:49:23  <TrueBrain> for now, I am just going to pick the first CC I find for those conflicting ones :D
 
10:50:47  <andythenorth> hot metal trains (iron / steel) have to move fast to unload
 
10:51:36  <TrueBrain> when the cargo list is this long, my interface no longer works :P
 
10:51:39  <TrueBrain> I need to fix that somehow
 
10:51:48  <TrueBrain> you now select a cargo, have to scroll up to see the content :D
 
10:51:54  <TrueBrain> it needs a scrollbar :P
 
10:55:32  <TrueBrain> hmm, and I need to fix my "long name" .. you cannot pick your own things, like "sack of nuts"
 
10:55:39  <TrueBrain> it is now always "bag of nuts"
 
10:55:42  <TrueBrain> not a real issue, but still
 
11:02:38  <TrueBrain> clearly I ened to add colour support
 
11:04:21  <TrueBrain> need to do the same for industries ofc, but at least the approach works
 
11:06:03  <TrueBrain> I btw serious appreciate you released this under GPL andythenorth  .. otherwise I could never build TrueGRF like this .. would be 100000 times harder
 
11:07:48  <TrueBrain> so how to load industries ... how to know what belongs to steeltown ..
 
11:08:58  <TrueBrain> industry.economy_variations['STEELTOWN'].enabled
 
11:09:21  <TrueBrain> I like how much bigger FIRS is versus how big you think it is :P
 
11:11:01  <TrueBrain> it makes very clear I have to change how I assign IDs .. I keep finding all these lovely things I have to change :D
 
11:20:12  <TrueBrain> wtf is a IndustryInformative ... lol
 
11:25:31  <TrueBrain> only 3 tertiary industries in steeltown?
 
11:32:34  <Eddi|zuHause> i think the point of that was that many things converge in one big industry (hence the increase to more input cargos)
 
11:32:42  <TrueBrain> right, all that is left: layout and tiles for industries, and sprites for cargoes .. something for another time :)
 
11:57:03  <andythenorth> IndustryInformative is literally information only
 
11:57:11  <andythenorth> because grf isn't allowed to write to town window
 
11:57:16  <andythenorth> because that's GS 
 
11:57:35  <andythenorth> oh wait, it's traditional to have the GS-grf groundhog day debate on a Saturday :)
 
11:57:38  <andythenorth> today is only Friday
 
12:00:33  <LordAro> TrueBrain: 32bpp industry colours when?
 
12:05:59  *** WormnestAndroid has quit IRC (Remote host closed the connection)
 
12:07:02  *** WormnestAndroid has joined #openttd
 
12:07:35  <Eddi|zuHause> andythenorth: since yesterday was the last real work-day this year, today is basically saturday
 
12:07:57  <Eddi|zuHause> which is then followed by two sundays
 
12:18:44  * andythenorth is curious how TrueGRF is going to generate GS :P
 
12:18:53  <andythenorth> FIRS now generates a GS in the grf compile
 
13:08:15  <dP> hm, isn't pathfinder using the wrong distance for corner/diagonal rails?
 
13:08:27  <dP> YAPF_TILE_CORNER_LENGTH = 71 but
 
13:08:32  <DorpsGek> dP: 0.6666666666666666
 
13:09:19  <dP> 71 is for euclidean distance but it's not euclidean
 
14:09:36  *** nielsm has quit IRC (Ping timeout: 480 seconds)
 
14:13:30  *** sla_ro|master has joined #openttd
 
15:40:59  *** andythenorth has quit IRC (Quit: andythenorth)
 
15:41:20  *** WormnestAndroid has quit IRC (Ping timeout: 480 seconds)
 
15:42:01  *** WormnestAndroid has joined #openttd
 
16:00:26  *** Montana has joined #openttd
 
16:01:19  *** andythenorth has joined #openttd
 
16:06:41  *** Montana has quit IRC (Quit: Leaving)
 
16:07:49  *** Smedles_ has joined #openttd
 
16:08:13  *** Smedles has quit IRC (Ping timeout: 480 seconds)
 
16:22:55  *** WormnestAndroid has quit IRC (Ping timeout: 480 seconds)
 
16:23:48  *** WormnestAndroid has joined #openttd
 
16:39:18  *** Wormnest has joined #openttd
 
17:01:42  *** supermop_Home_ has quit IRC (Read error: Connection reset by peer)
 
17:04:34  *** Flygon has quit IRC (Quit: A toaster's basically a soldering iron designed to toast bread)
 
20:14:31  <TrueBrain> funny, haven't seen a project actually use PIL in a long time :P
 
20:15:08  <TrueBrain> completely forgot how it actually works
 
20:21:17  <TrueBrain> owh, right, seems some sprites are drawn over each other to make a single sprite ..
 
21:18:33  <andythenorth> TrueBrain what are you exploring now? :P
 
21:18:46  <TrueBrain> some of your sprites are composites
 
21:20:59  <TrueBrain> and so what I am trying, is to make that into a single sprite
 
21:21:15  <TrueBrain> but offsets are hard :P
 
21:31:30  *** supermop_Home has joined #openttd
 
21:35:17  <TrueBrain> andythenorth: what is spritelayout_null?
 
21:37:23  <andythenorth> oh it's the magic water tile
 
21:37:46  <TrueBrain> ah, water tile .. hmm, I don't have that yet
 
21:38:19  <andythenorth> spritelayout_null is convenience within my compile
 
21:38:28  <andythenorth> nothing to do with nml afaict
 
21:38:32  <TrueBrain> it is a weird name I couldn't find back :P
 
21:38:49  <TrueBrain> so now the bigger question .. why is bulk_terminal_spritelayout_crane_se_nw not being drawn correctly ..
 
21:40:29  <TrueBrain> I was too lazy to look it up, but this multiple building sprites on a single tile, is that an OpenTTD thing, or an NML, or a FIRS?
 
21:43:52  <andythenorth> it's one of the action 2 formats
 
21:44:22  <TrueBrain> meh. Difficult to support :P
 
21:45:08  <TrueBrain> but trying to do it myself is also not really working :D
 
21:46:02  <TrueBrain> (well, I was mostly trying to see if I understand sprites and offsets
 
21:49:12  <TrueBrain> ah .. I do, but there is another sneaky thing different
 
21:51:44  <TrueBrain> 1MB of JSON data for FIRS Steeltown :D
 
21:52:10  <supermop_Home> whats the current state of road stops?
 
21:52:42  <supermop_Home> I just make a grf to rplace base sprites? or can we have different ones by roadtype yet?
 
21:54:16  <TrueBrain> andythenorth: why do those tanks and cranes have a zoffset?
 
21:55:04  <dP> you kinda need to support advanced sprite layouts anyway if you want to have any logic in the layout
 
21:55:17  <dP> simply picking a ground sprite on slope already requires registers, pretty much
 
21:58:58  <supermop_Home> and can roadstops have any switches?
 
22:20:10  <andythenorth> TrueBrain the dock is over the sea, so the ground tile is about 18px below the dock surface
 
22:20:19  <andythenorth> other things with zoffsets are things like smoke on chimneys
 
22:20:48  <TrueBrain> But why via zoffset? For drawing order?
 
22:23:58  <andythenorth> where is frosch :P
 
22:41:36  <Eddi|zuHause> there's 3 patches of snow on the street, does this count as a white christmas yet?
 
22:46:11  *** ChanServ sets mode: +v tokai
 
22:53:08  *** tokai|noir has quit IRC (Ping timeout: 480 seconds)
 
23:08:29  *** Wolf01 has quit IRC (Quit: Once again the world is quick to bury me.)
 
23:20:28  <glx> <supermop_Home> and can roadstops have any switches? <-- not yet, I think there's a WIP PR on github
 
23:21:10  <andythenorth> sleep time GG happy christmas
 
23:21:18  *** andythenorth has quit IRC (Quit: andythenorth)
 
23:33:05  *** Wormnest has quit IRC (Quit: Leaving)
 
continue to next day ⏵