Build Your Own Arcade Controls Forum

Software Support => GroovyMAME => Topic started by: psakhis on April 28, 2020, 07:01:45 am

Title: GroovyMAME custom build suppression patch
Post by: psakhis on April 28, 2020, 07:01:45 am
Hi all,

I build GroovyMame 0.220 with MKChamp supression patch and it's working fine on a target windows 7x64.

http://mamestuff.lowtrucks.net/MKChamp/ (http://mamestuff.lowtrucks.net/MKChamp/)
The diff performs the following:
1) Removes white borders
2) Removes all nag screens
3) Removes loading messages
4) Removes New Machine & Favorites

Only i noticed it's mame64.exe size it's larger than Calamity build, at reason of 430MB vs 250MB, i think default optimitzation level on GCC 9.3 is 3.

Anyone knows why?

EDIT: The official mamedev build is also 250MB and mine is 430MB ..maybe something wrong on my minigw64 configuration...

Thx so much!
Title: Re: GroovyMAME custom build suppression patch
Post by: Substring on April 28, 2020, 09:51:00 am
A clue that would help: what's your make command ? Is the final binary stripped or not ?
Title: Re: GroovyMAME custom build suppression patch
Post by: psakhis on April 28, 2020, 10:15:32 am
I'm a noob  ::), only i do it's "make -j5" command on a mingw64 environment. With SYMBOLS =1 i see .sym file it's generated too. (if i change this value on makefile)

Stripped binary? How i do this?
Title: Re: GroovyMAME custom build suppression patch
Post by: Calamity on April 28, 2020, 10:27:38 am
You get a stripped binary by adding this switch to your make command: STRIP_SYMBOLS=1
Title: Re: GroovyMAME custom build suppression patch
Post by: psakhis on April 28, 2020, 12:05:33 pm
Thank you!! Now it's the same size as your build.

I have to find time to learn about switchres, i'm interested in apply to other emulators (i have in mind PCem), it's really interesting!!

If someone are interested on this custom build i can share via Gdrive (I guess I'm not breaking any law)

GroovyMAME x64 build -  nonag 0.221
https://drive.google.com/drive/u/0/folders/12aT5kQSmcX-S9wfSU_5m0oJsjvSUUMu0