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

Powered by YARRSTE version: svn-trunk