No this is not another "how do i patch" thread.
I am no coding expert, but i wondered if someone could produce a tool which has a database of all patches uploaded to the forums, when used, you can select which patches you want to apply and what OS you want, and the tool which download the source svn and compile it for you...
Would this be something possible for those of us who cant wait for patches to reach trunk?
Patch application
Moderator: OpenTTD Developers
- planetmaker
- OpenTTD Developer
- Posts: 9432
- Joined: 07 Nov 2007 22:44
- Location: Sol d
Re: Patch application
The idea has a few problems:Leanden wrote:No this is not another "how do i patch" thread.
I am no coding expert, but i wondered if someone could produce a tool which has a database of all patches uploaded to the forums, when used, you can select which patches you want to apply and what OS you want, and the tool which download the source svn and compile it for you...
Would this be something possible for those of us who cant wait for patches to reach trunk?
- it needs writing. Even BuildOTTD isn't maintained anymore, an that's one OS
- it needs creation of such database (problem: how do you know which patch is broken, which not?, Which version(s) it applies to?
- unsolvable problem: you cannot automatically combine patches and hope that it works. It can be hard work, sometimes impossible, to combine two patches.
- another problem: those who can create patches have no motivation to write a compiler as anyone can download a compiler him/herself and just compile it. And your proposal is nothing else than writing a compiler with a auto-download function for patches.
So in short: the tools exist for every OS: it's the compiler(s) mentioned in the appropriate sticky. Short of that there's no other way to binaries.
OpenTTD: manual | online content | translations | Wanted contributions and patches
#openttdcoop: blog | wiki | public server | DevZone | NewGRF web translator
DevZone - home of the free NewGRFs: OpenSFX | OpenMSX | OpenGFX | Swedish Rails | OpenGFX+ Trains|RV|Industries|Airports|Landscape | NML
- belugas
- OpenTTD Developer
- Posts: 1507
- Joined: 05 Apr 2005 01:48
- Location: Deep down the deepest blue
- Contact:
Re: Patch application
Everything is possible indeed, but honestly, you are asking for an awful lot of work. Just the patch-applying-to-trunk part would be nightmarishly.
Note that i do not want to discourage anyone of doing it, but... it will truly be a VERY BIG project.
I guess that the best answer to this would be for people to start learning how to compile. It's not THAT complicated
And in fact, a lot less then your suggestion. For sure for sure
Note that i do not want to discourage anyone of doing it, but... it will truly be a VERY BIG project.
I guess that the best answer to this would be for people to start learning how to compile. It's not THAT complicated
And in fact, a lot less then your suggestion. For sure for sure
If you are not ready to work a bit for your ideas, it means they don't count much for you.
OpenTTD and Realism? Well... Here are a few thoughs on the matter.
He he he he
------------------------------------------------------------
Music from the Bloody Time Zones
OpenTTD and Realism? Well... Here are a few thoughs on the matter.
He he he he
------------------------------------------------------------
Music from the Bloody Time Zones
- CommanderZ
- Tycoon
- Posts: 1872
- Joined: 07 Apr 2008 18:29
- Location: Czech Republic
- Contact:
Re: Patch application
Remember compiling needs significant amount of CPU time.
The closest to what you dream of is the project called NomicIN, search for it.
The closest to what you dream of is the project called NomicIN, search for it.
Re: Patch application
Sulai once began with something like that, sadly he couldn't continue: the wip version is here: http://sulai.ammler.ch
(it is around 2000 revs old already, if you want, speak with sulai, he is around from time to time...
The app did check the patches against each other and was able to make a patchpack almost alone...
If there is still interest and someone around to maintain the java code, I am up to continue it...
Edit: Oh, CommanderZ already mentioned it. Sorry
Greets
Ammler
(it is around 2000 revs old already, if you want, speak with sulai, he is around from time to time...
The app did check the patches against each other and was able to make a patchpack almost alone...
If there is still interest and someone around to maintain the java code, I am up to continue it...
Edit: Oh, CommanderZ already mentioned it. Sorry
Greets
Ammler
Town Names: Portuguese Belarusian French Swiss · Temperate Lumber Mill
Still work in progress: OpenGFX or/and OpenSFX - Please help!
Who is online
Users browsing this forum: No registered users and 49 guests