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: BuddaMAME v0.92 released  (Read 3058 times)

0 Members and 1 Guest are viewing this topic.

Buddabing

  • Wiki Master
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 1845
  • Last login:February 12, 2015, 02:51:45 pm
  • I'm a llama!
BuddaMAME v0.92 released
« on: February 14, 2005, 12:37:27 pm »
Hello,

My build of MAME version 0.92, which incorporates:

- MAME Movie Maker
- CPMaker
- code to display controls artwork when paused
- skip_warnings patch

is available here. If you want to compile it, source is included.

Please post any compile issues to this thread.

Regards,
Buddabing
I have changed my nickname to "Cakemeister". Please do not PM the Buddabing account because I do not check it anymore.

Please read the wiki!

2600

  • Trade Count: (+7)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1630
  • Last login:June 05, 2017, 10:20:56 am
  • I want my own arcade controls!
Re: BuddaMAME v0.92 released
« Reply #1 on: February 14, 2005, 01:39:28 pm »
Here's an error I'm getting.  Can't believe you got this out so fast.


Compiling src/common.c...
src/common.c: In function `save_movie_snapshot':
src/common.c:2049: error: structure has no member named `movieskipblack'
src/common.c: In function `snap_is_black':
src/common.c:2679: error: structure has no member named `movieskipblack'
src/common.c:2728: error: structure has no member named `movieskipblack'
src/common.c:2768: error: structure has no member named `movieskipblack'
src/common.c:2804: error: structure has no member named `movieskipblack'
src/common.c:2845: error: structure has no member named `movieskipblack'
src/common.c:2878: error: structure has no member named `movieskipblack'
make: *** [obj/mamepp/common.o] Error 1


EDIT: I think I fixed it, "int movieskipblack" needed to be added in mame.h with the other options.  Correct?
« Last Edit: February 14, 2005, 02:01:52 pm by 2600 »

2600

  • Trade Count: (+7)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1630
  • Last login:June 05, 2017, 10:20:56 am
  • I want my own arcade controls!
Re: BuddaMAME v0.92 released
« Reply #2 on: February 14, 2005, 02:27:41 pm »
Well thought I was good until I got this while linking:

obj/mamepp/artwork.o(.text+0x6a90):artwork.c: undefined reference to `makectrl'
collect2: ld returned 1 exit status
make: *** [mamepp.exe] Error 1


So close.

Edit:  Ok, I think this is due to the makefile missing the cpmaker stuff.
« Last Edit: February 14, 2005, 02:40:07 pm by 2600 »

papaschtroumpf

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 972
  • Last login:July 23, 2013, 11:41:10 pm
  • Have a Cow!
Re: BuddaMAME v0.92 released
« Reply #3 on: February 14, 2005, 02:38:48 pm »
you guys upgraded MingW right? 0.92 requires yet another version.
I'll try and build mine this afternoon

Buddabing

  • Wiki Master
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 1845
  • Last login:February 12, 2015, 02:51:45 pm
  • I'm a llama!
Re: BuddaMAME v0.92 released
« Reply #4 on: February 14, 2005, 02:43:43 pm »
Well thought I was good until I got this while linking:

obj/mamepp/artwork.o(.text+0x6a90):artwork.c: undefined reference to `makectrl'
collect2: ld returned 1 exit status
make: *** [mamepp.exe] Error 1



So close.

It's your makefile. I didn't include it. :(

There are three places you should see CPMaker:
1)
# uncomment next line to build the internal control panel artwork generator
# CPMAKER = 1


2) This is after the various .mak files are included
ifdef CPMAKER
CPOBJ=$(OBJ)/cpmaker
CPSRC=src/cpmaker
include src/cpmaker.mak
else
OBJS += $(OBJ)/ncpmaker.o
endif
 
3) addition of CPMaker libraries:
# primary target
$(EMULATOR): $(OBJS) $(COREOBJS) $(OSOBJS) $(DRVLIBS) $(EXPAT) $(ZLIB) $(CPMAKER_LIBS)

I've added the makefile to the zip and uploaded it.

You worked out the problem with mame.h. I updated that too.
« Last Edit: February 14, 2005, 02:46:47 pm by Buddabing »
I have changed my nickname to "Cakemeister". Please do not PM the Buddabing account because I do not check it anymore.

Please read the wiki!

papaschtroumpf

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 972
  • Last login:July 23, 2013, 11:41:10 pm
  • Have a Cow!
Re: BuddaMAME v0.92 released
« Reply #5 on: February 14, 2005, 06:52:47 pm »
I get the following error:

Compiling src/cpmaker/libs/magick/utility.c...
Compiling src/cpmaker/libs/magick/cache.c...
src/cpmaker/libs/magick/cache.c:59:18: zlib.h: No such file or directory
make: *** [obj/mameatxp/cpmaker/libs/magick/cache.o] Error 1



Buddabing

  • Wiki Master
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 1845
  • Last login:February 12, 2015, 02:51:45 pm
  • I'm a llama!
Re: BuddaMAME v0.92 released
« Reply #6 on: February 14, 2005, 07:38:05 pm »
I get the following error:

Compiling src/cpmaker/libs/magick/utility.c...
Compiling src/cpmaker/libs/magick/cache.c...
src/cpmaker/libs/magick/cache.c:59:18: zlib.h: No such file or directory
make: *** [obj/mameatxp/cpmaker/libs/magick/cache.o] Error 1




zlib.h is part of the mingw tools. Do you have the latest compile tools from mame.h? They changed in version 0.92.

Do you have the environment variable MINGDIR set to your mingw directory?

I have changed my nickname to "Cakemeister". Please do not PM the Buddabing account because I do not check it anymore.

Please read the wiki!

Tiger-Heli

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5447
  • Last login:January 03, 2018, 02:19:23 pm
  • Ron Howard? . . . er, I mean . . . Run, Coward!!!
    • Tiger-Heli
Re: BuddaMAME v0.92 released
« Reply #7 on: February 17, 2005, 12:41:11 pm »
Hello,

My build of MAME version 0.92, which incorporates:

- MAME Movie Maker
- CPMaker
- code to display controls artwork when paused
- skip_warnings patch

is available here. If you want to compile it, source is included.

Please post any compile issues to this thread.

Regards,
Buddabing

Hi Budda,

Couple of quick questions -
No Name MAME included a -skipbaddumps option along with -skipgamewarnings.

Does BuddaMAME include this?

Any plans to add the other options from NoNAME such a -faststartupframes and the Analog Plus options?

Thanks in advance!!!
It's not what you take when you leave this world behind you, it's what you leave behind you when you go. - R. Travis.
When all is said and done, generally much more is SAID than DONE.

Buddabing

  • Wiki Master
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 1845
  • Last login:February 12, 2015, 02:51:45 pm
  • I'm a llama!
Re: BuddaMAME v0.92 released
« Reply #8 on: February 17, 2005, 01:48:01 pm »
Hello,

My build of MAME version 0.92, which incorporates:

- MAME Movie Maker
- CPMaker
- code to display controls artwork when paused
- skip_warnings patch

is available here. If you want to compile it, source is included.

Please post any compile issues to this thread.

Regards,
Buddabing

Hi Budda,

Couple of quick questions -
No Name MAME included a -skipbaddumps option along with -skipgamewarnings.

Does BuddaMAME include this?

Any plans to add the other options from NoNAME such a -faststartupframes and the Analog Plus options?

Thanks in advance!!!

The skip_warnings includes warnings about bad dumps. There is no separate option for this.

I didn't have any plans to include other NoName stuff with BuddaMAME, I was hoping TGoB would do that. I'll look at the code and I'll see how involved it would be to port it to 0.92.

I have changed my nickname to "Cakemeister". Please do not PM the Buddabing account because I do not check it anymore.

Please read the wiki!

DreamWeb

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 375
  • Last login:July 25, 2020, 08:36:59 pm
  • I want to build my own arcade controls!
Re: BuddaMAME v0.92 released
« Reply #9 on: February 19, 2005, 10:54:37 pm »
Ok.. I'm a bit of a newb here.  But, I tried this... and it still wants me to type "OK before every game.  I thought your version allowed me to skip this?  Any ideas?

d.

Buddabing

  • Wiki Master
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 1845
  • Last login:February 12, 2015, 02:51:45 pm
  • I'm a llama!
Re: BuddaMAME v0.92 released
« Reply #10 on: February 19, 2005, 11:09:44 pm »
Ok.. I'm a bit of a newb here.  But, I tried this... and it still wants me to type "OK before every game.  I thought your version allowed me to skip this?  Any ideas?

d.

Do you have the appropriate entries in your mame.ini?

skip_validitychecks 1
skip_gameinfo 1
skip_disclaimer 1
skip_warnings 1



I have changed my nickname to "Cakemeister". Please do not PM the Buddabing account because I do not check it anymore.

Please read the wiki!

DreamWeb

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 375
  • Last login:July 25, 2020, 08:36:59 pm
  • I want to build my own arcade controls!
Re: BuddaMAME v0.92 released
« Reply #11 on: February 20, 2005, 02:43:58 am »
Thank you :)  That got it.

vibez

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 411
  • Last login:February 09, 2011, 08:33:20 am
  • I want to build my own arcade controls!
Re: BuddaMAME v0.92 released
« Reply #12 on: February 20, 2005, 06:54:28 am »
Hi,

I've never used this before. How do I get cpmaker to run? I downloaded your mame092 & copied it over my regular mame build. What else do I need to do?

EDIT:

Ok I've got it working. The only trouble is that the text is often too small to read. I've played around with the textconstraint,3, parameter. But the effects are still less than desirable
« Last Edit: February 20, 2005, 09:53:45 am by vibez »

Buddabing

  • Wiki Master
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 1845
  • Last login:February 12, 2015, 02:51:45 pm
  • I'm a llama!
Re: BuddaMAME v0.92 released
« Reply #13 on: February 20, 2005, 11:05:57 am »
Hi,

I've never used this before. How do I get cpmaker to run? I downloaded your mame092 & copied it over my regular mame build. What else do I need to do?

EDIT:

Ok I've got it working. The only trouble is that the text is often too small to read. I've played around with the textconstraint,3, parameter. But the effects are still less than desirable

Do you have -artres 2 set in your mame.ini file?

You'll have to play with your label editor (Johnny5 or CPViewer) to get the label text to appear how you like it.
I have changed my nickname to "Cakemeister". Please do not PM the Buddabing account because I do not check it anymore.

Please read the wiki!

vibez

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 411
  • Last login:February 09, 2011, 08:33:20 am
  • I want to build my own arcade controls!
Re: BuddaMAME v0.92 released
« Reply #14 on: February 20, 2005, 11:53:28 am »
Hi,

I've never used this before. How do I get cpmaker to run? I downloaded your mame092 & copied it over my regular mame build. What else do I need to do?

EDIT:

Ok I've got it working. The only trouble is that the text is often too small to read. I've played around with the textconstraint,3, parameter. But the effects are still less than desirable

Do you have -artres 2 set in your mame.ini file?

You'll have to play with your label editor (Johnny5 or CPViewer) to get the label text to appear how you like it.


Yep I set that but it didnt make much difference. Do I have to create a cpviewer layout for every possible config? Or can I just use the one layout?

Buddabing

  • Wiki Master
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 1845
  • Last login:February 12, 2015, 02:51:45 pm
  • I'm a llama!
Re: BuddaMAME v0.92 released
« Reply #15 on: February 20, 2005, 03:10:39 pm »
Hi,

I've never used this before. How do I get cpmaker to run? I downloaded your mame092 & copied it over my regular mame build. What else do I need to do?

EDIT:

Ok I've got it working. The only trouble is that the text is often too small to read. I've played around with the textconstraint,3, parameter. But the effects are still less than desirable

Do you have -artres 2 set in your mame.ini file?

You'll have to play with your label editor (Johnny5 or CPViewer) to get the label text to appear how you like it.


Yep I set that but it didnt make much difference. Do I have to create a cpviewer layout for every possible config? Or can I just use the one layout?

Just one layout should do it if you have only one panel. The unused labels won't display.

I have changed my nickname to "Cakemeister". Please do not PM the Buddabing account because I do not check it anymore.

Please read the wiki!

vibez

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 411
  • Last login:February 09, 2011, 08:33:20 am
  • I want to build my own arcade controls!
Re: BuddaMAME v0.92 released
« Reply #16 on: February 20, 2005, 06:55:44 pm »
I'm having problems figuring out how to setup bubbamame to use my cpviewer layout. All I want it to do it use the 1 layout file & jpg that I use in cpviewer. But I cant quite understand what to create/edit.... regarding the ini/lof/txt files etc in the panel folder

Tiger-Heli

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5447
  • Last login:January 03, 2018, 02:19:23 pm
  • Ron Howard? . . . er, I mean . . . Run, Coward!!!
    • Tiger-Heli
Re: BuddaMAME v0.92 released
« Reply #17 on: February 21, 2005, 07:02:36 am »
It's not what you take when you leave this world behind you, it's what you leave behind you when you go. - R. Travis.
When all is said and done, generally much more is SAID than DONE.

vibez

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 411
  • Last login:February 09, 2011, 08:33:20 am
  • I want to build my own arcade controls!
Re: BuddaMAME v0.92 released
« Reply #18 on: February 21, 2005, 09:13:42 am »
bubbamame
Cute!!!

lol, just goes to show how we read what we want to read :)

Buddabing

  • Wiki Master
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 1845
  • Last login:February 12, 2015, 02:51:45 pm
  • I'm a llama!
Re: BuddaMAME v0.92 released
« Reply #19 on: February 21, 2005, 09:35:44 am »
I'm having problems figuring out how to setup bubbamame to use my cpviewer layout. All I want it to do it use the 1 layout file & jpg that I use in cpviewer. But I cant quite understand what to create/edit.... regarding the ini/lof/txt files etc in the panel folder

You need:

1) a ctrlr file - tells MAME how to map keycodes onto controls
2) a control layout file - either a .lof (Johnny) or .lay (CPViewer) file. It controls where the text labels are printed for each control.
3) images of the control panel parts and background image. I've provided some samples
4) a panel file - describes where your controls are
5) cpmaker.ini - tells where all the various files are and sets options.

I've provided samples of all these.

Writing a panel editor application is a very large project. It's on the back burner at the moment.

I've provided several examples for you. Just pick one and start playing around with it. I would start by laying out your panel first. Put however many buttons you have, 80 or so pixels apart, and your joysticks and other controls, and play with it until it looks right to you.

If you use Johnny make sure your background image is jpg. (Johnny chokes on pngs).

 
I have changed my nickname to "Cakemeister". Please do not PM the Buddabing account because I do not check it anymore.

Please read the wiki!

vibez

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 411
  • Last login:February 09, 2011, 08:33:20 am
  • I want to build my own arcade controls!
Re: BuddaMAME v0.92 released
« Reply #20 on: February 21, 2005, 11:26:48 am »
Thanks. I obviously missed some important steps out. I'll have a play with the samples & see how I get on

papaschtroumpf

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 972
  • Last login:July 23, 2013, 11:41:10 pm
  • Have a Cow!
Re: BuddaMAME v0.92 released
« Reply #21 on: February 25, 2005, 04:37:42 pm »
I get the following error:

Compiling src/cpmaker/libs/magick/utility.c...
Compiling src/cpmaker/libs/magick/cache.c...
src/cpmaker/libs/magick/cache.c:59:18: zlib.h: No such file or directory
make: *** [obj/mameatxp/cpmaker/libs/magick/cache.o] Error 1


zlib.h is part of the mingw tools. Do you have the latest compile tools from mame.h? They changed in version 0.92.

Do you have the environment variable MINGDIR set to your mingw directory?


I still have this problem, everything builds fine if I leave the CPMAKER=1 line commented out,

I've set MINGDIR to C:\MinGW" and I've made sure that C:\MinGW\bin is at the head of my path because I have other compile environments on my machine (Visual C++ and cygwin).

I'll try and debug the problem but any guidance would be appreciated.

papaschtroumpf

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 972
  • Last login:July 23, 2013, 11:41:10 pm
  • Have a Cow!
Re: BuddaMAME v0.92 released
« Reply #22 on: February 25, 2005, 05:10:50 pm »
This is the (end of the) output when doing a make -d:

       Finished prerequisites of target file `obj/mameatxp/cpmaker/libs/magick/cache.o'.
      Must remake target `obj/mameatxp/cpmaker/libs/magick/cache.o'.
CreateProcess(c:\MinGW\bin\echo.exe,echo Compiling src/cpmaker/libs/magick/cache.c...,...)
Putting child 0x00b49b88 (obj/mameatxp/cpmaker/libs/magick/cache.o) PID 11846072 on the chain.
Live child 0x00b49b88 (obj/mameatxp/cpmaker/libs/magick/cache.o) PID 11846072
Compiling src/cpmaker/libs/magick/cache.c...
Reaping winning child 0x00b49b88 PID 11846072
CreateProcess(c:\MinGW\bin\gcc.exe,gcc -Isrc/cpmaker/libs -Isrc/cpmaker/libs/magick -Isrc/cpmaker/libs/wand -Isrc/cpmaker/libs/ttf/include -D_LIB -c src/cpmaker/libs/magick/cache.c -o obj/mameatxp/cpmaker/libs/magick/cache.o,...)
Live child 0x00b49b88 (obj/mameatxp/cpmaker/libs/magick/cache.o) PID 11846072
src/cpmaker/libs/magick/cache.c:59:18: zlib.h: No such file or directory
Reaping losing child 0x00b49b88 PID 11846072
make: *** [obj/mameatxp/cpmaker/libs/magick/cache.o] Error 1
Removing child 0x00b49b88 PID 11846072  from chain.



zlib.h exists in src/zib, src/cpmaker/libs/zlib, and src/cpmaker/libs/ttf/src/gzip, none of which are in the include path the the gcc command line (unless -I is recursive).  There is no zlib.h in my c:\MinGW directory (and subdirectories), and yes I have the development set from mame.net for 0.92.


Buddabing

  • Wiki Master
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 1845
  • Last login:February 12, 2015, 02:51:45 pm
  • I'm a llama!
Re: BuddaMAME v0.92 released
« Reply #23 on: February 26, 2005, 11:21:12 pm »
This is the (end of the) output when doing a make -d:

       Finished prerequisites of target file `obj/mameatxp/cpmaker/libs/magick/cache.o'.
      Must remake target `obj/mameatxp/cpmaker/libs/magick/cache.o'.
CreateProcess(c:\MinGW\bin\echo.exe,echo Compiling src/cpmaker/libs/magick/cache.c...,...)
Putting child 0x00b49b88 (obj/mameatxp/cpmaker/libs/magick/cache.o) PID 11846072 on the chain.
Live child 0x00b49b88 (obj/mameatxp/cpmaker/libs/magick/cache.o) PID 11846072
Compiling src/cpmaker/libs/magick/cache.c...
Reaping winning child 0x00b49b88 PID 11846072
CreateProcess(c:\MinGW\bin\gcc.exe,gcc -Isrc/cpmaker/libs -Isrc/cpmaker/libs/magick -Isrc/cpmaker/libs/wand -Isrc/cpmaker/libs/ttf/include -D_LIB -c src/cpmaker/libs/magick/cache.c -o obj/mameatxp/cpmaker/libs/magick/cache.o,...)
Live child 0x00b49b88 (obj/mameatxp/cpmaker/libs/magick/cache.o) PID 11846072
src/cpmaker/libs/magick/cache.c:59:18: zlib.h: No such file or directory
Reaping losing child 0x00b49b88 PID 11846072
make: *** [obj/mameatxp/cpmaker/libs/magick/cache.o] Error 1
Removing child 0x00b49b88 PID 11846072  from chain.



zlib.h exists in src/zib, src/cpmaker/libs/zlib, and src/cpmaker/libs/ttf/src/gzip, none of which are in the include path the the gcc command line (unless -I is recursive).  There is no zlib.h in my c:\MinGW directory (and subdirectories), and yes I have the development set from mame.net for 0.92.



I would just copy src\zlib\zlib.h and src\zlib\zconf.h out of your MAME source to \mingw\include.

Or you could edit the makefile and add -Isrc/zlib to the compile line.

I have changed my nickname to "Cakemeister". Please do not PM the Buddabing account because I do not check it anymore.

Please read the wiki!

papaschtroumpf

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 972
  • Last login:July 23, 2013, 11:41:10 pm
  • Have a Cow!
Re: BuddaMAME v0.92 released
« Reply #24 on: February 27, 2005, 12:02:10 am »
yeah, sorry I didn't post an update but that's basically what I did, I added the option to cpmaker.mak in the $(CPLIBOBJ)/magick/%.o, $(CPLIBOBJ)/coders/%.o,and  $(CPLIBOBJ)/png/%.o: rules.
What threw me off for a while is that I started "from the top" and the makefile does add src/zlib to CFLAGS so I was a little surprised but it turns out cpmaker.mak ignores CFLAGS, or at least does for some of the rules including the rules above.

It probably would have been easier to add the header file to the MinGW/includes but that would "taint" the compile environment,.

By the way as a nitpick, the comment at the top of cpmaker.mak should say "CPOBJ and CPSRC must be defined before including this file" instead of CPLIBOBJ and CPLIBSRC.