Build Your Own Arcade Controls Forum
Main => Software Forum => Topic started 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!
-
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.
-
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.
- use the same version of the official mame as the oldsource
- use your source as the newsource
- after applying the diff to the new mame, check for any errors, and fix them
- always make a new diff with the new versions, even if you didn't need to fix anything
- advanced: learn to read the diff file, and edit out stuff you don't want/need to change before applying the diff.
-
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