IRC logs for #openttd on OFTC at 2018-03-14
            
00:02:21 *** Progman has quit IRC
00:10:18 *** Wormnest has quit IRC
00:11:42 *** anonymous_ has joined #openttd
00:29:05 *** iSoSyS has joined #openttd
00:30:26 *** HerzogDeXtEr has quit IRC
00:34:50 *** supermop has joined #openttd
00:43:33 *** FLHerne has joined #openttd
01:07:11 *** Thedarkb has quit IRC
01:41:29 *** ToBeFree has joined #openttd
01:55:01 *** Flygon has joined #openttd
02:04:48 *** snail_UES_ has joined #openttd
02:07:06 *** supermop has quit IRC
02:08:53 *** Thanark has quit IRC
02:30:51 *** iSoSyS has quit IRC
02:54:44 *** supermop has joined #openttd
03:02:48 *** supermop has quit IRC
03:23:12 *** ProfFrink has joined #openttd
03:24:59 *** Prof_Frink has quit IRC
03:24:59 *** ProfFrink is now known as Prof_Frink
03:47:40 *** FLHerne has quit IRC
03:51:01 *** ToBeFree has quit IRC
05:21:33 *** glx has quit IRC
05:23:08 *** Gja has joined #openttd
05:25:57 *** Gja has quit IRC
05:30:31 *** snail_UES_ has quit IRC
05:31:41 *** yorick has quit IRC
05:39:26 *** yorick has joined #openttd
05:49:02 *** Cubey has quit IRC
05:58:23 *** Compu has quit IRC
06:06:23 *** Compu has joined #openttd
07:08:29 *** Rune_ has joined #openttd
07:14:56 *** SeraphAngel has quit IRC
07:14:59 *** Rune_ is now known as SeraphAngel
07:53:24 *** andythenorth has joined #openttd
08:17:17 *** Maarten has quit IRC
08:18:06 *** Maarten has joined #openttd
08:18:34 *** supermop_work_ has quit IRC
08:31:32 *** gelignite has joined #openttd
09:09:20 *** andythenorth has quit IRC
09:11:05 *** andythenorth has joined #openttd
09:18:03 *** andythenorth has quit IRC
10:01:40 *** andythenorth has joined #openttd
10:16:12 *** andythenorth has quit IRC
10:45:17 *** gelignite has quit IRC
10:46:29 *** gelignite has joined #openttd
11:33:39 *** andythenorth has joined #openttd
11:33:41 <andythenorth> already?
11:33:43 *** andythenorth has left #openttd
11:37:46 *** LordAro has quit IRC
11:38:42 *** LordAro has joined #openttd
11:55:57 *** stefino has joined #openttd
11:58:41 *** TheMask96 has quit IRC
11:59:37 *** snail_UES_ has joined #openttd
11:59:57 *** TheMask96 has joined #openttd
12:01:03 <stefino> hi. I'm trying to code vehicle graphics for tunnels. Tadeusz wrote at forum that for longer vehicles than 8 is there way with "other_veh_is_hidden" switch. Do someone know how does it work? I have vehicles make from articulated parts - for example 1+8+1. Main graphics of vehicle is loaded in the middle part.
12:03:00 <stefino> so where I have to put this switch? There where I code middle part? or in the end to final item?
12:06:05 <stefino> code is here - include this one engine. Front, rear, middle part and final "articulated" item. I have the switch in the middle part atm.
12:06:07 <stefino> https://paste.openttdcoop.org/psvuv7y04
12:09:23 *** snail_UES_ has quit IRC
12:18:29 <stefino> I think there will be a problem with front and rear parts due cut graphics on them (bridge fix)
12:22:53 *** FLHerne has joined #openttd
12:39:05 *** SeraphAngel has quit IRC
13:33:15 *** ToffeeYogurtPots has joined #openttd
13:52:38 *** bwn has quit IRC
14:00:03 *** joe__ has quit IRC
14:11:24 *** ToffeeYogurtPots has quit IRC
14:14:30 *** bwn has joined #openttd
14:15:18 *** tokai has joined #openttd
14:15:18 *** ChanServ sets mode: +v tokai
14:22:06 *** tokai|noir has quit IRC
14:30:34 *** supermop_work has joined #openttd
14:35:03 <supermop_work> yo
14:52:11 *** rellig has joined #openttd
15:04:04 *** Flygon has quit IRC
15:18:16 *** Compu has quit IRC
15:36:18 *** andythenorth has joined #openttd
15:36:22 <andythenorth> find me ferries :P
15:36:28 <andythenorth> I am underwhelmed
15:38:33 <andythenorth> similar style to big twin-ended ferry here
15:38:34 <andythenorth> http://dev.openttdcoop.org/attachments/download/8909/sam%20is.png
15:40:19 <andythenorth> ?? https://upload.wikimedia.org/wikipedia/commons/thumb/6/6e/M.V_Leirna.JPG/1200px-M.V_Leirna.JPG
15:41:24 <andythenorth> ?? https://1.bp.blogspot.com/-ojVZmr8Xqt8/WpKnj8uCMaI/AAAAAAAAlpw/K9bw2aYbci4uCFNfBNDnchQYBidV51p1wCLcBGAs/s1600/IMG_9978%2BVincent%2BColeman.jpg
15:45:57 *** nielsm has joined #openttd
16:19:14 *** andythenorth has quit IRC
16:42:49 *** Thedarkb has joined #openttd
16:48:29 <nielsm> cute :) the dos version music format seems to encode "start the song over for looping here" as a "select instrument applause" command
16:58:34 *** ToBeFree has joined #openttd
16:59:08 *** Alberth has joined #openttd
16:59:08 *** ChanServ sets mode: +o Alberth
17:08:12 *** sla_ro|master has joined #openttd
17:15:17 *** Gja has joined #openttd
17:16:38 *** gelignite has quit IRC
17:27:28 *** supermop has joined #openttd
17:33:11 *** frosch123 has joined #openttd
17:36:33 *** supermop has quit IRC
17:36:41 *** TheMask96 has quit IRC
17:42:25 *** TheMask96 has joined #openttd
17:45:29 <stefino> hi. I'm trying to code vehicle graphics for tunnels. Tadeusz wrote at forum that for longer vehicles than 8 is there way with "other_veh_is_hidden" switch. Do someone know how does it work? I have vehicles make from articulated parts - for example 1+8+1. Main graphics of vehicle is loaded in the middle part.
17:45:41 <stefino> so where I have to put this switch? There where I code middle part? or in the end to final item?
17:45:48 <stefino> code is here - include this one engine. Front, rear, middle part and final "articulated" item. I have the switch in the middle part atm.
17:45:54 <stefino> https://paste.openttdcoop.org/psvuv7y04
17:49:12 *** Gja has quit IRC
18:04:46 *** synchris has joined #openttd
18:09:17 *** Cubey has joined #openttd
18:16:30 *** Gja has joined #openttd
18:26:02 *** john-aj has joined #openttd
18:31:49 *** Biolunar has joined #openttd
18:37:32 <nielsm> how the music was never supposed to sound: http://0x0.st/saBA.webm
18:40:24 <LordAro> nielsm: the end of that is amazing
18:44:36 *** Biolunar has quit IRC
18:54:50 *** glx has joined #openttd
18:54:50 *** ChanServ sets mode: +v glx
19:05:14 <DorpsGek> Commit by frosch :: r27990 /trunk (bin/ai/compat_1.7.nut src/saveload/saveload.cpp) (2018-03-14 19:05:06 +0100 )
19:05:15 <DorpsGek> -Update: Docs
19:05:40 *** Wormnest has joined #openttd
19:07:57 *** ToBeFree has quit IRC
19:13:18 *** andythenorth has joined #openttd
19:13:31 <Alberth> o/
19:15:09 <frosch123> °\
19:18:11 *** Maarten has quit IRC
19:18:55 *** Maarten has joined #openttd
19:20:17 *** gelignite has joined #openttd
19:23:00 *** virtualrandomnumber has joined #openttd
19:25:17 *** Progman has joined #openttd
19:27:36 *** supermop has joined #openttd
19:30:36 *** Stimrol has joined #openttd
19:34:24 <andythenorth> quak
19:35:41 *** supermop has quit IRC
19:36:56 <andythenorth> but why does STR_BTSW_NAME cause a token error?
19:37:16 <andythenorth> is it triggering on a bizarre split?
19:38:56 *** Wolf01 has joined #openttd
19:39:33 <Wolf01> o/
19:44:07 <Alberth> o/
19:44:33 <Alberth> looks very weird, andy
19:45:42 <Alberth> but he fixed it by adding "name" in front of it? perhaps he was missing something before it
19:45:45 <DorpsGek> Commit by translators :: r27991 trunk/src/lang/spanish_MX.txt (2018-03-14 19:45:37 +0100 )
19:45:46 <DorpsGek> -Update from Eints:
19:45:47 <DorpsGek> spanish (mexican): 1 change by Absay
19:45:51 *** HerzogDeXtEr has joined #openttd
19:49:52 <Wolf01> Mmmh, still don't read "Feature: NRT" in commit messages
19:59:29 <supermop_work> yo
20:00:44 <andythenorth> Wolf01: must be an error :(
20:00:52 <andythenorth> maybe DorpsGek is broken? o_O
20:02:20 *** Stimrol has quit IRC
20:05:51 *** virtualrandomnumber has left #openttd
20:07:37 <Alberth> dorpsgek may have lost the road
20:22:45 *** Thedarkb has quit IRC
20:30:35 *** Stimrol has joined #openttd
20:34:43 <supermop_work> is nrt getting committed?
20:35:26 <andythenorth> unknown
20:36:10 *** stefino has quit IRC
20:36:12 <DorpsGek> Commit by frosch :: r27992 branches/1.8/ (2018-03-14 20:36:06 +0100 )
20:36:13 <DorpsGek> [1.8] -Branch: for incrementing numbers
20:36:47 <DorpsGek> Commit by frosch :: r27993 /trunk (14 files in 11 dirs) (2018-03-14 20:36:41 +0100 )
20:36:48 <DorpsGek> -Change: Heading for 1.9 now
20:37:09 <frosch123> which titlegame to use?
20:37:09 <LordAro> :o
20:37:37 <supermop_work> should it have ELRD?
20:38:16 <supermop_work> i guess no point with no newgrfs
20:41:01 <andythenorth> so I need to fix openttd.grf
20:41:08 <andythenorth> I guess it's the airport sprites
20:41:19 <andythenorth> conflicts with new sprites in NRT
20:45:00 *** FLHerne has quit IRC
20:46:58 <andythenorth> supermop_work: got any inspiring smaller ferries?
20:47:05 <andythenorth> preferably bi-directional
20:47:13 <andythenorth> I am totally non-whelmed
20:47:36 <supermop_work> https://goo.gl/images/x1A79k
20:50:15 <andythenorth> http://www.evergreenfleet.com/hiyu-history.html
20:50:23 <andythenorth> but car ferries with exposed decks are no good :)
20:50:27 <andythenorth> that's not TTD
20:51:25 <andythenorth> supermop_work: Melbourne or Brisbane got ferries?
20:51:45 <supermop_work> melbourne no
20:51:51 <supermop_work> river too narrow
20:52:58 <andythenorth> reality has been copying my sprites again https://www.fleetmon.com/vessels/queen-of-melbourne_6924313_30573/?language=en
20:53:11 <andythenorth> it's the 'mini' mail ship http://dev.openttdcoop.org/attachments/download/8910/mail_ships.png
20:53:42 *** Thedarkb has joined #openttd
20:54:29 <andythenorth> I think the 'mini' ferry really has to be something like https://www.merseyferries.co.uk/boat-hire/Pages/Testimonials.aspx
20:54:34 <andythenorth> even though it's a PITA to draw
20:57:23 <supermop_work> there are a lot of those in NY harbor
20:57:30 <supermop_work> mostly for party rental
20:58:02 <supermop_work> our little ferries here are the yellow catamarans, 1 or two decks
20:58:35 <supermop_work> and some clapped out single hulled boats of similar size that competing company runs
20:59:19 <supermop_work> https://en.wikipedia.org/wiki/NY_Waterway#/media/File:NY_Waterway_ferry_with_Jersey_City_skyline.jpg
21:02:36 <supermop_work> http://3.bp.blogspot.com/-KRhbrvSqHA8/Uh0-psXtfxI/AAAAAAAAA6M/M0UvR_zrtZY/s1600/GI4.jpg
21:02:43 <andythenorth> NY ferry is plausible
21:02:47 <andythenorth> just kind of boring
21:03:19 <andythenorth> that bigger white one is viable
21:03:29 <andythenorth> I have a sprite like that already, just needs adjusting
21:03:49 <supermop_work> the last one goes to governors island, so isn't really optimized for commuting
21:04:40 <andythenorth> http://bundles.openttdcoop.org/unsinkable-sam/push/LATEST/docs/html/ships.html#pax_fast_loading_mini
21:04:58 <andythenorth> just restyle that shape
21:05:19 <andythenorth> supermop_work: while we're here....
21:05:30 <andythenorth> I could try a different deck colour for the luxury ships
21:05:35 <andythenorth> to appear more 'luxury'
21:05:38 <andythenorth> but eh, dunno
21:10:02 <nielsm> well whaddayaknow, my music decoder handles the theme song correctly now!
21:10:31 <nielsm> and easy driver also decodes without blatant crashes at least
21:12:14 <andythenorth> :)
21:13:09 <nielsm> (how the heck did I translate "cmp [bp+byte1],FEh; jnz else_branch" into "if ((byte1 & 0xFE) == 0)" .....)
21:13:39 <nielsm> (the correct is just byte1 == 0xFE)
21:14:39 <nielsm> (and the next block I translated "cmp [bp+byte1],FDh; jnz else_branch" into "if (byte1 == 0)", even more puzzling)
21:17:55 <supermop_work> andythenorth: wood deck vs grey or green non-skid?
21:18:18 <andythenorth> green decks? o_O https://www.vesseltracker.com/en/ShipPhotos/316201-Queen-Of-Melbourne-6924313.html
21:18:22 <andythenorth> might clash with CC
21:19:09 <Eddi|zuHause> sometimes i think you're just looking for reasons to never be finished
21:19:45 <frosch123> nielsm: is the dos music opl2 stuff?
21:19:51 <frosch123> or something else?
21:19:59 <nielsm> frosch123 no, depends on the driver selected
21:20:29 <nielsm> if you use the general midi, soundcanvas, or mt32 drivers, it sends midi to an mpu-401
21:20:35 <nielsm> that's the driver I've reversed
21:20:52 <nielsm> if you choose an opl2 based music driver it uses a different set of music data which I haven't looked at
21:21:26 <nielsm> I think it also uses the midi data for GUS, but not sure what exactly it does with it
21:21:41 <andythenorth> Eddi|zuHause: eh what?
21:21:43 <nielsm> (but drivers.cat includes an ultramid.exe and ultramid.ini, defining some patches)
21:21:48 <andythenorth> how can it be finished if it's not good?
21:22:06 <andythenorth> 'good enough' has to entail 'good', not just 'enough'
21:22:18 <frosch123> oh, so the dos music exists in multiple formats
21:22:30 <Eddi|zuHause> andythenorth: sure, but how does green floor have anything to do with "good"?
21:22:37 <nielsm> but anyway, the midi music (in GM.cat) is stored in some custom encoding
21:23:19 *** Gja has quit IRC
21:23:20 <nielsm> it uses some "master tracks" and then a series of "segments", the master tracks can call into a segment to do some kind of compression of parts that repeat
21:23:32 <andythenorth> types of vehicle need to be visually distinct
21:24:36 <nielsm> frosch123 if you check a DOS version install you'll find adlib.cat, gm.cat, roland.cat, those are the three versions of the music
21:24:48 <nielsm> I think roland.cat is used just for mt32 but not sure
21:24:58 <andythenorth> the colour of the floor is 6 entries in a remap table :P
21:25:45 <nielsm> drivers.cat contains a bunch of .com files, the install.exe/setup.exe program copies the appropriate driver files for the selected cards out into sound.com and music.com
21:25:58 <nielsm> and when ttdx.exe runs, it starts sound.com and music.com as TSRs
21:26:40 <nielsm> music.com at least gets a service handled called every "music tick", which seems to be around every 6 or 6.5 ms, not exactly sure
21:27:20 <nielsm> but the music driver selected simply affects which music.com gets loaded, and each music.com has hardcoded which .cat file it should read music data from
21:28:30 <nielsm> I now kind of want to reverse one of the soundblaster music drivers to figure out what it does with those, and then put an OPL emulator into the code :P
21:30:01 *** synchris has quit IRC
21:38:00 *** john-aj has quit IRC
21:39:05 *** iSoSyS has joined #openttd
21:50:00 <nielsm> frosch123 here's my current code if you want to read :) https://gist.github.com/nielsmh/e0b8372c86d9a22c84675f75af0a8d1a
21:51:02 <frosch123> i did some opl2 experiments something like 25 years ago. but then i learned about .mod files
21:51:21 <andythenorth> supermop_work: http://dev.openttdcoop.org/attachments/download/8911/is_ferry.png
21:51:37 <andythenorth> first attempt
21:52:23 <nielsm> iirc screamtracker3 actually supports OPL2 or OPL3 instrument definitions, so you can have a track with a mix of sampled and FM synthed sounds
21:52:35 <andythenorth> 2CC for ferries? o_O
21:53:21 <frosch123> the big ferries need a ramp to reach the car deck
21:53:53 <nielsm> there are no private cars in transporttycoonworld
21:53:57 <nielsm> obviously not needed
21:54:19 <nielsm> and you can't load buses onto ferries
21:56:11 *** Stimrol has quit IRC
21:58:43 *** muffe has joined #openttd
22:00:28 <supermop_work> andythenorth: white funnel with pink stripe looks like a triangle
22:00:54 <andythenorth> yes
22:00:55 *** Compu has joined #openttd
22:01:07 <andythenorth> that sprite is on way out
22:03:04 *** snail_UES_ has joined #openttd
22:26:47 *** supermop has joined #openttd
22:28:49 *** ToBeFree has joined #openttd
22:29:22 *** Alberth has left #openttd
22:30:25 <andythenorth> oops
22:30:55 <andythenorth> my Sam code assumes a 1:1 mapping between ship capacity and sprite length (in pixels)
22:31:16 <andythenorth> so offsets and capacity are tied together :P
22:31:22 <andythenorth> poor choice
22:33:29 *** sla_ro|master has quit IRC
22:38:53 <nielsm> neat! I can also dump the TTO music data in and have that played :)
22:39:00 *** gelignite has quit IRC
22:40:09 *** FLHerne has joined #openttd
22:42:54 <Wolf01> 'night
22:42:57 *** Wolf01 has quit IRC
22:44:40 *** Biolunar has joined #openttd
22:46:31 *** supermop has quit IRC
22:53:40 *** Coobies has joined #openttd
22:56:31 *** Cubey has quit IRC
23:02:09 *** Stimrol has joined #openttd
23:19:34 *** waboose has joined #openttd
23:19:52 *** snail_UES_ has quit IRC
23:27:36 *** supermop has joined #openttd
23:35:03 *** waboose has quit IRC
23:35:28 *** Progman has quit IRC
23:35:38 *** supermop has quit IRC
23:35:56 *** nielsm has quit IRC
23:42:51 *** Stimrol has quit IRC
23:46:11 *** andythenorth has quit IRC
23:56:33 *** supermop has joined #openttd
23:59:41 *** frosch123 has quit IRC