Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: updating Mame with .diff?  (Read 1985 times)

0 Members and 1 Guest are viewing this topic.

JCKnife

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 261
  • Last login:November 04, 2008, 09:41:57 pm
updating Mame with .diff?
« on: April 20, 2005, 06:05:57 pm »
I normally don't go in for the mid-version updates but I'd like to try the new Williams drivers in Robotron. What am I supposed to do with the .diff file? The instructions where I downloaded it were vague and full of jargon and  I just don't know what to do with it.

Thenasty

  • Trade Count: (+17)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4420
  • Last login:July 24, 2025, 06:20:12 pm
    • Thenasty's Arcademania Horizontal/Vertical monitor setup.
Re: updating Mame with .diff?
« Reply #1 on: April 20, 2005, 06:48:37 pm »
In addition to the official release, the MAME team periodically releases updates to the most recent official release. These are packaged as diff/patch files and should be applied by switching to the base of your MAME source tree (where the makefile lives) and executing:

     patch -p0 <diffname.diff

where diffname.diff is the name of the .diff file that contains the patch.




then compile away....
Thenasty's Arcademania Horizontal/Vertical setup.
http://forum.arcadecontrols.com/index.php?topic=26696.0

Free VGA Breakout Cable
http://forum.arcadecontrols.com/index.php?topic=38228.0

Ultimate All in One Coin Mech write up (Make your own)
http://forum.arcadecontrols.com/index.php?topic=19200.0

JCKnife

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 261
  • Last login:November 04, 2008, 09:41:57 pm
Re: updating Mame with .diff?
« Reply #2 on: April 20, 2005, 07:08:49 pm »
This is what I read. It made no sense to me.

What is the base of my Mame source tree? What is a makefile and where does it live? When I go to my Mame directory, there is no "patch" executeable so when I try this command it does nothing.

So confused.

Wait a minute, "then compile away?" So these updates are only for people who use the Mame source code?

In that case I'll have to wait for the .96 binary. Nevermind.
« Last Edit: April 20, 2005, 07:13:24 pm by JCKnife »

Thenasty

  • Trade Count: (+17)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4420
  • Last login:July 24, 2025, 06:20:12 pm
    • Thenasty's Arcademania Horizontal/Vertical monitor setup.
Re: updating Mame with .diff?
« Reply #3 on: April 20, 2005, 07:23:50 pm »
or you can grab the compiled version already here

http://redump.emubase.de/mame.php

if you still need explanation to your Q's above LMK.
Thenasty's Arcademania Horizontal/Vertical setup.
http://forum.arcadecontrols.com/index.php?topic=26696.0

Free VGA Breakout Cable
http://forum.arcadecontrols.com/index.php?topic=38228.0

Ultimate All in One Coin Mech write up (Make your own)
http://forum.arcadecontrols.com/index.php?topic=19200.0

rescue161

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 137
  • Last login:January 29, 2022, 04:11:18 pm
  • I built my own Cabaret machine!
Re: updating Mame with .diff?
« Reply #4 on: August 23, 2005, 02:14:48 pm »
Okay,
I'm trying to get 099u3 up and running and don't have a clue as to what to do.
"Censorship reflects a society's lack of confidence in itself." - Supreme Court Justice Potter Stewart

lokki

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 647
  • Last login:May 05, 2025, 06:18:51 pm
Re: updating Mame with .diff?
« Reply #5 on: August 23, 2005, 02:58:08 pm »
need to do a few things to get this to work. from the error it sounds like you don't have the source code in the right location

Get the code for MAME 99, Unzip the source code
Get the diff files for 99u1, 99u2, 99u3

Unzipped code to \mamecode
go to this directory
and from here run all the patches in order


patch 99u1
patch 99u2
pathc 99u3



rescue161

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 137
  • Last login:January 29, 2022, 04:11:18 pm
  • I built my own Cabaret machine!
Re: updating Mame with .diff?
« Reply #6 on: August 23, 2005, 03:25:05 pm »
Okay, I did that and all went well as far as I can tell.

What do I do now?

Do I move my MAME folder into the MAMECode folder? or the other way around?
"Censorship reflects a society's lack of confidence in itself." - Supreme Court Justice Potter Stewart

lokki

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 647
  • Last login:May 05, 2025, 06:18:51 pm
Re: updating Mame with .diff?
« Reply #7 on: August 23, 2005, 04:23:26 pm »
You now have to compile the code.

type make at that directory.

You can move the resulting .exe files to your mame directory

SirPoonga

  • Puck'em Up
  • Global Moderator
  • Trade Count: (+1)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 8188
  • Last login:July 20, 2025, 03:37:24 pm
  • The Bears Still Suck!
Re: updating Mame with .diff?
« Reply #8 on: August 23, 2005, 06:14:46 pm »
JCKnife, a diff file contains the changes between two different files/directories.  In this case the diff file for the u releases is source code changes.  You are going to have to compile mame.  From the sounds of it you didn't realize that.

rescue161

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 137
  • Last login:January 29, 2022, 04:11:18 pm
  • I built my own Cabaret machine!
Re: updating Mame with .diff?
« Reply #9 on: August 24, 2005, 01:29:43 am »
Do I have to download one of the compile utilities?  If so, which one?

I'm using regular MAME99B in Windows.

Thanks for all the help.
"Censorship reflects a society's lack of confidence in itself." - Supreme Court Justice Potter Stewart

SirPoonga

  • Puck'em Up
  • Global Moderator
  • Trade Count: (+1)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 8188
  • Last login:July 20, 2025, 03:37:24 pm
  • The Bears Still Suck!
Re: updating Mame with .diff?
« Reply #10 on: August 24, 2005, 02:44:15 pm »
Follow these instructions
http://www.mame.net/compilewin.html

However, don't use the links in the instructions, goto the download page/Main downloads.
You will need (vor 0.92 or newer)
mame099s.zip
MinGW-3.2.0-rc-3.exe
mingw-over-092.zip

One thing the instructions won't say is you need to extract mingw-over into the mingw folder.

Basic summary of what is going on
Download files.
Install MingW.
Update MingW libraries and Includes (with ming-over)
setup environment variables (so mingw knows where stuff is)
extract mame source code
compile mame.

compiling mame isn;t that hard, until something goes wrong then you have to know something about programming and compiling to fix.