News:

Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com

Main Menu

MAME problem [solved]

Started by WhateverFits, September 11, 2013, 07:41:02 AM

Previous topic - Next topic

WhateverFits

I'm trying to run MAME and it keeps crashing. Here is what I have so far:

Spawn_emulator_26214.log
ALSA lib conf.c:4617:(snd_config_expand) Parse arguments error: Invalid argument
ALSA lib pcm.c:2211:(snd_pcm_open_noupdate) Unknown PCM plughw:1,
d23_3.1d NOT FOUND
d23_1.1b NOT FOUND
d21_4.1k NOT FOUND
d21_5.3b NOT FOUND
d21_6.3m NOT FOUND
d21_7.3n NOT FOUND
d21-5.5b NOT FOUND
d21-6.4c NOT FOUND
d21-7.5k NOT FOUND
d21-3.3m NOT FOUND
ERROR: required files are missing, the game cannot be run.


and the log
01      09/10/13 21:30:48.041           Game_Player::CMD_Stop_Media - Emulator has crashed. Reporting it to Orbiters. <0xb59b0b70>
01      09/10/13 21:40:00.530           Inserting media /home/public/data/games/MAME/698.64 GB (sdc1) ST3750528AS o [36]/DIGDUG2.ZIP into slot default <0xb59b0b70>
01      09/10/13 21:40:01.480           EmulatorModel::updateConfig() - 4 config items found. <0xb59b0b70>
01      09/10/13 21:40:01.480           EmulatorModel::updateConfig() Replacing ###AVIWRITE###, with  <0xb59b0b70>
01      09/10/13 21:40:01.480           EmulatorModel::updateConfig() Replacing ###ROMPATH###, with /home/public/data/games/MAME/698.64 GB (sdc1) ST3750528AS o [36] <0xb59b0b70>
01      09/10/13 21:40:01.480           EmulatorModel::updateConfig() Replacing ###STATE###, with  <0xb59b0b70>
01      09/10/13 21:40:01.480           EmulatorModel::updateConfig() Replacing ###VIDEO###, with opengl <0xb59b0b70>
01      09/10/13 21:40:03.393           Process exited 0 1 <0xb59b0b70>
01      09/10/13 21:40:03.393           X11EmulatorController::doAction() - No Window ID set while trying to do action EXIT. Please do a run() first. <0xb59b0b70>
01      09/10/13 21:40:05.399           Game_Player::CMD_Stop_Media - Emulator has crashed. Reporting it to Orbiters. <0xb59b0b70>
05      09/10/13 21:48:32.040           Got a reload command from 0  <0xb59b0b70>
05      09/10/13 21:48:32.292           void ClientSocket::Disconnect() on this socket: 0x9f17910 (m_Socket: 6) <0xb77b4710>


I have no idea what's next. Thanks!
[url="http://www.seanwalker.org"]http://www.seanwalker.org[/url]

phenigma


Unknown PCM plughw:1,


This looks like an issue to me, and would probably prevent MAME from launching, hench the errors that show in the log saying no window id to grab.

Do you have audio when playing music/movies?

I'm not sure where MAME gets it's audio output device from, or if it is using default.  tschak would know.

At first I would pastebin your /etc/asound.conf and pastebin the output of aplay -L to determine your current sound config.

tschak, feel free to thwack me if you think it's something else... ;)

J.
My setup: [url="http://wiki.linuxmce.org/index.php/User:Phenigma"]http://wiki.linuxmce.org/index.php/User:Phenigma[/url]

WhateverFits

No problems with sound on anything including movies, music, Hulu, etc. Oh, and thank guys for fixing Hulu!  ;D

http://pastebin.com/QCbn0qRG
[url="http://www.seanwalker.org"]http://www.seanwalker.org[/url]

tschak909

That isn't the issue.

The ROMs are not being found. Can you please give me a dump of your ~/.mame/mame.ini ?

-Thom

WhateverFits

That's what I thought too.

I'm assuming that ~/ is /root/ because that's the only mame.ini that I found and it looks to be processed.
[url="http://www.seanwalker.org"]http://www.seanwalker.org[/url]

tschak909

Your disk name seems to be _VERY_ weird.... can you do ls "/home/public/data/games/MAME/698.64 GB (sdc1) ST3750528AS o [36]/DIGDUG2.ZIP" ?

You may also want to hop on IRC so we can debug this.

-Thom

WhateverFits

So, the current resolution to this (thanks Thom!) is that my ROMs were all in uppercase. I converted them all to lowercase and had a false fail (bad ROM) but now they are working! I don't know why lowercase is important, I would think that it would check that since it is common to have them in all uppercase. Oh well, it works! I played a game of PacMan and am satisfied. Ahhhh...

Now that this is settled, can anyone recommend a good controller that works well on a Media Director? I'm looking for wireless USB stuff.
[url="http://www.seanwalker.org"]http://www.seanwalker.org[/url]

tschak909

There are a lot of wireless USB gamepads. I am currently using the Thrustmaster Wireless USB gamepads...a little small, but they are wireless.
http://www.lenscomputers.com/tm-3n1-wl.html?utm_source=googlepepla&utm_medium=adwords&id=20607592087&utm_content=pla&gclid=COC9ycrYxLkCFcvm7AodFWgAqw

Those gamepads have a home button, which can be mapped to home on the USB Game Pad DCE device.. (it will, once I get a few fixes in). ;)

For anything else, I have a variety of adaptors, including a 2600-daptor-II for Atari 2600 games,
and I have an X-Arcade TankStick, when I need some big arcade action.

One thing I decided to do, was to run a balun for USB, converting USB 1.1 to Cat-5e, which has a maximum throw of 130 feet (and it does, too. I have tested.), using a device like this: http://www.monoprice.com/products/product.asp?seq=1&format=2&p_id=6042&CAWELAID=1329452178&catargetid=320013720000010913&cadevice=c&cagpspn=pla&gclid=CL2s2r3YxLkCFSlo7Aod8kIAgA

-Thom