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: an alternative version of groovymame for older computers or faster performance  (Read 6227 times)

0 Members and 1 Guest are viewing this topic.

esaelectrionics

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 80
  • Last login:December 11, 2013, 01:05:50 pm
i know this is probably not really likely to happen,
but how difficult would it be to make an older version
of mame with switch res, and the groovymame functions.

i love the way it works but use an older system that doesent run
the newer versions of mame that well without lag on certain games.

I was wondering how difficult would it be to make a hybrid version,
using say mame .106, .99 or earlier,
In the same way that Shmupmame did a while back.

just an idea,i do love the way it works as it is,
and know that searching for perfection is a mistake;)


 
« Last Edit: March 19, 2012, 05:01:13 pm by esaelectrionics »

Calamity

  • Moderator
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 7414
  • Last login:April 10, 2024, 02:02:31 pm
  • Quote me with care
Hi esaelectrionics,

You can use the stand-alone SwitchRes app as a wrapper for any MAME version, you can download the most recent Windows build here:

http://mario.groovy.org/GroovyArcade/

This basically works much the same as GroovyMAME for automatic modeline generation. It may lack some of the other additions like improved synchronization options, but if you go for something like v0.106 then that's not going to be a problem as MAME was smooth back in those days.

What you'd like to do is certainly possible, but would require a lot of work (much C vs C++ issues I'm guessing). The code is there for anyone who wants to try.
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

Gray_Area

  • -Banned-
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3363
  • Last login:June 23, 2013, 06:52:30 pm
  • -Banned-
I don't know why you would want to, given AdvanceMAME runs up to .106 .
-Banned-

androtaz08

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 124
  • Last login:April 04, 2024, 04:23:50 pm
How would you use the wrapper. I love groovy mame but would love you use it with misfitmame.

Calamity

  • Moderator
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 7414
  • Last login:April 10, 2024, 02:02:31 pm
  • Quote me with care
From Switchres readme:

Quote
See output of "switchres -h" for best information on command line settings.

Basic config file example is in examples/switchres.conf

==========================
Simple Modeline generation:
==========================

switchres --calc pacman
switchres 384 288 60.61 --monitor d9800


=====================
Running games in MAME:
=====================

switchres pacman --monitor cga
switchres frogger --ff --redraw --nodoublescan --monitor d9200

# ArcadeVGA files in Windows
switchres tron --resfile extra/ArcadeVGA.txt --resfile ~/modes.txt

# Soft15Khz in Windows reading registry modelines
switchres tron --soft15khz

=================================
Running games for other emulators:
=================================

switchres a2600 --emulator mess --rom /path/to/ROM\ File.bin --args -verbose -sdlvideofps

Anything after --args is passed to the emulator, in this case 'mess'.

The game rom becomes the game system, even for other emulators, mess is still used to get the games
correct resolution.
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

androtaz08

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 124
  • Last login:April 04, 2024, 04:23:50 pm
What about running switchres in Maximus arcade?

Calamity

  • Moderator
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 7414
  • Last login:April 10, 2024, 02:02:31 pm
  • Quote me with care
What about running switchres in Maximus arcade?

You just set it up to use switchres.exe as the MAME's executable instead of mame.exe. Parameters are the same you'd use in MAME. Switchres.exe and all is related files must be unzipped in the same folder where MAME is.
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

androtaz08

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 124
  • Last login:April 04, 2024, 04:23:50 pm
Tried this and the dos box comes up but the game does not launch within Maximus.

androtaz08

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 124
  • Last login:April 04, 2024, 04:23:50 pm
Ok got the games to launch but not n the proper resolution what am I missing?

Calamity

  • Moderator
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 7414
  • Last login:April 10, 2024, 02:02:31 pm
  • Quote me with care
Make sure you delete all your previous inis, in case you had.

Also, you need to create a suitable modetable using VMMaker, so Switchres can pick the right ones.
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

androtaz08

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 124
  • Last login:April 04, 2024, 04:23:50 pm
i didn't know i needed to run vmmaker again as i already did it for groovy mame. Will mess around more tonight. 

Calamity

  • Moderator
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 7414
  • Last login:April 10, 2024, 02:02:31 pm
  • Quote me with care
Ah ok, if you had already run vmmaker there's no need to run it again, unless you were using magic resolutions (these ones won't work with Switchres).
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

androtaz08

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 124
  • Last login:April 04, 2024, 04:23:50 pm
yes i ran it when i installed cry driver and groovymame and everything runs perfect. but now I'm trying to use switch res as a wrapper for misfit mame to get the same great functionality that i get with groovymame but with hacked roms.

Calamity

  • Moderator
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 7414
  • Last login:April 10, 2024, 02:02:31 pm
  • Quote me with care
yes i ran it when i installed cry driver and groovymame and everything runs perfect. but now I'm trying to use switch res as a wrapper for misfit mame to get the same great functionality that i get with groovymame but with hacked roms.

Alright, it's been long since I tested Switchres.

You need to place it in the same folder where mame.exe is. Then, you invoke it like this (example):

switchres romname --monitor d9800 --soft15khz

For the --monitor param, use the same monitor definition you used in vmmaker.ini
The --soft15khz param is necessary to tell Switchres to modify the current modelines as required.

Let me know if it works.

BTW which version of MAME are you running??
« Last Edit: March 29, 2012, 07:37:01 am by Calamity »
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

androtaz08

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 124
  • Last login:April 04, 2024, 04:23:50 pm
Misfit mame 128b

androtaz08

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 124
  • Last login:April 04, 2024, 04:23:50 pm
Ok I set that up in Maximus and now the dos screen. COmes up and displays the games name and resolution settings but the game does not switch to it.

androtaz08

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 124
  • Last login:April 04, 2024, 04:23:50 pm
Never mind I got it to work by tweaking some options in mame itself. Thanks so much

Calamity

  • Moderator
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 7414
  • Last login:April 10, 2024, 02:02:31 pm
  • Quote me with care
You probably needed to enable the -switchres option in mame.ini was it?
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

androtaz08

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 124
  • Last login:April 04, 2024, 04:23:50 pm
Yup :)  ;) now I just have to figure out how to get every game to come up on the list In Maximus under the raine settings

kbuzz

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 12
  • Last login:July 11, 2023, 07:11:52 pm
  • I want to build my own arcade controls!
I've found some games to run sluggishly on my hardware with groovymame, so I've looked to shmupmame as a way to play them at fullspeed.

Is there any difference to enabling switchres in shmupmame's ini and using switchres.exe as a wrapper?

Seems like I'm attaining the proper resolutions.

setup:

P4 HT 3.0GHZ
1GB DDR1
ATI 9250 PCI
CRT Emudrivers
MicroXP 32bit
Groovymame 0.146 32bit
Nanao MS9

Calamity

  • Moderator
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 7414
  • Last login:April 10, 2024, 02:02:31 pm
  • Quote me with care
Is there any difference to enabling switchres in shmupmame's ini and using switchres.exe as a wrapper?

If you don't use the Switchres wrapper then whatever MAME build (but GroovyMAME) will pick the default modelines installed in the system without recalculating them. This can be enough for some games, depending on the mode list you created. For best results, try creating ini files using vmmaker, this is the only way to make sure that regular MAME will pick the best modeline.

But if the problem is only with a few games, then you'd better make the required ini files manually and leave vmmaker alone.
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

kbuzz

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 12
  • Last login:July 11, 2023, 07:11:52 pm
  • I want to build my own arcade controls!
Thank you for the quick reply. I've tried using switchres as a wrapper for shmupmame 3.0b, and am getting this result. I've already run vmmaker


Code: [Select]
switchres.exe gokuparo --soft15khz
Code: [Select]
mess exited or failed running with PATH=.
Unknown ROM for mame and mess gokuparo
Could not find height width or refresh rate to use.
[] "gokuparo" horizontal 0x0@60.000 (1.000) --> 640x480@60.000 (1.000)

Calamity

  • Moderator
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 7414
  • Last login:April 10, 2024, 02:02:31 pm
  • Quote me with care
Thank you for the quick reply. I've tried using switchres as a wrapper for shmupmame 3.0b, and am getting this result. I've already run vmmaker

How are you exactly running this? Is switchres.exe and the other files in the same folder where the MAME executable is? What's the name of the MAME executable (should be mame.exe)? Is that what you get for all games or just for that one?
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

kbuzz

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 12
  • Last login:July 11, 2023, 07:11:52 pm
  • I want to build my own arcade controls!
I'm running from command line right now. It's all in the same folder. The MAME executable is renamed to mame.exe (from mame32p.exe), and this is the result for all games.