Terkhen wrote:As long as there are no conflicts, it can apply to any revision. This means that you probably can apply the diff file to revisions before and after r18353 until you reach the first reject. But the diff was made against r18353, and that is the only revision guaranteed to work with the diff file.
Aha, it seems I was under the miss guided impression that people based PP's off of nightly revisions.. never mind me.
I'm not sure I'm following you. TPPP is based on a nightly revision, in this case r18353. But if, for example, r18354 only changed parts of the code unrelated to TPPP, the TPPP diff file will still apply correctly. This is also true backwards: if r18353 itself does not affect any of the patches of TPPP, the diff file could also be applied to r18352 and so on.
Terkhen wrote:I'm not sure I'm following you. TPPP is based on a nightly revision, in this case r18353. But if, for example, r18354 only changed parts of the code unrelated to TPPP, the TPPP diff file will still apply correctly. This is also true backwards: if r18353 itself does not affect any of the patches of TPPP, the diff file could also be applied to r18352 and so on.
It's safest to assume that it will work with the revision (either from the OpenTTD site or checked out from the SVN repository) that is listed in it's name, currently, r18353. It's also safe to assume that the more revisions behind/ahead that revision, the more chances there are that some commit made to trunk will cause a problem with the patch. All that's needed is a little intrepid bravery (And a text editor) to have a look at the output, examine where it had a problem, and see if there's a quick-fix by looking at the line(s) in conflict.
Usually, it isn't too hard.
You can only get r18353 from SVN, or at-least as far as I know. Sorry the confusion.
I don't know if this helps, but, when I didn't really use SVN to get the source, I would just go to the binaries site and pick the revision closest to what I needed, and patch that. But, in MSYS you can also just use svn up -r<insert revision number> to update to the revision.
Useful note about svn update - you can also 'update' to an older revision.
Though personally, I suggest doing a proper checkout of that revision instead, but you can still do an 'update' to it.
Found that out last night.
Oh yes that's been a useful trick for a while. I usually have different folders for different patchpacks/versions. For example, a TPPP folder, a GPP folder, a trunk folder, and trunk2 folder.
After using "svn revert -R ." and removing all unversioned files at the local copy, it should be completely clean without having to checkout a new copy. For unix systems you can find a lot of perl or bash scripts to remove unversioned files with a quick search. I have been using a batch file in windows to clean my trunk folder from modified and unversioned files. It needs to be placed in a folder included in your PATH (never place it at the trunk folder, it will delete itself). Of course, you will need to install gnuwin32 sed, awk, xargs and coreutils to make it work. Probably you can achieve this using MinGW, but probably you will need to change the second sed command.
A useful tool for Linux users to have a look at for easy management of SVN checkouts and the various tasks Terkhen just mentioned is Subcommander.
I'm not sure if they have ports to other OSs, but it's likely.
Gremnon wrote:A useful tool for Linux users to have a look at for easy management of SVN checkouts and the various tasks Terkhen just mentioned is Subcommander.
v12 comes earlier than usual, because I plan to celebrate r18404 with a road vehicles only game. The diff file and the readme can be found at the development page.
r18407-v12: Improved acceleration for road vehicles updated to v13. Updated Signals in tunnels and on bridges to v28. Removed Pathfinder penalty for road vehicles.
Pathfinder penalty for road vehicles is not my patch, Roujin made it. You can see why the patch was removed at the issues tab in the development page. r18404 is not based on any of my patches (or in Pathfinder penalty for road vehicles). It's just that I have been waiting for a really long time to see FS #1944 closed. Now I can finally enjoy a road vehicle only game without getting mad with the traffic jams.
Hi can you help me, i have a problem how to decrese the resolution to see the whole game screen in Nokia E52. And an other thing why cant i hear music? My nokia player detects music filed.