Back to Home / #openttd / 2019 / 07 / Prev Day | Next Day
#openttd IRC Logs for 2019-07-22

---Logopened Mon Jul 22 00:00:19 2019
00:27-!-Beerbelott [] has left #openttd []
01:32-!-Wormnest_ [~Wormnest@] has joined #openttd
01:32-!-Wormnest_ is "Wormnest" on #openttd
02:07-!-sla_ro|master [] has joined #openttd
02:07-!-sla_ro|master is "slamaster" on @#sla #openttd
02:36-!-Flygon [] has quit [Read error: Connection reset by peer]
02:46-!-Flygon [] has joined #openttd
02:46-!-Flygon is "Flygon" on #openttd
04:03-!-andythenorth [] has joined #openttd
04:03-!-andythenorth is "andythenorth" on #openttd
04:04<andythenorth>looks like I accidentally ran autopep8 over Horse code
04:04<andythenorth>now it's unreadable
04:04<andythenorth>pep8 is awful
04:16<LordAro>not usually
04:17<LordAro>what's it done?
04:39<DorpsGek_II>[OpenTTD/OpenTTD] James103 opened issue #7665: Possible infrastructure count overflow leading to negative infrastructure maintenance costs
04:54<andythenorth>it has opinions on wrapping
04:54<andythenorth>has nobody got the memo? We're not coding on VT220 terminals any more
04:59-!-tycoondemon2 [] has quit []
05:12<LordAro>andythenorth: mm, i'll give you that onr
05:12<LordAro>there's various config options you can specify though
05:22-!-tycoondemon [] has joined #openttd
05:22-!-tycoondemon is "..." on #openttd
05:25-!-Samu [] has joined #openttd
05:25-!-Samu is "realname" on #openttd
06:03<Arveen> 2,147,483,647 road pieces sounds slightly excessive
06:15<Eddi|zuHause>there are things that count as multiple pieces
06:31<DorpsGek_II>[OpenTTD/OpenTTD] fsimonis commented on pull request #7270: Introduce CMake (and removing all other project-related code)
06:38<DorpsGek_II>[OpenTTD/OpenTTD] fsimonis commented on pull request #7270: Introduce CMake (and removing all other project-related code)
06:45<DorpsGek_II>[OpenTTD/OpenTTD] imcasper updated pull request #7653: Add: BuildVehicleSmartGUI
07:11-!-andythenorth [] has quit [Quit: andythenorth]
07:29<Samu>@calc 4096*4096
07:29<@DorpsGek>Samu: 16777216
07:29<Samu>@calc 4096*4096 * 4
07:29<@DorpsGek>Samu: 67108864
08:35<@peter1138>Well, I lunched. Saladed. Obviously.
08:36-!-Thedarkb-T60 [] has joined #openttd
08:36-!-Thedarkb-T60 is "realname" on #openttd #oolite
08:48-!-sla_ro|master [] has quit []
08:51-!-cHawk [] has quit [Quit: Leaving]
09:16-!-andythenorth [] has joined #openttd
09:16-!-andythenorth is "andythenorth" on #openttd
09:35<supermop_work>timesheet total for lat week: 69 hours
09:39<supermop_work>was hoping for a nice. but oof also works
09:42<@peter1138>Seems to be at least 29 hours too many.
09:48-!-nielsm [] has joined #openttd
09:48-!-nielsm is "Niels Martin Hansen" on #openttd
09:54-!-lpx [] has quit [Ping timeout: 480 seconds]
10:01-!-lpx [] has joined #openttd
10:01-!-lpx is "Lyle Lack Leopold Penxicles III" on #openttd
10:09-!-Flygon [] has quit [Quit: A toaster's basically a soldering iron designed to toast bread]
10:11<Eddi|zuHause>i'd probably go mad
10:15-!-Samu [] has quit [Quit: Leaving]
10:33<ntsbmvnk>supermop_work: how many of those hours are you paid for?
10:33<ntsbmvnk>no overtime pay?
10:40<Eddi|zuHause>i don't know why you even bother
10:40<ntsbmvnk>If I'm paid to work 40, I work 40
10:40<ntsbmvnk>not lining the investors pockets with my free time.
10:45<Eddi|zuHause>i don't think that is even legal around here
10:45<Eddi|zuHause>... unless you have some kind of higher management position
10:47<andythenorth>pretty standard in USA no?
10:51<nakki>wait what the fuck, you don't get paid for extra hours?
10:52<nakki>that sounds super fucked up
10:52<ntsbmvnk>In the EU you're required to sign a waiver for going over 45 hours
10:53<ntsbmvnk>I've only once signed a waiver like that
10:53<ntsbmvnk>never again
10:54<nakki>i don't feel productive for most of the ~7,5 hours i do per day
10:54<nakki>i can't imagine working >37,5 per week
10:57<andythenorth>working time directive
11:01<ntsbmvnk>andythenorth: that'll be it
11:01<ntsbmvnk>I really feel for Americans in at-will states
11:01<ntsbmvnk>you pretty much have to put up with so much bullshit
11:02<ntsbmvnk>the protections offered to me should be standard worldwide imho
11:09-!-Alberth [] has joined #openttd
11:09-!-mode/#openttd [+o Alberth] by ChanServ
11:09-!-Alberth is "purple" on @#openttd
11:45<@Alberth>busy with iron horse eh?
11:46<andythenorth>needs play-testers :D
11:47<@Alberth>any particular years?
11:48-!-cHawk [] has joined #openttd
11:48-!-cHawk is "realname" on #debian-offtopic #debian-next #openttd #debian
11:50<andythenorth>starts from 1860
11:50<andythenorth>last train introduced around 2027
11:52<@Alberth>that's a lot of play :)
11:52<andythenorth>too much for one game imho
11:52<andythenorth>but it's nice to play 1860-1960 or 1930-2030
11:53<@Alberth>around 1980, when do new things arrive?
11:53<andythenorth>I wish the online docs could tell you :)
11:53<@Alberth>should probably do a 20 years before or so
11:53<andythenorth>but they're offline currently
11:54<andythenorth>the main generations are 30 years apart, and there's one in 1960
11:54<@Alberth>ok, 1930 looks ok-ish thus
11:54<andythenorth>a few vehicles are introduced outside of the progression rules, to keep the interest up
11:55<@Alberth>yeah, change everything at the same time is boring :)
11:55<andythenorth>jenkins really hates Iron Horse :)
11:57<Eddi|zuHause>"last stable build: 4 months, 28 days ago"
11:58<andythenorth>I broke the CI
11:59<@Alberth>your chameleon has hidden itself too well :p
12:00<andythenorth>frosch has a somewhat port of coop to Docker I believe
12:00<andythenorth>there is a repo, but I have lost the link :)
12:07-!-rocky11384497 [~rocky1138@] has quit [Ping timeout: 480 seconds]
12:10<andythenorth>Horse 97%
12:10<andythenorth>10 trains to draw
12:10-!-Tempus2 [] has joined #openttd
12:10-!-Tempus2 is "realname" on #openttd
12:12<Tempus2>Is it possible to have OpenTTD play from the Roland Sound Canvas?
12:12-!-Progman [] has joined #openttd
12:12-!-Progman is "Peter Henschel" on #openttd
12:12<nielsm>Tempus2 yes
12:12<nielsm>I do that myself
12:13<Tempus2>How do I do that?
12:13<nielsm>you'll have to edit your openttd.cfg file
12:13<nielsm>actually, are you on windows?
12:13<Tempus2>Yes I am.
12:13<Tempus2>Where is that file located?
12:13<nielsm>good, since I don't think we have a reliable hardware output driver on other platforms :)
12:14<nielsm>My Document\OpenTTD\openttd.cfg
12:14<Tempus2>Ah documents-folder
12:15<nielsm>edit the musicdriver= line
12:15<nielsm>mine is
12:15<nielsm>musicdriver = "win32:port=5"
12:15<nielsm>you'll probably use a lower port number, I just have way to many midi outputs
12:15<nielsm>try port 2 first
12:15<Tempus2>I have at least 5 outputs.
12:15<nielsm>right :P
12:16<Tempus2>Have a M-Audio MIDI Sport with 4 and my sound card has a few too.
12:16<nielsm>you can also use the dmusic driver and start with commandline -ddriver=1 to get a list of the ports ordering
12:16<nielsm>or you can use the "mixer /listmidi" command in dosbox since that uses the same ordering
12:17<Tempus2>Yeah, I have a MIDI-program for Windows too
12:17<Tempus2>But it can select names
12:18<Tempus2>And Dosbox SVN, you can do midiconfig="My midi device" instead of an integer.
12:18<nielsm>I haven't updated my dosbox in years ;)
12:19<Tempus2>Well, SVN is worth getting.
12:19-!-rocky11384497 [~rocky1138@] has joined #openttd
12:19-!-rocky11384497 is "Your Mom" on #openttd
12:19<nielsm>anyway I hope you get it working, it's great getting the original intended sound :D
12:19<Tempus2>Yeah, it works.
12:20<Tempus2>Just got the wrong port.
12:20<Tempus2>It outputs to my Roland CM-32L
12:20<nielsm>also use the dos version music if you have it, the instruments and channel balance is slightly off in the midi files from the windows version, imo :P
12:21<Tempus2>It is the DOS-version.
12:21<Tempus2>I've played it with DOSBox to now.
12:21<Tempus2>I have both TTD and TT + World Editor.
12:23<nielsm> :P
12:24<Tempus2>Ah you have a Behrininger sound-card. Cool.
12:26<nielsm>I have an SC-55st on one port, a korg NS5R on another, a roland RA-50 on a third (it's difficult to get it to do proper MT32 compatibility), and then a bad piano
12:26<supermop_work>interior designer, amount of management
12:26<supermop_work>design and architecture are generally pretty long hour fields even outside the US
12:26<supermop_work>but this is the most absurd one ive gad
12:27<supermop_work>usually these jobs are more like 45-50 hours a week, and slow in the summer
12:30<Tempus2>nielsm, this is what I have hooked up:
12:32<Tempus2>And it works perfect.
12:33<Tempus2>Might have to compile my own that accept name-strings that identify the integers, just like DOSBox SVN dos(es).
12:33-!-andythenorth [] has quit [Quit: andythenorth]
12:34<nielsm>well, ottd driver parameter strings don't really have any way of escaping funny characters
12:34<nielsm>so some wouldn't be supportable
12:35<Tempus2>I haven't looked at the source, I wouldn't know how difficult it would be.
12:35<Tempus2>I just downloaded the binaries now.
12:36-!-HerzogDeXtEr [] has joined #openttd
12:36-!-HerzogDeXtEr is "purple" on #openttd
12:36<_moep_>hey I switched my trains to the electronic asian train. now I have trouble, because its not profitably. my trains are long and sometimes it takes a longtime when its complete full
12:37<_moep_>do you have any suggestions?
12:37<@Alberth>disable full load?
12:37<@Alberth>make them shorter?
12:38<_moep_>hmm ok :D
12:38<Tempus2>Find a source that is better?
12:48-!-sla_ro|master [] has joined #openttd
12:48-!-sla_ro|master is "slamaster" on @#sla #openttd
12:50<nielsm>Tempus2: I'm adding port listing and named port selection now
12:51<nielsm>to the win32_m driver
12:54-!-Gumle2 [] has joined #openttd
12:54-!-Gumle2 is "Martin" on #ceph #bcache #openttd
13:01<Tempus2>Are you the author?
13:02<Tempus2>Ah, nice to meet you!
13:02<nielsm>I reworked all the midi code on windows last year since I was annoyed by the hardware output support being terrible :)
13:02<nielsm>and also implemented dos music loading just because
13:02<Tempus2>Hardware output?
13:03<nielsm>using anything but the microsoft synth
13:03<nielsm>pretty much
13:03<Tempus2>Ah like that
13:03<Tempus2>Well, MIDI is a wast sea
13:04<Tempus2>Is there only one version of the MIDI-songs that comes with the original?
13:04<DorpsGek_II>[OpenTTD/OpenTTD] nielsmh opened pull request #7666: Add: [Win32] Select MIDI device by port name
13:05<nielsm>the DOS version has at least two sets of music, one for MIDI and one for adlib
13:05<nielsm>they are entirely separate
13:06<Tempus2>Ah, can OpenTTD do the Adlib one?
13:06<nielsm>the windows version of TTD actually comes with three sets of midi files, one for GM, one for adlib, and one for SB AWE 32/64
13:06<nielsm>well the thing with adlib is that you need a synth :P
13:07<Tempus2>Well, but all soundcards has it or can emulate it?
13:07<nielsm>I have a branch where I imported the OPL2/3 synth code from dosbox into ottd and added decoding for the ADLIB.CAT file
13:07<Tempus2>The OPL2/3
13:07-!-Progman [] has quit [Remote host closed the connection]
13:07<nielsm>I can try rebasing it to current master and make a new build
13:07<Tempus2>I am not very familiar with the adlib-part of DOSBox.
13:08<Tempus2>Well, don't do any of this for my sake. I am happy I could configure it to use the Sound Canvas.
13:10<Tempus2>The synths I have are all connected to a programmable power-strip which I can configure in my own SVN-version of Dosbox, so that they turn on once I fire a specific game with a specific configuration.
13:26<nielsm>okay, got the adlib music branch building again, required a bunch of fixups :P
13:31<Tempus2>I don't know much about Adlib I just found out,.
13:32<nielsm>there's a 64 bit build of master with adlib music support
13:32<nielsm>you'll need to copy into your baseset folder
13:32-!-Thedarkb-T60 [] has quit [Ping timeout: 480 seconds]
13:45-!-Gumle2 [] has quit []
14:10-!-gelignite [] has joined #openttd
14:10-!-gelignite is "gelignite" on #openttd
14:27<Tempus2>It works very nice, nielsm. How did you do it that fast?
14:28<nielsm>well I did most of the work in january :P just updated it to current master version today
14:29<Tempus2>When would these be official?
14:29<nielsm>also I'm pretty sure there is a bug in the decoding or handling of modulation messages
14:29<Tempus2>How so?
14:29<nielsm>the code quality is rather bad so I don't think this adlib stuff is going in any time soon
14:29<Tempus2>Ah I see.
14:30<Tempus2> Let me compare to Dosbox.
14:30<nielsm>compare Easy Driver
14:30<nielsm>there are some slides there that makes the modulation bug obvious
14:31<Tempus2>Ah yeah, that's the first song in OpenTTD.
14:31<Tempus2>The order of the songs are done differently.
14:31<nielsm>yes, I'm not happy with the way playlists are handled :P
14:31<Tempus2>In which one?
14:32<Tempus2>I don't know how the order is done in TTD
14:32<Tempus2>I know Cruice Controla and Jammit are new and they appear two different places.
14:32<nielsm>before I finish up the adlib branch I want to add support for wav/mp3 music along with a better format for the OBM files
14:32<Tempus2>Ah, yeah, that sounds nice.
14:33<nielsm>and some more internal reworking to support non-midi music in a general fashion
14:35<Tempus2>sounds a bit less noisy too
14:35<Tempus2>Not sure what would cause that.
14:40-!-Gumle2 [] has joined #openttd
14:40-!-Gumle2 is "Martin" on #ceph #bcache #openttd
14:41-!-Thedarkb-T60 [] has joined #openttd
14:41-!-Thedarkb-T60 is "realname" on #openttd #oolite
14:43<nielsm>oh yeah, before I had the dos music decoding working correctly I had this bug :P
14:47<Tempus2>ALmost qualifies as an original soundtrack. You should have recorded the MIDI :P
15:05-!-glx [] has joined #openttd
15:05-!-mode/#openttd [+v glx] by ChanServ
15:05-!-glx is "Loïc GUILLOUX" on +#openttd
15:08-!-Gumle2 [] has quit [Remote host closed the connection]
15:10-!-Samu [] has joined #openttd
15:10-!-Samu is "OFTC WebIRC Client" on #openttd
15:17<DorpsGek_II>[OpenTTD/OpenTTD] LordAro approved pull request #7642: Fix #7250: Viewport kdtree not being updated for waypoints when sign …
15:18-!-Samu_ [] has joined #openttd
15:18-!-Samu_ is "OFTC WebIRC Client" on #openttd
15:19-!-Samu [] has quit [Quit: Page closed]
15:21-!-Samu_ is now known as Samu
15:26<DorpsGek_II>[OpenTTD/OpenTTD] LordAro commented on pull request #7658: Add: 'getsysdate' console command
15:26<DorpsGek_II>[OpenTTD/OpenTTD] LordAro merged pull request #7605: Fix #7593: Crash in ScriptOrder::GetOrderDistance in VT_AIR mode
15:26<DorpsGek_II>[OpenTTD/OpenTTD] LordAro closed issue #7593: Null pointer dereference in ScriptOrder::GetOrderDistance in VT_AIR mode on waypoint tiles
15:27<DorpsGek_II>[OpenTTD/OpenTTD] LordAro merged pull request #7621: Feature: Town name filtering
15:29-!-Wormnest_ [~Wormnest@] has quit [Ping timeout: 480 seconds]
15:29<Tempus2>nielsm, You might now this. Does TTD come with Desktop icons, if you install it on Windows?
15:30<DorpsGek_II>[OpenTTD/OpenTTD] glx22 commented on pull request #7666: Add: [Win32] Select MIDI device by port name
15:31<+glx>Tempus2: you mean a shortcut on desktop ?
15:31<Tempus2>No, well yes, but did it ever have an icon?
15:31<nielsm>the installer creates start menu shortcuts and desktop shortcut
15:32<+glx>it uses exe icon
15:32<nielsm>and yes there has been an icon since forever
15:32<Tempus2>I guess I need to dig out the CD
15:32<Tempus2>I use shortcuts to all my DOS-games in Windows.
15:32<+glx>but why run TTD when there's OTTD ? ;)
15:34<Tempus2>Well, we'll see. I just installed it first time today.
15:35-!-Wacko1976 [] has joined #openttd
15:35-!-Wacko1976 is "The Chat Cool People Use" on #openttd #/r/openttd
15:36<DorpsGek_II>[OpenTTD/OpenTTD] michicc commented on pull request #7666: Add: [Win32] Select MIDI device by port name
15:38*Tempus2 facepalms
15:38<Tempus2>I do remember now that I see the icon..
15:38<Tempus2>One I haven't seen in... 20 years?
15:39<DorpsGek_II>[OpenTTD/OpenTTD] nielsmh commented on pull request #7666: Add: [Win32] Select MIDI device by port name
15:40<DorpsGek_II>[OpenTTD/OpenTTD] nielsmh commented on pull request #7658: Add: 'getsysdate' console command
15:41<DorpsGek_II>[OpenTTD/OpenTTD] nielsmh merged pull request #7642: Fix #7250: Viewport kdtree not being updated for waypoints when sign …
15:42<LordAro>nielsm: #7608 is probably for you
15:42<LordAro>i imagine "yes this is fine, now remove the debugging commit" ?
15:45<Samu>how does one do this? "marked this pull request as ready for review 6 days ago"
15:45<LordAro>Samu: switch from draft PR
15:46<Samu>oh, it has to be a draft in the first place?
15:47-!-sla_ro|master [] has quit []
15:48<DorpsGek_II>[OpenTTD/OpenTTD] DerDakon commented on pull request #7270: Introduce CMake (and removing all other project-related code)
15:52<Tempus2>Ah, delighted to find 2 different icons for TTD.
16:01-!-Alberth [] has left #openttd []
16:09-!-Wolf01 [] has joined #openttd
16:09-!-Wolf01 is "Wolf01" on #openttd
16:13<Samu>I'm testing openttd on a system that isn't mine
16:13<Samu>this build, actually
16:15<Samu>Intel Celeron E1400, 2 cores at 2.0 GHz
16:15<Samu>with windows 7 and 4 GB RAM
16:18-!-andythenorth [] has joined #openttd
16:18-!-andythenorth is "andythenorth" on #openttd
16:18<andythenorth>I have seen this behaviour that alberth reports
16:18<andythenorth>is that just what OpenTTD does though?
16:21<andythenorth>I can't see anything in the newgrf spec for that
16:22<Eddi|zuHause>dunno, i probably learned to work around these quirks ages ago and don't notice them
16:23<DorpsGek_II>[OpenTTD/OpenTTD] stormcone updated pull request #7582: Use shift + click to show vehicles' group.
16:27-!-Samu [] has quit [Quit: Page closed]
16:30<DorpsGek_II>[OpenTTD/OpenTTD] stormcone commented on pull request #7582: Use shift + click to show vehicles' group.
16:48-!-Progman [] has joined #openttd
16:48-!-Progman is "Peter Henschel" on #openttd
17:08-!-gelignite [] has quit [Quit: Good fight, good night!]
17:17-!-Wacko1976 [] has quit [Ping timeout: 480 seconds]
17:24-!-Progman [] has quit [Remote host closed the connection]
17:28-!-Beerbelott [] has joined #openttd
17:28-!-Beerbelott is "purple" on #openttd
17:29-!-Wacko1976 [] has joined #openttd
17:29-!-Wacko1976 is "The Chat Cool People Use" on #openttd #/r/openttd
17:30<Beerbelott>I notice some (all?) code in openttd follow some specific habits, ie: opening curly bracket for functions on a new line, space between "if" identifier & parenthesis
17:30<Beerbelott>Are those habits normative or up to the developer?
17:31<Beerbelott>Is this up-to-date?
17:31<Beerbelott>If so I guess I got my answer
17:33<+glx>it is, also includes commit message format
17:34-!-nielsm [] has quit [Ping timeout: 480 seconds]
17:38-!-andythenorth [] has left #openttd []
17:41-!-Wacko1976 [] has quit [Ping timeout: 480 seconds]
17:46-!-Tempus2 [] has quit [Quit: Leaving]
17:52-!-Wolf01 [] has quit [Quit: Once again the world is quick to bury me.]
18:43-!-HerzogDeXtEr [] has quit [Read error: Connection reset by peer]
19:30-!-Wormnest_ [~Wormnest@] has joined #openttd
19:30-!-Wormnest_ is "Wormnest" on #openttd
19:31-!-tokai [] has joined #openttd
19:31-!-tokai is "Christian Rosentreter" on #openttd
19:31-!-mode/#openttd [+v tokai] by ChanServ
19:32-!-supermop_work [~supermopw@] has quit [Read error: Connection reset by peer]
19:38-!-tokai|noir [] has quit [Ping timeout: 480 seconds]
20:31<Beerbelott>glx: OK thx
20:35-!-Jyggalag [] has joined #openttd
20:35-!-Jyggalag is "Daedric prince of madness" on #openttd #virt #tor-de
20:38-!-Sheogorath [] has quit [Ping timeout: 480 seconds]
20:38-!-Jyggalag [] has quit []
21:25-!-Smedles [] has quit [Ping timeout: 480 seconds]
21:27-!-Smedles [] has joined #openttd
21:27-!-Smedles is "Paul Smedley" on #openttd
22:10-!-Sheogorath [] has joined #openttd
22:10-!-Sheogorath is "Daedric prince of madness" on #openttd #tor-de
22:44-!-Wormnest__ [~Wormnest@] has joined #openttd
22:44-!-Wormnest__ is "Wormnest" on #openttd
22:48-!-Smedles [] has quit [Ping timeout: 480 seconds]
22:49-!-Smedles [] has joined #openttd
22:49-!-Smedles is "Paul Smedley" on #openttd
22:51-!-Wormnest_ [~Wormnest@] has quit [Ping timeout: 480 seconds]
23:02-!-D-HUND [~debdog@2a00:79c0:634:c900:7a24:afff:fe8a:d04d] has joined #openttd
23:02-!-D-HUND is "Wowbagger" on #bitlbee #openttd
23:05-!-debdog [~debdog@2a00:79c0:601:b400:7a24:afff:fe8a:d04d] has quit [Ping timeout: 480 seconds]
23:09-!-glx [] has quit []
23:10<Beerbelott>What is this?
23:11<Beerbelott>Using commit hash to avoid the line moving:
23:28<DorpsGek_II>[OpenTTD/OpenTTD] telk5093 commented on pull request #7658: Add: 'getsysdate' console command
---Logclosed Tue Jul 23 00:00:20 2019