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: Trouble Compiling GroovyMAME, HELP,  (Read 6569 times)

0 Members and 1 Guest are viewing this topic.

lettuce

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1900
  • Last login:December 31, 2021, 01:46:10 pm
  • Make It So!
Trouble Compiling GroovyMAME, HELP,
« on: May 05, 2013, 04:57:20 am »
Im trying to compile a version of GM 0.148u2 + CAVE SH3. I have:

Downloaded the 64 Bit Mame Compiler (MinGW)... http://mamedev.org/downloader.php?file=tools/mingw-mame-w64-20121207.exe
Downloaded Mame 0.148 source...http://mamedev.org/downloader.php?file=releases/mame0148s.exe
Downloaded Mame 0.148 updates, u1 and u2...  http://mamedev.org/updates/0148u1_diff.zip and http://mamedev.org/updates/0148u2_diff.zip
Downloaded 0.148 Hi Score patch diff.....http://mamestuff.lowtrucks.net/MKChamp/hi_148u2.txt (do i need to download both hi_148u1 and hi_148u2 and apply in order?)
Downloaded cavesh3_148u1 and 148u2...

I then....

1. Install the Mame Compiler  to D:\MinGW\mingw64-w64
2. Unzip the Mame Source to D:\Mamesrc
3. Unzip the 'compile_extras.zip' onto D:\Mamesrc
4. Edit MakeMAME.bat and PatchMAME.bat from the 'compile_extras,zip' so the drive location is correct (D:\)
                                                                                                                                                                           
5. Copy all the .diff files to D:\Mamesrc

6. I then double click the cmd.bat file from the 'compile_extras.zip' which loads command prompt with admin right in D:\Mamesrc directory
7. Type 'patchmame 0148u1' and carry on patching 0148u2.diff, hi_148u2.diff but when i get to patching the Groovymame 148u2 diff i get this message...



Now is this because i dont have, '0148u1_groovymame_014a.diff'?, the only diff file on the GM page is '0148u2_groovymame_014a.diff'


   
« Last Edit: May 05, 2013, 05:38:39 am by lettuce »

Calamity

  • Moderator
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 7463
  • Last login:July 19, 2025, 04:03:33 am
  • Quote me with care
Re: Trouble Compiling GroovyMAME, HELP,
« Reply #1 on: May 05, 2013, 10:33:33 am »
Quote
Now is this because i dont have, '0148u1_groovymame_014a.diff'?, the only diff file on the GM page is '0148u2_groovymame_014a.diff'

No, you just need to apply 0148u2_groovymame_014a.diff once the 'u' diffs plus the hiscore diff are applied.

I'd say that the problem is that the hiscore diff is not being properly applied. There are some errors above in the screen shot you posted even before you apply the groovymame patch. Check the hiscore patch applies fine, notice it has the .txt extension instead of the .diff one.
Important note: posts reporting GM issues without a log will be IGNORED.
Steps to create a log:
 - From command line, run: groovymame.exe -v romname >romname.txt
 - Attach resulting romname.txt file to your post, instead of pasting it.

CRT Emudriver, VMMaker & Arcade OSD downloads, documentation and discussion:  Eiusdemmodi

lettuce

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1900
  • Last login:December 31, 2021, 01:46:10 pm
  • Make It So!
Re: Trouble Compiling GroovyMAME, HELP,
« Reply #2 on: May 05, 2013, 01:04:02 pm »
Thanks for the help. I deleted all the folders and started a fresh. I did the following....

1. Install the Mame Compiler  to D:\MinGW\mingw64-w64
2. Unzip the Mame Source to D:\Mamesrc
3. Unzip the 'compile_extras.zip' onto D:\Mamesrc
4. Edit MakeMAME.bat and PatchMAME.bat from the 'compile_extras,zip' so the drive location is correct (D:\)
5. Copy all the .diff files to D:\Mamesrc
6. I then double click the cmd.bat file from the 'compile_extras.zip' which loads command prompt with admin right in D:\Mamesrc directory
7. Type 'patchmame' and patched in this order:

148u1.diff
148u2.diff
hi_148.diff
0148u2_groovymame_014a.diff
cavesh3_148u2.diff

all patched fine and the typed 'makemame' which gave me a mame64.exe file after 15 minutes, so all appears to be good!  :applaud:

Have a question about using GroovyUME, is this compiled into what i have done above as i have never tried using the UME section of GM before, how do i load a NES rom for example?
 
« Last Edit: May 05, 2013, 01:09:14 pm by lettuce »

Calamity

  • Moderator
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 7463
  • Last login:July 19, 2025, 04:03:33 am
  • Quote me with care
Re: Trouble Compiling GroovyMAME, HELP,
« Reply #3 on: May 05, 2013, 01:14:58 pm »
Sounds good.

In order to compile GroovyUME, type the following (while in the same path where the makefile is):

make TARGET=ume -j9

It will take some minutes to compile the MESS source base, while the MAME part is already compiled.

I usually build GroovyUME first, this compiles both MAME and MESS source codes and makes the combined binary. Then I build GroovyMAME by running:

make TARGET=mame -j9

Following this order, this second command just takes less than a minute as all the files have already been compiled before.

Important note: posts reporting GM issues without a log will be IGNORED.
Steps to create a log:
 - From command line, run: groovymame.exe -v romname >romname.txt
 - Attach resulting romname.txt file to your post, instead of pasting it.

CRT Emudriver, VMMaker & Arcade OSD downloads, documentation and discussion:  Eiusdemmodi

Calamity

  • Moderator
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 7463
  • Last login:July 19, 2025, 04:03:33 am
  • Quote me with care
Re: Trouble Compiling GroovyMAME, HELP,
« Reply #4 on: May 05, 2013, 01:20:04 pm »
Here's a quick how-to for GroovyUME, how to set paths, etc.:

http://forum.arcadecontrols.com/index.php?topic=120331.0
Important note: posts reporting GM issues without a log will be IGNORED.
Steps to create a log:
 - From command line, run: groovymame.exe -v romname >romname.txt
 - Attach resulting romname.txt file to your post, instead of pasting it.

CRT Emudriver, VMMaker & Arcade OSD downloads, documentation and discussion:  Eiusdemmodi

lettuce

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1900
  • Last login:December 31, 2021, 01:46:10 pm
  • Make It So!
Re: Trouble Compiling GroovyMAME, HELP,
« Reply #5 on: May 05, 2013, 01:27:26 pm »
Whats the correct folder name for nes?, as i tired nes but it says its an unknown system?

for example i have in my mame folder

d:\mame\roms\mame
d:\mame\roms\mess\mess

and have changed that in the mame.ini files to rompath                    d:\mame\roms\mame;d:\mame\roms\mess

i have place alien.zip into the d:\mame\roms\mess\nes

and in cmd use, ume nes -cart d:\mame\roms\mess\nes\alien.zip, but i get 'unknown system 'nes'
« Last Edit: May 05, 2013, 01:37:28 pm by lettuce »

Calamity

  • Moderator
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 7463
  • Last login:July 19, 2025, 04:03:33 am
  • Quote me with care
Re: Trouble Compiling GroovyMAME, HELP,
« Reply #6 on: May 05, 2013, 01:45:49 pm »
Make sure you're running the right binary. Won't you be launching MAME instead of UME?
Important note: posts reporting GM issues without a log will be IGNORED.
Steps to create a log:
 - From command line, run: groovymame.exe -v romname >romname.txt
 - Attach resulting romname.txt file to your post, instead of pasting it.

CRT Emudriver, VMMaker & Arcade OSD downloads, documentation and discussion:  Eiusdemmodi

lettuce

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1900
  • Last login:December 31, 2021, 01:46:10 pm
  • Make It So!
Re: Trouble Compiling GroovyMAME, HELP,
« Reply #7 on: May 05, 2013, 01:56:40 pm »
Make sure you're running the right binary. Won't you be launching MAME instead of UME?

Are they 2 separate exes then? i though u just renamed mame.exe to ume.exe and then created a new ini file (ume -cc)?

Calamity

  • Moderator
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 7463
  • Last login:July 19, 2025, 04:03:33 am
  • Quote me with care
Re: Trouble Compiling GroovyMAME, HELP,
« Reply #8 on: May 05, 2013, 02:05:13 pm »
No, you need to *compile* an UME binary.

You've just compiled MAME, that's just part of the source.

Think of UME as the whole project now. When you compile UME, you're compiling the whole project's source base, thus it takes longer.

Once you get an UME binary, this will include MAME and MESS functionality so you can just use it for both arcade and console games (what i do). Or create separate MESS and MAME binaries if you want.

Important note: posts reporting GM issues without a log will be IGNORED.
Steps to create a log:
 - From command line, run: groovymame.exe -v romname >romname.txt
 - Attach resulting romname.txt file to your post, instead of pasting it.

CRT Emudriver, VMMaker & Arcade OSD downloads, documentation and discussion:  Eiusdemmodi

lettuce

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1900
  • Last login:December 31, 2021, 01:46:10 pm
  • Make It So!
Re: Trouble Compiling GroovyMAME, HELP,
« Reply #9 on: May 05, 2013, 02:12:37 pm »
No, you need to *compile* an UME binary.

You've just compiled MAME, that's just part of the source.

Think of UME as the whole project now. When you compile UME, you're compiling the whole project's source base, thus it takes longer.

Once you get an UME binary, this will include MAME and MESS functionality so you can just use it for both arcade and console games (what i do). Or create separate MESS and MAME binaries if you want.

So can i compile a 148u2 version (with cavesh3 driver) that includes MAME and MESS in one? If so can you explain how to add UME support?
« Last Edit: May 05, 2013, 02:15:19 pm by lettuce »

Calamity

  • Moderator
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 7463
  • Last login:July 19, 2025, 04:03:33 am
  • Quote me with care
Re: Trouble Compiling GroovyMAME, HELP,
« Reply #10 on: May 05, 2013, 02:26:47 pm »
Do you read my posts at all?  :embarassed:

http://forum.arcadecontrols.com/index.php/topic,132163.msg1357287.html#msg1357287

Quote
In order to compile GroovyUME, type the following (while in the same path where the makefile is):

make TARGET=ume -j9
Important note: posts reporting GM issues without a log will be IGNORED.
Steps to create a log:
 - From command line, run: groovymame.exe -v romname >romname.txt
 - Attach resulting romname.txt file to your post, instead of pasting it.

CRT Emudriver, VMMaker & Arcade OSD downloads, documentation and discussion:  Eiusdemmodi

lettuce

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1900
  • Last login:December 31, 2021, 01:46:10 pm
  • Make It So!
Re: Trouble Compiling GroovyMAME, HELP,
« Reply #11 on: May 05, 2013, 03:34:35 pm »
Ah ok thanks  :-[. I have tried that but it comes back with

'make' is recognised as a internal or external command


Have been using the stand alone UME program and have noticed with the NES games the display doesnt fill the screen horizontally theres like a 1/2 inch border each side of the screen. Have tried stretching the picture horizontally via the slider settings in the mame menu but the picture then just starts to get cut off and doesnt remove the black borders
« Last Edit: May 05, 2013, 03:39:34 pm by lettuce »

Calamity

  • Moderator
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 7463
  • Last login:July 19, 2025, 04:03:33 am
  • Quote me with care
Re: Trouble Compiling GroovyMAME, HELP,
« Reply #12 on: May 05, 2013, 04:18:25 pm »
You need to set the path environment variable in order to run make, I thought you already had this working as you had compiled the MAME binary, it looks like you're using some helper bat files to do this. It's better you learned the commands for the future, they're quite easy.

Put the following into a file named "makeUME.bat"

Code: [Select]
path %path%;c:\mingw\mingw64-w64\bin
make TARGET=ume -j9

and place it where you have the other "makeMAME.bat" file. This will work.

As for the geometry issues, well this work just like GroovyMAME. Just place your monitor settings/custom crt_ranges in ume.ini instead of mame.ini

Important note: posts reporting GM issues without a log will be IGNORED.
Steps to create a log:
 - From command line, run: groovymame.exe -v romname >romname.txt
 - Attach resulting romname.txt file to your post, instead of pasting it.

CRT Emudriver, VMMaker & Arcade OSD downloads, documentation and discussion:  Eiusdemmodi

lettuce

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1900
  • Last login:December 31, 2021, 01:46:10 pm
  • Make It So!
Re: Trouble Compiling GroovyMAME, HELP,
« Reply #13 on: May 05, 2013, 04:49:20 pm »
You need to set the path environment variable in order to run make, I thought you already had this working as you had compiled the MAME binary, it looks like you're using some helper bat files to do this. It's better you learned the commands for the future, they're quite easy.

Put the following into a file named "makeUME.bat"

Code: [Select]
path %path%;c:\mingw\mingw64-w64\bin
make TARGET=ume -j9

and place it where you have the other "makeMAME.bat" file. This will work.

As for the geometry issues, well this work just like GroovyMAME. Just place your monitor settings/custom crt_ranges in ume.ini instead of mame.ini

Cheers. Regarding the geometry with NES, the info screen that appears when you load a rom has the white border filling the screen and just touching the edges of the bezel (as it should do) but when the game actually displays there are borders on the left and right


machyavel

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 67
  • Last login:December 25, 2016, 10:23:52 am
Re: Trouble Compiling GroovyMAME, HELP,
« Reply #14 on: May 08, 2013, 06:43:10 am »
Hi,

I compiled using the single make command without argument, so what did I get? mame or ume?

dgame

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 620
  • Last login:June 01, 2025, 11:09:55 pm
  • I am no Jedi
Re: Trouble Compiling GroovyMAME, HELP,
« Reply #15 on: May 08, 2013, 12:42:57 pm »
make produces MAME
make TARGET=mess produces MESS
make TARGET=ume produces UME

I tried the UME and while its cool having everything in one emulator ROMLister lists all the MESS systems along with the MAME games which messes up my MAME game lists.
So now I use the separate [Groovy]MAME and [Groovy]MESS binaries.

machyavel

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 67
  • Last login:December 25, 2016, 10:23:52 am
Re: Trouble Compiling GroovyMAME, HELP,
« Reply #16 on: May 09, 2013, 08:14:45 am »
Ok thanks, another question: while compiling I had to install Qt automoc and now mame won't launch unless it's installed on the host system, so is there a way to avoid its need? Anyway it's not really a problem but the mame supplied with GA doesn't need it to run so I'm wondering...?

lettuce

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1900
  • Last login:December 31, 2021, 01:46:10 pm
  • Make It So!
Re: Trouble Compiling GroovyMAME, HELP,
« Reply #17 on: May 25, 2013, 08:24:15 pm »
Does it matter what order i 'make' these in then??. I have just made mame (makemame), is it ok to then make mess (make TARGET=mess) and then finally for good measure to make UME (make TARGET=ume)??

Or do they have to be 'made' in a certain order?