Build Your Own Arcade Controls Forum

Software Support => GroovyMAME => Topic started by: lettuce on May 05, 2013, 04:57:20 am

Title: Trouble Compiling GroovyMAME, HELP,
Post by: lettuce 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 (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 (http://mamedev.org/downloader.php?file=releases/mame0148s.exe)
Downloaded Mame 0.148 updates, u1 and u2...  http://mamedev.org/updates/0148u1_diff.zip (http://mamedev.org/updates/0148u1_diff.zip) and http://mamedev.org/updates/0148u2_diff.zip (http://mamedev.org/updates/0148u2_diff.zip)
Downloaded 0.148 Hi Score patch diff.....http://mamestuff.lowtrucks.net/MKChamp/hi_148u2.txt (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:\)
                                                                                                                                                                            (http://mrdo.mameworld.info/mame_compile/batchedit.png)
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...

(http://i.minus.com/imMZNp1Ee3fJ8.jpg)

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


   
Title: Re: Trouble Compiling GroovyMAME, HELP,
Post by: Calamity 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.
Title: Re: Trouble Compiling GroovyMAME, HELP,
Post by: lettuce 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?
 
Title: Re: Trouble Compiling GroovyMAME, HELP,
Post by: Calamity 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.

Title: Re: Trouble Compiling GroovyMAME, HELP,
Post by: Calamity 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 (http://forum.arcadecontrols.com/index.php?topic=120331.0)
Title: Re: Trouble Compiling GroovyMAME, HELP,
Post by: lettuce 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'
Title: Re: Trouble Compiling GroovyMAME, HELP,
Post by: Calamity 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?
Title: Re: Trouble Compiling GroovyMAME, HELP,
Post by: lettuce 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)?
Title: Re: Trouble Compiling GroovyMAME, HELP,
Post by: Calamity 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.

Title: Re: Trouble Compiling GroovyMAME, HELP,
Post by: lettuce 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?
Title: Re: Trouble Compiling GroovyMAME, HELP,
Post by: Calamity 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 (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
Title: Re: Trouble Compiling GroovyMAME, HELP,
Post by: lettuce 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
Title: Re: Trouble Compiling GroovyMAME, HELP,
Post by: Calamity 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

Title: Re: Trouble Compiling GroovyMAME, HELP,
Post by: lettuce 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

Title: Re: Trouble Compiling GroovyMAME, HELP,
Post by: machyavel 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?
Title: Re: Trouble Compiling GroovyMAME, HELP,
Post by: dgame 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.
Title: Re: Trouble Compiling GroovyMAME, HELP,
Post by: machyavel 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...?
Title: Re: Trouble Compiling GroovyMAME, HELP,
Post by: lettuce 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?