MahCade will not launch anything

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

Moderator: battlecat

MahCade will not launch anything

Postby Zombie » Mon Feb 27, 2012 10:55 pm

MahCade will not launch anything. It works, and it outputs this

Error: option: [fuzzy_artwork_search] for ini file: [/home/arcard/.wahcade/wahcade.ini] not found
Error: option: [fuzzy_artwork_search] for ini file: [/home/arcard/.wahcade/wahcade.ini] not found
Error: option: [fuzzy_artwork_search] for ini file: [/home/arcard/.wahcade/wahcade.ini] not found
SDL_JoystickNumHats value:1:
SDL_JoystickNumHats value:0:
Error: option: [fuzzy_artwork_search] for ini file: [/home/arcard/.wahcade/wahcade.ini] not found

But if you try and run an emulator, it acts as if it will, then, it drops you back into WahCade unresponsive with no controls.
User avatar
Zombie
 
Posts: 791
Joined: Mon Oct 06, 2008 2:52 pm

Re: MahCade will not launch anything

Postby sairuk » Tue Feb 28, 2012 2:34 am

I currently cannot reproduce this on my machines, check the wahcade.log file in your profile directory to see what was happening during launching.

My dev VM at work launches mame properly but returns to Mah!Cade due to roms being incomplete (with responsive controls)

The fuzzy_artwork_search options missing has no impact on launching

Additional options you may want to add to your wahcade.ini for Mah!Cade
Code: Select all
### Addtional Wah!Cade Options (not used by MameWAH) ###
lock_time                               1
fuzzy_artwork_search                    1
splash_enabled                          1
splash_screen_gfx                       wahcade-logo.png
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: MahCade will not launch anything

Postby Zombie » Tue Feb 28, 2012 2:46 am

Code: Select all
Mon Feb 27 20:42:26 2012]: //======================= NEW LOG RUN =======================//
[Mon Feb 27 20:42:26 2012]: Wah!Cade updating user config files in: /home/arcard/.wahcade
[Mon Feb 27 20:42:26 2012]: Launching in Fullscreen Mode
[Mon Feb 27 20:42:26 2012]: Debug Mode Enabled
[Mon Feb 27 20:42:26 2012]: No custom splash found, loading /usr/share/games/wahcade/pixmaps/wahcade-logo.png
[Mon Feb 27 20:42:27 2012]: Warning: ScrSaver: Failed to create Video gstreamer objects
[Mon Feb 27 20:42:27 2012]: Warning: ScrSaver: video objects not created, reverting to images
[Mon Feb 27 20:42:29 2012]: Error: Invalid controls.ini file: [/opt/var/public/roms/cfg/default.cfg]
[Mon Feb 27 20:42:29 2012]: Selected platform: Nintendo Entertainment System
[Mon Feb 27 20:42:29 2012]: Created Video gstreamer objects
[Mon Feb 27 20:42:30 2012]: Selected gameslist: All Games
[Mon Feb 27 20:42:30 2012]: Fullscreen mode
[Mon Feb 27 20:42:30 2012]: [PYGAME] started joystick device number: 0
[Mon Feb 27 20:42:30 2012]: [PYGAME] started joystick device number: 1
[Mon Feb 27 20:42:30 2012]: [PYGAME] Joystick: Mad Catz,Inc. PS3 RF pad
[Mon Feb 27 20:42:30 2012]: [PYGAME] Device ID: 0
[Mon Feb 27 20:42:30 2012]: [PYGAME] Number of axes: 4
[Mon Feb 27 20:42:30 2012]: [PYGAME] Number of trackballs: 0
[Mon Feb 27 20:42:30 2012]: [PYGAME] Number of buttons: 13
[Mon Feb 27 20:42:30 2012]: [PYGAME] Number of hats: 1
[Mon Feb 27 20:42:30 2012]: [PYGAME] Joystick: Sony PLAYSTATION(R)3 Controller
[Mon Feb 27 20:42:30 2012]: [PYGAME] Device ID: 1
[Mon Feb 27 20:42:30 2012]: [PYGAME] Number of axes: 27
[Mon Feb 27 20:42:30 2012]: [PYGAME] Number of trackballs: 0
[Mon Feb 27 20:42:30 2012]: [PYGAME] Number of buttons: 19
[Mon Feb 27 20:42:30 2012]: [PYGAME] Number of hats: 0
[Mon Feb 27 20:42:45 2012]: [PYGAME] Stopped joystick device number: 0
[Mon Feb 27 20:42:46 2012]: [PYGAME] Stopped joystick device number: 1
[Mon Feb 27 20:42:46 2012]: ******** Command from Wah!Cade is:  /usr/bin/mednafen "/opt/var/public/roms/nes/Castlevania II - Simon's Quest (U) [!]..nes"
[Mon Feb 27 20:42:46 2012]: ******** Begin command output
Starting Mednafen 0.8.D
 Loading settings from "/home/arcard/.mednafen/mednafen.cfg"...
 Compiled against SDL 1.2.14, running with SDL 1.2.14

 Initializing joysticks...
  Joystick 0 - Mad Catz,Inc. PS3 RF pad - Unique ID: 0cb8f90ec3ed0f96
  Joystick 1 - Sony PLAYSTATION(R)3 Controller - Unique ID: 3017d77374ccf98b
 Loading /opt/var/public/roms/nes/Castlevania II - Simon's Quest (U) [!]..nes...


Why is there an extra period there? It isn't in the emulator setup. I checked.
User avatar
Zombie
 
Posts: 791
Joined: Mon Oct 06, 2008 2:52 pm

Re: MahCade will not launch anything

Postby Zombie » Tue Feb 28, 2012 2:49 am

Attempting to populate filters (I thought maybe a filter needed resetting, so, I did just that. Then this happened) results in
Code: Select all
Traceback (most recent call last):
  File "wahcade.py", line 86, in <module>
    app = WinMain(options)
  File "/usr/share/games/wahcade/win_main.py", line 328, in __init__
    self.load_emulator()
  File "/usr/share/games/wahcade/win_main.py", line 1277, in load_emulator
    self.load_list()
  File "/usr/share/games/wahcade/win_main.py", line 1316, in load_list
    self.emu_ini)
  File "/usr/share/games/wahcade/filters.py", line 312, in create_initial_filter
    catver = get_catver_ini(_catver_ini)
  File "/usr/share/games/wahcade/filters.py", line 302, in get_catver_ini
    catenc = get_file_encoding(category_file)
  File "/usr/share/games/wahcade/filters.py", line 105, in get_file_encoding
    for line in file(filename, 'rb'):
IOError: [Errno 2] No such file or directory: ''
User avatar
Zombie
 
Posts: 791
Joined: Mon Oct 06, 2008 2:52 pm

Re: MahCade will not launch anything

Postby sairuk » Tue Feb 28, 2012 5:08 am

Code: Select all
[Tue Feb 28 15:05:16 2012]: ******** Command from Wah!Cade is:  /usr/games/mame pacman.zip
[Tue Feb 28 15:05:16 2012]: ******** Begin command output


Post your config, I do not get a second period when using romext

RE: Filters, which commit are you using? 94?
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: MahCade will not launch anything

Postby Zombie » Tue Feb 28, 2012 7:18 am

Code: Select all
### fceu.ini (wahcade v0.12) ###
### by KillsTheWeak ###

emulator_title                          Nintendo Entertainment System

### List Generation Settings ###
rom_path                                /opt/var/public/roms/nes
rom_extension                           nes
dat_file
nms_file
catver_ini_file
list_generation_method                  rom_folder

### Execution Settings ###
emulator_executable                     /usr/bin/mednafen
commandline_format                      "[rompath]/[name].[romext]"
alt_commandline_format_1
alt_commandline_format_2
game_specific_config_path

### Artwork Locations ###
artwork_1_image_path                    /opt/var/public/snaps/NES
artwork_2_image_path
artwork_3_image_path
artwork_4_image_path
artwork_5_image_path
artwork_6_image_path
artwork_7_image_path
artwork_8_image_path
artwork_9_image_path
artwork_10_image_path
movie_preview_path
movie_artwork_no                        1

### Screen-Saver Settings ###
enable_music_in_screensaver             0
saver_type                              slideshow
movie_path
movie_fullscreen                        1
quit_delay                              30
wrapper_executable
wrapper_commandline_format              [name]
scr_file

### External Application Settings ###
ipc_file_or_path
app_1_executable
app_1_commandline_format
app_2_executable
app_2_commandline_format
app_3_executable
app_3_commandline_format
auto_launch_apps

### Additional Settings ###
music_path
lcd_display_file_path
lcd_fe_text

And yes, I am using the latest commit from bzr.
User avatar
Zombie
 
Posts: 791
Joined: Mon Oct 06, 2008 2:52 pm

Re: MahCade will not launch anything

Postby sairuk » Tue Feb 28, 2012 8:54 am

the period in commandline_format is not required in mahcade due to the rewrite for some of the launch function. it now uses os.path.join. Suppose i should check and patch it as a work around for Wah!Cade configs
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: MahCade will not launch anything

Postby sairuk » Tue Feb 28, 2012 9:11 am

see if commits 95+ fix launch issues, returns the expected result here.
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: MahCade will not launch anything

Postby Zombie » Tue Feb 28, 2012 10:49 pm

Code: Select all
Traceback (most recent call last):
  File "/usr/share/games/wahcade/win_main.py", line 698, in on_winMain_key_press
    self.load_emulator(emu_list[emu_idx])
  File "/usr/share/games/wahcade/win_main.py", line 1281, in load_emulator
    self.load_list()
  File "/usr/share/games/wahcade/win_main.py", line 1320, in load_list
    self.emu_ini)
  File "/usr/share/games/wahcade/filters.py", line 357, in create_initial_filter
    gd['category'] = get_catver_item(gd['rom_name'].lower())
  File "/usr/share/games/wahcade/filters.py", line 291, in get_catver_item
    category = catverparser.get('Category', rom_name).decode(catenc['encoding'], "ignore")
NameError: global name 'catverparser' is not defined


This from generating a new list.
User avatar
Zombie
 
Posts: 791
Joined: Mon Oct 06, 2008 2:52 pm

Re: MahCade will not launch anything

Postby sairuk » Wed Feb 29, 2012 2:44 am

Zombie wrote:This from generating a new list.


• How were you generating the list?
• What screen are you generating from?
• What version of python?

Python 2.6.5 here, all ok generating from:
• wahcade-setup->setup filters
• main interface->options->generate list
• launch->creating initial filter
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: MahCade will not launch anything

Postby sairuk » Wed Feb 29, 2012 2:52 am

Managed to replicate the issue, this occurs if you do not run a catver file? I will make some modifications to accommodate that situation tonight; seems strange it doesn't already do that.
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: MahCade will not launch anything

Postby Zombie » Wed Feb 29, 2012 5:22 am

Same error on r96.
User avatar
Zombie
 
Posts: 791
Joined: Mon Oct 06, 2008 2:52 pm

Re: MahCade will not launch anything

Postby Zombie » Wed Feb 29, 2012 5:26 am

Code: Select all
Traceback (most recent call last):
  File "/usr/share/games/wahcade/win_filter.py", line 246, in on_cboLists_changed
    self.load_filter()
  File "/usr/share/games/wahcade/win_filter.py", line 277, in load_filter
    if self.current_filter[fk[0]] == str(idx):
KeyError: 'filter_type'
User avatar
Zombie
 
Posts: 791
Joined: Mon Oct 06, 2008 2:52 pm

Re: MahCade will not launch anything

Postby Zombie » Wed Feb 29, 2012 6:18 am

Managed tto get it working after I setup catver for every emulator.
User avatar
Zombie
 
Posts: 791
Joined: Mon Oct 06, 2008 2:52 pm

Re: MahCade will not launch anything

Postby sairuk » Wed Feb 29, 2012 9:23 am

Zombie wrote:Same error on r96.


Yeh haven't added the fix yet, it'll be in r97
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

Next

Return to Wah!Cade

Who is online

Users browsing this forum: No registered users and 3 guests

cron