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: EmuSaver 2.1 bugfix release...  (Read 5744 times)

0 Members and 1 Guest are viewing this topic.

Howard_Casto

  • Idiot Police
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 19427
  • Last login:Yesterday at 11:38:27 am
  • Your Post's Soul is MINE!!! .......Again??
    • The Dragon King
EmuSaver 2.1 bugfix release...
« on: February 26, 2003, 10:47:42 am »
This version fixes the restoring sound bug and also checks for a previnstance of the scr before loading it, just in case. ;)

If you don't know where to get it by now then you just aren't paying attention.  

www.oscarcontrols.com/lazarus

bdp

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 66
  • Last login:July 28, 2005, 08:27:30 am
  • I'm a llama!
Re:EmuSaver 2.1 bugfix release...
« Reply #1 on: February 26, 2003, 02:01:37 pm »
Howard,

A few possible enhancement ideas:

1)  Have option to either mute sound or lower sound level when the SS is on, but have it raise the sound to full level (or unmute totally) when a key is pressed to actually play the game (no sound or lowered sound in attract mode.)

2)  Logging option to tell which games it attempts to launch.  I have a full mameset and the SS locks up about 5 times a day on average (with 5 minutes between roms).  I assume it's the rom and not the SS, which leads to my next option

3)  Exclude list.  Ability to EXCLUDE certain roms from the list (ones that prove to lock up the SS because they don't load).  This would also be a great way to test if it's a ROM or a random event locking up the SS screen (it locks on the now loading screen)...CTRL ALT DEL is the only way I can get out.

Thanks for this program, it is REALLY COOL on my cab!


Lilwolf

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4945
  • Last login:July 31, 2022, 10:26:34 pm
Re:EmuSaver 2.1 bugfix release...
« Reply #2 on: February 26, 2003, 02:11:37 pm »
good idea on the filter.

I'm not sure if I could run a screensaver at home that might load some nudie ones.  Kids wouldn't care, but my wife would kill me  ;D

SirPoonga

  • Puck'em Up
  • Global Moderator
  • Trade Count: (+1)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 8188
  • Last login:Today at 12:38:01 am
  • The Bears Still Suck!
Re:EmuSaver 2.1 bugfix release...
« Reply #3 on: February 26, 2003, 02:59:25 pm »
3)  Exclude list.  Ability to EXCLUDE certain roms from the list (ones that prove to lock up the SS because they don't load).  This would also be a great way to test if it's a ROM or a random event locking up the SS screen (it locks on the now loading screen)...CTRL ALT DEL is the only way I can get out.

probably the rom, it could be one of the roms that have a bad rom dump, therefore require you to press any key before teh game loads.  use the lzmame hack I came up with for HC.  It's on his site.  To use something other than lzmame 0.61 you will need to compile your own mame.  It isn't hard to do:)

Howard_Casto

  • Idiot Police
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 19427
  • Last login:Yesterday at 11:38:27 am
  • Your Post's Soul is MINE!!! .......Again??
    • The Dragon King
Re:EmuSaver 2.1 bugfix release...
« Reply #4 on: February 26, 2003, 05:31:15 pm »
sirp is right... it's always the rom as i designed the screensaver in such a way that it's incapable of locking up (now as sure as i said that someone will find a bug)  

it's the press any key... glitch....

regarding filtering..... it's not going to happen

this is just a fun little side project and filtering requires work.... your roms should be pre-filtered anyway in seperate directories....  

i always put the adult roms in a seperate folder

an exclude might happen though, but it can't auto-detect when a rom "locks up" as technically nothing happened, it's just you didn't "press any key" as the command prompt is hidden from you.  

Minwah

  • Trade Count: (+3)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 7662
  • Last login:January 18, 2019, 05:03:20 am
    • MAMEWAH
Re:EmuSaver 2.1 bugfix release...
« Reply #5 on: February 26, 2003, 07:54:41 pm »
MAMEWAH has always had the ability to launch the currently selected / random game as a screensaver (of course it has been unable to quit automatically and launch next game etc..)

Anyway, I got around the 'bad dump' problem by doing a 'mame gamename -verifyroms' BEFORE attempting to launch the game.  If it finds that a 'ROM NEEDS REDUMP' then it would not attempt to launch the game.  This will also prevent general bad romsets from being used.

I must say tho that compiling a build to skip this bad rom message is the best idea anyway, to save ANY 'lockup'.

bdp

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 66
  • Last login:July 28, 2005, 08:27:30 am
  • I'm a llama!
Re:EmuSaver 2.1 bugfix release...
« Reply #6 on: February 27, 2003, 03:39:59 pm »
3)  Exclude list.  Ability to EXCLUDE certain roms from the list (ones that prove to lock up the SS because they don't load).  This would also be a great way to test if it's a ROM or a random event locking up the SS screen (it locks on the now loading screen)...CTRL ALT DEL is the only way I can get out.

probably the rom, it could be one of the roms that have a bad rom dump, therefore require you to press any key before teh game loads.  use the lzmame hack I came up with for HC.  It's on his site.  To use something other than lzmame 0.61 you will need to compile your own mame.  It isn't hard to do:)

Actually I compiled my own mame with no nag screens at all and I still get the lockups occasionally.  It would be nice if there was at least a log so I could see which roms were causing this problem and see what happens when I launch them manually.

SirPoonga

  • Puck'em Up
  • Global Moderator
  • Trade Count: (+1)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 8188
  • Last login:Today at 12:38:01 am
  • The Bears Still Suck!
Re:EmuSaver 2.1 bugfix release...
« Reply #7 on: February 27, 2003, 03:43:05 pm »
3)  Exclude list.  Ability to EXCLUDE certain roms from the list (ones that prove to lock up the SS because they don't load).  This would also be a great way to test if it's a ROM or a random event locking up the SS screen (it locks on the now loading screen)...CTRL ALT DEL is the only way I can get out.

probably the rom, it could be one of the roms that have a bad rom dump, therefore require you to press any key before teh game loads.  use the lzmame hack I came up with for HC.  It's on his site.  To use something other than lzmame 0.61 you will need to compile your own mame.  It isn't hard to do:)

Actually I compiled my own mame with no nag screens at all and I still get the lockups occasionally.  It would be nice if there was at least a log so I could see which roms were causing this problem and see what happens when I launch them manually.

There is.  click the view statistics button in the screensaver settings.
Ofcourse if HC doesn't write to the logfile before he actually executes mame I am not sure if what is there is the last rom executed.
« Last Edit: February 27, 2003, 03:44:20 pm by SirPoonga »

Howard_Casto

  • Idiot Police
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 19427
  • Last login:Yesterday at 11:38:27 am
  • Your Post's Soul is MINE!!! .......Again??
    • The Dragon King
Re:EmuSaver 2.1 bugfix release...
« Reply #8 on: February 27, 2003, 06:56:24 pm »
I thought of that one ahead of time... as long as you exit the "lockup" with escape it will write the stats file for you.  It saves the data as it goes....  

Btw bpd commenting out the nag screens isn't enough.  What we are talking about are error messages at the comand prompt, not guied game warnings with "press ok to continue".  Several games with incomplete rom dumps (that ironically enough still run)  cause such errors.  64th street is a prime example.  

I believe sirp has a link to the code switch he implemented. That might be a useful thing to post here. (hint hint)

SirPoonga

  • Puck'em Up
  • Global Moderator
  • Trade Count: (+1)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 8188
  • Last login:Today at 12:38:01 am
  • The Bears Still Suck!
Re:EmuSaver 2.1 bugfix release...
« Reply #9 on: February 27, 2003, 07:00:14 pm »
I thought of that one ahead of time... as long as you exit the "lockup" with escape it will write the stats file for you.  It saves the data as it goes....  

Btw bpd commenting out the nag screens isn't enough.  What we are talking about are error messages at the comand prompt, not guied game warnings with "press ok to continue".  Several games with incomplete rom dumps (that ironically enough still run)  cause such errors.  64th street is a prime example.  

I believe sirp has a link to the code switch he implemented. That might be a useful thing to post here. (hint hint)

actually, I don't, I should put it up on my site.  I just implemented that -skip_baddumps.  otherwise the code changes are in lzmame, right:)

bdp

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 66
  • Last login:July 28, 2005, 08:27:30 am
  • I'm a llama!
Re:EmuSaver 2.1 bugfix release...
« Reply #10 on: February 28, 2003, 09:09:28 am »
Posting the code changes would be great, since I already have a custom build of MAME .65 I did, I'd hate to have to start over with lzmame and do all the source patching to get it up to .65...

Lilwolf

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4945
  • Last login:July 31, 2022, 10:26:34 pm
Re:EmuSaver 2.1 bugfix release...
« Reply #11 on: February 28, 2003, 09:52:48 am »
Great idea checking it before hand.  

I might just check each one in the verify roms before I run it now to get ready to run.

I currently keep track of the status of the game.  Then add them all together (sound/video or whatever the groups are) and keep track if any of the parents/clones have a better status (lower).  Then run them.  So if you tried to run popeye in non-clones view, it would run one of the clones automatically.  But that only worked if one of the clones where better then the parent.  

SirPoonga

  • Puck'em Up
  • Global Moderator
  • Trade Count: (+1)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 8188
  • Last login:Today at 12:38:01 am
  • The Bears Still Suck!
Re:EmuSaver 2.1 bugfix release...
« Reply #12 on: February 28, 2003, 10:13:54 am »

Howard_Casto

  • Idiot Police
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 19427
  • Last login:Yesterday at 11:38:27 am
  • Your Post's Soul is MINE!!! .......Again??
    • The Dragon King
Re:EmuSaver 2.1 bugfix release...
« Reply #13 on: February 28, 2003, 01:54:02 pm »
Minwah... I really like the idea of verifying roms prior to launch....

Could you give me an example of a game that doesn't work, but a clone does so I can use it as an example to setup the code.

There is also one other alternative, but it's the holy grail of programming.  I have no clue how, but there is a way to print the text outputted to the screen on any command line app via api (i think it's an api anyway).  I've seen it doen before but the programmer was unwilling to share the source.  Do any of you guys have a clue how that could be done?

If you do then it could revolutionize the fe scene as could error parse for EVERY command line emulator... including daphne, raine, mess.... ect.. by searching for bad keywords during the launch sequence.....  



Howard_Casto

  • Idiot Police
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 19427
  • Last login:Yesterday at 11:38:27 am
  • Your Post's Soul is MINE!!! .......Again??
    • The Dragon King
Re:EmuSaver 2.1 bugfix release...
« Reply #14 on: February 28, 2003, 02:28:38 pm »
SirP your a moderator... so moderate yourself.... I beleive you wished to respond to my other thread.  :)  This one is about command line parsing.  

SirPoonga

  • Puck'em Up
  • Global Moderator
  • Trade Count: (+1)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 8188
  • Last login:Today at 12:38:01 am
  • The Bears Still Suck!
Re:EmuSaver 2.1 bugfix release...
« Reply #15 on: February 28, 2003, 02:31:35 pm »
SirP your a moderator... so moderate yourself.... I beleive you wished to respond to my other thread.  :)  This one is about command line parsing.  


AHHH CRAP!  Two windows open at once!

SirPoonga

  • Puck'em Up
  • Global Moderator
  • Trade Count: (+1)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 8188
  • Last login:Today at 12:38:01 am
  • The Bears Still Suck!
Re:EmuSaver 2.1 bugfix release...
« Reply #16 on: February 28, 2003, 02:34:02 pm »
I've seen it doen before but the programmer was unwilling to share the source.  Do any of you guys have a clue how that could be done?
Hehe, I know who you are talking about, I could just go up to him and @#%$^#$ slap him!

Minwah

  • Trade Count: (+3)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 7662
  • Last login:January 18, 2019, 05:03:20 am
    • MAMEWAH
Re:EmuSaver 2.1 bugfix release...
« Reply #17 on: February 28, 2003, 02:45:44 pm »
Minwah... I really like the idea of verifying roms prior to launch....

Could you give me an example of a game that doesn't work, but a clone does so I can use it as an example to setup the code.

There is also one other alternative, but it's the holy grail of programming.  I have no clue how, but there is a way to print the text outputted to the screen on any command line app via api (i think it's an api anyway).  I've seen it doen before but the programmer was unwilling to share the source.  Do any of you guys have a clue how that could be done?

If you do then it could revolutionize the fe scene as could error parse for EVERY command line emulator... including daphne, raine, mess.... ect.. by searching for bad keywords during the launch sequence.....  

Well Moon Walker springs to mind.  The parent (Set 1) doesn't work but the (bootleg) clone does.

My FE only checks for better clones when filtering the list by clones.  The option 'Display Clones' has the choices 'Yes', 'No' and 'Only if parent is broken' - eg Moon Walker (bootleg) would show up but Moon Walker (Set 1) would not.  I do not check when a game is launched.

I'm afraid I've no idea about the API thing.  I simply make a batch file to do something like 'MAME game -verifyroms > verify' and then open verify etc.  Not great but it works.

On a kinda similar note me FE also has the option to 'Verify ROMs before Playing' which basically does the MAME blah -verifyroms every time when launching a game, so if you do not have a special build you can still prevent 'bad dump' games from hanging your system.  I thought about removing this option tho since it slows launching down a bit and I doubt anyone uses it (actually I've already removed it in my re-write and can't be bothered to put it back ;) )  Anyone think this is a good option to have?

Howard_Casto

  • Idiot Police
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 19427
  • Last login:Yesterday at 11:38:27 am
  • Your Post's Soul is MINE!!! .......Again??
    • The Dragon King
Re:EmuSaver 2.1 bugfix release...
« Reply #18 on: February 28, 2003, 02:51:11 pm »
Well that's the approach I'm going to have......  Checking prior to launch.  You see users are a crazy lot...  if you do something nice like check their roms for "goodness" before you add them to the list they'll complain that some of thier roms didn't show up.  

I think the best approach is to check prior to launch and ask them if they want to continue, or launch the clone...ect....

Plus that reduces the time to scan for roms dramatically.  

SirPoonga

  • Puck'em Up
  • Global Moderator
  • Trade Count: (+1)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 8188
  • Last login:Today at 12:38:01 am
  • The Bears Still Suck!
Re:EmuSaver 2.1 bugfix release...
« Reply #19 on: February 28, 2003, 02:53:59 pm »
C:\mame>mamepp -verifyroms pacman
OK.
1 romsets found, 1 were OK.

C:\mame>mamepp -verifyroms 64street
OK.
64street: prom             512 bytes NO GOOD DUMP KNOWN
romset 64street is best available
1 romsets found, 1 were OK.

Nice

almightyjustin

  • Trade Count: (0)
  • Newbie
  • *
  • Offline Offline
  • Posts: 1
  • Last login:May 26, 2005, 10:06:04 pm
Re:EmuSaver 2.1 bugfix release...
« Reply #20 on: March 02, 2003, 03:42:21 pm »
Quote
The ONLY way you will exit the screensaver is to hold down the exit key (escape by default) the refresh time that's defined in the lconfig.ini (or a little more, generally about a second will do it)  Since I want to give you the option of playing these games, mouse and other key presses don't effect the screensaver.

It would be nice if playing the games was indeed an "option" - that is, it should be possible to optionally have the screen saver quit on mouse movement/clicking or any keypress. If there's a technical reason why this won't work I'll understand but I don't like running screen savers that are hard to quit :D

Howard_Casto

  • Idiot Police
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 19427
  • Last login:Yesterday at 11:38:27 am
  • Your Post's Soul is MINE!!! .......Again??
    • The Dragon King
Re:EmuSaver 2.1 bugfix release...
« Reply #21 on: March 02, 2003, 04:36:19 pm »
There are technical reasons, and besides the whole point of the screensaver is the fact that you can play the games.  If you want a screensaver that's non interactive then just download a avi screensaver and add the hundreds to mame attract screens that have already been captured and are available on variious sites.

Besides that would be a lot of work to get it working halfway decent.  Read above.... this is a fun little project I'm not about to put a great deal of time into it.    

I'm real glad that everyone is so interested in it, but quite frankly it's on the bottom of my list in terms of my projects.

SirPoonga

  • Puck'em Up
  • Global Moderator
  • Trade Count: (+1)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 8188
  • Last login:Today at 12:38:01 am
  • The Bears Still Suck!
Re:EmuSaver 2.1 bugfix release...
« Reply #22 on: March 02, 2003, 05:33:58 pm »
Quote
The ONLY way you will exit the screensaver is to hold down the exit key (escape by default) the refresh time that's defined in the lconfig.ini (or a little more, generally about a second will do it)  Since I want to give you the option of playing these games, mouse and other key presses don't effect the screensaver.

It would be nice if playing the games was indeed an "option" - that is, it should be possible to optionally have the screen saver quit on mouse movement/clicking or any keypress. If there's a technical reason why this won't work I'll understand but I don't like running screen savers that are hard to quit :D

Reason, what happens if a trackball games comes up???  On mouse movement, bye bye game.