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: Simple MAME/HBMAME compiling scripts for Windows  (Read 3004 times)

0 Members and 1 Guest are viewing this topic.

abelenki

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 133
  • Last login:May 11, 2025, 07:58:19 am
    • MAME Stuff
Simple MAME/HBMAME compiling scripts for Windows
« on: April 04, 2016, 08:38:16 am »
HOW IT WORKS:
1. 1-update-tools.cmd script updates MAME compiling tools (last operation is performed twice, because sometimes not all components are updated on the first run).
2. 2-patch-diff.cmd script applies a diff to MAME or HBMAME sources (patch.exe is included).
3. 3-patch-binary-diff.cmd script applies a diff to MAME or HBMAME sources with --binary parameter (patch.exe is included).
4. 4-compile-mame-x64.cmd script compiles MAME (x64) and tools executables (replace 5 in -j parameter with number of your CPU cores + 1).
5. 5-compile-mame-x86.cmd script compiles MAME (x86) and tools executables (replace 5 in -j parameter with number of your CPU cores + 1).
6. 6-erase-mame.cmd script removes everything except MAME and chdman executables.
7. 7-compile-hbmame-x64.cmd script compiles HBMAME (x64) executable (replace 5 in -j parameter with number of your CPU cores + 1).
8. 8-compile-hbmame-x86.cmd script compiles HBMAME (x86) executable (replace 5 in -j parameter with number of your CPU cores + 1).
9. 9-erase-hbmame.cmd script removes everything except HBMAME executable.

INSTRUCTIONS:
1. Extract MAME or HBMAME sources to buildtools/src or msys2/src folder.
2. Extract the contents of this archive to your buildtools or msys2 folder.
3. Go to buildtools/src or msys2/src folder, and run needed scripts.

MAME-BuildTools.zip 58.88 kB
WEB PAGE

Thanks to Mucci for help with 1-update-tools.cmd script.
Thanks to ozfalcon for help with 3-patch-binary-diff.cmd script.
« Last Edit: September 16, 2016, 03:52:47 am by abelenki »
MAME Stuff | MAME favorites | Bubble Bobble Series chart / wiki | PC configuration

abelenki

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 133
  • Last login:May 11, 2025, 07:58:19 am
    • MAME Stuff
Re: Simple MAME/HBMAME compiling scripts for Windows
« Reply #1 on: April 28, 2016, 01:44:48 am »
Simple MAME/HBMAME compiling scripts are updated with 3-patch-binary-diff.cmd on MAME scripts page. Thanks to ozfalcon.
« Last Edit: September 16, 2016, 04:12:54 am by abelenki »
MAME Stuff | MAME favorites | Bubble Bobble Series chart / wiki | PC configuration

abelenki

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 133
  • Last login:May 11, 2025, 07:58:19 am
    • MAME Stuff
Re: Simple MAME/HBMAME compiling scripts for Windows
« Reply #2 on: September 16, 2016, 03:53:27 am »
Simple MAME/HBMAME compiling scripts are updated with 5-compile-mame-x86.cmd and 8-compile-hbmame-x86.cmd.
MAME Stuff | MAME favorites | Bubble Bobble Series chart / wiki | PC configuration