Ok so maybe patch.exe works better if i restart my computer...
now it at least returns something
Code: Select all
C:\Program Files\GnuWin32\bin>patch -p0 -i cargodist_r17899.diff
can't find file to patch at input line 5
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff --git a/projects/openttd_vs80.vcproj b/projects/openttd_vs80.vcproj
|index 6feab38..456762a 100644
|--- a/projects/openttd_vs80.vcproj
|+++ b/projects/openttd_vs80.vcproj
--------------------------
File to patch:
yes i put the source in that directory where the patch.exe was, so it is now where the config files and src folder and stuff is.
Ok so i input location of openttd_vs.vcproj manually and now this
Code: Select all
File to patch: projects/openttd_vs80.vcproj
patching file projects/openttd_vs80.vcproj
missing header for unified diff at line 59 of patch
can't find file to patch at input line 59
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|0,6 +1116,30 @@
| >
| </File>
| <File
|+ RelativePath=".\..\src\linkgraph\demands.h"
|+ >
|+ </File>
|+ <File
|+ RelativePath=".\..\src\linkgraph\demand_settings
.h"
|+ >
|+ </File>
|+ <File
|+ RelativePath=".\..\src\linkgraph\flowmapper.h"
|+ >
|+ </File>
|+ <File
|+ RelativePath=".\..\src\linkgraph\linkgraph.h"
|+ >
|+ </File>
|+ <File
|+ RelativePath=".\..\src\linkgraph\linkgraph_types
.h"
|+ >
|+ </File>
|+ <File
|+ RelativePath=".\..\src\linkgraph\mcf.h"
|+ >
|+ </File>
|+ <File
| RelativePath=".\..\src\livery.h"
| >
| </File>
--------------------------
File to patch:
???
I also tried it with -p1
Code: Select all
C:\Program Files\GnuWin32\bin>patch -p1 -i cargodist_r17899.diff
patching file projects/openttd_vs80.vcproj
Assertion failed: hunk, file ../patch-2.5.9-src/patch.c, line 354
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
openttd_vs80.vcproj file has been altered judging from the TortioseSVN icons but nothing else.
this compiles but gameplay is same as the nightly