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: Mame 108 already...  (Read 4915 times)

0 Members and 1 Guest are viewing this topic.

usedelectronics

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 358
  • Last login:January 06, 2019, 02:57:37 am
Mame 108 already...
« on: August 21, 2006, 02:41:16 am »

Havok

  • Keeper of the __Blue_Stars___
  • Trade Count: (+17)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4530
  • Last login:June 22, 2025, 02:32:40 am
  • Insufficient facts always invite danger.
Re: Mame 108 already...
« Reply #1 on: August 21, 2006, 08:16:50 am »
Got it - it could be just me, but savestate seems to work a little better...

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: Mame 108 already...
« Reply #2 on: August 21, 2006, 01:14:17 pm »
Looks like hiscore support was removed, although I can't confirm this.
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.

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: Mame 108 already...
« Reply #3 on: August 21, 2006, 01:39:39 pm »
Did some more digging.  Hi-Score support was removed in 107u1, but they never announced it.

As I understand it the plan is for "Automatic Save States" to replace this - so when you exit a game it remembers what state it was in, and when you re-start, it starts at this point.

Does anyone know how/if this is working?  Alternately, does anyone know of a derivative build that will maintain the previous system?
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.

Havok

  • Keeper of the __Blue_Stars___
  • Trade Count: (+17)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4530
  • Last login:June 22, 2025, 02:32:40 am
  • Insufficient facts always invite danger.
Re: Mame 108 already...
« Reply #4 on: August 21, 2006, 01:52:35 pm »
Save state does work - for some games. I tested it, and it even saved right in the middle of a sound in Tron! When I started back up, it played the last part!

MKChamp did a diff file for 107 to add hiscore back, plus a few other things, located here:

http://forum.arcadecontrols.com/index.php?topic=56259.msg553170#msg553170

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: Mame 108 already...
« Reply #5 on: August 21, 2006, 02:17:52 pm »
Thanks - New questions:  Is there a list somewhere of what games support auto-save state and/or NVRAM?  Also, if I enable auto-save state in the mame.ini, does this cause problems for games that don't support it?

Thanks again!!!
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.

MKChamp

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 502
  • Last login:February 07, 2024, 02:45:53 pm
  • Stil around.
Re: Mame 108 already...
« Reply #6 on: August 21, 2006, 02:26:27 pm »
Thanks - New questions:  Is there a list somewhere of what games support auto-save state and/or NVRAM?  Also, if I enable auto-save state in the mame.ini, does this cause problems for games that don't support it?

Thanks again!!!

Not sure if there's a list of games that support autosave or not, but I do know that having it turned on (autosave 1) won't affect games that don't support it.  So, there's no harm there. HOWEVER, core changes to MAME could render previous save states invalid. It happened to me and Donkey Kong. I used to just use the save states, but after a particular new build, it ran like crap autoloading the save. Only choice was to delete it.

u_rebelscum

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3633
  • Last login:April 21, 2010, 03:06:26 pm
  • You rebel scum
    • Mame:Analog+
Re: Mame 108 already...
« Reply #7 on: August 21, 2006, 04:32:36 pm »
Thanks - New questions:  Is there a list somewhere of what games support auto-save state and/or NVRAM?

Mame's -listxml output tells if savestate works for that game or not: look at the "stavestate" attribute in the game's "driver" element. 

Whether NVRAM saves high scoure is not noted though.
Robin
Knowledge is Power

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: Mame 108 already...
« Reply #8 on: August 21, 2006, 05:03:38 pm »
Mame's -listxml output tells if savestate works for that game or not: look at the "stavestate" attribute in the game's "driver" element. 
Yet another dumb question - How would I do that?

I ran "Mame" -listxml >xmlfile and got a 26M xml file and opened that in Opera (browser) but it just looked like a list of all the games strung together. . .  :P ???
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: Mame 108 already...
« Reply #9 on: August 21, 2006, 05:59:47 pm »
I show only 664 games supporting savestate thus far.

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!

u_rebelscum

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3633
  • Last login:April 21, 2010, 03:06:26 pm
  • You rebel scum
    • Mame:Analog+
Re: Mame 108 already...
« Reply #10 on: August 21, 2006, 07:40:09 pm »
Mame's -listxml output tells if savestate works for that game or not: look at the "stavestate" attribute in the game's "driver" element. 
Yet another dumb question - How would I do that?

I ran "Mame" -listxml >xmlfile and got a 26M xml file and opened that in Opera (browser) but it just looked like a list of all the games strung together. . .  :P ???

I find it easier to just use notepad than IE or firefox if I just want to look at the info as a whole, as the xml is more a database than a formated paper that browsers treat them.  I don't have Opera, so can't tell you anything about that, but IE is dog slow.  I actually use textpad at home, but notepad at work, err... works too. ;D

If I want something clearer or repeatable, xslt is a great flexible way to parse the data and build seperate lists.   I just downloaded Krick's xml2info xslt and edit it as needed.  (For example, his xml2list_xslt does a better job than xml2list.exe at translating mame's listxml to the old listinfo format.)  He has posted other xslt examples over at mame.net forum, too.  I don't really know the transfomation language, but it's so easy I've been able to piece together stuff by just looking at his examples. ;)
Robin
Knowledge is Power

MiKman

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 360
  • Last login:March 25, 2018, 12:28:45 pm
  • Blah
Re: Mame 108 already...
« Reply #11 on: August 21, 2006, 10:53:20 pm »
Did some more digging.  Hi-Score support was removed in 107u1, but they never announced it.


eek! what's going to happen to all our currently save highscores? I would hate to lose em all... :cry:

krick

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2006
  • Last login:May 23, 2025, 03:48:36 am
  • Gotta have blue hair.
Re: Mame 108 already...
« Reply #12 on: August 22, 2006, 12:03:52 am »
Here's an XSL transform that outputs HTML so you can use your browser to do the transform.

Just put this file (after removing the .txt extension) in the same folder with your mame XML file.  Then edit your XML file and add this as the second line...

<?xml-stylesheet type="text/xsl" href="savestates.xsl"?>

...then save and open the XML file in your browser.
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

JoyMonkey

  • Voodoo Wiki Master . . .
  • Wiki Master
  • Trade Count: (+5)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 2899
  • Last login:June 16, 2025, 09:16:27 pm
  • Candy is Dandy but Liquor is Quicker
    • JoyMonkey.com
Re: Mame 108 already...
« Reply #13 on: August 22, 2006, 08:44:15 am »
For the lazy among us (i.e. me), there's a 'Save State' category in Mame32 that lists 673 games with working savestate function. You can grab M32 108 here.

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: Mame 108 already...
« Reply #14 on: August 22, 2006, 09:49:12 am »
For the lazy among us (i.e. me), there's a 'Save State' category in Mame32 that lists 673 games with working savestate function. You can grab M32 108 here.
Sweet - Thanks
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: Mame 108 already...
« Reply #15 on: August 23, 2006, 09:56:01 am »
The news isn't all bad on save states.

It turns out that many drivers were written with save states but were never turned on. It should be a matter of  turning on the save state flag in the code (the easy part) and testing all the games in question (the hard part)

I'm going to post something over at mame.net to see if anyone wants to help out testing.

The binary and new games list are in a zip file here


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: Mame 108 already...
« Reply #16 on: August 23, 2006, 10:23:01 am »
I hope it goes over well at www.mame.net.

This is an unpopular change by Aaron, but a lot of the reasons do make sense - less of a hack, less problems troubleshooting, etc.

And in reality it is more accurate - the original games didn't save high scores, but they were also always turned on, so you didn't walk up to the game and see the video initialization screen (unless you wanted to guarantee you got the high score), so now this is what MAME emulates - walking up to a game already running for some period of time . . .
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.

Minwah

  • Trade Count: (+3)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 7662
  • Last login:January 18, 2019, 05:03:20 am
    • MAMEWAH
Re: Mame 108 already...
« Reply #17 on: August 23, 2006, 11:18:25 am »
This is an unpopular change by Aaron, but a lot of the reasons do make sense - less of a hack, less problems troubleshooting, etc.

I often don't like change but this one I welcome with open arms :)