The NEW Build Your Own Arcade Controls

Software Support => GroovyMAME => Topic started by: funkycochise on August 10, 2017, 05:20:47 am

Title: Compiling groovymame [fixed]
Post by: funkycochise on August 10, 2017, 05:20:47 am
Hi there,

I'd better to open a dedicated topic for that, instead of flooding haynor666 distributions topic.   :bat

So, I took my both arms and tried to build that GroovyMame myself.

I follow that guide :  http://forum.attractmode.org/index.php?topic=348.0 (http://forum.attractmode.org/index.php?topic=348.0)
and I succeed in building current 0188 version (obtained with git), untouched version.
I went ahead, copied 0187 source folder and modified it with MkChamp no nag patch.
http://mamestuff.lowtrucks.net/MKChamp/suppression_0187u0.txt (http://mamestuff.lowtrucks.net/MKChamp/suppression_0187u0.txt)
I Start the build "make" and I've got that mame64.exe as expected :

(http://gamoovernet.pixhotel.fr/pics_gamoovernet690px/20170810082504-funkycochise-mame64.PNG) (http://gamoovernet.pixhotel.fr/pics/20170810082504-funkycochise-mame64.PNG)

Confident, I tried to build groovy version. From sources repository, I saw latest version is for 0186 version.
https://drive.google.com/drive/folders/0B1vsJyOrRLucX0VZZkthR1AwN2c (https://drive.google.com/drive/folders/0B1vsJyOrRLucX0VZZkthR1AwN2c)
So, I downloaded 0186 sources, and made it ready as I did for 0187 previously.
I got the diff avalailable : d3d9ex.diff and 0186_groovymame_017d.diff

(http://gamoovernet.pixhotel.fr/pics_gamoovernet690px/20170810084035-funkycochise-0186.PNG) (http://gamoovernet.pixhotel.fr/pics/20170810084035-funkycochise-0186.PNG)

There, I patched the sources with d3dex.diff :

(http://gamoovernet.pixhotel.fr/pics_gamoovernet690px/20170810084611-funkycochise-d3dex.PNG) (http://gamoovernet.pixhotel.fr/pics/20170810084611-funkycochise-d3dex.PNG)
I already got some failure.

that continued with groovy.diff :

(http://gamoovernet.pixhotel.fr/pics_gamoovernet690px/20170810090819-funkycochise-groovy.PNG) (http://gamoovernet.pixhotel.fr/pics/20170810090819-funkycochise-groovy.PNG)

complete log attached :

And finally, after make process using make -j3 :

(http://gamoovernet.pixhotel.fr/pics_gamoovernet690px/20170810111542-funkycochise-error.PNG) (http://gamoovernet.pixhotel.fr/pics/20170810111542-funkycochise-error.PNG)

restarting from scratch with mame0186 sources patched only with groovy diff leads to the same results.

What am I doing wrong ? I rely on your wise advices, guys. 

Pierre, FKY
Title: Re: Compiling groovymame [help wanted]
Post by: Jonny G on August 10, 2017, 01:47:02 pm
I'm away from home for the next couple of days with just my phone for company, so my ways to help you are limited. But I managed to compile 0.186 (and 0.187 using prev patches) using MAME Compiler 64. Just make sure you are starting with clean source files and patching in the correct order. GM, D3D9EX, Suppression. Note, if you are compiling an arcade only build then there's an extra patch required to allow this. Pretty sure it was linked to at the time of release on this forum.
Title: Re: Compiling groovymame [help wanted]
Post by: b4nd1t0 on August 11, 2017, 08:09:30 am
Same errors for me.
Title: Re: Compiling groovymame [help wanted]
Post by: Calamity on August 11, 2017, 12:36:16 pm
The d3d9ex patch is applied AFTER groovymame patch. And you no longer have to use the --binary option in the patch command.
Title: Re: Compiling groovymame [help wanted]
Post by: funkycochise on August 15, 2017, 06:19:01 am
Thank you for the tips :

I did patch using this kind of patch command :
patch -p0 -E <D:\msys64\patch\groovy.diff

I also tried 'Mame Compiler tool' from Headkazes
http://headsoft.com.au/index.php?category=mame&page=mc64 (http://headsoft.com.au/index.php?category=mame&page=mc64)
And it also gives good results without having to use the command line.

PS : For some MK champ files, I had to convert them to UTF8 to make patch executable not crash.

Title: Re: Compiling groovymame [fixed]
Post by: krick on August 15, 2017, 01:01:35 pm
Does anyone know if MameCompiler is using the official build tools?
Title: Re: Compiling groovymame [fixed]
Post by: funkycochise on August 15, 2017, 02:41:47 pm
I believe it can’t work without.
I first installed it before I tried mamecompiler.
Title: Re: Compiling groovymame [fixed]
Post by: Jonny G on August 15, 2017, 04:18:09 pm
Yeah it does. You can download them from within MC64. All the other downloads are way out of date however.
Title: Re: Compiling groovymame [fixed]
Post by: trennel on August 16, 2017, 07:04:37 am
Have some problems her compiling, switchres errors :-/, need the 0188 64bit version, anyone care to share :D pleeeease
Title: Re: Compiling groovymame [fixed]
Post by: Jonny G on August 16, 2017, 09:57:34 am
There is currently no GM 0.188. The previous patches don't work with the new source. Far as I know anyway.
Title: Re: Compiling groovymame [fixed]
Post by: Calamity on August 16, 2017, 05:33:19 pm
I've uploaded an updated diff to google drive. I won't upload binaries by now as I'm on a mobile connection.
Title: Re: Compiling groovymame [fixed]
Post by: Jonny G on August 16, 2017, 06:24:22 pm
Thanks man! I'm guessing the D3D patch from 186 should be OK. Just hoping I can build an arcade only version without having to mess around with manually editing the source like last time.

EDIT.

No messing! Cheers Calamity, will give it a proper test in the morning.
Title: Re: Compiling groovymame [fixed]
Post by: haynor666 on August 19, 2017, 04:37:27 am
Thanks Calamity for patch. I'm affraid there are new changes towards 189 so new patch will be needed for groovymame 189.

BTW. Maybe we could compile binaries and upload to your google drive ?
Title: Re: Compiling groovymame [fixed]
Post by: Calamity on August 19, 2017, 02:56:45 pm
I've tried applying 0.188 diff over current git without issues.

If anyone would like to compile binaries I can give him access to the drive. I won't be able to compile and upload stuff till September.
Title: Re: Compiling groovymame [fixed]
Post by: haynor666 on August 19, 2017, 04:32:55 pm
Diff is applying fine but:

Compiling src/emu/switchres/switchres.cpp...
../../../../../src/emu/switchres/switchres.cpp: In function 'bool effective_orientation(running_machine&)':
../../../../../src/emu/switchres/switchres.cpp:265:42: error: 'ORIENTATION_MASK' was not declared in this scope
  bool game_orientation = ((game->flags & ORIENTATION_MASK) & ORIENTATION_SWAP_XY);
                                          ^
../../../../../src/emu/switchres/switchres.cpp: In function 'void switchres_set_options(running_machine&)':
../../../../../src/emu/switchres/switchres.cpp:335:55: error: 'ORIENTATION_MASK' was not declared in this scope
  bool native_orientation = ((machine.system().flags & ORIENTATION_MASK) & ORIENTATION_SWAP_XY);
Title: Re: Compiling groovymame [fixed]
Post by: funkycochise on August 19, 2017, 08:36:40 pm
same for me,
Title: Re: Compiling groovymame [fixed]
Post by: Calamity on August 20, 2017, 12:58:29 pm
Diff is applying fine but:

No worries, I'll fix that the release.
Title: Re: Compiling groovymame [fixed]
Post by: josete2k on August 21, 2017, 02:13:23 pm
Hi guys, one question.

What does the d3d9ex patch do?

I only want an updated groovymame for my arcade cabinets (PIV, Radeon 9200 AGP//Radeon HD PCIe, Windows XP//Windows 7).


Title: Re: Compiling groovymame [fixed]
Post by: raibol1 on August 21, 2017, 04:34:31 pm
Hallo,

here is a Groovymame 0.188 build arcade only 64bit D3D9EX with supression patch:

http://www.jammaplus.co.uk/forum/forum_posts.asp?TID=84915&title=groovymame-0188 (http://www.jammaplus.co.uk/forum/forum_posts.asp?TID=84915&title=groovymame-0188)

D3D9EX is a video-mode for windows 7 and higher, which has less video-lag.

Greetz

Rainer

Title: Re: Compiling groovymame [fixed]
Post by: michino on August 21, 2017, 06:36:08 pm
Hallo,

here is a Groovymame 0.188 build arcade only 64bit D3D9EX with supression patch:

http://www.jammaplus.co.uk/forum/forum_posts.asp?TID=84915&title=groovymame-0188 (http://www.jammaplus.co.uk/forum/forum_posts.asp?TID=84915&title=groovymame-0188)

3D9EX is a mode for windows 7 and higher, which has less video-lag.

Greetz

Rainer

Thanks  :applaud:
Title: Re: Compiling groovymame [fixed]
Post by: funkycochise on August 21, 2017, 09:26:39 pm
Hallo,

here is a Groovymame 0.188 build arcade only 64bit D3D9EX with supression patch:

http://www.jammaplus.co.uk/forum/forum_posts.asp?TID=84915&title=groovymame-0188 (http://www.jammaplus.co.uk/forum/forum_posts.asp?TID=84915&title=groovymame-0188)

3D9EX is a mode for windows 7 and higher, which has less video-lag.

Greetz

Rainer
is it possible you post your diff, please ?
Title: Re: Compiling groovymame [fixed]
Post by: raibol1 on August 22, 2017, 06:08:29 am
Hallo,

I´m sorry, that´s not my build. I just found in on the net.

It´s from user JonnyG who is also active here in the forum (D3D9EX patch is from 0.186).

In my 2 cabs this build works very well. (Intel E8600, Win 7, 64bit)

Greets

Rainer
Title: Re: Compiling groovymame [fixed]
Post by: Jonny G on August 22, 2017, 09:51:10 am
Any diffs required are on Calamity's Google Drive, or on MKChamp's site.
Title: Re: Compiling groovymame [fixed]
Post by: funkycochise on August 22, 2017, 12:09:54 pm
 you didn’t experience the same error as we did,
haynor666 and I ?
maybe the diff for groovy is fixed since.

edit : same errors.
Title: Re: Compiling groovymame [fixed]
Post by: haynor666 on August 23, 2017, 03:28:42 pm
Calamity put 188 patch so I'm not suprose than  188 is available as well.
Title: Re: Compiling groovymame [fixed]
Post by: krick on September 02, 2017, 10:39:56 am
Calamity put 188 patch so I'm not suprose than  188 is available as well.

You might want to stick with 0.186 or 0.187 for now...
http://forum.arcadecontrols.com/index.php/topic,155140.0.html (http://forum.arcadecontrols.com/index.php/topic,155140.0.html)
Title: Re: Compiling groovymame [fixed]
Post by: fred92 on March 22, 2021, 10:00:37 am
Hello,

I'm trying do compile myself GM.
i wonder many things :

1/in src, should i put mame source code, or GM source code ?

2/if it's mame, so i read i have to patch GM diff then d3d9x
but about switchres ? is it included in GM.diff ?

3/where can we find the latest 0.229 GM.diff and ded9x ?

4/about MKChamp diff (nonag) can i use it "as it" (if version matches i mean find the 0.229 diff) or should i convert it for GM ?

thanks.
Fred.