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 Save States  (Read 1921 times)

0 Members and 1 Guest are viewing this topic.

bleemus

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 184
  • Last login:September 01, 2016, 12:53:24 pm
  • Party Pengo in the house.
MAME Save States
« on: August 06, 2006, 07:33:00 pm »
Since I used to know C quite well, I'm trying to get into the MAME code a little bit to get myself back up to snuff (been in the business world for 2 years and they only have me to ASP in VB.NET and C# stuff, which my grandma could do...) and maybe try to get some more save states working, being that hiscore support has been dropped.

First I have been looking into the games that I want to have save state, since I play them... but the first 2 that I tested Rush'n Attack (gberet) and SFII CE (sf2ce) both seem to do fine when I use save and load state manually.

Is there things that are keeping them on the "unsupported" save state list?  I have been pretty much just going through the game for about 10 minutes and saving the state every minute or so while doing things I think might break it.  Nothing so far has.  Any ideas?
Reality is overrated.

Howard_Casto

  • Idiot Police
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 19428
  • Last login:Yesterday at 05:43:19 pm
  • Your Post's Soul is MINE!!! .......Again??
    • The Dragon King
Re: MAME Save States
« Reply #1 on: August 06, 2006, 08:04:15 pm »
They aren't officially supported because they weren't tested. 

Games that officially support states allow the use of the auto-save feature, those that aren't don't.  That is the main difference.

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 Save States
« Reply #2 on: August 06, 2006, 08:25:22 pm »
Since I used to know C quite well, I'm trying to get into the MAME code a little bit to get myself back up to snuff (been in the business world for 2 years and they only have me to ASP in VB.NET and C# stuff, which my grandma could do...) and maybe try to get some more save states working, being that hiscore support has been dropped.

First I have been looking into the games that I want to have save state, since I play them... but the first 2 that I tested Rush'n Attack (gberet) and SFII CE (sf2ce) both seem to do fine when I use save and load state manually.

Is there things that are keeping them on the "unsupported" save state list?  I have been pretty much just going through the game for about 10 minutes and saving the state every minute or so while doing things I think might break it.  Nothing so far has.  Any ideas?

Typically all drivers in a source file need to be tested. Gberet may work okay, but mrgoemon has rom banking that gberet doesn't have, and may not work.

In the other driver you mentioned, there may also be variables in some games that aren't in others, which may affect state saves. Some examples are: cps1_sound_fade_timer and dial.

I'm glad someone else is working on state saves. Make sure you read Aaron's 4-part blog article on the subject.

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!

bleemus

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 184
  • Last login:September 01, 2016, 12:53:24 pm
  • Party Pengo in the house.
Re: MAME Save States
« Reply #3 on: August 06, 2006, 10:21:39 pm »
I'm glad someone else is working on state saves. Make sure you read Aaron's 4-part blog article on the subject.
That is what got me interested.

Typically all drivers in a source file need to be tested. Gberet may work okay, but mrgoemon has rom banking that gberet doesn't have, and may not work.
Thanks for the info, I'll look into it.

I'm glad someone else is working on state saves.
I've looked at most of the mamedev site, is there anywhere that people can post what they are working on so we are sure there isn't any duplicate working going on?
Reality is overrated.

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 Save States
« Reply #4 on: August 06, 2006, 10:38:36 pm »

I've looked at most of the mamedev site, is there anywhere that people can post what they are working on so we are sure there isn't any duplicate working going on?


Typically people don't do that. They just submit code. MAME u releases happen almost every week so the chances of submitting duplicate work is pretty low.

But feel free to post on mame.net, I don't think anyone will care.
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!