Build Your Own Arcade Controls Forum
Main => Software Forum => Topic started by: ScooterMAC on April 28, 2008, 11:32:39 am
-
I am running mamewah 1.62 shelled in xp home. I have set the exit_and_run_app_commandlines to c:\windows\explorer.exe (explorer.exe wouldn't work for me) and exit_action to choice. It works great when I need to go into windows. The problem I am having is when I select reboot or shutdown in the option screen its loads to windows desktop and does nothing. I have searched around the forum and couldn't find anything about this. I sure it can be done, I just don't know how. Thanks.
-
Perhaps running Mamewah as shell causes some problem with shutting down....but then again I am pretty sure other people do this successfully. Can anyone confirm?
-
Perhaps running Mamewah as shell causes some problem with shutting down....but then again I am pretty sure other people do this successfully. Can anyone confirm?
Any suggestions MINWAH?
-
Any suggestions MINWAH?
Try running Mamewah normally (not as your shell), and see if the same thing happens. At least that will tell you if shelling Mamewah is causing this issue.
-
Any suggestions MINWAH?
Try running Mamewah normally (not as your shell), and see if the same thing happens. At least that will tell you if shelling Mamewah is causing this issue.
Mamewah works fine when not shelled. I think its the exit and run application command. Is there any way to map each choice to a specific option?
MAMEWAH (in game) Options:
Exit to windows | c:\windows\explorer.exe
Restart | c:\windows\shutdown -r -t 0 or c:\Windows\RUNDLL.EXE user.exe,exitwindowsexecexit
Shutdown | c:\windows\shutdown -f -t 0 or c:\Windows\RUNDLL32.EXE user,exitwindowsexit
I havent tried any of them yet, so the commands may not work. Just trying to see if it's possible.
Thanks.
-
Is there any way to map each choice to a specific option?
Not exactly, but you probably could run those commandlines as an application if you really wanted to using the 'general_app_commandlines' setting.
It would be good to know if anyone else has this problem, I don't recall anyone else mentioning this.
-
[/quote]
It would be good to know if anyone else has this problem, I don't recall anyone else mentioning this.
[/quote]
I think most people have their computer power switch on the front. I have mine computer plugged into a power strip and the stip is wired to a toggle switch that is on the side. I'm just worried about crashing my computer with the hard powerdowns.
-
It would be good to know if anyone else has this problem, I don't recall anyone else mentioning this.
I think most people have their computer power switch on the front. I have mine computer plugged into a power strip and the stip is wired to a toggle switch that is on the side. I'm just worried about crashing my computer with the hard powerdowns.
-
when u hit player 2 button there should be an option to quit and shutdown. It works for me. Also can u post a picture of how u wired your power strip to a toggle switch because i am looking to do the same thing but can not figure out how to do so.
-
when u hit player 2 button there should be an option to quit and shutdown. It works for me. Also can u post a picture of how u wired your power strip to a toggle switch because i am looking to do the same thing but can not figure out how to do so.
Not sure how your setup is, but every one is different. Mine is escape. I had a hour to kill at work so I made this crappy drawing of how it goes together. This is a very basic setup so you should have no problem. I used a heavy duty 20a toggle switch and a 15a power strip. Everything is off the surge protector and if there is a surge it will just shut off not damaging anything. Always use a multimeter and check your connections! If you need help just let me know. I will post a pic when I get home. MS Paint (NT) rules!
-
I made this panel out of stainless steel and mounted it on the side of my cp. It's the main power and volume control.
-
Is there any way to map each choice to a specific option?
Not exactly, but you probably could run those commandlines as an application if you really wanted to using the 'general_app_commandlines' setting.
OK, I've narrowed it down (I think) to :
### External Application Settings ###
startup_app_commandlines
exit_app_commandlines explorer.exe
exit_and_run_app_commandlines
Before I had c:\windows\explorer.exe and I changed it explorer.exe. It worked!But....when I exit to windows it doesn't bring up explorer. Only a blank screen, in which I have to ctr+alt+del - run - c:\windows\explorer.exe. Any sugestions?
-
Not sure if this will work or not, but try:
exit_app_commandlines start explorer
-
Not sure if this will work or not, but try:
exit_app_commandlines start explorer
I tried that but no luck yet. Here is my ini file:
### mamewah.ini (mamewah v1.62) ###
### (Global) Screen-Saver Settings ###
delay 60000
slide_duration 2
### Audio Settings ###
enable_sounds 1
sound_volume 80
music_path c:\music
enable_music 1
music_volume 100
### Movie Settings ###
intro_movie_file c:\intro
exit_movie_file
keep_movie_preview_aspect no
delay_before_movie_preview 2
music_movie_mix mute_movies
movie_volume 90
### Misc Settings ###
emulator_root_path
auto_setup_emulators 0
theme (Default Layout)
wrap_list 1
remember_current_game 1
keep_image_aspect 1
refresh_images 1
delay_before_history_dat 2
safe_mode 0
show_cursor 0
keyboard_led_states -,-,-
lcd_com_port 1
lcd_settings
exit_action choice
maxlogsize 100000
### External Application Settings ###
startup_app_commandlines
exit_app_commandlines
exit_and_run_app_commandlines
### Settings used by MAMEWAH ###
current_group
current_emulator mame
locked 0
-
I will have a play around with this today and see what I can come up with.
-
Try this:
exit_app_commandlines c:\windows\explorer.exe{nowait}
Mamewah expects full paths, so definately leave the 'c:\windows\' part in. The {nowait} part will quit Mamewah as soon as explorer is launched.
exit_and_run_app_commandlines could be used to run a commandline to shutdown the PC, but remember you would have to exit Mamewah in the correct way (either Exit & Run Application from the Exit menu, or set 'exit_action run_app' in mamewah.ini, or setup a suitable shortcut in mamewah.cfg.
-
IT WORKED!!!!!!!!!!!!!!!!!Thank You very much Minwah! I'm just wondering why the {nowait} had a big effect. I did notice that if it was not there, windows had mamewah still running under task manager. Well whatever, it's fixed and your the man! :cheers:
-
IT WORKED!!!!!!!!!!!!!!!!!Thank You very much Minwah! I'm just wondering why the {nowait} had a big effect. I did notice that if it was not there, windows had mamewah still running under task manager. Well whatever, it's fixed and your the man! :cheers:
If {nowait} is not present then Mamewah will wait for the app to finish (ie as you saw, Mamewah will still be running).
Glad it worked!! 8)
-
One more question minwah....is there a {wait} command? I have a intro video but I would like it to delay a couple of seconds to let the apps in the backround load up (nvida). Thanks.
-
One more question minwah....is there a {wait} command?
Yes, but it is default if {nowait} is not specified. It makes Mamewah wait for the app to finish execution.
I have a intro video but I would like it to delay a couple of seconds to let the apps in the backround load up (nvida). Thanks.
If you are running the nvidia app from Mamewah (using startup_app_commandlines), then it should wait for it anyway (assuming {nowait} is not specified).