Started by Matthew, May 05, 2018, 01:30:16 AM
0 Members and 1 Guest are viewing this topic.
#define REVISION 8370M
Quote from: Ters on May 05, 2018, 06:03:24 PMNot that having tools on the PATH amounts to anything if the source code was not obtained using them in the first place, but through download a zip file or whatnot.
Quote from: DrSuperGood on May 05, 2018, 02:20:16 AMTechnically it is not coupled to Tortoise on Windows. It is coupled to SVN, of which Tortoise is the most common provider of the service.
QuoteMaking the game compile without the file is as simple as making your own revision.h file containing something likeCode Select Expand#define REVISION 8370M
Quote from: An_dz on May 05, 2018, 08:14:34 PMYes, that's another point, you must have got the source from SVN (Standard) or Git (Extended). If the .svn or .git dirs are not in the root of Simutrans source then it will also fail as the commands request the commit numbers that will only exist in the mentioned dirs.
Quote from: Ters on May 05, 2018, 06:03:24 PMOne of the drawbacks with Git as a Windows user is that Git is so Linux-minded (which is no wonder, since was made for Linux by the guy who made Linux) that it is a wonder it runs on Windows at all. One needs some form of Linux (or POSIX) emulation, since Windows' command line has little to nothing in common with Unix. At least with GCC, it likes to live in such an environment itself, so both can coexist in the same and be on its PATH. However, Microsoft is itself now using Git, so one really should expect their development tools to be able to interact with Git. (I'm a bit curious as to whether they use Cygwin or one of its derivatives, or Microsoft's promoted Ubuntu subsystem.)
Quote from: Ters on May 06, 2018, 09:43:53 AMUnfortunately, there is then no way of telling whether files have been altered between zip extraction and source code compiling.