Build Your Own Arcade Controls Forum

Main => Software Forum => Topic started by: maiki on October 14, 2015, 03:44:04 pm

Title: MAME m62.c Kung Fu Master incredibly SLOW emulation
Post by: maiki on October 14, 2015, 03:44:04 pm
I have just found out that the new MAME 0.166 runs all Irem games based on m62.c driver at about 41% speed on my notebook CPU!!! 41%! Games like the must have Kung Fu Master, also Spelunker or Lode Runner. Apparently they added some demanding sort of analogue audio emulation. It's incredible that the old MAME like 0.106 from 2006 gives me 800% on m62 games and today I am not even able to get 50% (yes, it is "only" a Celeron n2830 I know)

I wonder if there is actually a normal desktop CPU that will handle m62.c games SAFELY at 100% all time... Can anybody test this please?


Imagine all those Raspberry Pi etc users... they are all screwed up for ever with this king of emulation approach...
Title: Re: MAME m62.c Kung Fu Master incredibly SLOW emulation
Post by: PL1 on October 14, 2015, 03:56:15 pm
You may want to roll back to 0.162.

http://forum.arcadecontrols.com/index.php/topic,147312.0.html (http://forum.arcadecontrols.com/index.php/topic,147312.0.html)


Scott
Title: Re: MAME m62.c Kung Fu Master incredibly SLOW emulation
Post by: Haze on October 14, 2015, 07:46:04 pm
I wonder if there is actually a normal desktop CPU that will handle m62.c games SAFELY at 100% all time... Can anybody test this please?

over 200% on an i7-4790K @ 4.00Ghz, so yes, safely.

the cost of progress is sometimes heavy, technically kungfu master never uses the analog hw, but it is there on the boards afaik, so we emulate it.  spelunker, horizon, kid niki etc. make good use of it.
Title: Re: MAME m62.c Kung Fu Master incredibly SLOW emulation
Post by: maiki on October 14, 2015, 09:02:05 pm

over 200% on an i7-4790K @ 4.00Ghz, so yes, safely.


Do you think these CPUs would handle it as well?

Pentium G
Core i3
Core i5
Title: Re: MAME m62.c Kung Fu Master incredibly SLOW emulation
Post by: Haze on October 15, 2015, 06:18:15 am

over 200% on an i7-4790K @ 4.00Ghz, so yes, safely.


Do you think these CPUs would handle it as well?

Pentium G
Core i3
Core i5

I don't have one, so I can't tell you, keep in mind that the generation of the chips could be important too, the incremental improvements made over the years do add up to quite a lot.
Title: Re: MAME m62.c Kung Fu Master incredibly SLOW emulation
Post by: haynor666 on October 18, 2015, 01:42:08 pm
G3258 oveclocked to 4,0 can, with stock clock does not.

4670k barely can, probably 2500k with stock clock with not be enough too.
Title: Re: MAME m62.c Kung Fu Master incredibly SLOW emulation
Post by: maiki on October 18, 2015, 02:07:12 pm
It seems to me like 4 GHz is the solution (?). How about Core i3-4170? That CPU is clocked at 3.7 GHz stock. Or: Core i3-4370 at 3.8 and new Core i3-6320 at 3.9?
Title: Re: MAME m62.c Kung Fu Master incredibly SLOW emulation
Post by: haynor666 on October 19, 2015, 05:26:31 am
Clock is not the only factor, better check passmark scores, m62 works fine on 4670k so should work fine on those processors as well.
Title: Re: MAME m62.c Kung Fu Master incredibly SLOW emulation
Post by: fleskebacon on November 10, 2015, 05:14:12 pm
Is there a way to compile the newest MAME but leave this part out, so that I can keep playing Kung Fu Master without having to buy a $350 cpu? Replacing some source files with ones from 0.162 or something as easy as that? Or will that just mess up everything?
Title: Re: MAME m62.c Kung Fu Master incredibly SLOW emulation
Post by: yotsuya on November 10, 2015, 05:35:05 pm
Just run a second instance of MAME for that game. Depending on your front end, it can be seamless.
Title: Re: MAME m62.c Kung Fu Master incredibly SLOW emulation
Post by: fleskebacon on November 18, 2015, 07:34:27 am
Just run a second instance of MAME for that game. Depending on your front end, it can be seamless.
A good idea, I was thinking too complicated to see that solution.

I simply made a batch-file and run Mame from there, routing the different roms to the "correct" version of Mame.

HLSL looks a tad better in 0.167, but I'm willing to accept that, when the alternative is buying $200 worth of new hardware just to run Kung-Fu Master...

Thanks!
Title: Re: MAME m62.c Kung Fu Master incredibly SLOW emulation
Post by: davidgilmour on October 08, 2016, 12:36:42 am
Just run a second instance of MAME for that game. Depending on your front end, it can be seamless.
A good idea, I was thinking too complicated to see that solution.

I simply made a batch-file and run Mame from there, routing the different roms to the "correct" version of Mame.

HLSL looks a tad better in 0.167, but I'm willing to accept that, when the alternative is buying $200 worth of new hardware just to run Kung-Fu Master...

Thanks!
Can you give some more information about your batchfile, how do you run two mame versions with one frontend?
Title: Re: MAME m62.c Kung Fu Master incredibly SLOW emulation
Post by: fleskebacon on December 02, 2016, 05:22:04 am
Can you give some more information about your batchfile, how do you run two mame versions with one frontend?
I just wrote a simple script like this:


cd\mame
if "%1" == "dkong" cd\mame162
if "%1" == "kungfum" cd\mame167
mame64.exe %1 %2 %3 %4 %5


Then you just set the batch-file as the Mame executable in the frontend. Note that you'll need separate folders for each Mame version, as many of the supporting files aren't compatible between versions. Rom sets aren't necessarily compatible either, but I never had any problems with that in particular.

The newer versions of Mame are far better optimised though, so my initial reason for doing this doesn't exist any more. All m62.c games now run nicely, even with normal hardware.