IRC logs for #openttd on OFTC at 2026-03-24
            
00:14:21 *** Flygon has quit IRC (Read error: Connection reset by peer)
00:17:30 <jfkuayue> Do people actually rotate their heads by 90 degrees when reading `:D`?
00:21:55 <__abigail> Yes
00:22:57 <__abigail> https://cdn.discordapp.com/attachments/1008473233844097104/1485796024382521496/maxresdefault.png?ex=69c32ae0&is=69c1d960&hm=2b354f7f30dc50876f79319be31800397f1328e913d3633e5f86b4a07ef69e15&
00:22:57 <__abigail> There are better AI album covers out there
00:25:48 <jfkuayue> How would a church-sexual person be like (assuming kirk is a church)????
00:27:59 <belajalilija> __abigail: very considerate of CK to open a new venue too
00:49:02 <reldred> why does this need to be here
01:03:34 *** MinchinWeb[m] has quit IRC (Ping timeout: 480 seconds)
01:04:39 *** MinchinWeb[m] has joined #openttd
01:10:25 <peter1138> https://www.theverge.com/news/899172/fcc-foreign-router-ban Uh oh
01:12:16 <mmtunligit> im sure the US can find a way to make electronics impossible to purchase by the end of the year
01:14:52 <_jgr_> I'd imagine that the routers will still be made in China, but some trivial assembly will be done in the US so that's it "manufactured" there
01:15:41 <mmtunligit> good 'ol buy america
01:15:51 <mmtunligit> we definently still make railcars, mhm
01:26:27 <jfkuayue> for just $5/month
01:28:38 <__abigail> mmtunligit: Resistors with black and brown bands are DEI so they will be banned
01:37:54 <squirejames> mmtunligit: Gotta ban the clankers before they become a majority and take er jerbs, or something
01:44:06 *** northalicious has joined #openttd
01:44:06 <northalicious> mmtunligit: as a musician, yes
01:51:28 *** Wormnest has quit IRC (Quit: Leaving)
01:56:12 *** WormnestAndroid has quit IRC (Read error: Connection reset by peer)
01:56:25 *** WormnestAndroid has joined #openttd
01:56:27 *** WormnestAndroid has quit IRC (Read error: Connection reset by peer)
01:59:17 <squirejames> At risk of asking some terminally stupid questions here, but, could do with a little actual OpenTTD development assistance. Shocking I know, me doing a thing ๐Ÿ˜„
01:59:51 <squirejames> As far as I can understand, I am going to need a third party programme to run .sh files. Is this so, and if so, what do you reccomend?
02:01:12 <squirejames> Also, I have the prequisite "sub programmes" as it were to compile timberwolfs trains (Roadie, GoRender, Purchaser, CargoPositor).
02:01:12 <squirejames> Per the instructions
02:01:12 <squirejames> ```The build expects to find prerequisites in the following relative folder structure (note .exe extension):
02:01:12 <squirejames> Roadie: ../roadie/roadie.exe
02:01:12 <squirejames> GoRender: ../gorender/renderobject.exe
02:01:14 <squirejames> Cargopositor: ../cargopositor/cargopositor.exe
02:01:14 <squirejames> Purchaser: ../purchaser/purchaser.exe
02:01:16 <squirejames> But none of them are exes. They are more .sh files. So, do I need to compile them somehow first?
02:01:51 <__abigail> Could you show the directory/folder structure?
02:02:16 <__abigail> I suspect the .sh files might execute compilation of code located elsewhere
02:02:37 <squirejames> Which directory structure? Timberwolfs trains, or the tools?
02:03:04 <_glx_> .sh usually means linux, or pain on windows
02:03:05 *** WormnestAndroid has joined #openttd
02:04:42 <__abigail> https://cdn.discordapp.com/attachments/1008473233844097104/1485821630973481091/image.png?ex=69c342ba&is=69c1f13a&hm=557d3315fad7654202d9419e820f2af9fe43a9ca18e671e2806eaa50aae7f4da&
02:04:42 <__abigail> There we go
02:04:42 <__abigail> WSL should be fairly straightforward to set up?
02:05:12 <__abigail> https://learn.microsoft.com/en-us/windows/wsl/install
02:06:25 <squirejames> Okeedokes, so I'll install that with powershell
02:06:41 <talltyler> I am not exactly sure what youโ€™re trying to do, but for what itโ€™s worth I used the GoRender toolchain for Danish Trains, fully on Windows.
02:06:59 <squirejames> If I am figuring this correctly, i'll need to run the various files in Roadie, CargoPositor (if needed) etc to get the exes I need
02:07:08 <squirejames> talltyler: Well I'll tell you my aim
02:07:17 <_glx_> maybe wrong link used to download prerequisite
02:07:49 <squirejames> What i am hoping to do is clone say, the Midland 4-4-0 in Timberwolfs set. Keep the same graphics, but alter the speed, power, intro date, name etc, to make new steam engines easily
02:08:59 <squirejames> I have the source for Timberwolfs set. Apparently to alter stats its just a question of the handy dandy csv file. I am not editing graphics, but, I'll likely need CargoPositor, GoRender, Purchaser etc to compile it, even without editing the graphics in any form
02:09:50 <squirejames> _glx_: https://github.com/mattkimber/roadie I can only find the download for the code, not for any compiled exe
02:10:14 <squirejames> (yet its an exe that the build.sh in Timberwolfs trains is looking for, I checked in Notepad++)
02:13:31 <_glx_> ah indeed no exe provided, but the command to build it is in the readme <https://github.com/mattkimber/roadie?tab=readme-ov-file#building>
02:14:56 <squirejames> So put that into a bat file, run, tada exe?
02:14:56 <_glx_> but for gorender the exe is available in releases
02:17:52 <_glx_> for cargopositor I guess it will be similar to roadie (but readme doesn't mention anything about building)
02:18:04 <goddess_ishtar> mmtunligit: it'd be trivial actually, TSMC is filthy and Chinese and we can't allow anything they made into the country
02:18:11 <squirejames> Well, putting
02:18:11 <squirejames> ```go build -o roadie.exe srccmdroadiemain.go```
02:18:11 <squirejames> Into a bat and running it didn't do anything. Hmmm
02:19:45 <_glx_> you most likely need "go" ๐Ÿ™‚
02:20:18 <squirejames> It does mention windows but, then, right...
02:20:18 <squirejames> I need a program, to compile a program, to compile a program, to compile a program, because theres no exe provided?
02:20:32 *** Afdal has joined #openttd
02:20:37 <goddess_ishtar> _glx_: oh what is this
02:20:43 <goddess_ishtar> oh no
02:20:46 <Afdal> Can someone remind me the name of the server variable for network frame frequency
02:20:53 <Afdal> to help deal with latency
02:20:59 <squirejames> Doesn't this strike anyone else as needlessly complex? I can get needing Roadie, Compositor etc but, provide the exes, grief.
02:20:59 <dwfreed> squirejames: welcome to open source :)
02:21:04 <Afdal> It's completely ridiculous how difficult it is to look this up now
02:21:22 <Afdal> a long time ago it used to be simple net_frame_freq but I dunno what it's called now
02:21:52 <_glx_> it should still be the same
02:22:12 <Afdal> set net_frame_freq
02:22:12 <Afdal> 'net_frame_freq' is an unknown setting.
02:22:14 <squirejames> "I would like to take the screws out of this door"
02:22:14 <squirejames> "You can but you need a screwdriver"
02:22:14 <squirejames> "Okay, can I have one?"
02:22:14 <squirejames> "No but you can make your own"
02:22:14 <squirejames> "Oookay, can I have a make your own screwdriver kit?"
02:22:15 <Afdal> naw it's not that
02:22:16 <squirejames> "Yes but you'll need another tool to make the screwdriver with the make your own screwdriver kit"
02:22:16 <squirejames> Please, just give me the screwdriver ๐Ÿ˜„
02:22:29 <__abigail> squirejames: I DONT GIVE A FUCK ABOUT THE FUCKING CODE! i just want to download this stupid fucking application and use it
02:22:29 <__abigail> WHY IS THERE CODE??? MAKE A FUCKING .EXE FILE AND GIVE IT TO ME. these dumbfucks think that everyone is a developer and understands code. well i am not and i don't understand it. I only know to download and install applications. SO WHY THE FUCK IS THERE CODE? make an EXE file and give it to me. STUPID FUCKING SMELLY NERDS
02:22:52 <Afdal> >_>
02:22:56 <_glx_> try without "set"
02:23:02 <goddess_ishtar> squirejames: yes it absolutely does
02:23:07 <mmtunligit> but have you considered your system may be different? you should really build it yourself :)
02:23:10 <_glx_> net_frame_freq is an alias
02:23:13 <Afdal> oh, lol
02:23:25 <Afdal> it's hard figuring out what needs set and what doesn't
02:23:26 <goddess_ishtar> man this makes me feel self conscious
02:23:30 <_glx_> `IConsole::AliasRegister("net_frame_freq", "setting frame_freq %+");`
02:23:31 <squirejames> mmtunligit: I am trying, but now I need another program to build a program to make a new program ๐Ÿ˜„ ๐Ÿ˜„
02:23:39 <Afdal> and I can't find the wiki page that used to list all the useful server commands :'(
02:23:40 <squirejames> It's source code all the way down
02:24:09 <squirejames> I am good humoured about this, I just can't seem to get to the bottom of "okay, you have the program, now run it" to build anything
02:24:23 <goddess_ishtar> are makefiles still a pain on windows?
02:24:24 <squirejames> as every step requires yet another open source program to be compiled to do...something
02:24:32 <Afdal> Seriously, how is a normal person who's never hosted a server supposed to find out about this -_-
02:24:55 <Afdal> what's the intended pathway to net_frame_freq documentation :(
02:25:00 <_glx_> https://wiki.openttd.org/en/Manual/Console#server-variables
02:25:12 <Afdal> oh
02:25:14 <Afdal> lol
02:25:15 <Afdal> hmm
02:25:22 <Afdal> I thought I checked that page :)
02:25:44 <squirejames> Also I installed WSL, let it do its thing, restarted as instructed. Not sure what to do now.
02:25:54 <Afdal> oh no, that problem wasn't I couldn't -find- that page :/
02:26:10 <Afdal> oh no, the problem was that I couldn't -find- that page* :/
02:26:31 <squirejames> (tried runnig WSL, flashes up for a moment then disappears)
02:26:32 <Afdal> thanks, that's the page I was looking for :)
02:26:47 <_glx_> what is not helpful in this page is some variables are actually aliases, so "Change the value by typing setting variablename followed by the new value." is wrong in some cases
02:27:52 <_glx_> squirejames: open a terminal (powershell window is fine) then just type 'wsl' in it
02:28:59 <mmtunligit> _glx_: we're so good at docs lol
02:29:03 <_glx_> other option is to run "ubuntu" from start menu
02:30:09 <squirejames> Run command, from start? doesn't find anything called Ubuntu. Or, do you want me to search via the start menu and install it from the windows store?
02:31:00 <Afdal> I hope some plans are in order to adjust this new company permissions system. Because it's got some serious drawbacks at the moment >_>
02:31:55 <Afdal> I notice a lot of people complaining in that tt-forums thread
02:32:04 <Afdal> which is rather high on search engine results :)
02:32:17 <reldred> too bad
02:32:29 <mmtunligit> there are plans to plug some of the holes
02:34:44 <squirejames> I'll try re-running the WSL command in powershell. Maybe it didn't install
02:36:50 <squirejames> __abigail: Just to clarify something here, I get needing third party tools. Roadie etc. That's fine and rational. I can edit the csv file used to compile the final newgrf in libreCalc, thats fine. I am used to editing things in text editor and hex editors, command lines etc.
02:36:50 <squirejames> It's that it seems pointlessly complex to say "oh, you need this exe" and then, not provide it. But provide more code that you have to compile. There has to be a line somewhere. As I said, I am now to the point of installing WSL, to run a thing, to compile a thing, to make a thing, to finally actually compile the data, whereas if exes were provided this would be half the work.
02:37:23 <squirejames> Especially as WSL will not install apparently
02:37:47 <squirejames> PS C:\WINDOWS\system32> wsl --install
02:37:47 <squirejames> Downloading: Ubuntu
02:37:47 <squirejames> Installing: Ubuntu
02:37:47 <squirejames> WSL2 is not supported with your current machine configuration.
02:37:47 <squirejames> Please enable the "Virtual Machine Platform" optional component and ensure virtualisation is enabled in the BIOS.
02:37:48 <squirejames> Enable "Virtual Machine Platform" by running: wsl.exe --install --no-distribution
02:37:48 <squirejames> For information please visit https://aka.ms/enablevirtualization
02:37:50 <squirejames> Error code: Wsl/InstallDistro/Service/RegisterDistro/CreateVm/HCS/HCS_E_HYPERV_NOT_INSTALLED
02:37:50 <squirejames> PS C:\WINDOWS\system32>```
02:39:16 <squirejames> I already have the Windows Virtual Machine Component installed
02:39:53 <goddess_ishtar> yeah wild goose chases are... not uncommon sometimes
02:41:45 <Afdal> OpenTTD doesn't provide Windows binaries? It's been a while since I last used Wangblows but I'm pretty sure it does...
02:41:55 <squirejames> Thats not what I am trying to do
02:42:02 <goddess_ishtar> it's not OpenTTD, it's some third-party grf tool
02:42:16 <goddess_ishtar> what a nightmare
02:42:23 <goddess_ishtar> why not just write the whole thing in Python
02:42:23 <squirejames> ```Enable "Virtual Machine Platform" by running: wsl.exe --install --no-distribution
02:42:23 <squirejames> For information please visit https://aka.ms/enablevirtualization
02:42:23 <squirejames> Error code: Wsl/InstallDistro/Service/RegisterDistro/CreateVm/HCS/HCS_E_HYPERV_NOT_INSTALLED
02:42:23 <squirejames> PS C:\WINDOWS\system32> wsl.exe --install --no-distribution
02:42:23 <squirejames> The operation completed successfully.
02:42:24 <squirejames> PS C:\WINDOWS\system32> wsl --install
02:42:24 <squirejames> Downloading: Ubuntu
02:42:26 <squirejames> Installing: Ubuntu
02:42:26 <squirejames> WSL2 is not supported with your current machine configuration.
02:42:28 <squirejames> Please enable the "Virtual Machine Platform" optional component and ensure virtualisation is enabled in the BIOS.
02:42:28 <squirejames> Enable "Virtual Machine Platform" by running: wsl.exe --install --no-distribution
02:42:30 <squirejames> For information please visit https://aka.ms/enablevirtualization
02:42:30 <squirejames> Error code: Wsl/InstallDistro/Service/RegisterDistro/CreateVm/HCS/HCS_E_HYPERV_NOT_INSTALLED
02:42:32 <squirejames> PS C:\WINDOWS\system32>
02:42:32 <squirejames> So, here we are
02:42:53 <squirejames> Or, you know, if you're going to say your program requires other exes, which you've also made, provide the exes ๐Ÿ˜„
02:43:13 <goddess_ishtar> squirejames: yeah you're gonna have to enable virtualization/Hyper-V/sommat in your UEFI
02:43:41 <goddess_ishtar> wait is it a Windows Pro only thing
02:43:44 <goddess_ishtar> it might be
02:43:45 <Afdal> There's third-party GRF tools now D:?
02:43:46 <goddess_ishtar> fuck
02:44:16 <goddess_ishtar> https://cdn.discordapp.com/attachments/1008473233844097104/1485831586539901010/image0.png?ex=69c34bff&is=69c1fa7f&hm=805b9396a1f9e9992b977b579f509de137aa5d2dc918056283ac3728c54713d9&
02:44:16 <goddess_ishtar> Afdal:
02:44:24 <Afdal> eww discord
02:44:36 <goddess_ishtar> it's the always has been meme
02:44:50 <Afdal> is that tru...
02:44:58 <goddess_ishtar> I just think replying with the image is objectively funnier
02:45:14 <Afdal> I don't remember any tools last time I played around with making a newgrf
02:45:19 <squirejames> I used to have Windows 11 Pro but, downgraded when my disc went whoops in August last year
02:45:34 <Afdal> just a lot of assembly code I had to learn :)
02:45:48 <goddess_ishtar> I haven't used Windows in so long
02:46:03 <squirejames> So, right, lets, make this simple.
02:46:03 <squirejames> To run a .sh file, which is what i need to do to compile the thing in the end, I need?
02:46:44 <squirejames> (assuming I can get all the prequisite exe files and ignore this faffing about with virtualisation)
02:46:46 <mmtunligit> .sh shouldnt need anything i dont think? unless it tells you you need something 3rd party for it
02:46:51 <goddess_ishtar> yeah okay it comes with all versions of win11 apparently
02:47:02 <mmtunligit> at least not on linux
02:47:02 <goddess_ishtar> mmtunligit: .sh specifically usually means bash scripting
02:47:09 <goddess_ishtar> and he's on windows
02:47:17 <mmtunligit> goddess_ishtar: i know, ive written one myself for updating jgrpp
02:47:21 <goddess_ishtar> and WSL won't work
02:47:23 <mmtunligit> to run it i just double click on it
02:47:23 *** ezot_ind_87922 has joined #openttd
02:47:23 <ezot_ind_87922> omg join girl in cam discord.gg/wPYtJABj
02:47:32 <goddess_ishtar> ezot_ind_87922: fuck off into the sun
02:47:32 <squirejames> Oh joy, just what we needed ๐Ÿ˜„
02:48:06 <mmtunligit> finally i got one!
02:48:27 <mmtunligit> olionkey and rib keep beating me to them
02:48:32 <squirejames> I have read of something called Cygwin ?
02:48:32 <mmtunligit> *rob
02:48:46 <mmtunligit> goddess_ishtar: aaah yeah i dont know there
02:48:56 <goddess_ishtar> squirejames: yeah that's an older and not really preferred way of running Linux programs
02:49:01 <goddess_ishtar> WSL is supposed to be better
02:49:16 <squirejames> Right, well I shall try and enable this virtualisation malarky
02:49:28 <squirejames> To get WSL working, to make a tool, to make a tool to compile a thing ๐Ÿ˜„
02:49:54 <goddess_ishtar> squirejames: you have to admit the comedic timing was perfect
02:50:41 <reldred> cygwin is an easy way to get make/gcc/etc. on windows, but you still need to have some vague idea what you're doing
02:51:53 <reldred> like know what a $PATH is, etc.
02:52:34 <mmtunligit> i only sort of think i know what $PATH is
02:52:41 <squirejames> Right so, enabled SVM mode
02:53:20 <squirejames> squirejames: This. I do know command lines ๐Ÿ™‚
02:53:33 <Afdal> what's this new symbol representing (City) status supposed to be? It looks kind of like some Chinese glyph
02:53:51 <goddess_ishtar> it's
02:53:53 <mmtunligit> its suppsoed to be some tall buildings i think
02:53:56 <goddess_ishtar> an office block
02:54:13 <Afdal> it looks -somewhat- like a crane over a building under construction to me
02:54:18 <Afdal> but also a Chinese symbol :)
02:54:24 <squirejames> Trying to install that WSL again
02:54:59 <squirejames> Apologies if this is like watching a cave man bash rocks together whilst you are building nuclear reactors
02:55:03 <reldred> but using make/gcc/python etc. isn't really new or terribly uncommon squirejames, it's been a thing in grfdev for like 15-20yrs. The openttdcoop devzone people did make it entirely far too fucking complicated then.
02:55:05 <squirejames> I'll get there in the end
02:55:24 <reldred> I managed to talk fridaemon through getting WSL going
02:55:35 <reldred> it's not terribly hard to live with once it's running
02:55:39 <squirejames> Last time I made a newGRF in 2023 I just used nmlc
02:55:54 <squirejames> But I guess I am diving in deeper altering someone elses templates etc
02:56:04 <squirejames> Ooh it worked
02:56:07 <reldred> I mean you can still do that, but if you wanna fork or work off someone elses shit then you get to deal with their tooling.
02:56:10 <goddess_ishtar> just NMLC gets unsustainable extremely quickly
02:56:18 <goddess_ishtar> I tried it, it went very poorly
02:56:21 <squirejames> reldred: Aye such is the cost
02:56:29 <mmtunligit> squirejames: its fine, i stumbled my way through "what the fuck is apt-get" and similar in here in front of all the devs when i first started doing c++ stuff for thsi game
02:56:35 <squirejames> So, right, ahem, I have WSL up
02:56:45 <squirejames> This feels like progress
02:57:02 <goddess_ishtar> squirejames: just go `./whatever.sh` (if you're in the same folder)
02:57:04 *** WormnestAndroid has quit IRC (Read error: Connection reset by peer)
02:57:04 *** WormnestAndroid has joined #openttd
02:57:04 *** WormnestAndroid has quit IRC (Read error: Connection reset by peer)
02:57:04 *** WormnestAndroid has joined #openttd
02:57:04 *** WormnestAndroid has quit IRC (Read error: Connection reset by peer)
02:57:04 *** WormnestAndroid has joined #openttd
02:57:04 *** WormnestAndroid has quit IRC (Read error: Connection reset by peer)
02:57:12 <goddess_ishtar> maybe you'll need to explicitly invoke bash?
02:57:16 <goddess_ishtar> never used WSL
02:57:17 <reldred> OK, if WSL is installed (I usually recommend installing ubuntu 24.04 from the ms app store), you should be able to shift-right-click in any folder with your shit in it and go 'open ubuntu here' or some crap
02:57:25 <reldred> or open linux terminal here
02:57:35 <reldred> I forget, I don't run windows anymore
02:57:43 <squirejames> Right let me see
02:57:51 <goddess_ishtar> very confident tech support in this channel :p
02:57:56 <reldred> first of all, send me a link to wherever this blob of sourcecode you got
02:58:05 <mmtunligit> goddess_ishtar: blind leading the blind
02:58:06 <reldred> so I can give you instructions that aren't fucked
02:58:15 <belajalilija> mmtunligit: Iโ€™m not a woman! Yet?
02:58:31 <squirejames> Righty o, thank you Reldred
02:58:32 <mmtunligit> belajalilija: i typoooooood
02:58:32 <squirejames> https://github.com/mattkimber/timberwolfs_trains
02:58:51 <mmtunligit> no buli pls kthx
02:58:59 <squirejames> and, specifically, it requires several tools, which also need compiling. I am starting with Roadie since, well, seems to be the logical place to start
02:59:12 <squirejames> https://github.com/mattkimber/roadie
02:59:16 <_glx_> `and ensure virtualisation is enabled in the BIOS.` <-- this part is important ๐Ÿ™‚
02:59:30 <goddess_ishtar> yeah we just got over that hurdle I believe
02:59:45 <reldred> Oh god it's in go
02:59:48 <belajalilija> mmtunligit: https://tenor.com/view/thats-the-joke-ranier-wolfcastle-mc-bain-the-simpsons-stand-up-comedy-gif-4372917
02:59:57 <goddess_ishtar> reldred: yeah it looks horrific
03:00:07 <squirejames> As I implied earlier I think I started on hard mode ๐Ÿ˜„
03:00:38 <mmtunligit> belajalilija: please be patient, i have autism (i was reasonably confident you were joking, and thus tried to continue the bit)
03:00:38 <reldred> Yeah honestly squirejames I'm no help to you, this Matt chap has rolled his own spider web of shit together. It's not the usual make/gcc preprocessor driven stuff.
03:00:42 <squirejames> I have WSL in front of me. So, I am going to need Go to run the "go build -o roadie.exe src/cmd/roadie/main.go" command, one assumes?
03:01:21 <reldred> squirejames: No idea. You're gonna have to blindly follow his instructions and then message him if you get stuck. Will might have some ideas, they've been fiddling with Timberwolfs stuff lately.
03:02:02 <_glx_> I always enable virtualisation when building the PC because it's often required for virtual machines ๐Ÿ˜‰
03:02:07 <reldred> what are you trying to do specifically? Make a new project using Roadie as the templating system? Or compile timberwolfs trains?
03:02:17 <goddess_ishtar> squirejames: > Building from source is unfortunately not user-friendly.
03:02:17 <goddess_ishtar> you don't say
03:02:33 <reldred> Coz timberwolfs trains reference a bunch of other executables I can't find in his repos
03:02:36 <goddess_ishtar> I believe they are trying to compile Timberwolf
03:02:36 <squirejames> It'd be a lot more user friendly if the required exes were provided
03:02:45 <reldred> Yeah that's not how shit works unfortunately.
03:03:14 <_glx_> `sudo apt install go` or something similar would be the next step I guess
03:03:19 <squirejames> reldred: herein is the problem, because he doesn't provide the exes his program looks for, even though he's made those exes too, as I said its building a tool to make a tool to build a tool to make a tool add nauseum
03:03:26 <goddess_ishtar> > The build expects to find prerequisites in the following relative folder structure (note .exe extension):
03:03:26 <goddess_ishtar> >
03:03:26 <goddess_ishtar> > Roadie: ../roadie/roadie.exe
03:03:26 <goddess_ishtar> > GoRender: ../gorender/renderobject.exe
03:03:26 <goddess_ishtar> > Cargopositor: ../cargopositor/cargopositor.exe
03:03:28 <goddess_ishtar> > Purchaser: ../purchaser/purchaser.exe
03:03:33 <squirejames> _glx_: where do I put that command?
03:03:38 <goddess_ishtar> what is this madness
03:03:43 <goddess_ishtar> frankenstein horror
03:04:00 <belajalilija> What has James subjected himself to
03:04:06 <squirejames> Much pain ๐Ÿ˜„
03:04:13 <reldred> Smashing his dick and balls with a hammer
03:04:21 <goddess_ishtar> exe files and the GNU build system...
03:04:24 <squirejames> but genuinely, this would have made me defenstrate my PC a few years back. Now I just laugh
03:04:36 <goddess_ishtar> "it works for me on WSL and fuck everyone else"
03:04:47 <squirejames> Its just nice to know its not just "Squire Be Stupid" its "this is convoluted and weird for everyone"
03:04:57 <reldred> No seriously, like, I'm no stranger to peoples cooked build pipelines for grfdev but this is a new universe of pain and misery
03:05:18 *** WormnestAndroid has joined #openttd
03:05:22 <mmtunligit> timberwolf was here earlier, shame hes disapeared
03:05:31 <belajalilija> reldred: I thought i was gonna have that but it turned out i actually signed up for a type of therapy
03:05:35 <reldred> thing is, running go in wsl compiling go projects is *not* going to produce .exe files the rest of his build scripts are referencing.
03:05:36 <squirejames> At this point I almost feel like hex editing the newgrf may yield more results ๐Ÿ˜„
03:05:38 <_glx_> ah the package is "golang" not "go"
03:05:58 <goddess_ishtar> belajalilija: ah, cognitive behavioural therapy
03:05:58 <reldred> so WSL isn't the answer here, this looks like it was done in golang for windows
03:06:02 <reldred> not golang on wsl
03:06:15 <goddess_ishtar> the compile instructions mention WSL
03:06:27 <goddess_ishtar> (or Git Bash, which is somehow even more cursed)
03:06:33 <squirejames> ```Building
03:06:33 <squirejames> The following should work in a sane Go environment:
03:06:33 <squirejames> go build -o roadie src/cmd/roadie/main.go
03:06:33 <squirejames> Or, on Windows,
03:06:33 <squirejames> go build -o roadie.exe src/cmd/roadie/main.go````
03:06:33 <belajalilija> goddess_ishtar: Iโ€™m on a roll today
03:06:34 <squirejames> Which honestly, don't tell me much
03:06:37 <reldred> goddess_ishtar: unless golang on linux spits out .exe files I don't see how.
03:06:51 <belajalilija> Iโ€™ve made myself laugh so much
03:06:58 <squirejames> "On Windows" is doing some heavy lifting I feel. How on windows, with what program or command on windows?
03:07:06 <goddess_ishtar> reldred: the golang parts were built on windows, it appears, but some other part of the build system was WSL???
03:07:23 <reldred> James, if we can't figure it out yet we can't give you answers, chill for a bit alright
03:07:31 <_glx_> but scripts are .sh, so even with exe it would still need git bash or similar
03:07:42 <reldred> goddess_ishtar: The more I read it the more it seems he bounces back and forth between them
03:07:56 <squirejames> From what I can gather....
03:07:56 <squirejames> To build the final newGRF I need to run build.sh, which requires this WSL thingy.
03:07:56 <squirejames> But it also requires the prerequiste exes, which, I am not sure how to build those even with the files I have
03:07:57 <squirejames> Okeedokes
03:08:11 <mmtunligit> i fucking love the labyrinthine setups people make for themselves, its always funny seeing someone else try to naviget them
03:08:29 <squirejames> I do greatly appreciate the help
03:08:36 <goddess_ishtar> yeah this really does seem to be *one person's* idiosyncratic setup
03:08:42 <mmtunligit> i plan to have something similar for myself one day with a file server/seedbox/network bullshit
03:08:53 <goddess_ishtar> I mean I'm mostly just flinging shit like a monkey rather than actually helping
03:09:00 <belajalilija> Me
03:09:06 <reldred> Yeah this is all over the place, like yeah it's a bash script, and its using linux pathing, but all the executables referenced including nmlc are windows compiles.
03:09:12 <mmtunligit> oh yeah ive got the metaphorical popcorn out
03:09:22 <reldred> This almost looks more like a cygwin hackjob than a wsl one.
03:09:26 <goddess_ishtar> mmtunligit: honestly this is instructional for me
03:09:35 <goddess_ishtar> this is the perfect example of what *not* to do
03:10:01 <_glx_> I checked the .sh, they clearly won't run on linux
03:10:14 <reldred> Windows via Git Bash...
03:10:14 <goddess_ishtar> goddamn
03:10:39 <_glx_> <https://github.com/mattkimber/timberwolfs_trains/blob/master/build.sh> crazy ๐Ÿ™‚
03:10:40 <reldred> fuck me ๐Ÿ˜ซ
03:11:00 <squirejames> Its a far cry from when I hex edited UKRS ๐Ÿ˜„
03:11:18 <reldred> squirejames: go find something else to do, I swear at this rate compiling Horse is probably easier to talk you through
03:11:26 <reldred> and horse is a pain in the ass
03:12:19 <belajalilija> Iโ€™m Sid James laughing at all of this
03:12:19 <goddess_ishtar> wait I should dig one of my old shitty Windows laptops out actually
03:12:47 <belajalilija> https://tenor.com/view/carry-on-laugh-giggle-chuckle-laughing-gif-17167479
03:12:48 <reldred> The only thing I can think of is Git Bash in windows is how he's doing this because none of this will work out the box on linux, or on a WSL install, and I don't have a windows machine here to install git bash on to try and reverse engineer how this is supposed to work.
03:12:48 <goddess_ishtar> I wanna see if I can get this thing built just as a new and interesting form of performance art
03:13:08 <_glx_> it's just the usual "it works on my machine" from a one guy project
03:13:19 <reldred> there we goi, ishtar has volunteered, I'm wiping my hands of it
03:13:28 <goddess_ishtar> :p
03:13:29 <reldred> _glx_: basically
03:15:20 <jfkuayue> scoop?
03:15:53 <mmtunligit> they do use those for popcorn at movie theaters
03:17:09 <goddess_ishtar> is that a scoop?
03:17:11 <goddess_ishtar> I suppose
03:17:26 <goddess_ishtar> it feels like the wrong word but it's literally correct
03:17:27 <reldred> You can also get ice cream scoops
03:17:48 <goddess_ishtar> a scoop is just a weird ladle anyway
03:17:55 <mmtunligit> scoop, shovel
03:18:19 <squirejames> You wouldn't think "I would like to copy a train and change the horsepower, speed, intro date and name" would be so hard ๐Ÿ˜„ ๐Ÿ˜„ ah I do set myself these challenges
03:19:08 *** Afdal has left #openttd (Leaving)
03:19:15 <mmtunligit> i did a sprite swap recently and while thankfully it was not quite this hard it still required someone finding the magic string of options to pass through the nmlc compiler
03:19:48 <reldred> I can't help you any further but Git Bash on Windows appears to be the path forward. I don't have any windows machines here though so I can't step through it. I'm guessing that he also uses the windows version of Golang as well.
03:19:55 <squirejames> If nothing else this did cause me to find the newGRF I made of ISR/UKRS depots as objects which I thought'd i'd lost when my PC went wonky last year so, thats a plus
03:20:46 <mmtunligit> my friend who is a windows power user and does this sort of thing says there are *several* ways to use git bash on windows but i do not think i could accurately transcribe any of them
03:21:48 <reldred> but based on what I'm seeing you'd have to clone/download the git repos for purchaser, cargopositor, gorender, and roadie, compile them with the windows version of golang, put them in the folders specified, then run the build.sh from inside the git bash windows application.
03:22:21 <reldred> mmtunligit: if you install git for windows (I think comes with git desktop?) you get this additional bash shell. I've not actually played with it, I just know it's there.
03:22:27 <goddess_ishtar> yeah it's
03:22:36 <squirejames> Righty, well I have downloaded Go, so, I can give it a go (no pun intended)
03:22:49 <goddess_ishtar> I've seen people do it for a cheap POSIX terminal and
03:22:52 <reldred> Forget WSL for now, that'll be useful for other crap you'll run into later.
03:22:53 <goddess_ishtar> it's not pretty
03:23:01 <reldred> But not for this immediate problem.
03:23:14 <squirejames> I haz source for those required programs, just had no concept how to compile them. Once I have the exes for Roadie etc *then* worry about WSL running the build.sh
03:24:23 <reldred> go build -o roadie.exe src/cmd/roadie/main.go
03:24:37 <reldred> and then replace roadie with cargopositor, gorender, etc.
03:24:43 <squirejames> Okee, where do i run that? Powershell?
03:24:57 <reldred> I have no idea dude
03:25:13 <reldred> with golang for windows installed I'd assume you can run 'go' inside powershell or cmd.exe
03:25:27 <squirejames> Alrighty, there is a Go exe. Running a CMD was my next attempt
03:25:36 <reldred> but I aint got it infront of me so I'm talking fresh out of my ass at this point
03:26:17 <squirejames> I mean we're flying blind here so, any suggestion helps ๐Ÿ˜„
03:27:06 <reldred> so you're gonna wanna download all five repos first, have a folder with all five folders in it;
03:27:06 <reldred> timberwolfs_trains
03:27:06 <reldred> gorender
03:27:06 <reldred> roadie
03:27:06 <reldred> cargopositor
03:27:07 <reldred> purchaser
03:27:36 <reldred> then go into each folder in a cmd prompt or powershell and run the go command above (just replace the roadie with whatever the folder is)
03:27:55 <reldred> so in each folder you should then end up with a fresh .exe matching the name of the folder
03:28:07 <reldred> so SomeFolder\roadie\roadie.exe
03:29:03 <squirejames> I think it worked. it spat out a roadie.exe
03:29:03 <reldred> once those four prerequisites are done you should then be able to cd into the timberwolfs_trains\ folder and then run bash build.sh but i'm guessing that part will then be done in the git bash shell and I have no idea how that will pan out
03:29:13 <squirejames> Right so, rinse and repeat for the others
03:29:25 <reldred> go download git for windows, might be called git desktop
03:30:11 <reldred> that should give you the windows git bash
03:30:14 <mmtunligit> if this works its gonna be cinema
03:30:43 <reldred> if this works you will all bow at my feet and praise my technical prowess
03:30:52 <squirejames> hmm purchaser is throwing an error. I am likely doing something wrong. Let me check everything
03:31:19 <reldred> eh, each of these prereqs has a different fucking folder structure god damnit
03:31:41 <squirejames> Grief, yes thats why. let me check his github again for the right command
03:31:51 <reldred> go build -o purchaser.exe src/cmd/purchaser/main.go
03:32:04 <reldred> from inside the purchaser folder
03:32:18 <reldred> the one that has go.mod in it
03:32:28 <reldred> not purchaser/src/cmd/purchaser
03:33:32 <squirejames> Alrighty
03:33:53 <reldred> go build -o renderobject.exe cmd/renderobject.go
03:33:57 <reldred> for the gorender folder
03:34:15 <squirejames> Right, I tried that already with purchaser, changing roadie to purchaser. This results
03:34:24 <squirejames> ```E:\OTTD Stuff\NML Tools Timberwolf\purchaser-master>go build -o purchaser.exe src/cmd/purchaser/main.go
03:34:24 <squirejames> package src/cmd/purchaser/main.go is not in std (C:\Program Files\Go\src\src\cmd\purchaser\main.go)```
03:34:49 <squirejames> I am not sure why its looking in program files. I ran it from a CMD inside the purchaser folder, same as I did Roadie in the Roadie folder
03:35:12 <reldred> sorry, swap the / for \
03:35:35 <reldred> its coz you're running go from a windows shell instead of the git bash shell
03:35:48 <reldred> git bash shell will use / to denote folders windows shell will use \
03:35:50 <squirejames> Same result :/
03:36:16 <squirejames> https://cdn.discordapp.com/attachments/1008473233844097104/1485844675897069578/image.png?ex=69c35830&is=69c206b0&hm=51f52988aa9a4a07d2f545f792f81d0ff07861f88a3fd1d3f77f691d49448489&
03:36:40 <squirejames> It's baffling why it works for one but not the other. I thought we had it cracked
03:36:45 <reldred> get rid of src\
03:36:49 <__abigail> What's the path to `purchaser/main.go`?
03:36:56 <reldred> leave just cmd\purchaser\main.go
03:36:59 <__abigail> `C:\Program Files\Go\src\src\cmd\purchaser\main.go` seems wrong
03:37:12 <squirejames> okay removing the src worked. Phew, slowly getting there
03:37:17 <reldred> shutup abi I'm getting there don't confuse me
03:37:30 <reldred> i've been awake since 0400 my brain is fluffy
03:38:14 <reldred> and finally cargopositor:
03:38:14 <reldred> go build -o cargopositor.exe cmd\cargopositor.go
03:38:25 <__abigail> reldred: Okay ๐Ÿ˜”
03:38:40 <reldred> all four prerequisites have a different folder structure :BEHEHE:
03:39:27 <reldred> see this is why github.com is a mistake, peoples personal projects should lurk in the darkest recesses of their hard drives not in public for the full world to see
03:39:29 <squirejames> Alright, 3 out of 4, last one cargopositor
03:39:53 <squirejames> Right, got em. Sooo
03:40:00 <reldred> i'm sure timberwolf is an accomplished software engineer in go for his dayjob and here we all are absolutely fucking ragging on him for his personal shit
03:40:16 <reldred> i bet his PM's love him, I bet he delivers his deliverables on time
03:40:35 <reldred> and this shit he does for funsies on the side we're just absolutely hanging shit on
03:40:43 <reldred> right go get git for windows
03:40:51 <reldred> and figure out what the hell this git bash is
03:40:53 <squirejames> ```The build expects to find prerequisites in the following relative folder structure (note .exe extension):
03:40:53 <squirejames> Roadie: ../roadie/roadie.exe
03:40:53 <squirejames> GoRender: ../gorender/renderobject.exe
03:40:53 <squirejames> Cargopositor: ../cargopositor/cargopositor.exe
03:40:53 <squirejames> Purchaser: ../purchaser/purchaser.exe
03:40:54 <squirejames> So, I should put those exe files in ```E:\OTTD Stuff\NML Tools Timberwolf\timberwolfs_trains-master\roadie``` (for example)
03:41:01 <reldred> squirejames: no
03:41:11 <reldred> rename all those folders and take -master out of them
03:41:14 <squirejames> Okay, i'll go get git bash for windows
03:41:20 <squirejames> Wilco
03:41:33 <reldred> you should have a folder with five folders in it including timberwolfs_trains
03:41:35 <__abigail> reldred: Recruiters: "Hi, please send me your GitHub profile with the 1000 personal projects because everyone should be writing useless shit 24/7"
03:41:59 <reldred> __abigail: heh, my github is in my resume and you should see what a train wreck that is
03:42:04 <reldred> still got job at big hole
03:42:36 <squirejames> Yep, got those five. Right, git bash, one moment
03:43:16 <reldred> yeah, you should then with windows git installed be able to type either bash or bash.exe when inside the timberwolfs_trains or whatever folder in cmd.exe (or powers hell)
03:43:25 <reldred> and then the prompt should look different
03:43:32 <squirejames> Think I got it. Downloading now
03:43:40 <reldred> and then you should be able to type bash build.sh
03:43:49 <reldred> or some shit idk
03:43:52 <reldred> im tired
03:44:00 <squirejames> Git 2.53.0.2 ? does that seem right?
03:44:03 <reldred> https://tenor.com/view/the-green-mile-gif-17328904180409510666
03:44:13 <reldred> squirejames: fuck if i know
03:44:43 <reldred> eh I mean looks like it?
03:45:01 <squirejames> Contains Git Bash so, yeah lets go with it. Installing
03:45:15 <reldred> daijoubu desu
03:45:51 <squirejames> Right, so now, open a cmd in the folder with build.sh in it
03:46:14 <squirejames> Ah actually I can just double click it. Seems to be compiling
03:46:26 <reldred> glhf
03:46:42 <squirejames> That was....painful. Thank you for all your help. Hopefully I can do something worthwhile with it
03:46:58 <reldred> do it from a cmd next time, cunt'll close on you when its done and you'll have no idea what went wrong
03:47:09 <squirejames> Wilco
03:47:33 <reldred> there we go, can put 'proficient in go based project build environments' on my resume.
03:47:35 <reldred> kill me now
03:48:44 <reldred> oh yeah you'll probably crash out at the nmlc step. go get the windows nmlc and stick it in a folder in that folder of five called 'nml'
03:49:08 <reldred> when you read that build.sh anywhere you see ".." its telling it to go back one directory from where it is
03:49:17 <_glx_> actually it seems it would also need an nml folder with standalone nml.exe in it
03:49:21 <reldred> yeah
03:49:24 <reldred> I missed that
03:49:31 <_glx_> (based on my reading of build.sh)
03:49:43 <reldred> it's probably gonna spend the next half hour rendering voxels so you might be able to beat it to it
03:50:36 <_glx_> but at least it's easy to get standalone nml ๐Ÿ™‚
03:50:42 <squirejames> I have that in the directory above, where should I copy it to?
03:50:51 <reldred> nmlc.exe in a folder called nml
03:50:59 <reldred> alongside all those other folders
03:51:06 <reldred> should take it from five folders to six
03:51:10 <squirejames> Done
03:51:18 <squirejames> I had that from when I did those depots a few years back
03:51:43 <squirejames> So, i'll let it compile. Just to see if it all works, before I start even contemplating my edits
03:51:46 <reldred> ah that's probably an ancient nmlc
03:51:50 <_glx_> hmm maybe get the latest one from nml releases ๐Ÿ™‚
03:51:51 <reldred> go get newer one plz
03:52:18 <squirejames> My *theory* is that I can erase the entries I don't need from the csv, just edit the relevant data etc, and tada, copies in a new NML. But, Will will know more about that
03:52:19 <squirejames> Wilco
03:53:23 <squirejames> Right got 0.8.1 now
03:54:06 <squirejames> I am hoping you see that I don't need to faff about with any of the coding for sprite lengths etc, because I am not touching sprites. Just tractive effort, speed, intro date, outro date etc
03:54:19 <squirejames> but thats a problem for tomorrow
03:54:29 <reldred> just make sure you compare your csv in notepad before and after you edit it, excel loves to fucking mutilate csv files and so does libre office
03:54:46 <reldred> excel in particular loves turning comma delimited into tab delimited.
03:54:47 <squirejames> I can edit it in notepad++ if thats less mutilation-ee
03:54:57 <squirejames> I do my usual coding in that
03:55:00 <reldred> yeah or you can fix it in notepad++ afterwards
03:55:17 <_glx_> reldred: but there's a "c" in "csv" for a reason
03:55:20 <squirejames> I have a nifty file comparison program too which should help
03:55:28 <reldred> _glx_: tell that to microslop
03:55:43 <reldred> it'll stand out like a dogs bollocks in notepad
03:56:01 <reldred> csv's are a pretty stupid simple format
03:56:33 <squirejames> Yeah its..wowsers, in Notepad++. Looks like my hex editor there. So, Libre is neater but I'll make sure nothing gets wonky between edits
03:56:42 <squirejames> Thanks for that advice ๐Ÿ‘
03:56:45 <reldred> make a copy
03:56:56 <reldred> maybe modern libreoffice doesn't shit the bed like it used to
03:57:08 <squirejames> Oh naturally. Right now I am just compiling the existing file, no edits made, to make sure the thing works
03:57:28 <_glx_> it's a git clone anyway
03:58:01 <reldred> yeah can always shitcan it and download it again
03:58:07 <squirejames> As I said, I am sure Will can advise me more on the way he makes addons for Timberwolfs set tomorrow/later.
03:58:53 <_glx_> the hardest part is done anyway (getting the prerequisites)
03:59:08 <squirejames> aye, this is just regular modding now. As I said, much appreciated
03:59:10 <reldred> now what am I having for lunch
03:59:15 <reldred> i require a tasty treat
03:59:20 <squirejames> You deserve it ๐Ÿ™‚
03:59:36 <_glx_> and I should be in bed ๐Ÿ™‚
03:59:41 <squirejames> ditto
04:39:14 *** Zathras_7 has joined #openttd
04:42:36 *** Zathras_11 has quit IRC (Ping timeout: 480 seconds)
05:09:12 <DorpsGek> [OpenTTD/OpenTTD] eints-sync[bot] pushed 1 commits to master https://github.com/OpenTTD/OpenTTD/commit/d9c35037d4ac333cae7e7b51e5830cc0d1ed330d
05:09:13 <DorpsGek> - Update: Translations from eints (by translators)
05:47:40 <andythenorth> Well
06:10:40 *** rito12_13 has joined #openttd
06:10:40 <rito12_13> andythenorth: It worked https://github.com/Rito13/BaNaNaS-get_badge_labels/blob/main/gen_docs%2Fprivate_labels.md ๐ŸŽ‰
06:42:33 <andythenorth> Ideal ๐Ÿ™‚
06:42:45 *** Zathras_7 has quit IRC (Quit: Initiating getting-the-hell-out-of-here maneuver!)
07:45:21 <peter1138> How to encourage someone to never publish their source code again.
07:58:32 <andythenorth> did I miss something? ๐Ÿ‘€
08:03:08 <peter1138> Hmm, probably should go for the quick hack to start with, doing it properly requires considerable investment in tidying things up.
08:08:03 <peter1138> Although.
08:08:13 <peter1138> Better test with aBase.
08:17:29 <peter1138> Oh, of course, that breaks anyway :/
08:30:29 <LordAro> what a fun evening everyone had
08:30:42 *** Webster has joined #openttd
08:30:58 <LordAro> it's funny because go is one of the easiest compiled languages to do cross-platform stuff
08:35:29 *** Zathras_7 has joined #openttd
08:36:11 *** Zathras_7 has quit IRC ()
08:37:29 <peter1138> Do I need to make it work with aBase/BigGUI?
08:37:34 <peter1138> Requires more code :o
08:39:26 <peter1138> They use sprites bigger than the expected size, so the hardcoded minimal size has no effect and the buttons are a bit mixed.
08:39:49 <LordAro> there's enough people using it (even if they shouldn't) that it'd be worth the effort imo
08:40:03 <LordAro> given the whole point is to improve the new menu :)
08:41:05 <peter1138> In fact, SetToolbarMinimalSize() does assume toolbar buttons are the default size.
08:41:27 <peter1138> Maybe I should change that instead, so it applies anywhere where we have toolbar buttons.
08:44:10 <peter1138> Seems a better idea.
09:04:41 <Timberwolf> peter1138: quite :)
09:05:08 <Timberwolf> Never drive a mechanic's own car, never look at the stuff a commercial programmer does for themselves off-duty.
09:06:17 <reldred> Oh yeah, that was entirely too harsh of me
09:06:20 <peter1138> Supplied as-is, no warranty.
09:06:39 <reldred> Please take any of my criticisms as firmly tongue in cheek
09:07:26 <reldred> Mostly just me pissy that I thought James was bringing me the usual gcc+make nonsense and then I was figuring out how go works
09:07:46 <LordAro> reldred? pissy? I am shocked.
09:08:01 <LordAro> ;)
09:08:09 <Timberwolf> Nah, I am aware it's bad, but I prefer "the bad thing is still publicly available for study" than "it's locked away in private because I'll never get round to making the build process suitable for humans"
09:08:45 <reldred> Yeah thats very fair. I'd rather my trash be public for all to see and (re/ab)use incase I get hit by a bus
09:10:21 <peter1138> Timberwolf, I was wondering how well a modern compiler could optimise your C-ified version of yoour QBasic... and then remembered it needs to work on DOS... Oh :)
09:10:25 <reldred> Got there in the end, the WSL vs git bash thing I think drew my ire the most.
09:12:02 <locosage> alternatively, you can just show a warning for abase an such that ui may not look the best
09:12:10 <locosage> to encourage people moving to better stuff
09:12:51 <locosage> might be a better approach in the long run
09:14:46 <Timberwolf> I was quite surprised by how good the Watcom output is (although I recall it had a good reputation even back then). The big gain would be if a compiler was running in 386+ mode and able to be smart enough to convert the shifts to use that 386 double-precision shift so you only need to load the next byte of bitplane data into the register, rather than calculating both "next" and "previous"
09:17:16 <Timberwolf> Obviously the absolute overkill would be a compiler which can convert it into vectored instructions (in a magic world where it can actually infer this from the code) although at the point you have a CPU which supports that you're going to be getting absolutely killed by branch prediction misses.
09:17:54 <peter1138> Mmm, and running EGA on a CPU with that... yeah, no :)
09:18:38 <Timberwolf> Emailing aliexpress sellers like, "hi, I need a PCIe 256KB EGA card"
09:22:58 <peter1138> Hmm, I wonder if the VGA compatibility that... may... still exist on modern GPUs also includes EGA and CGA. Not something I've tried.
09:23:36 <peter1138> I do wonder about the important things sometimes...
09:23:49 <will_marshall_> timberwolf's build process is fine but everyone says i'm a terrible judge of build processes after I praised ant and later the abomination that is UnrealBuildTool.
09:24:13 <LordAro> oh yeah, your opinion is garbage
09:24:13 <will_marshall_> they still let me put "lead software engineer" on my business cards
09:24:17 <LordAro> <3
09:24:28 <will_marshall_> what do they call the person who graduated with the lowest grade in medical school?
09:24:43 * LordAro spends a decent chunk of his time doing terrible things with makefiles and actually quite likes XSLT
09:24:48 <Timberwolf> I think it was getting ropey even in the early SVGA days!
09:25:25 <Timberwolf> The later Keen games have an "SVGA mode" because some of the SVGA cards didn't have the same scroll register behaviour as a real EGA.
09:26:06 <will_marshall_> Makefiles I just never got on with. CMake drives me crazy whenever I have to touch it but I can see how it was the only port in a storm for a long time.
09:27:18 <Timberwolf> Not uncommon for the CGA support to only use palette 1, too, and ignore any attempts to switch it.
09:27:47 <peter1138> Monuments of Mars in magenta, cyan and white...
09:29:24 <peter1138> (That'll be the snow/ice levels)
09:32:26 *** Flygon has joined #openttd
09:37:30 *** Hermokuolio has joined #openttd
09:39:44 <_zephyris> @peter1138 Bring back the missing sprites warning in release branches? Add a 'click to fix' button, which downloads ogfx(2) or opens content manager with it selected?
09:41:02 <LordAro> oho
09:45:57 <peter1138> It's not missing sprites, it's because the sprites that do exist are larger than intended.
09:49:56 <LordAro> will_marshall_: makefiles are great as long as you have a "one command takes some inputs and has a single output file"
09:50:08 <LordAro> if you start diverging from that it gets all sorts of funky
09:50:15 <LordAro> and of course spaces and backslashes are right out
09:52:54 <will_marshall_> spaces in filenames - convenient skeumorphism or evil work of satan? vote now on your phones.
09:53:24 <LordAro> clearly DOS 8.3 filenames are the way to go
10:18:58 <orudge> Heh, an e-mail from someone suggesting to save money, we should migrate all our services to a cheap dedicated server...
10:19:05 <orudge> I pointed them to TrueBrain's infrastructure posts from a few years ago
10:19:39 <LordAro> an actual email? from someone that isn't selling dedicated servers?
10:19:40 <orudge> LordAro: we seem to be missing a FILE_ID.DIZ from our zip files
10:19:50 <orudge> LordAro: indeed
10:20:14 <LordAro> orudge: i had to google that one
10:44:52 <_zephyris> @peter1138 I realise it's solving one problem with the solution to a different problem... but worth considering?
11:17:44 <peter1138> No, it won't make the menu look any better :)
11:18:13 <peter1138> And people will continue using zBase/aBase/biggui.
11:18:25 <peter1138> Pixels "hurt".
11:32:34 <_zephyris> well... I guess I should finish the extra zoom then!
11:42:13 <squirejames> Morning, just, all. Well apparently my efforts did actually compile. Or, at least it outputted a nml file and a .tar file, I assume the latter is the usable newgrf
11:58:05 <LordAro> squirejames: tar is an archive file, like zip
11:58:12 <LordAro> it likely contains the actual grf file
12:00:00 <_glx_> Tape ARchive if my memory is right
12:06:30 <squirejames> Okeedokes. It compiled something anyway so that's a relief ๐Ÿ˜„
12:07:05 <squirejames> I'll experiment more later. If I read correctly I can bypass most of that process since I'm not messing with sprites only code
12:53:02 <DorpsGek> [OpenTTD/OpenTTD] 2TallTyler merged pull request #15398: Codechange: Rename "non-stop" and "go via" order flags for clarity https://github.com/OpenTTD/OpenTTD/pull/15398
12:55:45 <DorpsGek> [OpenTTD/OpenTTD] 2TallTyler updated pull request #15379: Feature: Trains with an engine on the rear drive backwards when reversing https://github.com/OpenTTD/OpenTTD/pull/15379
12:57:40 <DorpsGek> [OpenTTD/OpenTTD] 2TallTyler updated pull request #15391: Add: Setting to disallow train magic flip, and reverse at reduced speed https://github.com/OpenTTD/OpenTTD/pull/15391
13:26:39 <DorpsGek> [OpenTTD/OpenTTD] 2TallTyler commented on pull request #15397: Add: Lower the Send To Depot button when a vehicle is on its way to one https://github.com/OpenTTD/OpenTTD/pull/15397#pullrequestreview-3999166266
13:38:50 *** Wormnest has joined #openttd
14:07:56 <andythenorth> nap?
14:18:36 *** SigHunter has quit IRC (Remote host closed the connection)
14:20:39 *** SigHunter has joined #openttd
15:21:14 <_cyclops_> Is there a way (in multiplayer) to automatically replace old vehicles? I know just send them to the depot and close them, sell the old one..
15:24:49 <peter1138> Yes, autorenew and autoreplace
15:28:10 <_cyclops_> where are those options available?
15:30:01 <LordAro> https://wiki.openttd.org/en/Manual/Replace%20vehicles
15:30:10 <_glx_> auto renew is in settings "renew when old" or similar, auto replace is in vehicle list, there's a drop-down at bottom
15:31:14 <LordAro> yeah, wiki seems oddly quiet about autorenew
15:31:36 <_cyclops_> thx glx
15:31:51 <_cyclops_> it's on the vehicles page, but the screenshot on where in the settings it is, seems wrong
15:31:59 <_cyclops_> the 'renew when old' glx mentioned helped me
15:32:08 <LordAro> indeed
15:32:13 <LordAro> autorenew and autoreplace are two separate things
15:32:39 <LordAro> did the same model restriction for autoreplace get lifted?
15:35:16 <peter1138> Yes,
15:36:48 <jfkuayue> launch?
16:39:59 <peter1138> Pub?
16:50:56 <jfkuayue> Publiฤ Hauลกe.
16:55:12 <jfkuayue> Wait this actually sounds like poo-bleach, how-shit.
16:57:32 <jfkuayue> So wetherspoons are apparently selling ready meals.
16:57:51 <peter1138> Wetherspoons is shit.
16:58:24 <jfkuayue> The cheaper options are macdonalds though
17:34:16 <peter1138> https://fuzzle.org/~petern/ottd/abasetoolbarbefore.png
17:34:30 <peter1138> https://fuzzle.org/~petern/ottd/abasetoolbarafter.png
17:34:36 <peter1138> Uniform toolbar button size...
17:37:55 <LordAro> seems reasonable
17:38:06 <LordAro> another nudge towards a more complete baseset :)
17:43:40 *** hexdog has joined #openttd
17:44:53 <LordAro> though perhaps too much padding? i'm looking at the trees icon in the landscaping toolbar
17:45:17 <LordAro> it was definitely intended to fit the button size exactly
17:45:28 *** hexdog has quit IRC ()
17:54:00 *** hexdog has joined #openttd
17:57:09 *** tabytac has joined #openttd
17:57:10 <tabytac> i wonder how that would look at lower resolutions
18:01:25 *** hexdog has quit IRC (Read error: Connection reset by peer)
18:09:10 <andythenorth> robot report https://usercontent.irccloud-cdn.com/file/rqAtk9rT/image.png
18:09:20 <andythenorth> doesn't work very well
18:09:32 <andythenorth> such GPT
18:12:41 *** hexdog has joined #openttd
18:50:19 <peter1138> LordAro, that's the issue, aBase/zBase used way larger than normal toolbar icons, but didn't replace everything.
18:50:38 <peter1138> So the dynamite icon is large, the landscaping toolbar is large, etc...
18:52:49 <peter1138> https://fuzzle.org/~petern/ottd/abasemenubefore.png
18:52:52 <peter1138> https://fuzzle.org/~petern/ottd/abasemenuafter.png
18:53:25 <peter1138> Basically, there's a toolbar sprite somewhere that's larger than the others :)
18:53:53 <peter1138> https://fuzzle.org/~petern/ottd/ttdtoolbarbefore.png
18:54:05 <peter1138> https://fuzzle.org/~petern/ottd/ttdtoolbarafter.png
18:54:18 <peter1138> Meanwhile, no difference because it's as designed :)
18:55:28 <peter1138> https://fuzzle.org/~petern/ottd/ttdmenubefore.png
18:55:35 <peter1138> https://fuzzle.org/~petern/ottd/ttdmenuafter.png
18:55:53 <peter1138> See "Load Game" and "Help & Manuals"
18:56:04 <peter1138> (This was already handled in the earlier version of the patch, though.)
18:57:49 <LordAro> yeah, probably not worth worrying about then
19:09:00 *** Hermokuolio has quit IRC (Ping timeout: 480 seconds)
19:10:02 *** Zathras_7 has joined #openttd
19:10:49 *** MinchinWeb[m] has quit IRC (Read error: Connection reset by peer)
19:11:05 *** MinchinWeb[m] has joined #openttd
19:17:55 *** hexdog has quit IRC (Remote host closed the connection)
19:18:55 *** Zathras_7 has quit IRC (Remote host closed the connection)
19:21:25 *** Hermokuolio has joined #openttd
19:43:07 *** Wolf01 has joined #openttd
19:45:20 <Timberwolf> will_marshall_: how would you like to be credited on the readme files for the things you've contributed to? (i.e. name)
20:41:36 <andythenorth> more chat needed
20:41:38 <andythenorth> too quiet
20:42:00 <Wolf01> You say?
20:47:22 <andythenorth> yair
20:49:25 <squirejames> Mr Timberwolf, I am curious, how is it you're calculating tractive effort in your set? I am testing out my idea and turning the Fowler 4F into a Southern Q Class, and, well, the other details seem fairly simple (no. of cylinders, cylinder dimensions, weight with tender etc) but, tractive effort is using some sort of calculation
20:53:54 <andythenorth> found the briefing doc for the Railroad Tycoon 3 game i made https://usercontent.irccloud-cdn.com/file/q3Tvmohg/image.png
20:55:28 <squirejames> Ah hang on, its in metric
20:55:35 <squirejames> derrp, you can tell I am not well today
20:56:07 <belajalilija> I thought TE was unimportant?
20:58:16 *** SpComb^ has joined #openttd
20:58:36 <squirejames> Tis the metric (no pun) I use for deciding what loco to use, to be fair
20:59:36 *** SpComb has quit IRC ()
21:01:22 <andythenorth> "it's nice to roleplay" :)
21:04:46 *** Flygon_ has joined #openttd
21:09:55 <andythenorth> Horse from 7 years ago https://usercontent.irccloud-cdn.com/file/17ihsdPE/Screen%20Shot%202019-04-29%20at%2022.42.03.png
21:11:36 *** Flygon has quit IRC (Ping timeout: 480 seconds)
21:11:40 <andythenorth> now https://usercontent.irccloud-cdn.com/file/RP2jOVnU/image.png
21:12:36 <reldred> belajalilija: becomes important with higher slope grades and freight weight multipliers. Itโ€™s useless in default ottd settings
21:14:15 <belajalilija> reldred: So it can help even on the flat?
21:19:33 <squirejames> Okay, real "oh boy" question now then
21:19:49 <squirejames> How to calculate horsepower for a steam loco ๐Ÿ˜„
21:21:15 <andythenorth> just make it up
21:21:30 <andythenorth> it's either more, or less, than a class 37
21:21:31 <andythenorth> or the same
21:21:58 <squirejames> (i've found a few formulae online but, they don't seem to be specific to steam locomotives, and require information I do not have. )
21:22:01 *** emperorjake has joined #openttd
21:22:01 <emperorjake> I think there's online calculators that estimate based on boiler size and such, bit that's what led to some severely underpowered locos in the 2cc trainset
21:22:20 <squirejames> I mean for this particular loco it doesn't really matter as it would likely be very similar
21:22:37 <reldred> belajalilija: Dunno, playing with my settings itโ€™s only really a consideration for hills
21:22:44 <squirejames> (hence why I am doing this one first, 4F to Southern Q)
21:24:27 <squirejames> Well for now, i'll leave it at 950. So, now to try and compile. Crumbs
21:25:17 <belajalilija> squirejames: You canโ€™t
21:25:17 <belajalilija> But i know where to find info on Danish and Czech stuff, you could cross reference
21:25:32 <andythenorth> it's all a wide range anyway
21:25:43 <andythenorth> theoretical hp, drawbar hp
21:25:46 <andythenorth> hp at wheel
21:25:50 <andythenorth> hp sustained over time
21:26:14 <andythenorth> hp varying by speed
21:26:38 <squirejames> Aye I figured it was lots of "ish"
21:26:52 <belajalilija> German wiki often mentions horsepower too
21:27:12 <belajalilija> I have a book on Czech locos that mentions it
21:27:30 <belajalilija> And DSB documents from the 60s that do too
21:27:36 <squirejames> If it looks like a Fowler 4F, has a similar cylinder size, driver size, (albeit slightly higher boiler pressure, 200psi vs 150) then it likely pulls like one. Does have a higher tractive effort though
21:28:14 <squirejames> 116kn vs 109kn, or 26,160 lbf vs 24,555 lbf
21:28:32 <squirejames> Slightly beefier 4F, basically
21:28:55 <andythenorth> is it a Q or Q1?
21:33:05 <squirejames> Q
21:33:12 <squirejames> The Q1 is in the set already
21:35:18 <squirejames> hmm I did something wrong. Claims my NML file doesn't exist
21:42:29 <Timberwolf> Yeah, TE is just kN I think, using whatever data I can scrounge (probably most of it incorrect)
21:43:41 <squirejames> Okeedokes ๐Ÿ™‚
21:43:41 <squirejames> struggling to compile my own little addon. Best error shot I can get
21:43:43 <squirejames> https://cdn.discordapp.com/attachments/1008473233844097104/1486118340442194060/image.png?ex=69c4570f&is=69c3058f&hm=a68f17c1947284488d5596346aaf1470ebffd35a5a3ae5021d38056a91d3456c&
21:44:05 <squirejames> nmlc ERROR: Input file "squires_tw_addon.nml" does not exist
21:45:24 <squirejames> ah hang on
21:46:31 <squirejames> New error, thats progress right? ๐Ÿ˜„
21:47:31 <squirejames> nmlc ERROR: lang\english.lng, line 48: string name "STR_NAME_GWR_TENDER" is used multiple times
21:47:35 <squirejames> Well, hmmm
21:49:00 <squirejames> AH had the GWR tender listed twice
21:49:47 <squirejames> (btw how do I stop the compiler from closing when theres an error, so I can actually see what the error is for more than 2 seconds? I am running it from CMD as reldred suggests but it still does it)
21:50:23 <andythenorth> Q is probably 1000hp
21:51:13 <Timberwolf> I use Git bash from windows git (hence the weird *nix-on-Windows setup), I don't think anything closes unexpectedly with that.
21:52:01 <squirejames> I use Windows Git also. Even if ran from CMD, it opens, does its thing, then closes
21:53:59 <squirejames> For those that can view images
21:54:01 <squirejames> https://cdn.discordapp.com/attachments/1008473233844097104/1486120931914158140/image.png?ex=69c45978&is=69c307f8&hm=fd78c6cb22eeb66c2d4f7a51e7d300fb9647af512e03378a5577988e660233ac&
21:54:04 *** DDR_ has quit IRC (Ping timeout: 480 seconds)
21:59:33 <andythenorth> funny old Horse https://usercontent.irccloud-cdn.com/file/U5h20KrV/Screen%20Shot%202018-12-12%20at%2023.13.14.png
22:00:43 <andythenorth> even older Horse :o https://usercontent.irccloud-cdn.com/file/iAiv5fCS/Screen%20Shot%202017-10-10%20at%2021.15.23.png
22:03:04 *** DDR_ has joined #openttd
22:06:37 <squirejames> Right, managed to figure out how to keep the cursed thing open ๐Ÿ˜„
22:06:41 <squirejames> Soooooooooooo
22:06:41 <squirejames> ```Rendering purchase sprites
22:06:41 <squirejames> Compiling set
22:06:41 <squirejames> Compiling NML
22:06:41 <squirejames> nmlc warning: "squires_tw_addon.nml", line 28: Named parameter 'param_no_gameplay_units' is not referenced, ignoring.
22:06:42 <squirejames> nmlc warning: "squires_tw_addon.nml", line 62: Named parameter 'HAS_BRAKE_VAN' is not referenced, ignoring.
22:06:42 <squirejames> nmlc warning: "squires_tw_addon.nml", line 64: Named parameter 'HAS_BUFFET_CAR' is not referenced, ignoring.
22:06:44 <squirejames> nmlc warning: "squires_tw_addon.nml", line 2568: Named parameter 'cargo_age_multiplier' is not referenced, ignoring.
22:06:44 <squirejames> nmlc ERROR: "squires_tw_addon.nml", line 7402: Unrecognized identifier 'switch_fowler_4f_curve' encountered
22:06:46 <squirejames> Building TAR
22:06:46 <squirejames> mv: cannot stat '*.grf': No such file or directory
22:19:01 *** WormnestAndroid has quit IRC (Remote host closed the connection)
22:19:13 *** WormnestAndroid has joined #openttd
22:19:47 *** Wolf01 has quit IRC (Quit: Once again the world is quick to bury me.)
22:30:44 *** MinchinWeb[m] has quit IRC (Ping timeout: 480 seconds)
22:31:35 *** MinchinWeb[m] has joined #openttd
22:35:38 <LordAro> squirejames: are you confused about something specific?
22:35:59 <squirejames> I was, but, resolved. Trial and error. I'll be fair, I am not sure *why* it worked but it did ๐Ÿ˜„
22:36:26 <squirejames> I currently have a Fowler 4F, with a Southern Railway tender, and its called the Southern Q Class, and it has all the right stats, so I am happy
22:53:24 <will_marshall_> Timberwolf: If you credit yourself by full name, credit me by full name, if you credit yourself by username, credit me by github username.
22:53:25 *** alphanius has joined #openttd
22:53:25 <alphanius> Hey guys - I don't really know where else to post this, as the forum seems to be unavailable (?):
22:53:25 <alphanius> I just had the idea that it would be cool if train depots could be entered/exited from both sides, as shipyards already do ingame (and reallife train depots sometimes do too ๐Ÿ˜‰ ). Has anyone ever thought about or discussed this?
22:53:25 <alphanius> Sorry if my wording is a bit off, English isn't my native language ๐Ÿ˜‰
22:54:43 <will_marshall_> Drive-through train depots is already in Discord channel #jgr-patch-pack , you just need to turn it on.
22:59:14 <alphanius> will_marshall_: Sorry if I sound stupid now... I got the game via Steam, do I need to download some kind of add in first? I can't find an ingame option to turn them on
23:00:23 <will_marshall_> Go to that channel and ask around but https://github.com/JGRennison/OpenTTD-patches/releases
23:00:31 <will_marshall_> Download an alternative build of the game and try that out.
23:01:06 <will_marshall_> You don't need to install or anything, just unzip it somewhere and run the executable.
23:01:55 <alphanius> Okay, thanks a lot for your help!
23:02:02 <will_marshall_> No problem, welcome to the community.
23:05:16 <peter1138> https://www.tt-forums.net/viewtopic.php?t=92748 Tell everyone you used AI without telling everyone you used AI...
23:08:11 <will_marshall_> ๐Ÿคฎ
23:43:01 <DorpsGek> [OpenTTD/OpenTTD] 2TallTyler updated pull request #15379: Feature: Trains with an engine on the rear drive backwards when reversing https://github.com/OpenTTD/OpenTTD/pull/15379
23:45:24 <DorpsGek> [OpenTTD/OpenTTD] 2TallTyler updated pull request #15391: Add: Setting to disallow train magic flip, and reverse at reduced speed https://github.com/OpenTTD/OpenTTD/pull/15391