IRC logs for #openttd on OFTC at 2024-09-17
            
00:40:54 <DorpsGek> [OpenTTD/OpenTTD] PikkaBird commented on pull request #12943: Fix #12940: Use specific error when overbuilding station on signals https://github.com/OpenTTD/OpenTTD/pull/12943#issuecomment-2354272970
02:21:52 *** gnu_jj_ has joined #openttd
02:25:04 *** gnu_jj has quit IRC (Ping timeout: 480 seconds)
02:32:16 *** bryjen has joined #openttd
02:38:24 *** godbed has joined #openttd
02:38:28 *** Zathras has joined #openttd
02:41:48 *** D-HUND has quit IRC (Ping timeout: 480 seconds)
02:41:48 *** debdog has quit IRC (Ping timeout: 480 seconds)
03:16:44 *** bryjen has quit IRC (Quit: Leaving)
04:17:32 *** keikoz has joined #openttd
04:23:42 *** felix has quit IRC ()
04:23:56 *** felix has joined #openttd
04:41:24 <DorpsGek> [OpenTTD/OpenTTD] eints-sync[bot] pushed 1 commits to master https://github.com/OpenTTD/OpenTTD/commit/9ab0a4781266107067e53cb7ab54c004ed7319c4
04:41:25 <DorpsGek> - Update: Translations from eints (by translators)
05:04:33 *** keikoz has quit IRC (Ping timeout: 480 seconds)
06:19:38 *** Zathras is now known as debdog
08:47:29 <peter1138> Is?
08:49:24 <andythenorth> ach the scroll bug in the macOS build is maddening
08:49:28 <andythenorth> but I never figured out the repo
08:49:35 <andythenorth> repro *
08:50:01 <andythenorth> frequently, scroll just locks in one direction, until it hits the map edge
08:50:32 <andythenorth> seems to be related to opening console with ~ shortcut, but that's probably just coincidence
08:50:34 <peter1138> Edge scrolling?
08:50:45 <andythenorth> it might equally well just be a bug with my trackpad
08:50:51 <andythenorth> and scroll cancelling
08:51:32 <andythenorth> hmnm
08:51:49 <andythenorth> yeah, opening and closing console stops / starts the scroll
08:51:58 <andythenorth> but again, might just be any keyboard focus
08:52:20 <andythenorth> yeah, opening train rename window stops the scroll
08:53:19 <andythenorth> not today's problem 😛
08:53:31 <peter1138> Stop pressing the cursor keys...
08:54:15 <andythenorth> no but seriously
08:54:29 <andythenorth> I open console, press 'up cursor' to get the last command (reload_newgrfs)
08:54:38 <andythenorth> then yes, it scroll traps
08:55:06 <andythenorth> cmd-cursor then usually stops the scroll
09:00:04 <andythenorth> 'onwards' 😛
09:00:44 *** Flygon has quit IRC (Read error: Connection reset by peer)
09:20:39 <peter1138> It does, definitely , sound like an issue that nobody has ever mentioned before.
09:35:37 <xarick> https://cdn.discordapp.com/attachments/1008473233844097104/1285534619143376960/image.png?ex=66ea9ee9&is=66e94d69&hm=80d2add5a27051a6b52b7344918376afec8f6aaa129786cfcf1ce2d457f75937&
09:35:37 <xarick> hi, which .tar is supported when uploading stuff to bananas?
09:40:00 <LordAro> any of them should work
09:50:09 <xarick> hmm 7zip implementation on windows 11 is kinda slow
10:02:22 <DorpsGek> [OpenTTD/OpenTTD] rubidium42 approved pull request #12932: Fix #12917: Write to negative array index for some string patterns. https://github.com/OpenTTD/OpenTTD/pull/12932#pullrequestreview-2309247465
10:03:56 <xarick> https://cdn.discordapp.com/attachments/1008473233844097104/1285541744443785398/image.png?ex=66eaa58c&is=66e9540c&hm=81b0605a43fc2b9633809a05a2cec8a5e20abc21b67cb515a9159d32c9dd6178&
10:03:56 <xarick> what the hell, lol
10:04:22 <LordAro> oh my
10:05:58 <peter1138> I would... not visit that site :p
10:06:21 <DorpsGek> [OpenTTD/OpenTTD] PeterN merged pull request #12932: Fix #12917: Write to negative array index for some string patterns. https://github.com/OpenTTD/OpenTTD/pull/12932
10:06:24 <DorpsGek> [OpenTTD/OpenTTD] PeterN closed issue #12917: [Bug]: ICU scriptrun: Write to negative array index of ScriptRun::parenStack can occur for some string patterns https://github.com/OpenTTD/OpenTTD/issues/12917
10:43:02 <xarick> https://cdn.discordapp.com/attachments/1008473233844097104/1285551583886577684/image.png?ex=66eaaeb5&is=66e95d35&hm=3f278d6ab5ca389bfc007ff31e84bf7f311795b78f4c6a610d2ce3fe18cb0d11&
10:43:02 <xarick> it's slow
10:43:16 <xarick> only using 1 thread
10:43:42 <xarick> poor microsoft
10:43:53 <xarick> scared of using multiple cores
13:24:48 <peter1138> Have you found more bugs yet?
13:25:00 <LordAro> have you?
13:39:31 *** nielsm has joined #openttd
13:53:07 *** Heiki has joined #openttd
13:53:08 <Heiki> STR_TOWN_DATA_ERROR_BAD_COORDINATE says “must be 0..1 as a percentage of the total heightmap dimension”, but wouldn’t “percentage” mean something between 0 and 100?
13:57:49 <peter1138> Huh.
13:57:58 <peter1138> I picked up on that on the markdown documentation, but not the strings.
13:58:11 <peter1138> https://cdn.discordapp.com/attachments/1008473233844097104/1285600696946790480/image.png?ex=66eadc73&is=66e98af3&hm=aed42b52c633d50a4fdecda28b2923836cd7b01a6bcd7ac2eb80a0eba7119901&
13:59:05 <peter1138> Just make a PR changing `percentage` to `proportion` 🙂
14:00:32 <Heiki> might make later, need food first 😋
14:44:44 *** gelignite has joined #openttd
15:08:49 *** keikoz has joined #openttd
15:14:03 *** godbed has quit IRC (Quit: http://quassel-irc.org - Chat comfortably. Anywhere.)
15:18:53 *** keikoz has quit IRC (Remote host closed the connection)
15:20:56 *** keikoz has joined #openttd
16:03:56 <_glx_> 0.5 should be 50%
16:17:20 <johnfranklin> Does Helki feel sinful for Finland? /j
16:24:07 *** keoz has joined #openttd
16:26:58 *** keikoz has quit IRC (Ping timeout: 480 seconds)
16:31:19 <peter1138> https://cdn.discordapp.com/attachments/1008473233844097104/1285639235029696593/image.png?ex=66eb0057&is=66e9aed7&hm=380d844db8e5d3b361ca530b645c572f83eebd9318ea7557879ee48ee0720f34&
16:31:19 <peter1138> Well, guess what was causing that CPU usage...
16:31:49 <peter1138> Eh, sorry, guess what was causing the CPU clock to be almost constantly at performance instead of idling...
16:32:04 <LordAro> was it chrome?
16:32:11 <peter1138> Nope.
16:32:13 <peter1138> It was... tmux.
16:34:54 <LordAro> huh
16:36:29 *** HerzogDeXtEr has joined #openttd
16:40:11 <peter1138> A few VTs doing ssh is apparently enough...
16:54:13 <xarick> "cmakeToolchain": "${projectDir}\\..\\..\\..\\vcpkg\\scripts\\buildsystems\\vcpkg.cmake"
16:54:21 <xarick> hacks!
16:54:54 <xarick> how do i get to the root of current drive?
16:55:05 <xarick> without doing \..\..\..\
16:56:25 <LordAro> if you're lucky, starting with \ might be enough
16:56:34 <LordAro> windows file path resolutions can be weird
16:59:59 <xarick> wow, that worked
17:00:20 <LordAro> \o/
17:02:22 <xarick> just wondering what's the current dir
17:02:28 <xarick> it starts at
17:04:40 <xarick> Working directory: E:\OpenTTD Visual Studio\SamuXarick\OpenTTD\out\build\x64-RelWithDebInfo
17:04:44 <xarick> okay, fine
17:07:50 <LordAro> https://learn.microsoft.com/en-us/windows/win32/fileio/naming-a-file#fully-qualified-vs-relative-paths
17:08:04 <LordAro> i only learned this relatively (ha) recently
17:18:50 <_glx_> ${projectDir} is the dir where main CMakeLists.txt is IIRC
17:20:28 <_glx_> https://cdn.discordapp.com/attachments/1008473233844097104/1285651600966291548/image.png?ex=66eb0bdb&is=66e9ba5b&hm=f28bddc57020849b2e3432fd531bc80020cc3aeaf4fa870cc79397dc6ec131b8&
17:20:58 <_glx_> works well for me
17:21:12 *** Flygon has joined #openttd
17:21:44 <xarick> E:\OpenTTD Visual Studio\SamuXarick\OpenTTD\CMakeSettings.json
17:23:33 <_glx_> I switched to CmakePresets.json
17:24:22 <xarick> https://gist.github.com/SamuXarick/9fee52e69e06f77c653794d642b89609
17:24:33 <xarick> this is how it looks for me
17:27:28 <_glx_> yes that's the "legacy" way, cmake 3.19 introduced presets
17:37:52 <xarick> is it possible to force -static
17:38:05 <xarick> without having to put that in
17:38:44 <xarick> i found this thing https://github.com/OpenTTD/OpenTTD/blob/master/cmake/Static.cmake
17:55:37 <DorpsGek> [OpenTTD/OpenTTD] hpiirai opened pull request #12944: Fix: Erroneous error message https://github.com/OpenTTD/OpenTTD/pull/12944
17:59:54 <xarick> ^_^
18:15:45 <DorpsGek> [OpenTTD/OpenTTD] JGRennison opened issue #12945: [Bug]: Passing a relative path for the -c command line option handled incorrectly on non-Windows https://github.com/OpenTTD/OpenTTD/issues/12945
18:32:02 *** Wolf01 has joined #openttd
18:39:29 *** tokai has quit IRC (Quit: c('~' )o)
18:54:38 <LordAro> some hours later, i have successfully generated a 14GB JSON file
18:54:39 <LordAro> this is fine.
19:02:52 <dwfreed> impressive
19:04:00 <andythenorth> well done
19:04:08 <andythenorth> does your editor open it? 😛
19:05:09 <LordAro> certainly not at the same time as it's being processed
19:05:20 <LordAro> clearly need to get another 32G RAM
19:05:36 <LordAro> (it's also got a load of extraneous information that i don't care about in it)
19:35:47 *** gelignite has quit IRC (Quit: Stay safe!)
19:37:04 <xarick> https://cdn.discordapp.com/attachments/1008473233844097104/1285685975875321916/image.png?ex=66eb2bdf&is=66e9da5f&hm=066c6ab2e311542380515ca8e0cd4ece490e674cc00b9e1ce88fb9467a40a47d&
19:37:04 <xarick> question, why is the fps capped to 240?
19:37:49 <xarick> it doesn't feel like I'm picking a refresh rate, but rather imposing an fps limit cap
19:39:06 <xarick> how do I uncap?
19:41:16 <peter1138> Why?
19:42:12 <_glx_> we just ask the system to fill this list IIRC
19:42:47 <_glx_> and refresh rate is usually a limit from the monitor
19:43:17 <xarick> my monitor is 165 Hz
19:43:35 <peter1138> We do always include the monitor's refresh rates, but there is a fixed list built in for the cap.
19:43:36 <xarick> that setting didn't change the refresh rate at all, just increased the max fps
19:44:25 <peter1138> I believe you need to fullscreen for it to actually change the monitor refresh rate, but even then I'm not sure.
19:44:48 <peter1138> If your desktop is 165Hz then you don't need to do anything
19:45:14 <peter1138> If your desktop is not 165Hz, then you need to change it in Windows control panel, wherever it it.
19:45:22 <_glx_> it's always better to match fps and refresh rate
19:45:43 <_glx_> more fps than what the motitor can handle is a waste
19:45:59 <peter1138> `std::set<int> _refresh_rates = { 30, 60, 75, 90, 100, 120, 144, 240 };`
19:46:18 <_glx_> because they won't be shown anyway
19:46:23 <peter1138> This is the default list. As you have 165 in the list as well, it is clearly working.
19:47:32 <xarick> just tried openttd in fullscreen mode
19:47:52 <xarick> changing the refresh rate in the game options only increased the fps cap
19:47:53 <_glx_> btw drawing is expensive in openttd, so just doing what is needed reduces stress on the CPU
19:48:09 <xarick> the display is still at 165 hz
19:48:28 <_glx_> yeah your are just rendering useless frames 🙂
19:49:06 <_glx_> unless you record video output
19:49:16 <xarick> im not recording video atm
19:49:45 <_glx_> your screen can only show 165 of the 240 frames
19:51:07 <xarick> let me edit that _refresh_rates
19:51:34 <peter1138> Oh christ.
19:51:36 <peter1138> What for?
19:51:49 <LordAro> if you're wanting more than 25x game speed, there's a setting for that
19:51:58 <LordAro> fps cap has nothing to do with it
19:52:12 <_glx_> most people know what refresh rate is an just select the one corresponding to their display
19:52:14 <xarick> just curious lol
19:53:02 <xarick> wanna see when I am gpu bottlenecked
19:53:08 <_glx_> never
19:53:10 <xarick> how much fps is needed lol
19:53:27 <_glx_> openttd uses almost no GPU at all
19:53:39 <_glx_> all drawing is CPU based
19:53:52 <LordAro> _glx_: but opengl drivers?
19:53:52 <_glx_> and that's the intensive part
19:54:51 <_glx_> maybe, but it's still very low charge for a GPU
19:55:31 <_glx_> we are not doing millions of triangles
19:58:56 <xarick> https://cdn.discordapp.com/attachments/1008473233844097104/1285691480924622888/image.png?ex=66eb3100&is=66e9df80&hm=3af3ec0a73faf12dd412e61740dbdd49839541ea682317d1240f759f16f33461&
19:59:15 <xarick> nice, it's going between 1600-1700 fps
19:59:45 <peter1138> Just slowing down the game
20:04:46 <peter1138> https://cdn.discordapp.com/attachments/1008473233844097104/1285692948469780480/image.png?ex=66eb325d&is=66e9e0dd&hm=96867198217ea6bb9fc633c3a8b29ed21e3b9e26efb9d28d02b94fb799706d8a&
20:04:46 <peter1138> Illegal 😉
20:05:40 <xarick> https://cdn.discordapp.com/attachments/1008473233844097104/1285693175326834799/image.png?ex=66eb3294&is=66e9e114&hm=acb3fc5952af3a2dd1ac1f7af6ad841443b29e92c7f9c90fa47fbcfa27cebe57&
20:05:46 <xarick> can't go faster
20:06:38 <xarick> oh i see
20:06:50 <xarick> with a cap to 30 Hz, i get a 1100x game speed
20:06:59 <xarick> current game speed factor
20:09:10 <xarick> let me try a 4k map
20:11:49 <xarick> https://cdn.discordapp.com/attachments/1008473233844097104/1285694721871843389/image.png?ex=66eb3404&is=66e9e284&hm=35b631878ad4f35f6de2605eef6bdbf0b53207382ae57bdccf4f1f96e597b0bd&
20:11:49 <xarick> 4096 x 4096
20:12:03 <xarick> cpu or something
20:12:19 <xarick> can't let the fps go higher than 190'ish
20:12:25 <xarick> in fast forward
20:12:33 <LordAro> this is entirely unsurprising
20:13:05 <xarick> the "Display refresh rate" is actually a "max fps cap"
20:14:42 <xarick> https://cdn.discordapp.com/attachments/1008473233844097104/1285695447695888435/image.png?ex=66eb34b1&is=66e9e331&hm=6dd065b642762f536d5f2c9604f999a4d808f168d2e7a022f7952a8ad54d0c22&
20:14:42 <xarick> with my awesome custom _refresh_rate
20:15:04 <xarick> still around the same 180'ish
20:16:06 <xarick> well this was a fun experiment anyways
20:17:04 <peter1138> It was ... something.
20:25:47 <xarick> wow
20:26:12 <xarick> 14.1 loaded with a refresh rate of 1000 Hz after this
20:26:16 <xarick> interesting
20:36:02 *** HerzogDeXtEr has quit IRC (Read error: Connection reset by peer)
20:39:48 <xarick> hmm openttd achilles hill
20:40:04 <xarick> holding right click and moving viewport
20:42:34 <xarick> https://cdn.discordapp.com/attachments/1008473233844097104/1285702461041938514/image.png?ex=66eb3b39&is=66e9e9b9&hm=a1f5ac7349349cc132423983fc546591bd37a5dc881ec4d356b789c78650be61&
20:42:34 <xarick> fully zoomed out, I moved the screen up down left right in trepidity
20:43:17 <LordAro> that's a good word
20:43:21 <LordAro> i had to google that one
20:44:09 <xarick> vibrating the mouse erratically to provoke cpu load
20:44:17 <LordAro> indeed
20:44:52 <xarick> the 1% fps and 0.1% fps are low
20:45:45 <xarick> 99th percentile or 99.9th percentile thing those gpu reviewers like to show
20:49:31 <xarick> https://cdn.discordapp.com/attachments/1008473233844097104/1285704211912458290/image.png?ex=66eb3cdb&is=66e9eb5b&hm=6aaa48f363558a2f027408bdf53a482418688d07e8bc831e2fbcacf7e6ea974c&
20:49:31 <xarick> even with the game static, and paused, the 1% are taking some dip
20:50:54 <xarick> it should be closest to the average fps of 1000 in this case
20:59:49 <xarick> <https://github.com/OpenTTD/OpenTTD/blob/master/src/table/settings/gui_settings.ini#L862>
21:00:01 <xarick> that's why it stays 1000
21:11:43 <xarick> trying to find some linux to experiment, coming from windows https://www.linuxmint.com/
21:11:53 <xarick> is this one gonna suit my needs?
21:12:58 <xarick> i need obs, path of exile, and code stuff for openttd, and maybe riva tuner statistics server
21:13:33 <xarick> might also need an email similar to outlook
21:14:21 <DorpsGek> [OpenTTD/OpenTTD] 2TallTyler approved pull request #12944: Fix: Clarify town data error message https://github.com/OpenTTD/OpenTTD/pull/12944#pullrequestreview-2311081885
21:15:50 <xarick> just not sure i can access my onedrive from linux
21:33:29 <DorpsGek> [OpenTTD/OpenTTD] JGRennison opened pull request #12946: Fix #12945: Relative paths passed to -c were not made absolute on non-Windows https://github.com/OpenTTD/OpenTTD/pull/12946
21:33:32 <DorpsGek> [OpenTTD/OpenTTD] JGRennison opened pull request #12947: Change: Exclude parent item from directory sort in FiosGetFileList https://github.com/OpenTTD/OpenTTD/pull/12947
21:36:18 <DorpsGek> [OpenTTD/OpenTTD] 2TallTyler approved pull request #12947: Change: Exclude parent item from directory sort in FiosGetFileList https://github.com/OpenTTD/OpenTTD/pull/12947#pullrequestreview-2311119712
21:38:33 *** Wolf01 has quit IRC (Quit: Once again the world is quick to bury me.)
21:44:09 *** keoz has quit IRC (Ping timeout: 480 seconds)
21:51:14 *** nielsm has quit IRC (Remote host closed the connection)
22:05:33 *** Wormnest has joined #openttd
23:06:15 <DorpsGek> [OpenTTD/OpenTTD] JGRennison opened pull request #12948: Fix: Crash when pressing arrow keys in bootstrap mode https://github.com/OpenTTD/OpenTTD/pull/12948
23:11:05 <peter1138> What do you mean you want to scroll the non-existant viewport?
23:32:31 *** Wormnest_ has joined #openttd
23:32:31 *** Wormnest has quit IRC (Read error: Connection reset by peer)