Config
Log for #openttd on 9th September 2022:
Times are UTC Toggle Colours
00:02:15  *** Wormnest has quit IRC
00:08:28  *** HerzogDeXtEr has quit IRC
00:24:51  *** WormnestAndroid has quit IRC
00:35:56  *** WormnestAndroid has joined #openttd
00:47:21  *** Wormnest has joined #openttd
01:06:02  *** greeter has quit IRC
01:10:54  *** greeter has joined #openttd
01:11:53  *** Wormnest has quit IRC
01:29:52  *** debdog has quit IRC
01:30:54  *** debdog has joined #openttd
01:32:04  *** grossing has quit IRC
01:32:05  *** grossing has joined #openttd
01:51:37  *** urdh has quit IRC
01:53:22  *** urdh has joined #openttd
01:54:08  *** m811 has joined #openttd
01:56:03  *** moll has quit IRC
02:07:05  *** D-HUND has joined #openttd
02:10:31  *** debdog has quit IRC
02:10:36  *** D-HUND is now known as debdog
05:02:50  <DorpsGek> [OpenTTD/OpenTTD] LordAro commented on pull request #9994: Fix #9993: Handle DPI changes on macOS and Windows https://github.com/OpenTTD/OpenTTD/pull/9994#pullrequestreview-1101703422
05:35:01  <DorpsGek> [OpenTTD/OpenTTD] Bouke updated pull request #9994: Fix #9993: Handle DPI changes on macOS and Windows https://github.com/OpenTTD/OpenTTD/pull/9994
05:41:14  <andythenorth> is this the font we were thinking of switching to? 😛 https://arstechnica.com/gaming/2022/09/developer-creates-delightful-programming-font-based-on-minecraft/
06:02:30  <andythenorth> https://cdn.discordapp.com/attachments/1008473233844097104/1017676353140686919/unknown.png
06:02:32  <andythenorth> https://huggingface.co/spaces/stabilityai/stable-diffusion
06:06:44  *** Flygon has joined #openttd
06:31:10  *** sla_ro|master has joined #openttd
06:32:19  <kamnet> andythenorth: I liked it enough to try it, but OpenTTD reports that it is missing characters that the game uses. 😦
06:45:14  *** Xaroth2 has quit IRC
06:45:31  *** Xaroth2 has joined #openttd
06:45:43  *** Xaroth2 is now known as Xaroth
07:40:01  <LordAro> andythenorth: bottom left looks suspiciously roller coastery
07:50:18  *** Extrems` has joined #openttd
07:50:36  *** Extrems has quit IRC
07:50:36  *** Extrems` is now known as Extrems
08:14:12  *** sjoerddebruin has joined #openttd
08:14:12  <sjoerddebruin> curvy
08:14:23  *** WormnestAndroid has quit IRC
08:27:29  <andythenorth> I didn't try tuning it
08:27:37  <andythenorth> it's quite slow cycle time
08:27:40  <andythenorth> can be run locally though
10:09:53  <DorpsGek> [OpenTTD/website] orudge commented on pull request #236: Advertise Windows 11 support https://github.com/OpenTTD/website/pull/236#pullrequestreview-1102052810
11:14:25  <Soccerdog> damn
11:14:27  <Soccerdog> thats crazy
11:27:51  <petern> mama we're all crazy now
11:29:56  *** WormnestAndroid has joined #openttd
11:35:53  *** Xaroth7 has joined #openttd
11:37:12  *** Xaroth is now known as Guest2376
11:37:12  *** Xaroth7 is now known as Xaroth
11:43:09  *** Guest2376 has quit IRC
12:04:02  <petern> Gun salutes for a while then.
12:04:59  <LordAro> pew pew
12:06:13  <petern> Jersey have some ancient lookup cannon replicas, heh.
12:06:46  <petern> Hyde Park's are huge
12:18:11  *** Smedles has quit IRC
12:18:45  *** Smedles has joined #openttd
13:35:08  <DorpsGek> [OpenTTD/OpenTTD] James103 opened issue #10009: [Bug]: Ineffective overflow protection in CmdIncreaseLoan https://github.com/OpenTTD/OpenTTD/issues/10009
13:36:34  *** WormnestAndroid has quit IRC
13:38:24  <dP> "Somehow acquire £ 2**63-1" 🤣
13:40:17  <petern> It'll happen eventually...
13:42:39  <DorpsGek> [OpenTTD/website] orudge approved pull request #236: Advertise Windows 11 support https://github.com/OpenTTD/website/pull/236#pullrequestreview-1102341394
13:43:54  <DorpsGek> [OpenTTD/website] orudge requested changes for pull request #236: Advertise Windows 11 support https://github.com/OpenTTD/website/pull/236#pullrequestreview-1102343289
13:55:58  *** Xaroth8 has joined #openttd
13:56:24  *** Xaroth has quit IRC
14:18:43  *** WormnestAndroid has joined #openttd
14:52:48  *** Etua has joined #openttd
15:49:59  *** Etua has quit IRC
16:37:24  <DorpsGek> [OpenTTD/OpenTTD] JGRennison opened issue #10010: [Bug]: IConsolePrint leaks string allocation in non-dedicated case https://github.com/OpenTTD/OpenTTD/issues/10010
16:44:36  <DorpsGek> [OpenTTD/OpenTTD] James103 opened issue #10011: [Bug]: Rebuilding a road stop with a different road type does not work properly and may cause desyncs https://github.com/OpenTTD/OpenTTD/issues/10011
16:49:39  <DorpsGek> [OpenTTD/OpenTTD] JGRennison opened pull request #10012: Fix #10010: memory leak in IConsolePrint in non-dedicated case https://github.com/OpenTTD/OpenTTD/pull/10012
17:07:23  *** HerzogDeXtEr has joined #openttd
17:08:17  *** Wolf01 has joined #openttd
17:42:18  *** Etua has joined #openttd
17:43:52  <petern> Hmm, is it standard to open a bug then a PR now?
17:44:22  <petern> Or is that just how JGR does it?
17:55:58  <LordAro> mostly the latter
17:59:17  *** sla_ro|master has quit IRC
18:08:02  <dP> double satisfaction for merging ;)
18:27:37  *** Etua has quit IRC
18:29:53  <DorpsGek> [OpenTTD/website] Bouke updated pull request #236: Advertise Windows 11 support https://github.com/OpenTTD/website/pull/236
18:30:13  <DorpsGek> [OpenTTD/website] Bouke commented on pull request #236: Advertise Windows 11 support https://github.com/OpenTTD/website/pull/236#issuecomment-1242329776
18:39:57  <andythenorth> yo
18:40:08  <andythenorth> what shall we do today Brain?
18:41:18  <TrueBrain> the same thing as we do every night Pinky
18:49:03  <petern> Try to take over the pixels?
18:50:36  *** Elouin has quit IRC
18:50:48  <andythenorth> were we making a font?
18:50:55  <andythenorth> or integrating AI art generator?
18:51:05  <andythenorth> did we do any VR yet?
18:51:22  *** Elouin has joined #openttd
18:54:28  *** gelignite has joined #openttd
18:57:58  <andythenorth> hmm
18:58:09  <andythenorth> more boringly, can I make FIRS generate objects also in the same grf?
18:58:12  <andythenorth> let's see
19:01:10  <andythenorth> never made objects
19:01:13  <andythenorth> better read the spec 😛
19:10:00  <DorpsGek> [OpenTTD/website] orudge approved pull request #236: Advertise Windows 11 support https://github.com/OpenTTD/website/pull/236#pullrequestreview-1102784428
19:10:10  <DorpsGek> [OpenTTD/website] orudge merged pull request #236: Advertise Windows 11 support https://github.com/OpenTTD/website/pull/236
19:10:32  <andythenorth> meh
19:10:38  <andythenorth> only 255 object IDs
19:10:49  <andythenorth> auto-generating from FIRS spritelayouts exceeds that
19:14:43  <frosch> objects also have a position-within-object variable
19:14:55  <frosch> however, iirc objects are always rectangular
19:17:49  <andythenorth> not sure how to make objects appear 😛
19:17:54  <andythenorth> my grf compiled fine
19:17:59  <andythenorth> might read the nfo spec
19:18:28  <Brickblock1> You need a class but you probably know that
19:20:35  <andythenorth> does not appear in game https://gist.githubusercontent.com/andythenorth/b9866adef175830005727beb413b6543/raw/bb5f3921bd59a33e58ace05852d01d3bdfd83a54/gistfile1.txt
19:20:39  <andythenorth> compiles fine
19:20:47  <andythenorth> copied from nml example object
19:22:08  <andythenorth> is purchase cb mandatory?
19:23:00  <frosch> no, it will just use "default"
19:23:20  <andythenorth> lol there are object class labels
19:23:24  <andythenorth> I never saw that argument
19:23:40  <frosch> i don't think anyone uses them 🙂
19:24:32  <frosch> same as for stations, authors consider stuff from anyone else ugly, and do not allow anything of other newgrf near their stuff
19:24:42  <andythenorth> very wise
19:26:19  <dP> I know this works:
19:26:19  <dP> ```item (FEAT_OBJECTS, egg) {
19:26:19  <dP> property {
19:26:19  <dP> class: "EEGG";
19:26:20  <dP> classname: string(STR_EGG);
19:26:21  <dP> name: string(STR_EGG);
19:26:21  <dP> climates_available: ALL_CLIMATES;
19:26:22  <andythenorth> maybe objects can't use industry spritelayouts
19:26:23  <dP> end_of_life_date: 0xFFFFFFFF;
19:26:23  <dP> object_flags:bitmask(OBJ_FLAG_ALLOW_BRIDGE, OBJ_FLAG_ON_WATER, OBJ_FLAG_DRAW_WATER, OBJ_FLAG_ANYTHING_REMOVE, OBJ_FLAG_NO_FOUNDATIONS);
19:26:25  <dP> size: [1,1];
19:26:25  <dP> num_views: 1;
19:26:27  <dP> }
19:26:27  <dP> graphics {
19:26:29  <dP> default: egg_layout;
19:26:29  <dP> purchase: egg_layout;
19:26:31  <dP> tile_check: CB_RESULT_LOCATION_ALLOW;
19:26:31  <dP> }
19:26:33  <dP> }
19:27:15  <frosch> ah yes, nml may block that
19:27:27  <frosch> but i hoped it would also error 🙂
19:27:30  *** lobster has joined #openttd
19:27:32  <andythenorth> spritelayout is https://gist.githubusercontent.com/andythenorth/768124f8c10b64ad120d33078eb535e0/raw/63de4f418e4e889d375f7036a278f0806c42f714/gistfile1.txt
19:27:44  <andythenorth> it references registers that won't have correct values
19:27:53  <andythenorth> but it should just be displayed broken
19:28:03  <andythenorth> I have no object menu at all 😛
19:28:11  <frosch> anyway, does your object show up in the menu?
19:28:20  *** lobstarooo has joined #openttd
19:28:21  <andythenorth> no
19:28:31  <frosch> well, then the issue is not with the graphics
19:28:33  <andythenorth> this will be PEBKAC
19:28:44  <frosch> maybe add your newgrf to the game first
19:29:12  <Brickblock1> Does the class show up?
19:30:48  <andythenorth> let's hope the wrong grf was loaded
19:30:52  <andythenorth> as the simple explanation
19:31:43  <andythenorth> ok it was the wrong grf
19:31:46  <andythenorth> but still no objects 😛
19:33:32  <andythenorth> is there any dumpinfo objects?
19:33:48  <Brickblock1> Nah
19:34:10  <andythenorth> nmlc info: Object items: 1/256
19:35:34  *** lobster has quit IRC
19:37:52  <frosch> maybe try -d newgrf=2 next
19:38:31  <andythenorth> I've pasted the nml example into FIRS to see if that shows up
19:38:47  <andythenorth> yup that shows
19:40:12  <frosch> you gave the item the same identifier as the spritelayout
19:40:19  <frosch> maybe nml does not like that?
19:40:58  <andythenorth> I suspect that's it
19:41:06  <andythenorth> I thought it would namespace to FEAT
19:42:06  <andythenorth> https://cdn.discordapp.com/attachments/1008473233844097104/1017882613131776111/unknown.png
19:42:10  <andythenorth> well something now shows
19:42:14  <andythenorth> I broke the object GUI 😛
19:42:54  <frosch> pretty large sprite 🙂
19:43:34  <frosch> also FIRS -> FORS
19:44:08  *** gelignite has quit IRC
19:44:21  <andythenorth> oof lol
19:44:31  <andythenorth> doesn't replace 😛
19:44:32  <andythenorth> FOS
19:45:05  <andythenorth> can we get FOREST out of it?
19:45:35  <andythenorth> https://cdn.discordapp.com/attachments/1008473233844097104/1017883490810855545/unknown.png
19:45:36  <andythenorth> this is an adventure
19:46:17  <Brickblock1> andythenorth: Forest Object REnewal SeT
19:46:29  <Brickblock1> Might be cheating
19:47:18  <andythenorth> the actual diff might be trivial https://github.com/andythenorth/firs/commit/1aa18318e6132da7308dd01bd6a1671b52ecc921
19:47:23  <andythenorth> if I can make it work
19:47:59  <frosch> tile_check success is 0x400
19:48:05  <frosch> though there is also a constant for it
19:48:18  <frosch> 0 uses your first string as eror message
19:48:51  <frosch> CB_RESULT_LOCATION_ALLOW
19:49:44  <andythenorth> spec suggests I can just drop tile_check
19:49:59  <andythenorth> https://cdn.discordapp.com/attachments/1008473233844097104/1017884594806210570/unknown.png
19:50:24  <andythenorth> basically I can convert any tile to object by appending a name string I think
19:50:37  <andythenorth> might have to engage with some of what those registers are doing 😛
19:51:25  <andythenorth> https://cdn.discordapp.com/attachments/1008473233844097104/1017884958070673408/unknown.png
19:51:25  <andythenorth> this is puzzling
19:51:32  <andythenorth> wonder if the purchase chain fails on the spritelayout
19:56:36  <andythenorth> there's some height property that causes that I think
19:57:20  <andythenorth> yes
19:57:28  <andythenorth> setting height to 128 causes that window failure 😄
19:57:34  <andythenorth> "so don't do that"
20:06:06  <andythenorth> https://cdn.discordapp.com/attachments/1008473233844097104/1017888653621592146/unknown.png
20:06:20  <andythenorth> https://cdn.discordapp.com/attachments/1008473233844097104/1017888711100342282/unknown.png
20:06:53  <andythenorth> ok so I should probably put them in groups or something
20:07:04  <andythenorth> I don't really like the 4 views thing
20:07:30  <andythenorth> it means that, for 75% of the tiles, you have to click through potentially 100% of the menu
20:07:35  <andythenorth> it's massively inefficient maths
20:08:00  <andythenorth> makes sense for flipped angles though
20:08:03  <andythenorth> or alternative colours
20:09:50  <petern> Such clean
20:10:10  <andythenorth> more dirt?
20:36:18  <andythenorth> https://cdn.discordapp.com/attachments/1008473233844097104/1017896248650498138/unknown.png
20:36:18  <andythenorth> dunno how the object menu should be organised 😛
20:36:30  <andythenorth> or why the sprites are all over the place 😄
20:37:23  <andythenorth> oh
20:37:33  <andythenorth> https://cdn.discordapp.com/attachments/1008473233844097104/1017896565093965964/unknown.png
20:37:46  <andythenorth> focussing the object window closes the station window
20:37:56  <andythenorth> focussing the station window does not close the object window 🙂
20:43:10  <petern> Nice
20:45:43  <andythenorth> do I break everything? 🙂
21:05:53  <andythenorth> https://cdn.discordapp.com/attachments/1008473233844097104/1017903695708561500/unknown.png
21:05:53  <andythenorth> such 4 views
21:07:38  <Wolf01> Nice
21:08:20  *** Wormnest has joined #openttd
21:08:58  <frosch> NW and SE could pass as orientations, the other two are different 🙂
21:09:22  <frosch> do other object sets use so much CC?
21:09:31  <frosch> do they have color seletions or random colors?
21:09:40  <petern> What's your orientation? Straight, Gay

Powered by YARRSTE version: svn-trunk