Build Your Own Arcade Controls Forum

Main => Software Forum => Topic started by: creatine28 on December 10, 2003, 02:12:01 pm

Title: Diff question?
Post by: creatine28 on December 10, 2003, 02:12:01 pm
I'm making my own build of mame (For Personal use)and I was wondering if there's a way to create a Diff file that will capture only the new added stuff and not try to remove anything while  patching the Diff file to mame source?

Here's the command I'm using to create the DIFF

diff -r -n -U3 oldsource newsource <newdiff.dif

Thanks!
Title: Re:Diff question?
Post by: Lilwolf on December 10, 2003, 04:21:39 pm
I believe people use diff to keep track of their differences... Not mames

I'm still waiting for someone to open up a CVS for mame source since it handles all this for you.
Title: Re:Diff question?
Post by: u_rebelscum on December 10, 2003, 09:32:30 pm
I'm making my own build of mame (For Personal use)and I was wondering if there's a way to create a Diff file that will capture only the new added stuff and not try to remove anything while  patching the Diff file to mame source?

Here's the command I'm using to create the DIFF

diff -r -n -U3 oldsource newsource <newdiff.dif

Thanks!

Might be just a a typo, but you want the less than sign to be a greater than sign:

diff -r -n -U3 oldsource newsource >newdiff.dif


I'm not exactly sure what you are trying to do (why so worried about removing stuff?).  But here's some general tips about making diffs of your own edits.
Title: Re:Diff question?
Post by: creatine28 on December 11, 2003, 02:30:19 pm
Cool thanks!


I'm basically just like messing around with the source and wanted to see about adding some hack games along with Smooth mame and Analog mame.  Kind of like Gates of Bill's mame build.  Not planning on releasing, just want to dabble in the source and make changes for my own use.


Steve