I am not sure if is right place but whatever...
I am trying to install patch to OTTD but when i hit console with : patch -p0 < r14293-daypatch.diff
I get following errors...
|Index: src/aircraft_cmd.cpp
|===================================================================
|--- src/aircraft_cmd.cpp (revision 14293)
|+++ src/aircraft_cmd.cpp (working copy)
--------------------------
File to patch:
I am using Ubuntu 9.10 and i cant find any of these files in ottd directory.
Where can i install patch?
Moderator: OpenTTD Developers
Re: Where can i install patch?
Hi and welcome Keprta,
I guess you are trying to patch the executable, that won't work.
You are supposed to checkout the source, patch that and recompile,
which will result in a new patched executable to be found inside the bin folder.
How and where to find the source and other things you need can be found in the link below.
http://wiki.openttd.org/Category:Compiling_OpenTTD
Please if you have more questions ask them here,
http://www.tt-forums.net/viewtopic.php?f=33&t=21678,
mentioning at what stage you got stuck.
ps:
Make sure you checkout the correct revision number before applying the patch,
unless you speak some c++ and know a bit about the source and changes made to it since the patch was created.
I guess you are trying to patch the executable, that won't work.
You are supposed to checkout the source, patch that and recompile,
which will result in a new patched executable to be found inside the bin folder.
How and where to find the source and other things you need can be found in the link below.
http://wiki.openttd.org/Category:Compiling_OpenTTD
Please if you have more questions ask them here,
http://www.tt-forums.net/viewtopic.php?f=33&t=21678,
mentioning at what stage you got stuck.
ps:
Make sure you checkout the correct revision number before applying the patch,
unless you speak some c++ and know a bit about the source and changes made to it since the patch was created.
-- .- -.-- / - .... . / ..-. --- .-. -.-. . / -... . / .-- .. - .... / -.-- --- ..- .-.-.-
--- .... / -.-- . .- .... --..-- / .- -. -.. / .--. .-. .- .. ... . / - .... . / .-.. --- .-. -.. / ..-. --- .-. / .... . / --. .- ...- . / ..- ... / -.-. .... --- --- -.-. .... --- --- ... .-.-.- / ---... .--.
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.
--- .... / -.-- . .- .... --..-- / .- -. -.. / .--. .-. .- .. ... . / - .... . / .-.. --- .-. -.. / ..-. --- .-. / .... . / --. .- ...- . / ..- ... / -.-. .... --- --- -.-. .... --- --- ... .-.-.- / ---... .--.
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.
Who is online
Users browsing this forum: No registered users and 13 guests