Previous Thread
Next Thread
Print Thread
Page 1 of 2 1 2
#108892 - 02/16/17 12:38 AM Cart not loading from Software list  
Joined: Feb 2017
Posts: 6
gordonfish Offline
Member
gordonfish  Offline
Member

Joined: Feb 2017
Posts: 6
I've been checking out QME2 as an alternative to MAMEUI for launching both arcade and console games.

So far I have the complete ColecoVision rom set and when trying to launch (either Play or Play embedded) a cart game, like Pitfall! or Qbert or Donkey Kong, etc, it launches the MAME but without the cart, so it just boots the CV bios, saying "TURN GAME OFF BEFORE INSERTING CARTRIDGE"... same as if one gets a real CV console when turned on without a game inserted.

Both ColecoVision (NTSC) in the Machine list and everything in the Software list show as green.

When using analyze ROM on "ColecoVision (NTSC)" in the Machine List, it shows File status good (in green) and likewise for Analyze -> Current software list (all say File status good.) So that and my paths (rom, hash, etc) all seems to be in order.

In the "Front end log" box I see it launching as:
Code:
starting emulator #0, command = C:\emu\MAME\mame.exe -hashpath "C:\emu\MAME\hash" -rompath "C:\emu\MAME\roms\coleco" -output console coleco

Notice how it doesn't include the cart. What could be causing this, or what might I be missing? As I understand it I should be able to just select a game from the Software list and play it, but that isn't happening.

#108893 - 02/16/17 04:28 AM Re: Cart not loading from Software list [Re: gordonfish]  
Joined: Apr 2011
Posts: 262
B2K24 Online happy
Senior Member
B2K24  Online Happy
Senior Member

Joined: Apr 2011
Posts: 262
I can also reproduce this behavior on Windows 10 Pro X64

Basically what's happening is; QMC2 isn't sending the setname of what's in the softlist to MAME when using Coleco.

Notice how it stops at -output console coleco

If you try the same with nes or a different machine, you get a different result.

Code:
-output console nes -cart nes:aliensyn:cart

#108894 - 02/16/17 06:40 AM Re: Cart not loading from Software list [Re: gordonfish]  
Joined: Feb 2017
Posts: 6
gordonfish Offline
Member
gordonfish  Offline
Member

Joined: Feb 2017
Posts: 6
Thanks. Is there any way to correct this?

#108895 - 02/16/17 07:08 AM Re: Cart not loading from Software list [Re: gordonfish]  
Joined: May 2008
Posts: 4,793
qmc2 Offline
qmc2  Offline

Very Senior Member

Joined: May 2008
Posts: 4,793
Germany
It's probably a bug, I have to check... at least I can repro this here on Linux as well.


A mind is like a parachute. It doesn't work unless it's open. [Frank Zappa]

We're searching for QMC2 translators and support for existing translations. Interested? See here!
#108896 - 02/16/17 08:11 AM Re: Cart not loading from Software list [Re: gordonfish]  
Joined: May 2008
Posts: 4,793
qmc2 Offline
qmc2  Offline

Very Senior Member

Joined: May 2008
Posts: 4,793
Germany
It took me a while to find the reason for this behavior... it's caused by coleco's -lx output which doesn't seem to be fully correct IMHO.

QMC2 needs to know the interface of a device and looks that up from the XML data. When I compare coleco with any other machine I see a colon (:) in front of the interface name:

Code:
rene@marvin:~/src/mame-git> ./mame64 coleco -lx | grep "<device type="
                <device type="cartridge" tag="cartslot" interface=":coleco_cart">

rene@marvin:~/src/mame-git> ./mame64 a2600 -lx | grep "<device type="
                <device type="cartridge" tag="cartslot" mandatory="1" interface="a2600_cart">
                <device type="cassette" tag=":cassette" interface="a2600_cass">

However, in the coleco software-list the colon is omitted, so QMC2 can't find a match (and sees no "mount device" because of it):

Code:
rene@marvin:~/src/mame-git> ./mame64 -listsoftware coleco | grep "<part name=" | uniq
                        <part name="cart" interface="coleco_cart">

I don't know if that's a bug in MAME or if it "works as designed". If the latter is true, I would need to ignore the colon as a simple workaround. But as it seems to be the only driver that's doing this I suppose it's not QMC2's fault.

I really need feedback about this from some MAME-dev, please!


A mind is like a parachute. It doesn't work unless it's open. [Frank Zappa]

We're searching for QMC2 translators and support for existing translations. Interested? See here!
#108897 - 02/16/17 09:55 AM Re: Cart not loading from Software list [Re: gordonfish]  
Joined: May 2008
Posts: 4,793
qmc2 Offline
qmc2  Offline

Very Senior Member

Joined: May 2008
Posts: 4,793
Germany
The workaround is now in SVN, but I still need clarification if it's a MAME bug or not (I'm convinced it is because coleco is the only system - see below - where this is different). Also, other front-ends may suffer from this as well.

Code:
rene@marvin:~/src/mame-git> sqlite3 ~/.qmc2/mame-xml-cache.db "select xml from mame_xml_cache" | grep -Po "interface=\"\:.*\""
interface=":coleco_cart"
interface=":coleco_cart"
interface=":coleco_cart"
interface=":coleco_cart"
interface=":coleco_cart"
interface=":coleco_cart"
interface=":coleco_cart"

EDIT: I filed an MT bug.


A mind is like a parachute. It doesn't work unless it's open. [Frank Zappa]

We're searching for QMC2 translators and support for existing translations. Interested? See here!
#108899 - 02/16/17 03:24 PM Re: Cart not loading from Software list [Re: gordonfish]  
Joined: Apr 2011
Posts: 262
B2K24 Online happy
Senior Member
B2K24  Online Happy
Senior Member

Joined: Apr 2011
Posts: 262
@gordfish, A possible workaround for you is; once you're at the Turn Game Off screen simply press TAB/File Manager press enter on Cartridge (cart) then [software list] pick a game for which you have files for and then it will load.

#108900 - 02/16/17 03:37 PM Re: Cart not loading from Software list [Re: gordonfish]  
Joined: Mar 2001
Posts: 15,550
R. Belmont Offline
R. Belmont  Offline

Very Senior Member

Joined: Mar 2001
Posts: 15,550
USA
My feeling is that that's a bug, but we really need eta to rule and I don't know if he's around.

ETA: if you remove the : and recompile MAME, does the Coleco still work?

Last edited by R. Belmont; 02/16/17 03:38 PM.
#108901 - 02/16/17 03:48 PM Re: Cart not loading from Software list [Re: R. Belmont]  
Joined: May 2008
Posts: 4,793
qmc2 Offline
qmc2  Offline

Very Senior Member

Joined: May 2008
Posts: 4,793
Germany
Originally Posted By R. Belmont
if you remove the : and recompile MAME, does the Coleco still work?

Yes, it looks good in this case (although I don't have the software to test):

Code:
16:45:59.702: starting emulator #0, command = /home/rene/src/mame-git/mame64 -noreadconfig -verbose [...] -output console colecop -cart coleco:alcazar
16:45:59.744: emulator #0 started, PID = 21927, running emulators = 1
16:46:00.797: emulator #0 finished, exit code = 2 (missing files), exit status = normal, remaining emulators = 0

"Missing files" is what I expect in my case.

EDIT: The corresponding emulator output looks good as well:

Code:
...
16:46:00.596: stderr[#0]: alcazar.1 NOT FOUND (tried in colecop coleco coleco/alcazar alcazar)
16:46:00.596: stderr[#0]: alcazar.2 NOT FOUND (tried in colecop coleco coleco/alcazar alcazar)
16:46:00.596: stderr[#0]: alcazar.3 NOT FOUND (tried in colecop coleco coleco/alcazar alcazar)
16:46:00.596: stderr[#0]: alcazar.4 NOT FOUND (tried in colecop coleco coleco/alcazar alcazar)
16:46:00.596: stderr[#0]: Fatal error: Required files are missing, the machine cannot be run.

Last edited by qmc2; 02/16/17 03:54 PM.

A mind is like a parachute. It doesn't work unless it's open. [Frank Zappa]

We're searching for QMC2 translators and support for existing translations. Interested? See here!
#108902 - 02/16/17 04:00 PM Re: Cart not loading from Software list [Re: gordonfish]  
Joined: May 2008
Posts: 4,793
qmc2 Offline
qmc2  Offline

Very Senior Member

Joined: May 2008
Posts: 4,793
Germany
It does also work w/o my workaround from above then, but someone with software for ColecoVision should double-check.


A mind is like a parachute. It doesn't work unless it's open. [Frank Zappa]

We're searching for QMC2 translators and support for existing translations. Interested? See here!
Page 1 of 2 1 2

Moderated by  qmc2 

Who's Online Now
4 registered members (Llaffer, B2K24, Olivier Galibert, Augusto), 25 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Shout Box
Forum Statistics
Forums9
Topics8,318
Posts107,539
Members4,734
Most Online225
May 26th, 2014
Powered by UBB.threads™ PHP Forum Software 7.6.0
Page Time: 0.031s Queries: 14 (0.009s) Memory: 5.0215 MB (Peak: 5.2507 MB) Zlib enabled. Server Time: 2017-04-27 03:11:41 UTC