[GenAI] PX Patches -- train decouple, modular airport ...

Forum for technical discussions regarding development. If you have a general suggestion, problem or comment, please use one of the other forums.

Moderator: OpenTTD Developers

svvboy
Engineer
Engineer
Posts: 12
Joined: 05 Oct 2026 21:37

Re: [GenAI] PX Patches -- train decouple, modular airport ...

Post by svvboy »

Had a vacation
And also tested a lot of things

Now it FINALY done

my sav
my gethub

screens
Image

cargodist fix with train forming

Image

celc before end while train forming to have place for loco
Image
Attachments
Знімок екрана 2026-11-02 194258.jpg
(675.81 KiB) Not downloaded yet
Знімок екрана 2026-11-02 194033.jpg
(501.28 KiB) Not downloaded yet
Знімок екрана 2026-11-02 193945.jpg
(773.6 KiB) Not downloaded yet
Last edited by svvboy on 02 Nov 2026 18:04, edited 2 times in total.
svvboy
Engineer
Engineer
Posts: 12
Joined: 05 Oct 2026 21:37

Re: [GenAI] PX Patches -- train decouple, modular airport ...

Post by svvboy »

You can try my line

It have all fitures in just 2 trains fully work
Hawthorn & Co., 30th Jan 1975.sav
(894.35 KiB) Downloaded 8 times
svvboy
Engineer
Engineer
Posts: 12
Joined: 05 Oct 2026 21:37

Re: [GenAI] PX Patches -- train decouple, modular airport ...

Post by svvboy »

auto turn around with 1 button

Image

Image
svvboy
Engineer
Engineer
Posts: 12
Joined: 05 Oct 2026 21:37

Re: [GenAI] PX Patches -- train decouple, modular airport ...

Post by svvboy »

train forming

Image


Image

Image

Image
blackeagle
Engineer
Engineer
Posts: 25
Joined: 23 Aug 2022 06:10

Re: PX Patches -- train decouple, modular airport ...

Post by blackeagle »

andythenorth wrote: 17 Oct 2026 09:56
But nonetheless, LLM-generated forks do present GPL v2 problems, right now. :?
  • it's fine for local personal projects, never distributed
  • it's problematic when distributing the forks, as they may not conform to GPL v2
This is not aimed specifically at PX Patches; it's a more general comment, and driven as much by the appearance on reddit, tt-forums, discord etc of other forks and patches that are very LLM-generated. So it might be better to move this to a new thread at some point. :idea:

This is a related-but-separate topic to the official OpenTTD AI contributions policy, which is already clear and established.
This isn't, (Sorry Andy!) quite right. If you fork a GPLv2 project and then add Public Domain (PD) code to it (so LLM generated code, code I just don't care about or care to licence explicitly), then as long as the finished product is released under the GPLv2 (with associated source code) then that's fine. Because PD code explicitly has NO licence, as long as the rest of the forked code is released with it's original GPLv2 licence, then that's acceptable. Because anyone could rip out the PD code to get back to the original fork with no problems.

Public domain code is 100% GPL-compatible. Dedicating any additions to the public domain means you grant maximum freedom: anyone can copy, modify, or distribute your code without restrictions.

There is a lifting effect of copyleft: If you combine some public domain code with GPLv2 code into a single, integrated work (like a single executable or unified codebase), the combined whole must be distributed under the terms of the GPLv2.
pulsexlb
Engineer
Engineer
Posts: 27
Joined: 27 Sep 2026 07:00
Location: Beijing

Re: [GenAI] PX Patches -- train decouple, modular airport ...

Post by pulsexlb »

svvboy wrote: 02 Nov 2026 17:49
my gethub
I can’t see your GitHub repository. Could you paste its url? Or submit a pull request?
User avatar
andythenorth
Tycoon
Tycoon
Posts: 5836
Joined: 31 Mar 2007 14:23
Location: Lost in Music

Re: PX Patches -- train decouple, modular airport ...

Post by andythenorth »

blackeagle wrote: 03 Nov 2026 20:08 This isn't, (Sorry Andy!) quite right.
Where is your law degree from? :)

Or to put it another way, what's the legal definition of Public Domain, as it pertains to copyright, in every jurisdiction that a contributor might be subject to?

Or to put it another way, broadly in EU region, authors cannot assign 'public domain' as it has no meaning, and authors cannot waive inalienable moral rights over a work, whilst being alive. Being dead solves it, but makes future contributions by that author harder.
pulsexlb
Engineer
Engineer
Posts: 27
Joined: 27 Sep 2026 07:00
Location: Beijing

Re: [GenAI] PX Patches -- train decouple, modular airport ...

Post by pulsexlb »

In the latest fourth 2611.1 preview version (will be published today), PXP has implemented pathfinding restrictions for automatic passing/overtaking. Players can now more easily set up passing-loop tracks and passing platforms. The related tutorial documentation is still being written manually!
User avatar
ChillCore
Tycoon
Tycoon
Posts: 3029
Joined: 04 Oct 2008 23:05
Location: Lost in spaces

Re: PX Patches -- train decouple, modular airport ...

Post by ChillCore »

blackeagle wrote: 03 Nov 2026 20:08If you fork a GPLv2 project and then add Public Domain (PD) code to it (so LLM generated code, code I just don't care about or care to licence explicitly), then as long as the finished product is released under the GPLv2 (with associated source code) then that's fine. Because PD code explicitly has NO licence, as long as the rest of the forked code is released with it's original GPLv2 licence, then that's acceptable. Because anyone could rip out the PD code to get back to the original fork with no problems.

Public domain code is 100% GPL-compatible. Dedicating any additions to the public domain means you grant maximum freedom: anyone can copy, modify, or distribute your code without restrictions.

There is a lifting effect of copyleft: If you combine some public domain code with GPLv2 code into a single, integrated work (like a single executable or unified codebase), the combined whole must be distributed under the terms of the GPLv2.
where did you get that nonsense? AI told you?
maybe it would be wise to do some research ...
https://noai.duckduckgo.com/html?q=can% ... ted%20code

pulsexlb wrote: 07 Nov 2026 03:25 I think we should now integrate the code that the official project is unwilling to merge, rather than developing a whole new system ourselves.
what's that supposed to mean?
you add unlicensed code that spaghettimonster knows where it came from (not knowing AI fed you copyrighted code is not an excuse), code that you don't understand yourself, code you could not fix if poor AI bot goes down eventually ... but let's ignore peeps who kinda know what they are talking about and just brute force our way ...
to where exactly?

same link and advice for you above ...
-- .- -.-- / - .... . / ..-. --- .-. -.-. . / -... . / .-- .. - .... / -.-- --- ..- .-.-.-
--- .... / -.-- . .- .... --..-- / .- -. -.. / .--. .-. .- .. ... . / - .... . / .-.. --- .-. -.. / ..-. --- .-. / .... . / --. .- ...- . / ..- ... / -.-. .... --- --- -.-. .... --- --- ... .-.-.- / ---... .--.

Playing with my patchpack? Ask questions on usage and report bugs in the correct thread first, please.
All included patches have been modified and are no longer 100% original.
pulsexlb
Engineer
Engineer
Posts: 27
Joined: 27 Sep 2026 07:00
Location: Beijing

Re: PX Patches -- train decouple, modular airport ...

Post by pulsexlb »

ChillCore wrote: 07 Nov 2026 12:00
what's that supposed to mean?
you add unlicensed code that spaghettimonster knows where it came from (not knowing AI fed you copyrighted code is not an excuse), code that you don't understand yourself, code you could not fix if poor AI bot goes down eventually ... but let's ignore peeps who kinda know what they are talking about and just brute force our way ...
to where exactly?

same link and advice for you above ...

what are you talking about?

all the patches I merged are OpenTTD patches and are released under GPL v2. It is entirely reasonable for me to integrate them and release them under the GPL v2 license.

Where is the obstacle to AI-generated public-domain code entering a GPL project? If you think there is one, you should find the specific line in UN documents, GNU Foundation documents, or GPL v2, rather than posting a DuckDuckGo search result to accuse me of adding unlicensed code.

If you have objections about how this project is developed, you should ignore it instead of making unreasonable trouble here.
Last edited by pulsexlb on 07 Nov 2026 12:47, edited 1 time in total.
User avatar
ChillCore
Tycoon
Tycoon
Posts: 3029
Joined: 04 Oct 2008 23:05
Location: Lost in spaces

Re: PX Patches -- train decouple, modular airport ...

Post by ChillCore »

pulsexlb wrote: 07 Nov 2026 12:22
ChillCore wrote: 07 Nov 2026 12:00
what's that supposed to mean?
you add unlicensed code that spaghettimonster knows where it came from (not knowing AI fed you copyrighted code is not an excuse), code that you don't understand yourself, code you could not fix if poor AI bot goes down eventually ... but let's ignore peeps who kinda know what they are talking about and just brute force our way ...
to where exactly?

same link and advice for you above ...

what are you talking about?

all the patches I merged are OpenTTD patches and are released under GPL v2. It is entirely reasonable for me to integrate them and release them under the GPL v2 license.
they are patches but the source is questionable and unreliable
Where is the obstacle to AI-generated public-domain code entering a GPL project? If you think there is one, you should find the specific line in UN documents, GNU Foundation documents, or GPL v2, rather than posting a DuckDuckGo policy to accuse me of adding unlicensed code.
'public domain' is not a license and as such is it not compatible with GPL v2 (or whatevs version)
where did your AI get its code? pretty sure they are not telling you nor will they ever

them AI companies just shift the blame to you ... if thing go apeshit legally ... GPL may be very liberal but it has teeth ... that's what licenses do which your code has not nor ever will ... just saying
If you have objections to this project’s development, you should ignore it instead of making unreasonable trouble here.
nah ...
also ... it's not the patch I have a problem with ... it is the source and sooner or later you're gonna run into an issue YOU can not solve because your precious fed you all of it and you have no clue where to start nor end

what made me quote you is which you did not reply to ...
ChillCore wrote: 07 Nov 2026 12:00
pulsexlb wrote: 07 Nov 2026 03:25 I think we should now integrate the code that the official project is unwilling to merge, rather than developing a whole new system ourselves.
what's that supposed to mean?
you add unlicensed code that spaghettimonster knows where it came from (not knowing AI fed you copyrighted code is not an excuse), code that you don't understand yourself, code you could not fix if poor AI bot goes down eventually ... but let's ignore peeps who kinda know what they are talking about and just brute force our way ...
to where exactly?

TLDR: you can not license AI code under GPL because you have no copyright (AI companies even do not give you a license to use because even they do not know what the crap their machine is doing(*)) ... you gave a prompt and that's it ... as for them they transfered it all to you and what yuo do is not their problem

(*) but I can give you a clue ... they scrape wherever and you as enduser are responsible in the end since you published it and not them ... smallprint stuffies
-- .- -.-- / - .... . / ..-. --- .-. -.-. . / -... . / .-- .. - .... / -.-- --- ..- .-.-.-
--- .... / -.-- . .- .... --..-- / .- -. -.. / .--. .-. .- .. ... . / - .... . / .-.. --- .-. -.. / ..-. --- .-. / .... . / --. .- ...- . / ..- ... / -.-. .... --- --- -.-. .... --- --- ... .-.-.- / ---... .--.

Playing with my patchpack? Ask questions on usage and report bugs in the correct thread first, please.
All included patches have been modified and are no longer 100% original.
pulsexlb
Engineer
Engineer
Posts: 27
Joined: 27 Sep 2026 07:00
Location: Beijing

Re: [GenAI] PX Patches -- train decouple, modular airport ...

Post by pulsexlb »

I don’t want to argue about AI-related policies here. As I said before, if you don’t want AI code to enter the game, you should follow the original OpenTTD updates rather than consider this patch pack.
Also, there is no substantive legal document showing that AI-generated code conflicts with the GPL v2 license.
I think a dedicated thread should be opened to debate this, rather than doing it under a patch thread.
That’s all.
User avatar
ChillCore
Tycoon
Tycoon
Posts: 3029
Joined: 04 Oct 2008 23:05
Location: Lost in spaces

Re: [GenAI] PX Patches -- train decouple, modular airport ...

Post by ChillCore »

pulsexlb wrote: 07 Nov 2026 12:56 Also, there is no substantive legal document showing that AI-generated code conflicts with the GPL v2 license.
AI code having no license is the whole problem ... there is nothing to compare nor show ... it's not your code .. it's not theirs
who do we assign blame to if things go pear shaped
it just happened ... ??? will be a fun arguement for social media but other than that?
I think a dedicated thread should be opened to debate this, rather than doing it under a patch thread.
That’s all.
fair enough ... feel free to start one in the suggestion forums before I do ... to seperate the AI crap in a new forum section away from the legit code that can be merged and licensed ... and the raisins why

that is all too ;)
-- .- -.-- / - .... . / ..-. --- .-. -.-. . / -... . / .-- .. - .... / -.-- --- ..- .-.-.-
--- .... / -.-- . .- .... --..-- / .- -. -.. / .--. .-. .- .. ... . / - .... . / .-.. --- .-. -.. / ..-. --- .-. / .... . / --. .- ...- . / ..- ... / -.-. .... --- --- -.-. .... --- --- ... .-.-.- / ---... .--.

Playing with my patchpack? Ask questions on usage and report bugs in the correct thread first, please.
All included patches have been modified and are no longer 100% original.
Post Reply

Return to “OpenTTD Development”

Who is online

Users browsing this forum: No registered users and 0 guests