The International Simutrans Forum

Community => Simutrans Help Center => Topic started by: colonyan on December 14, 2008, 07:18:02 pm

Title: Fundamental on Patches
Post by: colonyan on December 14, 2008, 07:18:02 pm
I'm total newbie on patch.
Search on forum gave only about patches but none on
how to use them.

Do we need to compile them or we only need to put the file
to the simutrans folder?
Title: Re: Fundamental on Patches
Post by: Tomas on December 14, 2008, 07:27:47 pm
When you change game engine, you must make new compilation.
Title: Re: Fundamental on Patches
Post by: vilvoh on December 14, 2008, 07:35:27 pm
Patches need to be applied directly to the source code, so you need to get the source code from the SVN, then apply the patch and after that compile it to get the Simutrans executable..there're some resources that explain how to compile Simutrans from source code


The last three ones are from my blog (Escala Real) and are in spanish but I've tried to use a simple language, so won't be hard to understand..

Title: Re: Fundamental on Patches
Post by: colonyan on December 14, 2008, 07:38:46 pm
Tomas:
Obviously.... Thanks for your time!

vilvoh:
I know french so spanish shouldn't kill me.
Thanks again. ;D
Title: Re: Fundamental on Patches
Post by: marioxcc on December 14, 2008, 09:08:37 pm
You can use the command diff in a GNU based system.
Title: Re: Fundamental on Patches
Post by: VS on December 14, 2008, 10:13:00 pm
Maybe you meant patch?

The usual sequence is:
old+new -> diff -> diff/patch -> patch+old -> new

Subversion (svn) can also do diffing, and TortoiseSVN can do both diffing and patching
Title: Re: Fundamental on Patches
Post by: marioxcc on December 19, 2008, 07:22:30 pm
Yes, i was confused :S, sorry.