Edit Exit Menu Order

A nice (keyboard based) front end for Arcade / Console game emulators.

Moderator: battlecat

Edit Exit Menu Order

Postby englischdude » Sun Dec 04, 2011 11:29 am

Hi All,

can anyone please tell me how to edit the exit menu list order in wahcade. At the moment the first option which is the default is EXIT TO DESKTOP, however I would like to have EXIT & SHUTDOWN at the top of the list. Any pointers?


Thanks in advance
Martin
englischdude
 
Posts: 17
Joined: Sun Dec 26, 2010 1:33 pm

Re: Edit Exit Menu Order

Postby codefenix » Sun Dec 04, 2011 5:59 pm

I don't think it's editable.
User avatar
codefenix
 
Posts: 219
Joined: Fri Sep 25, 2009 3:45 pm
Location: USA

Re: Edit Exit Menu Order

Postby englischdude » Sun Dec 04, 2011 6:25 pm

ok, then if I change the exit option from choice to shutdown, how can I then in the future quit wahcade to get back to the desktop, or when I start the bartop arcade machine interrupt the wahcade start?

Regards
Martin
englischdude
 
Posts: 17
Joined: Sun Dec 26, 2010 1:33 pm

Re: Edit Exit Menu Order

Postby sairuk » Sun Dec 04, 2011 9:11 pm

to change the order of the options for exiting ... in win_options.py change the order of the items listed around line 122
mameau - My random bits | Wah!Ki - A Wah!Cade wiki | Mah!Cade - Experimental Wah!cade Branch | ListGen | Lazarus
User avatar
sairuk
 
Posts: 432
Joined: Sat May 22, 2010 12:37 am

Re: Edit Exit Menu Order

Postby englischdude » Sun Dec 04, 2011 9:39 pm

many thanks, i use xubuntu linux. where is this file to be found?

regards
Martin
englischdude
 
Posts: 17
Joined: Sun Dec 26, 2010 1:33 pm

Re: Edit Exit Menu Order

Postby sairuk » Mon Dec 05, 2011 2:30 am

depends on how you have installed the application

you can try: 'locate win_options.py' at a bash prompt

i assume its probably in /usr/local/share/games/wahcade/ by default
mameau - My random bits | Wah!Ki - A Wah!Cade wiki | Mah!Cade - Experimental Wah!cade Branch | ListGen | Lazarus
User avatar
sairuk
 
Posts: 432
Joined: Sat May 22, 2010 12:37 am

Re: Edit Exit Menu Order

Postby codefenix » Mon Dec 05, 2011 1:55 pm

Ok, sure, the options are editable that way. :roll: My answer was from the "as-is" standpoint.

Martin, in case it isn't clear, Sairuk is having you modify a python source code file. It's not a simple config file.
User avatar
codefenix
 
Posts: 219
Joined: Fri Sep 25, 2009 3:45 pm
Location: USA

Re: Edit Exit Menu Order

Postby englischdude » Sat Jul 14, 2012 8:18 am

OK, an old post I know, but I am a little slow and just got round to trying this today.......... and it worked like a charm. The file required is as described by Sairuk, location also. I made a copy of the original file and saved with the suffix "old". then right clicking on the original file I opened it with Mousepad, searched for "shutdown" until I found the required menu list. I then simply swapped the words shutdown with reboot in the command and description lines.

Many thanks for your help!
englischdude
 
Posts: 17
Joined: Sun Dec 26, 2010 1:33 pm


Return to Wah!Cade

Who is online

Users browsing this forum: No registered users and 3 guests

cron