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: Compiling groovymame [fixed]  (Read 7953 times)

0 Members and 1 Guest are viewing this topic.

funkycochise

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 101
  • Last login:October 22, 2019, 07:35:18 am
  • 8 bits generation
Compiling groovymame [fixed]
« 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
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
I Start the build "make" and I've got that mame64.exe as expected :



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
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



There, I patched the sources with d3dex.diff :


I already got some failure.

that continued with groovy.diff :



complete log attached :

And finally, after make process using make -j3 :



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
« Last Edit: August 15, 2017, 08:51:46 am by funkycochise »

Jonny G

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 191
  • Last login:March 04, 2024, 05:59:46 pm
Re: Compiling groovymame [help wanted]
« Reply #1 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.

b4nd1t0

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 152
  • Last login:April 05, 2024, 10:21:43 am
    • b4nd1t0's repository
Re: Compiling groovymame [help wanted]
« Reply #2 on: August 11, 2017, 08:09:30 am »
Same errors for me.

Calamity

  • Moderator
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 7414
  • Last login:April 10, 2024, 02:02:31 pm
  • Quote me with care
Re: Compiling groovymame [help wanted]
« Reply #3 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.
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

funkycochise

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 101
  • Last login:October 22, 2019, 07:35:18 am
  • 8 bits generation
Re: Compiling groovymame [help wanted]
« Reply #4 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
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.


krick

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2006
  • Last login:February 08, 2023, 08:30:27 pm
  • Gotta have blue hair.
Re: Compiling groovymame [fixed]
« Reply #5 on: August 15, 2017, 01:01:35 pm »
Does anyone know if MameCompiler is using the official build tools?
Hantarex Polo 15KHz
Sapphire Radeon HD 7750 2GB (GCN)
GroovyMAME 0.197.017h_d3d9ex
CRT Emudriver & CRT Tools 2.0 beta 13 (Crimson 16.2.1 for GCN cards)
Windows 7 Home Premium 64-bit
Intel Core i7-4790K @ 4.8GHz
ASUS Z87M-PLUS Motherboard

funkycochise

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 101
  • Last login:October 22, 2019, 07:35:18 am
  • 8 bits generation
Re: Compiling groovymame [fixed]
« Reply #6 on: August 15, 2017, 02:41:47 pm »
I believe it can’t work without.
I first installed it before I tried mamecompiler.

Jonny G

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 191
  • Last login:March 04, 2024, 05:59:46 pm
Re: Compiling groovymame [fixed]
« Reply #7 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.

trennel

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 1
  • Last login:April 25, 2021, 01:10:10 pm
Re: Compiling groovymame [fixed]
« Reply #8 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

Jonny G

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 191
  • Last login:March 04, 2024, 05:59:46 pm
Re: Compiling groovymame [fixed]
« Reply #9 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.

Calamity

  • Moderator
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 7414
  • Last login:April 10, 2024, 02:02:31 pm
  • Quote me with care
Re: Compiling groovymame [fixed]
« Reply #10 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.
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

Jonny G

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 191
  • Last login:March 04, 2024, 05:59:46 pm
Re: Compiling groovymame [fixed]
« Reply #11 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.
« Last Edit: August 16, 2017, 08:22:50 pm by Jonny G »

haynor666

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1471
  • Last login:April 09, 2024, 03:45:52 am
  • retro maniac
Re: Compiling groovymame [fixed]
« Reply #12 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 ?

Calamity

  • Moderator
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 7414
  • Last login:April 10, 2024, 02:02:31 pm
  • Quote me with care
Re: Compiling groovymame [fixed]
« Reply #13 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.
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

haynor666

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1471
  • Last login:April 09, 2024, 03:45:52 am
  • retro maniac
Re: Compiling groovymame [fixed]
« Reply #14 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);

funkycochise

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 101
  • Last login:October 22, 2019, 07:35:18 am
  • 8 bits generation
Re: Compiling groovymame [fixed]
« Reply #15 on: August 19, 2017, 08:36:40 pm »
same for me,
« Last Edit: August 19, 2017, 08:40:11 pm by funkycochise »

Calamity

  • Moderator
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 7414
  • Last login:April 10, 2024, 02:02:31 pm
  • Quote me with care
Re: Compiling groovymame [fixed]
« Reply #16 on: August 20, 2017, 12:58:29 pm »
Diff is applying fine but:

No worries, I'll fix that the release.
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

josete2k

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 62
  • Last login:February 16, 2024, 10:54:41 pm
Re: Compiling groovymame [fixed]
« Reply #17 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).



raibol1

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 15
  • Last login:October 29, 2019, 03:57:37 pm
  • I want to build my own arcade controls!
Re: Compiling groovymame [fixed]
« Reply #18 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

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

Greetz

Rainer

« Last Edit: August 22, 2017, 06:19:16 am by raibol1 »

michino

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 15
  • Last login:March 08, 2018, 10:13:01 am
  • I want to build my own arcade controls!
Re: Compiling groovymame [fixed]
« Reply #19 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

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

Greetz

Rainer

Thanks  :applaud:

funkycochise

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 101
  • Last login:October 22, 2019, 07:35:18 am
  • 8 bits generation
Re: Compiling groovymame [fixed]
« Reply #20 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

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

Greetz

Rainer
is it possible you post your diff, please ?

raibol1

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 15
  • Last login:October 29, 2019, 03:57:37 pm
  • I want to build my own arcade controls!
Re: Compiling groovymame [fixed]
« Reply #21 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
« Last Edit: August 22, 2017, 06:21:45 am by raibol1 »

Jonny G

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 191
  • Last login:March 04, 2024, 05:59:46 pm
Re: Compiling groovymame [fixed]
« Reply #22 on: August 22, 2017, 09:51:10 am »
Any diffs required are on Calamity's Google Drive, or on MKChamp's site.

funkycochise

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 101
  • Last login:October 22, 2019, 07:35:18 am
  • 8 bits generation
Re: Compiling groovymame [fixed]
« Reply #23 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.
« Last Edit: August 22, 2017, 01:09:04 pm by funkycochise »

haynor666

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1471
  • Last login:April 09, 2024, 03:45:52 am
  • retro maniac
Re: Compiling groovymame [fixed]
« Reply #24 on: August 23, 2017, 03:28:42 pm »
Calamity put 188 patch so I'm not suprose than  188 is available as well.

krick

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2006
  • Last login:February 08, 2023, 08:30:27 pm
  • Gotta have blue hair.
Re: Compiling groovymame [fixed]
« Reply #25 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
Hantarex Polo 15KHz
Sapphire Radeon HD 7750 2GB (GCN)
GroovyMAME 0.197.017h_d3d9ex
CRT Emudriver & CRT Tools 2.0 beta 13 (Crimson 16.2.1 for GCN cards)
Windows 7 Home Premium 64-bit
Intel Core i7-4790K @ 4.8GHz
ASUS Z87M-PLUS Motherboard

fred92

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 19
  • Last login:November 10, 2023, 01:07:28 pm
Re: Compiling groovymame [fixed]
« Reply #26 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.