Home » PLAYER'S HQ 1.13 » JA2 Complete Mods & Sequels » Stracciatella Project (Platform Independent JA2) » [Patch] Clothes change
Re: [Patch] Clothes change[message #249599] Sun, 18 April 2010 10:19 Go to previous messageGo to previous message
mgl is currently offline mgl

 
Messages:255
Registered:December 2007
Location: France
Ok, I dusted out my old MSYS/Mingw on Windows (on which I was never able to even compile SDL) and tried the "Jake sells ammo for the CAWS" patch.

My patch program version is 2.5, not the current 2.5.9

- The diff file is saved as a CR/LF text file (i.e Windows native)
- The source code file is a CR/LF text file too

$ patch -p0 --verbose < Jake_CAWS.diff
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|Index: Build/Tactical/Arms_Dealer_Init.cc
|===================================================================
|--- Build/Tactical/Arms_Dealer_Init.cc	(revision 7059)
|+++ Build/Tactical/Arms_Dealer_Init.cc	(working copy)
--------------------------
Patching file `Build/Tactical/Arms_Dealer_Init.cc' using Plan A...
Hunk #1 succeeded at 498.
done

As you can see, it works.
After the patch is done, the whole source code file 'Build/Tactical/Arms_Dealer_Init.cc' is converted to a unix text file (with LF only) though.

Then I tried with the same diff file but with a source code file in LF text format and it worked too.

I tried all the possible combines on the diff file and the source code file and GNU patch 2.5 worked in any case, even better than what I have on Linux with patch 2.5.9. It still possible that the current GNU patch version is buggy (since its release in 2007!).



Report message to a moderator

Master Sergeant
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: [Patch] Skip militia turns by holding SHIFT
Next Topic: can ja2 stracciatella support other format music???
Goto Forum:
  


Current Time: Sat Jan 25 18:37:46 GMT+2 2025

Total time taken to generate the page: 0.01060 seconds