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: PatcherFE v1.0 Released - for applying patches to Mame binaries  (Read 3861 times)

0 Members and 1 Guest are viewing this topic.

headkaze

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2943
  • Last login:August 14, 2023, 02:00:48 am
  • 0x2b|~0x2b?
PatcherFE v1.0 - for applying patches to Mame binaries

This program is for distributing patches for Mame (eg. skip disclaimer / hiscore / no loading screens etc.). This means you can distribute patches for Mame executables instead of diff files used for compiling.

How does it work? It uses two utilities called bsdiff and bspatch to create a binary patch file. The patch file is then zipped up along with a batch file called APPLYPATCH.BAT that you extract to your Mame folder and run.

The patches will have to be applied to the official Mame releases from mame.net so that the patch can be applied to the same version on the target machine. In other words you have to have the same Mame binary to which the patch was applied to. So for example the Pentium Pro optimized version will require a separate patch to the standard version.

The resulting zipped patch file with skip disclaimer and no loading screen patches applied is less than 1 MB (Note: Mame's original size is 28.8 MB). Unfortunately it's still half a meg over what can be posted on the forum, so you will still need to host the patches on a server somewhere.

This should make things a little easier for distributing patches for people who don't know how to compile Mame.

I'm not sure if anyone will find it useful, but I'm posting it here anyway. You will need .NET 2.0 installed to run this application.

Comments or bug reports are welcome.
« Last Edit: July 22, 2007, 11:09:46 am by headkaze »

fatfingers

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 966
  • Last login:April 17, 2025, 05:26:08 pm
  • Got UltraStiks?™
Re: PatcherFE v1.0 Released - for applying patches to Mame binaries
« Reply #1 on: July 22, 2007, 08:58:21 am »


I'm a compiler junkie, but cool!

 :applaud:

My DK low scores
-------------------
1) 180700
2) 165000
3) 162900
4) 162600
5) 158500


W.W.P.M.D.?                                       I'm here to help ... I just don't do it. ™

gonzo90017

  • Trade Count: (+5)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1034
  • Last login:June 23, 2019, 02:41:07 pm
  • I'm a llama!
Re: PatcherFE v1.0 Released - for applying patches to Mame binaries
« Reply #2 on: July 22, 2007, 06:48:17 pm »
I'm thinking this won't work for older versions say 37b16? ;D

headkaze

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2943
  • Last login:August 14, 2023, 02:00:48 am
  • 0x2b|~0x2b?
Re: PatcherFE v1.0 Released - for applying patches to Mame binaries
« Reply #3 on: July 22, 2007, 07:46:24 pm »
I'm thinking this won't work for older versions say 37b16? ;D

It will work with any version actually, but you do have to find a place that hosts the original binary for people to patch. There are a few sites that host old versions of Mame I believe.

You can't patch version 0117 then try and apply it to a binary that is 37b16, it won't work. It checks the original file using MD5 anyway, so it won't even attempt to apply the patch on a file that is not the same as what the original patch was created with.