When using MAMEWAH and CPViewer together and using screensaver-type run_random_game_then_quit(?), I have some problems with the screensaver.
It tries to load the game, but insteed it launches CPViewer, if i press the assigned key for exit in CPviewer, the game loads.
Here are my confs:
snip
Any workaround for this?
This is probably a minor oversight on Minwah's part, but I haven't tested it on my cab to be sure.
Either way, you should be able to work around it:
1) Make a batch file that launches CPViewer, then MAME, like
IF [%1]==[ss] goto SS
E:\Arcade\CPViewer\cpviewer.exe %1 -clone %2
E:\Arcade\MAME\mame.exe %1 -skip_disclaimer -skip_gameinfo -high_priority -sl -effect scan75 -resolution 800x600
goto DONE
:SS
E:\Arcade\MAME\mame.exe %2 -skip_disclaimer -skip_gameinfo -high_priority -sl -effect scan75 -resolution 800x600
:DONE
2) Set your commandline_format to
ss [name] {nodosbox}{nosafelaunch}
3) Set your alt_commandline_format_1 to
[name] [cloneof]{nodosbox}{nosafelaunch}
4) In your controller file in MAMEWAH, set the LAUNCH_GAME_WITH_OPTIONS1 key to the same thing as LAUNCH_GAME, and delete whatever's there for LAUNCH_GAME.
Basically, you're working off the premise that MAMEWAH will launch the game using the default commandline_format, while you can control how you launch the game with the other alt_commandline_format_1/2, and your batch file will differentiate the two.
Again, I haven't tried it (just got back from vaca) so YMMV. If you have any problems, I'll check it out when I get home from work tonight.
Edit: Also, if you play a game while the screensaver is active, it will quit after the given seconds in the ini file, tips?
Hmm. Again, this is probably a minor oversight on Minwah's part but I haven't checked it out on my cab to be sure. I can't think of a good simple workaround for this, aside from changeing your saver_type to run_random_game_using_wrapper and using Howard Casto's emusaver wrapper for your screensaver.
I'd like to use this option as my screensaver, so I'm curious if this is a "bug". I'll check it out when I get home tonight.
-sab