Skip to main content
Topic: .patch files (Read 16373 times) previous topic - next topic

.patch files

Please, where I should put the .patch files, or what should I do with them. I put some in the "pak128" file and it did not work. Thanks for reading!  :(


Re: .patch files

Reply #2
Judging from how you asked the question, they are probably of no use to you :(

Please read the second paragraph here:
http://en.wikipedia.org/wiki/Patch_(computing)#Types

They are usually added to the game after some reviewing, so eventually you get that functionality, too. Also there is a place for authors to upload "preview" versions with patches added, but it is not used very much.

My projects... Tools for messing with Simutrans graphics. Graphic archive - templates and some other stuff for painters. Development logs for most recent information on what is going on. And of course pak128!

Re: .patch files

Reply #3
Ok, Thanks for your help! ;D

Patch Question

Reply #4
the patch files which simutrans it is necessary to make a copy into a library?

modnote (whoami): merged with similar topic

Re: Patch Question

Reply #5
I don't understand the question, for grammatical reasons. How about using simple sentences?

Patches (as published in the forum) are changes to the source code. You can view them as text files, but you can't use them for anything, unless you have a C++ development environment.

Re: Patch Question

Reply #6
this files which simutrans directory needs copy? pak128 or which?

 

Re: Patch Question

Reply #7
BudapestTRansport, did you actually read what whoami posted?

[..] but you can't use them for anything, unless you have a C++ development environment.

To use them, you need to get the source code, apply the patches and recompile all to get a new Simutrans binary.

Re: .patch files

Reply #8
BudapestTRansport, did you actually read what whoami posted?

To use them, you need to get the source code, apply the patches and recompile all to get a new Simutrans binary.

How do I apply the patch file once I have the source code. (using VC++ express on Windows [vista])  I tried yelling "APPLY PATCH" at the computer, and pressing the "read my mind" button.   And that didn't seam to work for some reason.

Re: .patch files

Reply #9
Here is a description how to get the source code and compile under Windows:

http://forum.simutrans.com/index.php?topic=652.0

The .patch file can then be applied using TortoiseSvn.
Parsley, sage, rosemary, and maggikraut.

Re: .patch files

Reply #10
do i just put it in the patchs folder, then right click on the file and select, "apply patch" ?

I think I did it correctly.  TortosieMerge pops up with a list of files that was patchs?  Do that mean it worked, and I can try to compile now?

Re: .patch files

Reply #11
do i just put it in the patchs folder, then right click on the file and select, "apply patch" ?
yes
Quote
I think I did it correctly.  TortosieMerge pops up with a list of files that was patchs?  Do that mean it worked, and I can try to compile now?
You have to click 'apply patches' in TortoiseMerge and save. Then it should work.
Parsley, sage, rosemary, and maggikraut.

Re: .patch files

Reply #12
Dwachs,

Thank you for your quick reply.  I didn't get it to compile, it looks like I have a path set incorrectly, but I will try to figure it out tomorrow.   This is the first time I tried compiling simutrans in windows.  If it compiled on the first attempt, I don't think it would be any fun, lol.


~Michael.

Re: .patch files

Reply #13
The MSVC on windows is highly recommended to compile on windows, as SDL is somewhat difficult to set up in MinGW for Newbies.