IRC logs for #openttd on OFTC at 2020-12-06
⏴ go to previous day
00:10:54 *** WormnestAndroid has quit IRC (Ping timeout: 480 seconds)
00:11:17 *** WormnestAndroid has joined #openttd
00:31:11 *** yur3shmukcik[m] has joined #openttd
00:32:30 *** fiddeldibu[m] has joined #openttd
01:16:04 *** hylshols7qui[m] has joined #openttd
01:18:00 *** dude[m] has joined #openttd
01:33:25 *** Westie has quit IRC (Ping timeout: 480 seconds)
01:40:38 *** josef[m] has joined #openttd
01:45:34 *** m1cr0man has quit IRC (Ping timeout: 480 seconds)
01:47:08 *** einar[m] has joined #openttd
01:49:31 *** m1cr0man has joined #openttd
02:00:38 *** yoyo[m] has joined #openttd
02:04:30 *** Progman has quit IRC (Remote host closed the connection)
02:06:19 *** CornsMcGowan[m] has joined #openttd
02:07:19 *** HerzogDeXtEr has quit IRC (Read error: Connection reset by peer)
02:16:22 *** igor[m] has joined #openttd
02:26:19 *** robert[m] has joined #openttd
02:26:30 *** johanna[m] has joined #openttd
02:30:14 *** julie[m] has joined #openttd
02:37:11 *** emeraldsnorlax[m] has joined #openttd
03:03:53 *** cjmonagle[m] has joined #openttd
03:13:15 *** ircer[m] has joined #openttd
03:13:51 *** cawal[m] has joined #openttd
03:30:39 *** jact[m] has joined #openttd
03:32:33 *** m1cr0man has quit IRC (Ping timeout: 480 seconds)
03:46:17 *** Heiki[m] has joined #openttd
03:54:25 *** twom[m] has joined #openttd
03:55:03 *** D-HUND has quit IRC (Ping timeout: 480 seconds)
03:56:04 *** glothit7ok[m] has joined #openttd
03:58:15 *** nolep[m] has joined #openttd
04:04:30 *** natmac[m] has joined #openttd
04:15:16 *** elliot[m] has joined #openttd
04:31:02 *** pina[m] has joined #openttd
04:55:37 *** albert[m] has joined #openttd
04:57:38 *** leward[m] has joined #openttd
05:03:40 *** karl[m]1 has joined #openttd
05:06:39 *** pothyurf[m] has joined #openttd
06:56:13 *** JohnnyB has joined #openttd
07:20:11 *** ChanServ sets mode: +v tokai
07:27:01 *** tokai|noir has quit IRC (Ping timeout: 480 seconds)
07:51:14 *** Smedles has joined #openttd
08:32:19 *** andythenorth has joined #openttd
08:46:19 *** JohnnyB has quit IRC (Ping timeout: 480 seconds)
09:11:38 *** jottyfan has joined #openttd
09:22:24 *** jottyfan has quit IRC (Quit: jottyfan)
09:23:51 *** jottyfan has joined #openttd
09:33:00 *** Lejving has quit IRC (Read error: Connection reset by peer)
09:44:50 <TrueBrain> milek7: that is a nice improvement, but there are still a few quirks .. I think I know how to fix those :)
10:10:46 *** Progman has joined #openttd
10:12:26 <TrueBrain> too bad pointer-lock is hardcoded to relative-mode in SDL port
10:18:34 *** gelignite has joined #openttd
10:23:32 *** andythenorth has quit IRC (Quit: andythenorth)
10:36:54 *** sla_ro|master has joined #openttd
10:46:33 <TrueBrain> cool ... my mouse x-position is 840983930 according to Emscripten
10:46:39 <TrueBrain> sounds ... broken :P
10:47:28 *** jottyfan has quit IRC (Quit: jottyfan)
10:48:27 *** HerzogDeXtEr has joined #openttd
10:54:10 <FLHerne> Nah, you just got upgraded to the latest super-ultra-high-res display
10:57:43 <TrueBrain> hmm, relative-mode on Linux kinda fails :D
10:57:53 <TrueBrain> it keeps sending me the relative position from 0,0 :P
10:57:57 <TrueBrain> not sure that is .. useful :D
11:15:15 *** yur3shmukcik[m] has quit IRC (Ping timeout: 480 seconds)
11:15:18 *** elliot[m] has quit IRC (Ping timeout: 480 seconds)
11:15:18 *** julie[m] has quit IRC (Ping timeout: 480 seconds)
11:15:18 *** dag[m] has quit IRC (Ping timeout: 480 seconds)
11:15:19 *** CornsMcGowan[m] has quit IRC (Ping timeout: 480 seconds)
11:15:20 *** Heiki[m] has quit IRC (Ping timeout: 480 seconds)
11:15:23 *** nolep[m] has quit IRC (Ping timeout: 480 seconds)
11:15:24 *** patrick[m] has quit IRC (Ping timeout: 480 seconds)
11:15:28 *** karoline[m] has quit IRC (Ping timeout: 480 seconds)
11:15:28 *** ircer[m] has quit IRC (Ping timeout: 480 seconds)
11:15:28 *** igor[m] has quit IRC (Ping timeout: 480 seconds)
11:15:28 *** blikjeham[m] has quit IRC (Ping timeout: 480 seconds)
11:15:28 *** shedidthedog[m] has quit IRC (Ping timeout: 480 seconds)
11:15:30 *** cawal[m] has quit IRC (Ping timeout: 480 seconds)
11:15:30 *** fjodor[m] has quit IRC (Ping timeout: 480 seconds)
11:15:32 *** johanna[m] has quit IRC (Ping timeout: 480 seconds)
11:15:32 *** magdalena[m] has quit IRC (Ping timeout: 480 seconds)
11:15:33 *** christoph[m]1 has quit IRC (Ping timeout: 480 seconds)
11:15:33 *** olmvnec[m] has quit IRC (Ping timeout: 480 seconds)
11:15:33 *** nartir[m] has quit IRC (Ping timeout: 480 seconds)
11:15:34 *** gretel[m] has quit IRC (Ping timeout: 480 seconds)
11:15:38 *** yoyo[m] has quit IRC (Ping timeout: 480 seconds)
11:15:38 *** patricia[m] has quit IRC (Ping timeout: 480 seconds)
11:15:38 *** hamstonkid[m] has quit IRC (Ping timeout: 480 seconds)
11:15:39 *** natmac[m] has quit IRC (Ping timeout: 480 seconds)
11:15:39 *** menelaos[m] has quit IRC (Ping timeout: 480 seconds)
11:15:40 *** albert[m] has quit IRC (Ping timeout: 480 seconds)
11:15:40 *** yoltid[m] has quit IRC (Ping timeout: 480 seconds)
11:15:40 *** cyberjunkie[m] has quit IRC (Ping timeout: 480 seconds)
11:15:43 *** leward[m] has quit IRC (Ping timeout: 480 seconds)
11:15:43 *** jact[m] has quit IRC (Ping timeout: 480 seconds)
11:15:43 *** udo[m] has quit IRC (Ping timeout: 480 seconds)
11:15:43 *** phil[m] has quit IRC (Ping timeout: 480 seconds)
11:15:44 *** karl[m]1 has quit IRC (Ping timeout: 480 seconds)
11:15:45 *** ad5twoknebor[m] has quit IRC (Ping timeout: 480 seconds)
11:15:45 *** tonyfinn[m] has quit IRC (Ping timeout: 480 seconds)
11:15:48 *** pothyurf[m] has quit IRC (Ping timeout: 480 seconds)
11:15:48 *** amal[m] has quit IRC (Ping timeout: 480 seconds)
11:15:48 *** philip[m] has quit IRC (Ping timeout: 480 seconds)
11:15:50 *** labs[m] has quit IRC (Ping timeout: 480 seconds)
11:15:51 *** jeeg[m] has quit IRC (Ping timeout: 480 seconds)
11:15:53 *** cjmonagle[m] has quit IRC (Ping timeout: 480 seconds)
11:15:53 *** osvaldo[m] has quit IRC (Ping timeout: 480 seconds)
11:15:55 *** iarp[m] has quit IRC (Ping timeout: 480 seconds)
11:15:56 *** ookfof[m] has quit IRC (Ping timeout: 480 seconds)
11:15:58 *** rudolfs[m] has quit IRC (Ping timeout: 480 seconds)
11:15:58 *** dekeract[m] has quit IRC (Ping timeout: 480 seconds)
11:16:00 *** ist5shreawf[m] has quit IRC (Ping timeout: 480 seconds)
11:16:03 *** grag[m] has quit IRC (Ping timeout: 480 seconds)
11:16:03 *** natalie[m] has quit IRC (Ping timeout: 480 seconds)
11:16:08 *** dude[m] has quit IRC (Ping timeout: 480 seconds)
11:16:08 *** joey[m] has quit IRC (Ping timeout: 480 seconds)
11:16:09 *** hylshols7qui[m] has quit IRC (Ping timeout: 480 seconds)
11:16:13 *** glothit7ok[m] has quit IRC (Ping timeout: 480 seconds)
11:16:13 *** einar[m] has quit IRC (Ping timeout: 480 seconds)
11:16:13 *** Aileen[m] has quit IRC (Ping timeout: 480 seconds)
11:16:15 *** emeraldsnorlax[m] has quit IRC (Ping timeout: 480 seconds)
11:16:18 *** ciet[m] has quit IRC (Ping timeout: 480 seconds)
11:16:33 *** khavik[m] has quit IRC (Ping timeout: 480 seconds)
11:16:39 *** freu[m] has quit IRC (Ping timeout: 480 seconds)
11:16:41 *** twom[m] has quit IRC (Ping timeout: 480 seconds)
11:16:43 *** fiddeldibu[m] has quit IRC (Ping timeout: 480 seconds)
11:16:47 *** josef[m] has quit IRC (Ping timeout: 480 seconds)
11:16:54 *** linda[m] has quit IRC (Ping timeout: 480 seconds)
11:17:08 *** jeremy[m] has quit IRC (Ping timeout: 480 seconds)
11:17:16 *** christoph[m] has quit IRC (Ping timeout: 480 seconds)
11:19:13 *** pina[m] has quit IRC (Ping timeout: 480 seconds)
11:20:08 <TrueBrain> thisis REALLY getting out of hand, these Matrix users ... what the hell ..
11:22:18 *** paulus[m] has quit IRC (Ping timeout: 480 seconds)
11:22:39 *** robert[m] has quit IRC (Ping timeout: 480 seconds)
11:23:14 *** dave[m] has quit IRC (Ping timeout: 480 seconds)
11:24:21 <Eddi|zuHause> i've hidden quit messages by people that didn't write anything
11:24:31 <Eddi|zuHause> much better in quiet channels
11:25:24 <TrueBrain> what I dislike most, that every time it comes up, one of these matrix users says something, but .. in between .. they never speak
11:25:53 <TrueBrain> and there are no longer a few of them .. no 60+ ...
11:27:13 <Eddi|zuHause> i don't know matrix, but for them it's probably a channel nested 3 layers down some menu tree that they never visit
11:27:50 <Wolf01> Hmmm I need a ratio to gear calculator
11:28:15 <Eddi|zuHause> you mean like 1.5 = 3:2?
11:28:51 <Wolf01> No, I mean I have like 1:47 and a fixed set of gears (figure which one) and it should tell me which ones to use
11:30:04 <Eddi|zuHause> that sounds like some kind of factoring
11:30:16 *** ciet[m] has joined #openttd
11:30:25 <Wolf01> Yep, but I don't want to do the math :P
11:30:29 <Eddi|zuHause> probably NP complete :p
11:31:30 <DorpsGek> [OpenTTD/OpenTTD] TrueBrain updated pull request #8355: Add: support for emscripten (play-OpenTTD-in-the-browser) https://git.io/JIn4l
11:31:53 <Eddi|zuHause> also, 47 sounds like a prime, that might be impossible :p
11:32:03 <DorpsGek> [OpenTTD/OpenTTD] TrueBrain updated pull request #8355: Add: support for emscripten (play-OpenTTD-in-the-browser) https://git.io/JIn4l
11:32:17 <Wolf01> That's why I need it :D
11:32:20 <TrueBrain> milek7: I think I made mouse movement even better now :D I less often lose track of the mouse :)
11:32:29 *** frosch123 has joined #openttd
11:32:32 <TrueBrain> I have to split this PR btw, as the relative-mode is something that works really well on linux too now :)
11:35:26 <TrueBrain> (the way I run Linux GUIs, via WSL, doesn't allow the normal mouse capturing; relative mode solvedthat too :D)
11:35:49 *** julie[m] has joined #openttd
11:39:49 *** elliot[m] has joined #openttd
11:44:01 <milek7> I tried networking yesterday, but apparently something changed since last time and it crashes now
11:44:09 <FLHerne> TrueBrain: Where are you getting 60+? I only see a handful of [m] nicks in the list
11:44:31 <FLHerne> Oh, did they all leave because the gateway broke? :p
11:44:49 <FLHerne> I have the same setting as Eddi
11:45:28 <FLHerne> It resolves all the join/part issues except for people complaining about join/part issues I can't see
11:46:04 <FLHerne> To be fair, there are also dozens of IRC users who never speak
11:46:50 <TrueBrain> but they don't leave all at once
11:47:14 <FLHerne> something something netsplit
11:47:25 <TrueBrain> which RARELY happens these days, honestly
11:47:54 <TrueBrain> and even if it does, often it is a smaller group of people
11:47:55 <FLHerne> We had a whole day of rolling netsplits on freenode a couple of weeks ago
11:48:05 <TrueBrain> is this freenode? :P
11:48:19 <TrueBrain> but really, matrix should have more than one IRC gateway
11:48:24 <TrueBrain> that would solve most of this weirdness
11:48:47 <Eddi|zuHause> i rarely visit freenode anymore, every channel i try to join requires registering
11:49:24 *** nolep[m] has joined #openttd
11:49:28 <FLHerne> So...why not register? It takes, like, a minute
11:49:38 <FLHerne> And then people can't impersonate you
11:55:00 *** karoline[m] has joined #openttd
11:55:25 *** jottyfan has joined #openttd
11:56:40 <TrueBrain> that is your fault! :P
11:57:27 <TrueBrain> I btw made it more like fullscreen mode on other OSes, that is why there is no delta if you reached 0,0 and try to go to the left
11:58:37 *** virtualrandomnumber has joined #openttd
11:58:50 *** virtualrandomnumber has quit IRC ()
12:05:33 *** jottyfan has quit IRC (Quit: jottyfan)
12:20:41 *** andythenorth has joined #openttd
12:21:50 *** jact[m] has joined #openttd
12:33:21 *** phil[m] has joined #openttd
12:41:16 *** WormnestAndroid has quit IRC (Ping timeout: 480 seconds)
12:41:20 *** WormnestAndroid has joined #openttd
12:41:58 <TrueBrain> okay ... I got most of the persistent ... just where the freak does it handle changing of game options :P
12:44:43 <TrueBrain> ah, it uses SetSettingValue too
12:58:10 *** yur3shmukcik[m] has joined #openttd
12:58:47 *** ircer[m] has joined #openttd
12:59:08 *** igor[m] has joined #openttd
13:00:02 *** shedidthedog[m] has joined #openttd
13:01:31 *** amal[m] has joined #openttd
13:01:36 *** WormnestAndroid has quit IRC (Ping timeout: 480 seconds)
13:02:02 *** WormnestAndroid has joined #openttd
13:08:49 *** blikjeham[m] has joined #openttd
13:29:08 *** nartir[m] has joined #openttd
13:30:29 *** Heiki[m] has joined #openttd
13:34:00 *** robert[m] has joined #openttd
13:36:43 *** christoph[m]1 has joined #openttd
13:43:31 *** olmvnec[m] has joined #openttd
13:51:57 *** CornsMcGowan[m] has joined #openttd
14:05:31 <TrueBrain> hmm ... for some reason it is difficult to wait till the FS is sync'd before starting OpenTTD with emscripten
14:05:35 <TrueBrain> that is .. an unusual problem :D
14:05:51 *** patricia[m] has joined #openttd
14:06:43 *** m1cr0man has joined #openttd
14:17:03 *** patrick[m] has joined #openttd
14:23:56 *** cawal[m] has joined #openttd
14:25:49 <TrueBrain> finally found how they meant you to do that :D Documentation poor? Fuck yes
14:25:58 *** hamstonkid[m] has joined #openttd
14:29:10 *** freu[m] has joined #openttd
14:30:44 *** m1cr0man has quit IRC (Ping timeout: 480 seconds)
14:31:02 *** leward[m] has joined #openttd
14:31:13 *** yoyo[m] has joined #openttd
14:31:47 *** jottyfan has joined #openttd
14:40:25 *** rudolfs[m] has joined #openttd
14:44:09 <TrueBrain> milek7: ha, I got it working; OpenGFX is now downloaded once and stored in the Indexed DB :P Saves a bit of bandwidth :D
14:46:55 *** m1cr0man has joined #openttd
14:48:18 <TrueBrain> now time to fix some other annoying things :P
14:49:45 *** fjodor[m] has joined #openttd
14:52:04 <LordAro> it's bad that my immediate thought was "TrueBrain: that's not a nice way to refer to Andy", isn't it?
14:52:08 <Wolf01> We are soaked up to the knees
14:52:33 <LordAro> andythenorth: love you really
14:52:38 <TrueBrain> the weather here is lovely, tbh
14:53:04 <LordAro> very damp here in the (relative) north
14:56:50 *** linda[m] has joined #openttd
14:57:56 *** m1cr0man has quit IRC (Ping timeout: 480 seconds)
15:00:47 <DorpsGek> [OpenTTD/OpenTTD] TrueBrain updated pull request #8355: Add: support for emscripten (play-OpenTTD-in-the-browser) https://git.io/JIn4l
15:03:34 <TrueBrain> hmm, a change that might be good to just make for all OSes .. when you make a settings change, it now stores it to disk immediately .. instead of the current behaviour where it waits till you press Exit Game
15:03:49 <TrueBrain> I so hate how it currently works ... and for emscripten it is VERY unlikely someone hits Exit Game
15:03:58 <TrueBrain> so I made it that it stores the change immediately :D
15:05:08 <DorpsGek> [OpenTTD/OpenTTD] LordAro commented on pull request #8355: Add: support for emscripten (play-OpenTTD-in-the-browser) https://git.io/JICx7
15:06:43 <DorpsGek> [OpenTTD/OpenTTD] TrueBrain commented on pull request #8355: Add: support for emscripten (play-OpenTTD-in-the-browser) https://git.io/JICpt
15:07:50 <LordAro> where did i put that...
15:09:11 *** grag[m] has joined #openttd
15:10:23 <michi_cc> Only loosers write messages :p
15:11:36 <TrueBrain> now how to solve xz dependency cleanly .. hmm
15:17:40 *** dude[m] has joined #openttd
15:27:59 *** pothyurf[m] has joined #openttd
15:32:07 *** yoltid[m] has joined #openttd
15:34:29 *** philip[m] has joined #openttd
15:35:45 *** jottyfan has quit IRC (Quit: jottyfan)
15:38:08 <TrueBrain> hmmm ... I forgot how in CMake you make a target recompile if a file changed ... eeeuuuuhhhhhh
15:40:15 <TrueBrain> target_link_libraries, rightyo :)
15:43:10 *** gretel[m] has joined #openttd
15:44:01 <LordAro> protip: cmake does not like it if your build dir has a ':' in it
15:45:11 *** cyberjunkie[m] has joined #openttd
15:45:52 *** joey[m] has joined #openttd
15:48:01 *** osvaldo[m] has joined #openttd
15:48:14 <LordAro> (well, make, i guess)
15:48:46 * andythenorth has to make a train
15:49:24 *** natmac[m] has joined #openttd
15:53:26 *** menelaos[m] has joined #openttd
15:57:41 *** m1cr0man has joined #openttd
15:57:49 *** Flygon has quit IRC (Quit: A toaster's basically a soldering iron designed to toast bread)
16:00:43 <TrueBrain> interactive mode not set properly? Cool :D
16:01:33 <LordAro> the necessary env var is set now :)
16:02:07 <TrueBrain> can't remember the last time I had to set it :P I assumes it would detect it based on tty
16:02:11 <LordAro> quite infuriating that it showed no output at all until the job was timed out 6 hours later
16:03:06 <TrueBrain> haha, well, yes ... IT WAS WAITING FOR YOU :P
16:05:57 *** albert[m] has joined #openttd
16:10:39 *** m1cr0man has quit IRC (Ping timeout: 480 seconds)
16:14:32 *** m1cr0man has joined #openttd
16:16:08 <TrueBrain> CMake can be a real bitch, did you know that? :D
16:16:15 <TrueBrain> I have to quote something, but it keeps the quotes :P
16:16:20 <TrueBrain> that is .... sub-optiomal :D
16:16:57 *** ad5twoknebor[m] has joined #openttd
16:17:46 <frosch123> how many \ do you need to write a \ ?
16:17:55 <frosch123> sometimes you get to 8
16:18:21 *** karl[m]1 has joined #openttd
16:24:26 *** cjmonagle[m] has joined #openttd
16:29:26 *** m1cr0m4n has joined #openttd
16:29:35 *** m1cr0man has quit IRC (Ping timeout: 480 seconds)
16:31:26 *** labs[m] has joined #openttd
16:33:08 *** tonyfinn[m] has joined #openttd
16:38:25 *** m1cr0man has joined #openttd
16:42:23 *** m1cr0m4n has quit IRC (Ping timeout: 480 seconds)
16:44:31 *** dekeract[m] has joined #openttd
16:51:30 *** m1cr0man has quit IRC (Quit: G'luck)
16:51:59 *** m1cr0man has joined #openttd
16:59:42 *** natalie[m] has joined #openttd
17:03:45 *** johanna[m] has joined #openttd
17:05:20 *** iarp[m] has joined #openttd
17:07:07 *** magdalena[m] has joined #openttd
17:16:24 *** m1cr0m4n has joined #openttd
17:19:58 *** m1cr0man has quit IRC (Ping timeout: 480 seconds)
17:26:07 *** pina[m] has joined #openttd
17:31:37 *** khavik[m] has joined #openttd
17:33:07 *** josef[m] has joined #openttd
17:50:02 *** einar[m] has joined #openttd
17:56:15 *** Aileen[m] has joined #openttd
18:02:08 *** ist5shreawf[m] has joined #openttd
18:13:36 <LordAro> TrueBrain: need a way of converting ubuntu:18.04 to ubuntu-18.04 (or otherwise getting rid of the ':') in github actions. any thoughts?
18:14:37 *** glothit7ok[m] has joined #openttd
18:17:19 *** Wormnest has joined #openttd
18:23:59 <TrueBrain> Bash step that sets a variable
18:24:12 <TrueBrain> You can output variables in stepz
18:24:20 <LordAro> yeah, that's what i did
18:24:28 <LordAro> just wondered if you knew of any nicer solution
18:24:42 *** otetede has joined #openttd
18:24:47 <TrueBrain> Not really.. not needing the replacement to start with :D
18:25:30 <LordAro> i didn't name the containers
18:34:25 *** m1cr0m4n has quit IRC (Ping timeout: 480 seconds)
18:37:09 *** hylshols7qui[m] has joined #openttd
18:38:02 <LordAro> i've tried to solve the 32bit issue with cross compiling... but getting cmake to find the libs is proving tricky
18:38:41 *** m1cr0man has joined #openttd
18:42:41 *** emeraldsnorlax[m] has joined #openttd
18:45:25 *** m1cr0m4n has joined #openttd
18:47:29 <TrueBrain> Windows is easy, so that is good
18:48:42 <LordAro> i think it would be a shame to drop 32bit while there are still (supported, mainstream) 32bit OSes out there
18:48:55 <LordAro> and it *should* work :p
18:49:44 *** m1cr0man has quit IRC (Ping timeout: 480 seconds)
18:51:10 *** twom[m] has joined #openttd
18:52:13 <TrueBrain> there is a huge difference between "supported" and people using it :P
18:53:54 <frosch123> 2 people complained when 9x was dropped 2 years ago
18:54:26 <frosch123> no idea whether they upgraded and could complain again about 32 getting droppped
18:56:11 <TrueBrain> LordAro: doesn't AppImage do 32bit? If so, you can tell those 2 people to fuck off to there :P
18:57:12 <frosch123> TrueBrain: i am afraid, your emscripten build won't run in ie6
18:57:13 <LordAro> maybe 2021 is the right time to drop 32bit binaries
18:57:27 <LordAro> we can still support it, just wouldn't be tested
18:58:28 <TrueBrain> omg, who dropped DOS support?!
18:58:38 <DorpsGek> [OpenTTD/OpenTTD] LordAro opened pull request #8357: Codechange: Drop libxdg-basedir dependency in favour of finding the directories ourselves https://git.io/JIWz8
18:58:53 <frosch123> good point. you could have redirected them to dosbox
18:59:30 <TrueBrain> how .. does that help frosch123 ? :D
18:59:52 <frosch123> you are bullying people. first you remove 9x, then dos, then 32bit
19:00:09 <frosch123> whenever they switch, you kill it :)
19:00:11 <DorpsGek> [OpenTTD/OpenTTD] LordAro updated pull request #8357: Codechange: Drop libxdg-basedir dependency in favour of finding the directories ourselves https://git.io/JIWz8
19:00:32 <TrueBrain> frosch123: yeah ... that sounds like me :D
19:00:42 <TrueBrain> and now I am bullying people off Desktop applications! :P
19:01:01 <TrueBrain> LordAro: seems you have a dangling #endif in that patch :P
19:01:14 <TrueBrain> #ifdefs over 2 functions
19:01:18 <TrueBrain> that is a bit ... weird :P
19:01:26 <frosch123> you are probably a google employee then
19:01:48 <TrueBrain> even GitHubs syntax hightlighter says: fuck this shit, I am out :D
19:02:11 <LordAro> missed a line when copy & pasting :p
19:02:35 <TrueBrain> right, I was going to split up my PR .. lets see ..
19:02:55 <DorpsGek> [OpenTTD/OpenTTD] LordAro updated pull request #8357: Codechange: Drop libxdg-basedir dependency in favour of finding the directories ourselves https://git.io/JIWz8
19:04:19 <LordAro> TrueBrain: you should approve & merge some of my other PRs :p
19:04:40 <TrueBrain> well, if I am looking at that PR you just made ... I can see that the syntax works
19:04:53 <LordAro> TrueBrain: i mean the others
19:05:25 <LordAro> oh, apparently just #8318
19:05:30 <LordAro> i thought there was more :p
19:05:35 <TrueBrain> which needs a rebase :P
19:05:56 <LordAro> honestly, who rewrote the CI again?
19:05:59 <DorpsGek> [OpenTTD/OpenTTD] TrueBrain approved pull request #8318: Fix: Compile warnings when asserts are disabled https://git.io/JIWgB
19:06:27 <TrueBrain> I would love to overrule the checks and just squash it ...
19:06:32 <TrueBrain> but possibly that breaks everything :D
19:07:22 <DorpsGek> [OpenTTD/OpenTTD] LordAro dismissed a review for pull request #8318: Fix: Compile warnings when asserts are disabled https://git.io/JIWgB
19:07:25 <DorpsGek> [OpenTTD/OpenTTD] LordAro updated pull request #8318: Fix: Compile warnings when asserts are disabled https://git.io/JUal2
19:07:38 <DorpsGek> [OpenTTD/OpenTTD] TrueBrain approved pull request #8318: Fix: Compile warnings when asserts are disabled https://git.io/JIWgX
19:07:49 *** jeremy[m] has joined #openttd
19:08:26 *** fiddeldibu[m] has joined #openttd
19:10:44 *** jeeg[m] has joined #openttd
19:11:04 *** otetede has quit IRC (Quit: Nettalk6 - www.ntalk.de)
19:12:38 <DorpsGek> [OpenTTD/OpenTTD] TrueBrain opened pull request #8358: Add: save openttd.cfg immediately on changing a setting https://git.io/JIW2Y
19:13:34 <LordAro> i don't understand, why has the windows build failed?
19:13:48 <LordAro> Error: D:\a\OpenTTD\OpenTTD\src\fileio.cpp(1197): error C3861: 'GetHomeDir': identifier not found
19:14:45 <LordAro> ...because i put it in the "!WIN32" block
19:14:49 <LordAro> so many ifdefs in this file
19:15:07 <TrueBrain> I spend more comments in the commit message than the change, but frosch123 , this one is for you :)
19:16:28 *** ookfof[m] has joined #openttd
19:18:18 <frosch123> oh, i forgot lzo is an external dependency
19:18:31 <frosch123> there used to be a minilzo.c within ottd source
19:18:33 *** paulus[m] has joined #openttd
19:20:50 <TrueBrain> no clue why it became external, but it is a pita, and especially after you explained it is bullshit to encourage it .... I am fine silencing it :D
19:21:21 <frosch123> why can't i find docs for link_package
19:21:26 <frosch123> is that something we invented?
19:21:51 <TrueBrain> cmake/LinkPackage.cmake in our repo, so I guess
19:22:19 <frosch123> ah, well, if it looks similar as xdg_basedir
19:23:36 <DorpsGek> [OpenTTD/OpenTTD] LordAro updated pull request #8357: Codechange: Drop libxdg-basedir dependency in favour of finding the directories ourselves https://git.io/JIWz8
19:24:36 <DorpsGek> [OpenTTD/OpenTTD] TrueBrain opened pull request #8360: Add: allow using SDL2 in "relative mouse mode" https://git.io/JIWai
19:24:59 <DorpsGek> [OpenTTD/OpenTTD] LordAro updated pull request #8357: Codechange: Drop libxdg-basedir dependency in favour of finding the directories ourselves https://git.io/JIWz8
19:25:01 <LordAro> i promise i do actually know how to program
19:25:39 <frosch123> have you been a devloloper?
19:26:55 <DorpsGek> [OpenTTD/OpenTTD] TrueBrain opened pull request #8361: Fix: useless warning with -snull and no BaseSounds available https://git.io/JIWab
19:27:07 <frosch123> LordAro: lots of duplication on those #ifdef
19:27:43 <DorpsGek> [OpenTTD/OpenTTD] LordAro merged pull request #8318: Fix: Compile warnings when asserts are disabled https://git.io/JUal2
19:27:47 <frosch123> do we have some derived defines?
19:28:02 <LordAro> frosch123: UNIX also includes OSX
19:28:10 *** christoph[m] has joined #openttd
19:28:18 <LordAro> so i can do !WIN32 && !APPLE, or UNIX and !APPLE
19:28:49 <frosch123> i mean something in stdafx or so: #if ... #define HAVE_XDG_BASEDIR
19:29:25 <frosch123> some places are not that obvious that those #if cases are about xdg
19:29:28 <TrueBrain> right, 4 PRs to reduce my 5th PR :D
19:31:58 <DorpsGek> [OpenTTD/OpenTTD] michicc closed issue #8348: sound_effect property doesn't seem to work with helicopters https://git.io/Jkpre
19:32:01 <DorpsGek> [OpenTTD/OpenTTD] michicc merged pull request #8347: Change: [NewGRF] Use aircraft property 12 also for helicopters. https://git.io/JkpVx
19:32:15 <DorpsGek> [OpenTTD/OpenTTD] frosch123 commented on pull request #8357: Codechange: Drop libxdg-basedir dependency in favour of finding the directories ourselves https://git.io/JIWVr
19:33:51 <DorpsGek> [OpenTTD/OpenTTD] LordAro commented on pull request #8357: Codechange: Drop libxdg-basedir dependency in favour of finding the directories ourselves https://git.io/JIWVx
19:34:11 <TrueBrain> are company settings saved in openttd.cfg?
19:34:30 <DorpsGek> [OpenTTD/OpenTTD] TrueBrain updated pull request #8358: Add: save openttd.cfg immediately on changing a setting https://git.io/JIW2Y
19:35:17 <DorpsGek> [OpenTTD/OpenTTD] frosch123 commented on pull request #8357: Codechange: Drop libxdg-basedir dependency in favour of finding the directories ourselves https://git.io/JIWwY
19:35:23 *** dave[m] has joined #openttd
19:35:29 <frosch123> TrueBrain: yes, for new games
19:35:45 <TrueBrain> &Company::Get(_current_company)->settings
19:35:53 <TrueBrain> that setting ... stored in openttd.cfg?
19:36:14 <frosch123> that looks like savegame only
19:36:28 <TrueBrain> k .. I assumed as much, as I was wondering how it would end up in openttd.cfg :D
19:38:06 <DorpsGek> [OpenTTD/OpenTTD] michicc commented on pull request #8357: Codechange: Drop libxdg-basedir dependency in favour of finding the directories ourselves https://git.io/JIWwM
19:40:02 <DorpsGek> [OpenTTD/OpenTTD] LordAro updated pull request #8357: Codechange: Drop libxdg-basedir dependency in favour of finding the directories ourselves https://git.io/JIWz8
19:42:04 <DorpsGek> [OpenTTD/OpenTTD] TrueBrain updated pull request #8355: Add: support for emscripten (play-OpenTTD-in-the-browser) https://git.io/JIn4l
19:44:52 <TrueBrain> from no PR in months, to 5 in a day \o/ :D Gnagna
19:46:35 <TrueBrain> LordAro: "&PERSONAL_DIR[(PERSONAL_DIR[0] == '.')]" <- this is really code you are writing?
19:46:43 <TrueBrain> that is just pure evil
19:46:59 <TrueBrain> at least add an "? 1 : 0" behind it
19:46:59 <LordAro> TrueBrain: i wondered whether anyone would notice
19:47:09 <LordAro> i'd argue that it's nicer than what was there before
19:47:16 <LordAro> (other than the implicit bool -> int stuff)
19:47:25 <TrueBrain> if you make it a tenary operator, I agree with you
19:47:29 <TrueBrain> otherwise .. hard no :P
19:48:17 <frosch123> yes, definitely add a ?1:0
19:48:48 <frosch123> you can also try PERSONAL_DIR + (.. ? 1: 0)
19:48:55 <TrueBrain> this whole code became a disaster .. but that was already true in 2007 :P
19:49:04 <TrueBrain> didn't someone try to rewrite it?
19:49:13 <TrueBrain> and got hopeless stuck in it :P
19:49:30 <frosch123> albert tried 5 years ago. there may have been more tries since then :p
19:49:50 <TrueBrain> I am still happy with my commit message of #8361 :)
19:50:25 *** m1cr0m4n has quit IRC (Read error: Connection reset by peer)
19:51:14 <DorpsGek> [OpenTTD/OpenTTD] frosch123 commented on pull request #8357: Codechange: Drop libxdg-basedir dependency in favour of finding the directories ourselves https://git.io/JIWoq
19:51:22 <TrueBrain> do we have a screenshot of the latest title game on a huge resolution? Like 2k? 4k?
19:51:24 *** m1cr0man has joined #openttd
19:51:49 <frosch123> probably in your backup of devs.openttd.org/~planetmaker
19:52:19 <TrueBrain> I can also just open the title game and make one myself, ofc
19:53:57 <frosch123> well, unless printf calls setenv somehow
19:56:11 <DorpsGek> [OpenTTD/OpenTTD] frosch123 commented on pull request #8357: Codechange: Drop libxdg-basedir dependency in favour of finding the directories ourselves https://git.io/JIWo1
19:56:23 <frosch123> c is such a crappy language :)
19:56:24 <michi_cc> I'd be more suspect of any third-party library for that.
19:56:38 <TrueBrain> so I have this PNG of 3MB .. I Was like, I open it in gimp and make it smaller .. it is now 7MB ...
19:58:20 <michi_cc> LordAro: I have some std::string stuff lying around, if you give me a couple minutes you can have a prepare PR :)
20:01:20 <LordAro> well, i've done it now
20:01:59 <LordAro> i do much more C than C++ at work (and that C++ is very C-with-classes), so i *should* be able to do this :p
20:02:08 <LordAro> and much of that time is fixing memory leaks
20:03:35 <DorpsGek> [OpenTTD/OpenTTD] LordAro updated pull request #8357: Codechange: Drop libxdg-basedir dependency in favour of finding the directories ourselves https://git.io/JIWz8
20:13:03 <DorpsGek> [OpenTTD/OpenTTD] michicc opened pull request #8362: Apply some C++ love to string handling in file and config paths. https://git.io/JIW6A
20:16:41 *** arikover has joined #openttd
20:20:15 <michi_cc> LordAro: Some std::string for you ^^^ :p
20:20:36 *** jottyfan has joined #openttd
20:25:13 <LordAro> curious how gcc is fine with it
20:25:34 <michi_cc> Somebody added a DEBUG since I've done it.
20:25:48 <DorpsGek> [OpenTTD/OpenTTD] michicc updated pull request #8362: Apply some C++ love to string handling in file and config paths. https://git.io/JIW6A
20:32:53 <TrueBrain> what is a default font that matches most with OpenTTD's?
20:37:05 <DorpsGek> [OpenTTD/OpenTTD] michicc updated pull request #8362: Apply some C++ love to string handling in file and config paths. https://git.io/JIW6A
20:39:11 <TrueBrain> works for me, cheers!
20:39:23 *** frosch123 has quit IRC (Quit: be yourself, except: if you have the opportunity to be a unicorn, then be a unicorn)
20:46:31 <DorpsGek> [OpenTTD/OpenTTD] glx22 commented on pull request #8361: Fix: useless warning with -snull and no BaseSounds available https://git.io/JIW1W
20:47:21 <TrueBrain> owh ..... installer ... ugh ... euh .... I have to .... do ..... ANYTHING else ...
20:48:09 <LordAro> bundle would be a great first step :p
20:48:16 <TrueBrain> the build is in the parent btw
20:48:18 <TrueBrain> says the step before
20:48:26 <TrueBrain> a\OpenTTD\build, it says
20:49:00 <DorpsGek> [OpenTTD/OpenTTD] TrueBrain commented on pull request #8361: Fix: useless warning with -snull and no BaseSounds available https://git.io/JIW1r
20:50:06 <TrueBrain> and I read glx is going to help you :D
20:50:11 <TrueBrain> sorry LordAro , I completely forgot about NSIS
20:50:19 <TrueBrain> I know I once got it to work via CPack
20:50:30 <TrueBrain> but for my life of it, I completely erased any knowledge of that from my memory
20:51:11 <glx> well I know it works on azure, so it should be usable in GA too
20:51:44 <LordAro> mm, should just be a case of translating the commands
20:51:55 <LordAro> but both use weird function things that don't expose everything
20:55:49 <TrueBrain> glx: does Azure already do CPack?
20:57:51 <glx> indirectly yes, it uses package.vcproj created by cmake
20:58:02 <LordAro> so the azure calls a package.vcxproj
20:58:07 <LordAro> but i can't see that in the build folder
20:58:29 <glx> because azure doesn't use ninja
21:00:31 *** arikover` has joined #openttd
21:00:42 <LordAro> so what's the equivalent?
21:03:02 <glx> but ninja should work too, you can run cpack manually
21:03:30 *** arikover has quit IRC (Remote host closed the connection)
21:03:49 * LordAro doesn't know what the correct cpack command is either
21:03:56 <LordAro> it's hidden normally :p
21:05:14 <TrueBrain> "cpack" is the command on linux :P
21:05:34 <TrueBrain> it is odd, I really really cannot remember how to do it :D
21:05:52 <LordAro> from the build directory, persumably?
21:07:45 <TrueBrain> all cmake commands are always executed from the build directory
21:08:02 <glx> yeah probably needs "-C RelWithDebInfo" too
21:10:23 <LordAro> i'm trying one with, and one without :p
21:11:02 <glx> VS is so slow to start when the system is low on ram
21:18:07 *** jottyfan has quit IRC (Quit: jottyfan)
21:22:01 <LordAro> well there's something there
21:22:15 <LordAro> pdb might be with it, i suppose, can't really tell what's inside :p
21:24:17 <glx> some how something failed -- Option Use NSIS - OFF
21:25:05 <glx> and you use Release build type, this doesn't generate pdb IIRC
21:26:10 <LordAro> pdb is there, it's just in the build folder rather than bundles folder
21:26:16 <LordAro> it might be inside the zip, but i can't tell
21:26:17 <glx> hmm seems it does, but maybe not the one we use
21:27:10 <TrueBrain> LordAro: protip, you can also start a bash on Windows runners, things like 'find' are lovely to use :D
21:28:30 <glx> oh and if you wan't to check the bundles you can output them as artifacts when testing :)
21:28:50 <LordAro> that was the idea, i just had to find/generate them first :p
21:29:07 <LordAro> i think the latest run should actually succeed, so should get some artifacts
21:30:25 <glx> ls build/bundles/RelWithDebInfo <-- can't work here, that's for the MSVC generator
21:32:20 <LordAro> ok, yeah, that's the standard bundle
21:33:26 <LordAro> let's try with RelWithDebInfo again, instead of Release
21:34:53 *** tokai|noir has joined #openttd
21:34:53 *** ChanServ sets mode: +v tokai|noir
21:35:32 *** sla_ro|master has quit IRC ()
21:36:13 <glx> and OPTION_USE_NSIS doesn't want to be ON
21:37:42 <LordAro> glx: is that a "it's not on, though it should be", or "it shouldn't be on" ?
21:38:03 <LordAro> i know it shouldn't be on for every "release"/nightly, i want to test it actually works though
21:38:49 <glx> well you added the option to cmake so it should say ON
21:40:48 <LordAro> "Used by CMakeListsTxtAdvanced and CMakeSettingsJson modes"
21:41:01 <LordAro> it's not used with the basic mode, i think
21:41:45 *** tokai has quit IRC (Ping timeout: 480 seconds)
21:41:56 <LordAro> there's the pdb file again, anyway
21:42:00 <LordAro> needs copying into the bundles dir
21:42:45 <milek7> incremental link something?
21:43:08 <LordAro> it's 50MB, whatever it is
21:45:44 <TrueBrain> lol .. finally found something that does work in FireFox, but not in Chrome :D
21:45:48 <TrueBrain> that is surprising :P
21:55:03 <DorpsGek> [OpenTTD/OpenTTD] TrueBrain updated pull request #8355: Add: support for emscripten (play-OpenTTD-in-the-browser) https://git.io/JIn4l
21:58:47 <milek7> it probably needs hotkey to switch relative mode on/off? but it's not default, so maybe not necessary
21:59:10 <TrueBrain> I didn't want to allow switching during runtime, honestly
22:00:37 <glx> LordAro: the weird part is "cmakeGenerator: Ninja" but "-- Building for: Visual Studio 16 2019"
22:01:11 *** WormnestAndroid has quit IRC (Remote host closed the connection)
22:01:29 <glx> ok cmakeGenerator is for basic only
22:01:42 <milek7> and why it cares about last_position* at all? not just set delta to relative position from event?
22:02:11 <TrueBrain> as I said earlier, that would allow to go left of 0,0; other drivers don't allow this in fullscreen
22:02:16 <TrueBrain> I wanted to keep that behaviour
22:02:59 <TrueBrain> (well, left of 0,Y, but you get what I mean)
22:03:13 *** WormnestAndroid has joined #openttd
22:03:16 <milek7> umm.. no, I don't know
22:03:20 <glx> LordAro: I think you need to add -G "Ninja" to cmakeAppendedArgs
22:03:28 <TrueBrain> if you use the delta, and you are on 0,Y
22:03:33 <TrueBrain> it still registers a: go left
22:03:35 <TrueBrain> this way, it doesn't
22:03:43 <TrueBrain> that is what all other OSes do too in fullscreen
22:03:52 <TrueBrain> so this is more consistent
22:04:14 <TrueBrain> (pos.x = 0, pos.y = <whatever>, delta_x = -1)
22:05:35 <milek7> if I place cursor on 0,0
22:05:44 <milek7> I can hold right button and scroll anywhere
22:06:44 <TrueBrain> only if your scroll_mode results in a fix_at when you press RMB
22:06:56 <TrueBrain> if you for example set it to mode 2, in fullscreen, it does not
22:07:10 <TrueBrain> (in non-fullscreen something odd happens, and it strongly depends where the application is on your desktop)
22:07:27 <andythenorth> I mean, you can decide for yourselves
22:07:27 <TrueBrain> andythenorth: enjoy!
22:07:32 <andythenorth> but I have decided for me
22:08:06 <TrueBrain> in windowed mode, this behaviour is rather buggy for most drivers
22:08:11 <TrueBrain> I was tempted to fix it, but meh
22:08:40 <TrueBrain> but this at least feels nice to me, when playing with it in emscripten :)
22:09:18 <TrueBrain> fixing the window-enter, that was horrible ... SDL, also on Linux, is rather buggy in relative mode :P
22:09:24 <TrueBrain> (for the window-enter event)
22:09:52 <TrueBrain> and finding "SDL_HINT_MOUSE_RELATIVE_MODE_WARP" took a long time .. but emscripten ignores that hint :D
22:10:53 <TrueBrain> and I am pretty happy with how it now looks, with the loading dialog and everything :D
22:11:04 <TrueBrain> I still want to do that the game isn't shown till it is in the intro screen
22:11:11 <TrueBrain> as it is black for a while when you start up
22:11:15 <TrueBrain> that can be avoided :D
22:14:15 *** andythenorth has quit IRC (Quit: andythenorth)
22:17:55 <milek7> "Are you sure to want to exit OpenTTD and return to Unix?"
22:18:00 <milek7> this message didn't age well
22:18:01 <milek7> assuming that game is only one application running and you have to "return" :P
22:18:31 <TrueBrain> we have that message in many variations
22:18:40 <TrueBrain> no clue why it doesn't just read: "Are you sure you want to exit OpenTTD?"
22:18:49 *** Progman has quit IRC (Remote host closed the connection)
22:19:07 <milek7> probably when it was "return to DOS" it made more sense
22:19:09 <TrueBrain> but that is no excuse :D
22:19:23 <TrueBrain> just a bad joke copied over and over again, basically :D
22:20:12 <TrueBrain> well, it only does it for Windows, Unix, OS X, Haiku, OS/2 and SunOS
22:20:21 <TrueBrain> guess the other ports never cared sufficient about it :P
22:22:47 <TrueBrain> milek7: I see you only allow connections to the content service and your own gameserver :) That is smart
22:22:56 <TrueBrain> I was thinking if there was a generic solution, but it is really difficult
22:23:11 <TrueBrain> content-service and master-server are easy
22:23:18 <TrueBrain> we can just deploy that as part of openttd.org
22:23:23 <TrueBrain> but joining multiplayer servers ... hmm
22:23:35 <TrueBrain> add WebSocket support to OpenTTD you say? :D
22:25:26 <milek7> you managed to get network working? I had problems yesterday
22:27:02 <TrueBrain> Was thinking how to approach it
22:28:34 <milek7> I thought about proxying all connections, but without something like identd server support it seems too prone to abuse
22:29:45 <TrueBrain> Yeah ... I was thinking about protocol detection, but even then .. an IP ban bans all players :D
22:36:52 <milek7> and there's silly thing about HTTP content downloads
22:37:03 <milek7> it gets whole URL from content-service, and it tries to do http-over-websocket, which obviously won't work
22:37:53 <TrueBrain> Yeah, but I know what I want to do there :D
22:38:49 <TrueBrain> Game servers are the biggest problem.. maybe whitelist a few which understand what clients they are
22:38:51 <milek7> for my tests I just disabled http downloads, but it probably needs to use some emscripten api to xmlhttprequest
22:39:37 *** rptr_ has quit IRC (Quit: Leaving)
22:39:50 <TrueBrain> Meh, something for tomorrow. Happy with the result of today :D
22:40:00 *** gelignite has quit IRC (Quit: Stay safe! Stay at home! Stop the chain reaction!)
22:40:26 <milek7> and while and it, on desktop builds replace homegrown http client with libcurl/OS library :P
22:41:49 <TrueBrain> Ssl support.. that would be lovely
22:42:32 <TrueBrain> Huge dependency to drag in .. not easy
22:43:09 <milek7> abstract http client class that uses winhttp/libcurl/emscripten fetch depending on platform?
22:44:29 *** jottyfan has joined #openttd
22:45:38 <TrueBrain> But yeah, being able to use https would be great. And emscripten can be a nice testbed for it
22:47:14 <milek7> I see that matrix irc bridge doesn't use identd
22:47:33 <milek7> but connects from individual ipv6 address
22:49:08 <TrueBrain> There is an option.. only allow connecting to IPv6 servers
22:49:17 <TrueBrain> That would work, honestly
22:49:46 <TrueBrain> Interesting idea ...
22:50:29 <TrueBrain> I was considering you need to authenticate with GitHub to connect to game servers via emscripten, or something like that
23:05:42 *** jottyfan has quit IRC (Quit: jottyfan)
23:07:20 *** HerzogDeXtEr has quit IRC (Read error: Connection reset by peer)
23:18:04 *** Wolf01 has quit IRC (Quit: Once again the world is quick to bury me.)
23:22:03 *** keoz has quit IRC (Ping timeout: 480 seconds)
23:24:36 *** nielsm has quit IRC (Ping timeout: 480 seconds)
23:43:05 *** arikover` has quit IRC (Quit: ERC (IRC client for Emacs 26.3))
continue to next day ⏵