It's driving me totally crazy.
But I can't seem to find a way to add a patch to openttd. I've been looking on all kinds of sites i've searched on google. I've searched this forum. Please help me out.
I downloaded TortoiseSVN. I found somewhere that I have to right click on the opensource folder and open the tortoise menu then add patch but I don't know what the opensource folder is.
I also downloaded openttd open source but I don't know if it is the right one but it still didn't work.
I'm realy reaaaaaly looking forward to an answer!
Anyone who knows won't regred to answer cause I would be very very gratefull!
Apply patch to openttd
Moderator: OpenTTD Developers
You use tortoisesvn to "checkout" the openttd source (url of repository: [url]svn://svn.openttd.org/trunk[/url]) then you right-click on the folder you just checked it out into and pick "apply patch" then you pick the patch. You should get a screen with a list of all the files that get patched in a small window and a big window divided into 3 parts. Right click on the files list and pick "patch all" if it gives you any messages say "no I don't want to save" if you don't get any messages you can skip the next bit.
Then you click on a file in the list who's name is still in red, and click the "next collision" (red down arrow) at the top. Then, pick which of the red lines from the left and right windows you want to keep and right-click on them and say "use this line/block". If you want to use both you can right click in the red bit in the bottom window and say "use one then the other" or whatever it says. When you're done press save. If it gives an error then you need to say no and press the red down arrow again because there's another collision in the same file. If there's no error then click on the next red file in the list and fix its collisions too. When they're all done you can close the program.
Open the directory you just patched and open the appropriate file for the compiler you're using, openttd.sln for visual c++.net / studio.net 2003, openttd.dsw (I think) for visual c++ / studio 6. You can get visual c++ express 2005 beta here if you want it, or you can get someone to help you with a different free compiler or borland c++ or whatever. Make sure you have the png libraries (you need the first one, the second one is for mac) installed correctly and press build.
If it doesn't build with "cannot find png.h" or something then you need to open your project properties and add the folder you put the libraries in into the "additional include directories" (in c++ section in vs.net) and "additional library directories" (in linker somewhere in vs.net)
Congratulations, you now have a patched debug build of openttd. (In vs.net there's a dropdown at the top which you can use to switch it to release build, which runs a lot faster.)
EDIT: if you need any more help feel free to contact me on a chat network.
Then you click on a file in the list who's name is still in red, and click the "next collision" (red down arrow) at the top. Then, pick which of the red lines from the left and right windows you want to keep and right-click on them and say "use this line/block". If you want to use both you can right click in the red bit in the bottom window and say "use one then the other" or whatever it says. When you're done press save. If it gives an error then you need to say no and press the red down arrow again because there's another collision in the same file. If there's no error then click on the next red file in the list and fix its collisions too. When they're all done you can close the program.
Open the directory you just patched and open the appropriate file for the compiler you're using, openttd.sln for visual c++.net / studio.net 2003, openttd.dsw (I think) for visual c++ / studio 6. You can get visual c++ express 2005 beta here if you want it, or you can get someone to help you with a different free compiler or borland c++ or whatever. Make sure you have the png libraries (you need the first one, the second one is for mac) installed correctly and press build.
If it doesn't build with "cannot find png.h" or something then you need to open your project properties and add the folder you put the libraries in into the "additional include directories" (in c++ section in vs.net) and "additional library directories" (in linker somewhere in vs.net)
Congratulations, you now have a patched debug build of openttd. (In vs.net there's a dropdown at the top which you can use to switch it to release build, which runs a lot faster.)
EDIT: if you need any more help feel free to contact me on a chat network.
Melt with the Shadows,
Embrace your destiny...
Embrace your destiny...
Who is online
Users browsing this forum: No registered users and 0 guests