IRC logs for #openttd on OFTC at 2024-09-16
ā“ go to previous day
02:26:19 *** gnu_jj_ has quit IRC (Ping timeout: 480 seconds)
02:42:49 *** debdog has quit IRC (Ping timeout: 480 seconds)
02:49:40 *** D-HUND is now known as debdog
04:01:50 *** reldred has quit IRC (Quit: User went offline on Discord a while ago)
05:00:44 *** keikoz has quit IRC (Ping timeout: 480 seconds)
05:30:31 *** Afdal has left #openttd (Leaving)
05:40:29 *** Flygon has quit IRC (Read error: Connection reset by peer)
07:15:08 <DorpsGek> - Add: summary for week 37 of 2024 (by OpenTTD Survey)
07:47:47 <peter1138> Hmm, Github lost the ability to delete the source branch?
07:57:58 <peter1138> Ahh, probably because I had opened a 'local' PR to test it.
08:40:55 <andythenorth> pff AWS Cost Alert
08:41:03 <andythenorth> monthly budget exceeded
08:42:08 <andythenorth> $20 of that is Guard Duty
08:57:46 <peter1138> Heh, nice, though it wasn't that.
09:08:01 <xarick> I reinstalled windows 11, and now I'm in the process of installing visual studio community 2022, I'm a bit lost what components i need to install
09:24:57 <peter1138> Dunno. You don't need any of the .NET stuff for sure.
09:35:32 <peter1138> He is. Summer's over, AoE's over.
09:44:04 <xarick> PoE killed my gpu, had to replace it
09:49:30 <peter1138> Whereas OpenTTD won't do anything with you GPU, but will kill the rest of the system š
10:01:11 <peter1138> Trying to work out where to apply these fixups ;D
10:01:30 <truebrain> peter1138: all I am saying is: you did this!
10:01:43 <peter1138> Sometimes commit-often creates more work. But then again I don't lose it in stashes...
10:03:20 <truebrain> been using git-butler lately, which kinda helps more with that problem than I expected š
10:03:46 <truebrain> virtual branches is kinda a nice concept; it works better than stashes, and doesn't have a lot of the fluff around commits
10:05:08 <peter1138> Does it help with all the conflicts due to making design changes which then need to apply to individual commits already made?
10:05:38 <truebrain> No, the only solution for that is to delete everything š
10:06:06 <truebrain> Without joking, it kinda helps with that, I have noticed
10:06:21 <truebrain> As long as different commits don't touch the same hunk
10:06:37 <truebrain> Which .. is not always the case š
10:08:42 <peter1138> That is very much the case, yes...
10:10:45 <truebrain> Ghehe, yeah, those cases suck š¦
10:11:37 <peter1138> I'll probably squash it all down to one commit and then split that out again. Turns out easier.
10:11:46 <debdog> _jgr_: compiled 0.62 last night, works like a charm! thank you!
10:11:51 <peter1138> Although it would be nicer if the tools let you partially commit new files.
10:16:26 <xarick> something vcpkg failing
10:16:30 <peter1138> Do I blame DNS or IPv6 for this?
10:17:21 <peter1138> Make sure you gave vcpkg the correct triplet.
10:17:38 <peter1138> Actually doesn't VS have it all built in now?
10:37:26 <peter1138> I wish Timtams were cheaper. I really want to cane this pack...
10:43:17 <peter1138> Real solution is to replace Windows 11 (commiserations) with Debian Linux and use VS Code there.
10:48:14 <xarick> the norev0000 seems odd, something still not right
10:50:02 <LordAro> strange HDR monitor strikes again
10:50:16 <LordAro> norev0000 is when cmake couldn't find git
10:51:57 <xarick> oh, i dont have git bash or whatever it is installed
10:53:06 <LordAro> you should be able to point it at whatever git VS has somehow...
10:56:12 <xarick> oh snap, git bash requires notepad++
11:03:36 <peter1138> Funnily enough I rarely ever pull..
11:07:36 <peter1138> Damn you're right š¦
11:07:51 <peter1138> This is what my life has come to.
11:17:34 <debdog> my dog's name is Git ā and yes, he sometimes behaves as such
11:23:25 <xarick> this seems to fix my issues
11:25:04 <xarick> git bash also fixed the revision
11:29:30 <peter1138> Setting the toolchain is required yeah.
11:30:07 <peter1138> I haven't read the build docs for this, maybe it's there... maybe it's not. Schrodinger's docs š
11:30:27 <peter1138> xarick: Well then. Welcome Back.
11:30:48 <xarick> disabling hardware acceleration should fix the colours
11:32:37 <xarick> hmm the config doesn't seem to be saving
11:34:13 <xarick> well lunch time, I'll fix this after
11:49:24 *** SigHunter has quit IRC (Ping timeout: 480 seconds)
11:50:47 *** SigHunter has joined #openttd
12:00:16 <peter1138> I think it might be time for another lemsip
12:11:32 *** ahyangyi has quit IRC (Quit: User went offline on Discord a while ago)
12:17:43 <xarick> where is it saving the config file? I changed hardware acceleration and window resolution but on next launch it went to what it was before
12:20:11 <peter1138> Documents\OpenTTD or something?
12:23:25 <xarick> seems to load from there, but on exit it doesn't save
12:26:45 <peter1138> Is OneDrive fucking it up again?
12:34:14 <xarick> i have onedrive, but it's not syncing documents
12:45:29 <truebrain> talltyler: regarding 10409, did you check if the docs are still accurate? (I did not, hence the question)
12:47:48 <talltyler> truebrain: Yes, I last updated them on July 2 and nothing in this area has changed since then (but I gave them a quick read-through again just now, to be sure)
12:48:20 <xarick> let me check that users\public
12:49:06 <xarick> C:\Users\Public\Documents is empty
12:49:12 <xarick> so it's not saving here
12:50:31 <peter1138> Maybe my last merge has broken it :p
12:50:45 <xarick> well it's not supposed to save there
12:50:57 <xarick> it's what i meant, just went to check if it did
12:51:12 <peter1138> i mean, maybe my last merge has broken saving anywhere...
12:51:30 <LordAro> Public/Documents ? I don't think it's ever saved there
12:51:35 <peter1138> Can you save savegames?
12:55:59 <peter1138> Yup, so it's my last merge I guess.
12:56:32 <peter1138> "Works for me" though, of course.
12:57:09 <peter1138> Maybe not. Oh dear.
12:59:43 <LordAro> peter1138: it occurs to me that there's no copy constructor deletion on the FileHandle object
13:03:51 <peter1138> Implicit due to unique_ptr member.
13:15:42 <peter1138> if (this->file.has_value()) return;
13:20:51 <peter1138> Hmm, not sure about the settings file though.
13:21:13 <peter1138> IniFile::SaveToDisk is one of the rate places that uses std::ofstream, so I didn't actually change that...
13:29:52 <talltyler> Thanks for the review, been excited for this for a while š
13:30:17 <truebrain> good! Now tell the world! š
13:31:24 <talltyler> I will plan to write a dev diary on it when we release 14.0! In the meantime, yeah, there are some people here who might be interested... Especially as it'll come to JGRPP long before we release the next OpenTTD
13:31:52 <truebrain> you know we already released 14.0, rioght? š
13:33:02 <peter1138> Re-release (don't fade away)
13:35:04 *** Ox7C5 has quit IRC (Ping timeout: 480 seconds)
13:53:30 <peter1138> Silly question but is that directly writable?
13:57:46 <peter1138> Does the path exists even?
13:59:33 <xarick> just the folder, the file doesn't exist
14:00:11 <xarick> C:\Users\Ricardo Soares\Documents\OpenTTD\save
14:03:23 <xarick> I wonder, shouldn't the filename be only "Unnamed, 1950-01-01.sav"
14:03:52 <xarick> hmm maybe not, i dunno
14:05:12 <peter1138> Oh, we have a conflict that didn't conflict, too.
14:28:03 <peter1138> xarick: What does this do for you?
14:28:10 <peter1138> (It might not compile... I'm not sure)
14:32:38 <peter1138> Weird if it's wrong though, because you can obviously open files for reading...
14:34:32 <peter1138> Yeah. You should be able to see the converted values in your debugger at least with those temporaries.
14:34:51 <peter1138> But as reading works, I'm not really sure what I was looking for š
14:36:02 <peter1138> Maybe `git checkout 3784a3d3` and try that. That is before my merge.
14:42:05 <peter1138> Yeah, at least I know it's not anything weird with OTTD2FS. Thanks.
14:42:16 <peter1138> Have you tried vanilla OpenTTD? š
14:42:31 <peter1138> Have you tried downloaded 14.1 OpenTTD... yeah.
14:42:41 <peter1138> And it writes to that location?
14:43:03 <talltyler> peter1138: Ah, thanks for fixing that š
14:46:53 <xarick> i created a savegame with 14.1
14:47:11 <xarick> saved again with overwriting and worked
14:47:20 <xarick> but if i try to delete it, if fails
14:47:40 <xarick> if i try a new name, it fails
14:48:22 <peter1138> Try it with 3784a3d3 instead of master
14:48:22 <xarick> actually, the overwriting seems to not return an error
14:48:37 <xarick> but didn't overwrite, gamelog still says 14.1
14:48:59 <xarick> or maybe im wrong sorry
14:49:45 <peter1138> Revision changed is because it's loaded a 14.1 save in your current version.
14:50:34 <xarick> okay, the overwriting didn't really do anything, i cleared terrain for testing and upon loading the terrain was still green
14:50:58 <LordAro> i'd imagine the modification time on the file has not changed
14:51:02 <LordAro> which is rather easier to check
14:51:02 <xarick> 3784a3d3 gonna try this
14:51:10 <LordAro> the lack of any error is concerning though
14:51:55 <xarick> [2024-09-16 15:46:27] dbg: [misc:0] Removing C:\Users\Ricardo Soares\Documents\OpenTTD\save\Unnamed, 1950-01-01.sav failed: Acesso negado.
14:52:21 <LordAro> sounds kinda like the folder permissions are wrong
14:52:27 <LordAro> but given 14.1 worked...
14:53:23 <peter1138> Wondering if it's a Windows security thing... 14.1 came from a known installer, self-build... who knows....
14:57:25 <xarick> maybe a result of windows formating
14:57:43 <xarick> I kept the D:\ partition
14:57:53 <xarick> where i got the openttd github stuff
14:58:11 <xarick> deleted C:\ partition and reinstalled windows there
14:58:41 <LordAro> can you write files to that folder otherwise?
14:58:45 <LordAro> e.g. some sort of text file
15:02:26 <LordAro> probably not the folder permissions then
15:03:04 <LordAro> ...that would probably do it
15:03:16 <xarick> i could put a folder in
15:07:00 <LordAro> folder creation can do unexpected things even if you don't necessarily have permission
15:14:31 <peter1138> I wonder if somehow your self-build version is running as a different user....
15:14:47 <peter1138> Or, indeed, your account permissions are all messed up.
15:14:50 <LordAro> that's what i'm thinking
15:15:26 <xarick> 14.1 can't delete savegame, well...
15:15:54 <xarick> self-built 14.1 can't delete
15:16:07 <xarick> 14.1 installed from openttd.org can
15:16:17 <xarick> well permissions, i have no idea how to solve
15:22:42 <xarick> Adding a Ricardo Soares permission, full control, let's see if it solves
15:25:29 <xarick> nop, still unable to delete savegame
15:27:19 <xarick> starting visual studio as admin
15:27:55 <peter1138> Definitely sounds like a bad idea.
15:27:56 <LordAro> and that's a really terrible idea
15:30:16 <peter1138> Accidental timtam š¦
15:32:46 *** gelignite has joined #openttd
15:33:40 <xarick> well, ill figure out something later
16:06:09 *** HerzogDeXtEr has joined #openttd
16:14:13 <xarick> a self-built openttd is a non-friendly application š
16:26:54 <xarick> virtual disks, hmm interesting
16:29:48 *** keikoz has quit IRC (Ping timeout: 480 seconds)
16:51:59 <peter1138> Well anyway, you made me find a real bug, so... cool š
17:16:01 <xarick> is this still required to be static?
17:16:15 <xarick> seems to work without static though
17:17:06 <peter1138> Linking normally...
17:19:51 <xarick> saved a game but resulted in 0 bytes
17:26:56 <peter1140> If you haven't fetched master since this morning, yes.
18:02:29 <truebrain> ooeeehhh, talltyler made a PR š
18:02:56 <Rubidium> ... just after you enticed him to close another of his PRs...
18:03:51 <peter1138> Keep it simple, only one open PR at a time?
18:04:22 <andythenorth> "one in, one out"
18:04:30 <andythenorth> single kanban slot š
18:05:02 <truebrain> it would help in the sense that you are sure that the PR that is open is the most important PR for that person to have open š
18:13:21 <peter1138> > The only good thing about AI is that nobody talks nonsense about blockchain anymore.
18:20:25 <talltyler> If you mark that ready for review Iād be happy to approve it š
18:25:57 <peter1138> talltyler: and I'm not even sure what itch I was scratching when I wrote it...
18:36:02 <truebrain> hopefully _glx_ has a bit more time to guide you Rubidium; but I commented what I spotted by glancing over š
19:17:59 *** tokai has quit IRC (Ping timeout: 480 seconds)
19:18:55 *** ChanServ sets mode: +v tokai
19:21:57 <_glx_> yeah grfcodec workflows don't set any output
19:22:18 <_glx_> because it was not needed š
19:39:48 *** tokai has quit IRC (Ping timeout: 480 seconds)
19:46:50 *** ChanServ sets mode: +v tokai
19:58:56 *** tokai|noir has joined #openttd
19:58:56 *** ChanServ sets mode: +v tokai|noir
19:59:34 *** gelignite has quit IRC (Quit: Stay safe!)
19:59:39 *** tokai has quit IRC (Ping timeout: 480 seconds)
20:07:44 *** tokai|noir has quit IRC (Ping timeout: 480 seconds)
20:09:05 *** ChanServ sets mode: +v tokai
20:16:15 *** tokai|noir has joined #openttd
20:16:15 *** ChanServ sets mode: +v tokai|noir
20:17:08 *** tokai has quit IRC (Ping timeout: 480 seconds)
20:33:08 *** nielsm has quit IRC (Ping timeout: 480 seconds)
20:49:33 *** tokai|noir has quit IRC (Ping timeout: 480 seconds)
20:52:15 *** ChanServ sets mode: +v tokai
20:57:24 *** HerzogDeXtEr has quit IRC (Read error: Connection reset by peer)
21:03:11 *** tokai|noir has joined #openttd
21:03:11 *** ChanServ sets mode: +v tokai|noir
21:05:03 *** tokai has quit IRC (Ping timeout: 480 seconds)
21:07:23 <xarick> testing virtual hard drive
21:10:02 <xarick> is it possible to move all my branches from a local repository to another local repository?
21:10:53 <xarick> not sure if a simple folder move would suffice
21:11:58 *** tokai|noir has quit IRC (Ping timeout: 480 seconds)
21:16:23 *** ChanServ sets mode: +v tokai
21:31:39 <dwfreed> there is nothing in git that cares about where the files are, so yes, you can move it freely
21:31:53 <dwfreed> note that if you've done a build before, you'll probably to fully clean that out
21:37:33 <xarick> vcpkg doesn't autoconfigure itself š¦
21:41:00 <xarick> also the upstream remote isn't added automaticaly with visual studio
21:47:28 *** keikoz has quit IRC (Ping timeout: 480 seconds)
21:49:36 <xarick> are the files inside .git, all i need to copy?
22:18:47 *** Wolf01 has quit IRC (Quit: Once again the world is quick to bury me.)
continue to next day āµ