Config
Log for #openttd on 8th May 2017:
Times are UTC Toggle Colours
00:42:36  *** HerzogDeXtEr has joined #openttd
00:49:11  *** HerzogDeXtEr1 has quit IRC
00:54:35  *** FLHerne has joined #openttd
01:06:43  *** FLHerne has quit IRC
01:25:06  *** glx has quit IRC
02:48:49  *** chomwitt1 has quit IRC
03:35:08  *** Cubey has joined #openttd
03:58:33  *** tokai has joined #openttd
03:58:33  *** ChanServ sets mode: +v tokai
04:01:07  *** Hiddenfunstuff has joined #openttd
04:05:31  *** tokai|noir has quit IRC
04:23:24  *** cHawk has quit IRC
04:47:42  *** cHawk has joined #openttd
05:09:43  *** sla_ro|master has joined #openttd
05:54:36  *** Cubey has quit IRC
06:34:43  *** chomwitt1 has joined #openttd
06:47:27  *** cosmobird__ has joined #openttd
07:02:12  *** andythenorth has joined #openttd
07:10:03  *** Supercheese is now known as Guest2091
07:10:09  *** Supercheese has joined #openttd
07:12:54  *** andythenorth has left #openttd
07:14:24  *** Snail has quit IRC
07:15:14  *** chomwitt1 has quit IRC
07:16:11  *** Guest2091 has quit IRC
07:21:08  *** Supercheese has left #openttd
08:08:05  *** sla_ro|master has quit IRC
09:14:36  *** nekomaster has joined #openttd
09:14:49  <nekomaster> Hmm
09:15:27  <nekomaster> So I'm still trying to figure out how to stretch a heightmap to fit the way google maps projects its map
09:17:02  <crem> What's the projection of heightmap? Google map (in map view) is mercator.
09:18:00  <nekomaster> the map comes from Satellite Data for North america, you can see what I have here for what I want
09:18:01  <nekomaster> https://www.dropbox.com/s/t0k8viw8wx99es7/Canada_4x8K.png?dl=0
09:18:10  *** andythenorth has joined #openttd
09:18:31  <nekomaster> The further north it gets the more squished it gets, though I'm not too too worried about loosing detail as I stretch things
09:18:50  <nekomaster> most of the detail I need is in the bottom part of them ap
09:18:52  <nekomaster> map*
09:22:40  <crem> Yeah, it's not clear to me where is the land border, so it's hard to guess the projection.
09:23:36  <nekomaster> Apparently satellite data is pretty much Equirectangular considering that those satellites orbit around the sides of the earth and barely moves up or down from the equiter
09:27:15  *** andythenorth has left #openttd
09:27:50  <crem> Is it as it's taken from the sattelite? Then it's "vertical perspective" from some low orbit, probably.  Sattelites mostly don't fly over equator btw.
09:28:44  <crem> So, one has to guess the lat/long and altitude of the satellite to transform the projection into something else.
09:29:43  <nekomaster> This is the style of DEM I used from Earth Explorer
09:29:43  <nekomaster> https://lta.cr.usgs.gov/GMTED2010
09:31:59  <nekomaster> I might have found something to fix the northern parts
09:32:20  <nekomaster> but this will only work if I can mesh it seamlessly with the southern part of the map
09:38:15  *** nekomaster has left #openttd
09:38:56  *** JacobD88 has joined #openttd
10:14:23  *** nekomaster has joined #openttd
10:16:03  <nekomaster> Hmm, so I used a program called G.Projector to change the equirectangular heighmaps from GTOPO30 data to mercator projection, but I would like something that can better handle and output a large file, plus I figured out the east, west, north and south coords of the map edges
10:16:16  <nekomaster> Is there anything for gimp or another program that can change map perjections?
10:25:17  *** nekomaster has left #openttd
10:48:56  *** TheMask96 has quit IRC
10:51:03  *** nekomaster has joined #openttd
10:52:09  <nekomaster> sorry I keep leaving, I keep finding things and trying them out and I dont get the results i need
10:53:01  <nekomaster> NASA's G.Projector does the job of reprojecting equiretangular maps into mercator maps, but even at its maximum resolution I can only get a usable 2500x2500 size map of canada
10:53:50  <nekomaster> I need some program that can reproject maps and export high resolution images (at least larger then 4096x4096)
10:54:18  *** TheMask96 has joined #openttd
11:39:28  *** Wolf01 has joined #openttd
11:39:37  <Wolf01> o/
11:39:42  <nekomaster> hoi
11:47:29  *** cosmobird_ has joined #openttd
11:48:19  <Wolf01> "Learning Linux Binary Analysis"... I don't think I'll ever do it, but its free :P
11:50:50  *** cosmobird has joined #openttd
11:53:51  *** cosmobird__ has quit IRC
11:56:13  *** cosmobird_ has quit IRC
12:13:49  *** Biolunar has joined #openttd
12:35:28  *** chomwitt1 has joined #openttd
12:44:56  *** UncleCJ has quit IRC
12:46:14  *** FLHerne has joined #openttd
12:55:16  *** Snail has joined #openttd
13:09:33  *** UncleCJ has joined #openttd
13:14:28  *** Snail has quit IRC
13:15:11  *** JacobD88 has quit IRC
13:16:36  *** FR^2 has joined #openttd
13:17:08  *** FR^2 is now known as Guest2108
13:30:51  <quiznilo> mornin'
13:30:57  <nekomaster> hello
13:39:50  *** Gja has joined #openttd
13:42:49  *** Defaultti has quit IRC
13:47:44  *** nekomaster has left #openttd
13:47:56  *** Gja has quit IRC
13:53:37  *** FLHerne has quit IRC
13:56:09  *** JacobD88 has joined #openttd
14:16:19  *** JacobD88 has quit IRC
14:36:55  *** Alberth has joined #openttd
14:36:56  *** ChanServ sets mode: +o Alberth
14:37:15  <Alberth> hihi
14:37:16  <Wolf01> o/
14:55:30  *** sla_ro|master has joined #openttd
15:25:54  *** cosmobird has quit IRC
15:31:43  *** Cubey has joined #openttd
15:48:24  *** efess has quit IRC
15:48:36  *** efess has joined #openttd
15:53:25  *** HerzogDeXtEr1 has joined #openttd
15:56:41  *** efess has quit IRC
15:57:08  *** Progman has joined #openttd
15:57:24  *** TheMask96 has quit IRC
15:58:51  *** HerzogDeXtEr has quit IRC
15:59:47  *** TheMask96 has joined #openttd
16:07:12  *** cosmobird has joined #openttd
16:44:12  *** glx has joined #openttd
16:44:13  *** ChanServ sets mode: +v glx
16:45:01  *** sla_ro|master2 has joined #openttd
16:48:06  *** Biolunar has quit IRC
16:48:09  *** sla_ro|master has quit IRC
16:51:28  *** FLHerne has joined #openttd
16:54:51  *** sim-al2 has joined #openttd
16:57:51  *** cosmobird_ has joined #openttd
17:01:41  *** Wormnest has joined #openttd
17:03:59  *** cosmobird has quit IRC
17:24:46  *** Brumi has joined #openttd
17:28:06  <Brumi> Hey there!
17:28:14  <Brumi> translation issue here:
17:28:27  <Brumi> trying to translate the string STR_INDUSTRY_VIEW_ACCEPT_CARGO_AMOUNT_TEXT
17:29:03  <Brumi> which is "{YELLOW}{CARGO_LONG}{RAW_STRING}" in English, so I obviously want to click "Copy Base" and move on
17:29:18  <Brumi> but I get an error message:
17:29:19  <Brumi> Error: String command for position 1 is wrong, base language uses {STRING}, the translation uses {RAW_STRING}
17:31:15  <Brumi> also getting the same error with STR_INDUSTRY_VIEW_ACCEPT_CARGO_TEXT ("{YELLOW}{STRING}{RAW_STRING}"), so I don't want to blindly replace all RAW_STRINGs with STRINGs
17:38:11  <LordAro> Alberth: ^ :p
17:39:39  *** frosch123 has joined #openttd
17:44:06  *** andythenorth has joined #openttd
17:45:46  <DorpsGek> Commit by translators :: r27869 /trunk/src/lang (hungarian.txt spanish.txt) (2017-05-08 19:45:36 +0200 )
17:45:47  <DorpsGek> -Update from Eints:
17:45:48  <DorpsGek> spanish: 2 changes by SilverSurferZzZ
17:45:49  <DorpsGek> hungarian: 6 changes by Brumi
17:46:29  <glx> Brumi: just use {STRING}
17:48:31  <Brumi> so it will be {YELLOW}{STRING}{STRING} in the second case?
17:48:37  <glx> yes
17:48:42  <Brumi> thanks :)
17:50:09  <Brumi> what's {RAW_STRING} for by the way?
17:52:28  <Alberth> implementation detail
17:52:58  <glx> like STRING1, STRING2, ... :)
17:53:13  <Alberth> ie  const char *  instead of a text from the lang-file
17:53:36  <Alberth> strgen handles that when compiling the translation
17:54:32  <andythenorth> o/
17:55:29  <Alberth> \o
18:01:58  <supermop_> yo
18:36:20  <Wolf01> glx, happy about new president?
18:36:30  <Wolf01> Also, quak, o/
18:37:33  <frosch123> Wolf01: did you build some kovarex process yet?
18:37:43  <Wolf01> Yep
18:37:45  <supermop_> Wolf01: i am
18:37:49  <frosch123> it puzzles me
18:37:59  <frosch123> it took ages to get enough u235 to get it started
18:38:08  <frosch123> and once it is started you have more you ever need
18:38:41  <Wolf01> You just have to find out those 40 U-235, then with just 1 centrifuge you can fuel a lot of reactors
18:42:00  * andythenorth considers nuclear chain for FIRS
18:42:08  *** FLHerne has quit IRC
18:42:12  <andythenorth> I rejected it before because tiny cargo amounts
18:42:26  <andythenorth> but eh, if I also provide tiny-capacity vehicles :P
18:43:42  *** frosch123 has quit IRC
18:46:57  <glx> Wolf01: not really, but the other option was worse
18:49:44  *** frosch123 has joined #openttd
18:51:02  <frosch123> if you go the heavy-water breeder reactor way, you can have lots of funny cargos
18:51:59  <andythenorth> I was thinking the cargo might be ‘nuclear flasks'
18:52:02  <andythenorth> at 50t each
18:52:07  <andythenorth> that’s more cargo
18:52:21  <andythenorth> but eh, it would be ‘accepts: nuclear flasks; produces: nuclear flasks’ :P
18:53:13  <frosch123> 50t?
18:53:41  <frosch123> wiki lists them from 60t to 123t
18:54:51  <frosch123> andythenorth: https://en.wikipedia.org/wiki/Breeder_reactor#Fuel_efficiency_and_types_of_nuclear_waste <- i thought more of those cargolabels
18:55:04  <frosch123> though many have 5 lettes
18:55:12  <frosch123> but the numbers are smaller than 256
18:58:08  <frosch123> further down there is a cargo flowchart
19:05:16  <supermop_> andythenorth: deliver the equipment
19:11:25  <andythenorth> isotope economy frosch123? o_O
19:13:16  <frosch123> well, the vehicle will be mostly boring
19:13:41  <andythenorth> do it NUTS style
19:13:49  <andythenorth> just draw multiple colors of slug
19:29:57  * andythenorth should ship FIRS v3 before any new ideas :P
19:31:23  *** Progman has quit IRC
19:32:05  *** Alberth has left #openttd
19:47:20  *** sim-al2 is now known as Guest2135
19:47:22  *** sim-al2 has joined #openttd
19:51:51  *** Guest2135 has quit IRC
19:59:41  *** gelignite has joined #openttd
20:21:01  *** JacobD88 has joined #openttd
20:21:58  *** FLHerne has joined #openttd
20:27:11  *** Hiddenfunstuff has quit IRC
20:30:02  <andythenorth> hmm
20:34:06  <supermop_> i owe you an arc furnace
20:38:02  *** JacobD88 has quit IRC
20:45:09  *** gelignite has quit IRC
20:53:26  *** frosch123 has quit IRC
20:54:50  * andythenorth trying to work out a train length scheme 
20:54:57  <andythenorth> 4/8 and 8/8 is simple
20:56:18  <andythenorth> I think 6/8 will mostly come out on x.0 or x.5 train lengths
20:56:55  <andythenorth> assuming I provide also a 4/8 brake van (caboose)
21:00:10  * andythenorth counts on fingers
21:09:30  <andythenorth> 6/8 is viable
21:09:36  <andythenorth> 10/8 is a pain in the arse
21:09:51  <andythenorth> it sometimes produces .75 lengths, which are hard to fill :P
21:10:18  <andythenorth> and 10/8 tends to coincide with ‘modern’ trains where no brakevan is used
21:18:09  <Eddi|zuHause> use 12/8
21:23:13  * andythenorth considers it
21:23:21  <andythenorth> will it glitch? :P
21:23:56  * andythenorth could chibi everything to 8/8
21:24:39  *** cosmobird_ has quit IRC
21:24:44  *** sla_ro|master2 has quit IRC
21:25:02  *** cosmobird_ has joined #openttd
21:28:54  <andythenorth> what’s weird?
21:29:07  <andythenorth> 4.6 + 0.5 = 5.0
21:29:16  <andythenorth> that’s what’s weird
21:29:59  <andythenorth> the variant of arithmetic used does make train lengths hard to predict
21:30:32  <andythenorth> is it just round() going for nearest floor or ceil to 1dp?
21:33:22  <andythenorth> Eddi|zuHause: ^ any idea? o_O
21:34:24  <Eddi|zuHause> andythenorth: i once had an exchange with MB where he was trying to work out most of the glitches
21:35:02  <andythenorth> any outcome?
21:35:24  <Eddi|zuHause> besides a dbset that is still not out?
21:35:36  <Eddi|zuHause> it sounded like he was pretty successful
21:37:01  <andythenorth> any idea why 4.6+0.5 = 5.0?
21:40:44  <Eddi|zuHause> no
21:40:50  <andythenorth> thanks
21:40:53  <planetmaker> andythenorth, maybe it's indeed not adding up on the binary level
21:41:01  * andythenorth wondered
21:41:04  <planetmaker> not sure about the accuracy being used in the computations
21:41:10  <Eddi|zuHause> can you express it in /8?
21:41:43  <andythenorth> 4 5/8 + 1/2
21:42:19  <andythenorth> 37/8 + 4/8
21:42:38  <andythenorth> @calc 41/8
21:42:38  <DorpsGek> andythenorth: 5.125
21:42:42  <planetmaker> .6... = 6/10 = 3/5 = 24/40 ~= 5/8
21:42:44  <andythenorth> @calc 37/8
21:42:44  <DorpsGek> andythenorth: 4.625
21:43:00  <planetmaker> .6 might be the issue
21:43:01  <andythenorth> @calc round(37/8)
21:43:02  <DorpsGek> andythenorth: Error: 'round' is not a defined function.
21:43:05  <andythenorth> meh
21:43:15  <planetmaker> @calc ceil(37/8)
21:43:15  <DorpsGek> planetmaker: 5
21:43:29  <planetmaker> @calc rnd(37/8)
21:43:29  <DorpsGek> planetmaker: Error: 'rnd' is not a defined function.
21:43:30  <andythenorth> needs 1dp :)
21:43:38  <planetmaker> @calc floor(37/8)
21:43:38  <DorpsGek> planetmaker: 4
21:44:11  <planetmaker> is length 4 5/8 or 4.6? :)
21:44:34  <andythenorth> not actually sure :P
21:44:42  <andythenorth> it’s a mix of newgrfs, not mine
21:44:46  <Eddi|zuHause> hm, the depot length is actually in 1/16, isn't it?
21:44:47  <planetmaker> oh
21:45:05  <andythenorth> yes it’s in 1/16
21:45:28  <Eddi|zuHause> still, 5.0625 should be rounded to 5.1
21:45:32  <andythenorth> yeah
21:45:38  <andythenorth> that’s what puzzles me
21:46:08  <peter1138> rounded by what
21:46:14  <andythenorth> I am loathe to rework a whole train grf, and still have confusing numbers in depot
21:46:52  <Eddi|zuHause> rounded by the depot display code?
21:47:25  <andythenorth> 2.9 + 0.4 is 3.3
21:47:40  <andythenorth> but 3.9 + 0.4 is 4.2
21:48:09  <planetmaker> @calc 3.9/8
21:48:09  <DorpsGek> planetmaker: 0.4875
21:48:19  <andythenorth> 1.9 + 0.4 is 2.2
21:48:32  <andythenorth> such exciting arithmetic :)
21:48:52  <peter1138> surprised any floats are shown, heh
21:49:45  <Eddi|zuHause> peter1138: i could not convince anybody to display "5 3/16"
21:49:56  <planetmaker> :)
21:50:40  <Eddi|zuHause> the old "number of wagons" display was kinda useless, so it was replaced by tile length
21:50:54  <planetmaker> which is an improvement
21:51:19  <Eddi|zuHause> and rounding to full tiles was too crude
21:53:22  *** Wormnest has quit IRC
22:01:13  *** keoz has quit IRC
22:02:23  <andythenorth> all I want is rounding up to nearest full tile :P
22:02:46  <andythenorth> I only care if the length is exceeded
22:03:42  <andythenorth> I guess the decimals indicate roughly how many more wagons can be added :P
22:03:52  <andythenorth> but eh, how long is a wagon?
22:07:39  <andythenorth> also bedtime
22:07:41  *** andythenorth has quit IRC
22:17:37  *** Brumi has left #openttd
23:22:20  *** efess has joined #openttd
23:24:20  *** FLHerne has quit IRC
23:26:46  <quiznilo> in FIRS, is there a way to set 'Allow secondary industries to close' on?
23:26:54  <quiznilo> getting flooded by industries
23:27:08  <quiznilo> *in the middle of a game
23:30:56  <Wolf01> 'night
23:31:00  *** Wolf01 has quit IRC
23:54:55  *** Snail has joined #openttd
23:56:07  <glx> from FIRS webpage I see "Secondary industry will not close unless the closure parameter is enabled."

Powered by YARRSTE version: svn-trunk