Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - krick

Pages: [1]
1
General / Re: How do you set up individual consoles with MAME?
« on: June 28, 2018, 10:14:26 AM »
Thanks for all your help. I'll definitely check out all the resources you linked.

As far as the mame chd files go, why even tell AM about these? There should be a .zip file for each of them and if MAME is setup properly they don't need to be configured in AM. I assume these are really duplicate entries because you have the <dir> extension defined. If not, you can always use an app like excel to reorder these games.

I'll admit that I don't totally understand the emulator configuration options within Attract Mode but I'm slowly figuring it out with your help.  I assumed (incorrectly) that Attract Mode needed the same ROM paths as my mame.ini and that's obviously wrong (now).

I basically used the default MAME config that comes with Attract Mode and modified with my paths.  This is what I had...
Code: [Select]
# Generated by Attract-Mode v2.3.0
#
executable           c:/mame/mame64.exe
args                 [name]
rompath              e:/MAME 0.198 ROMs (merged);e:/MAME 0.198 CHDs (merged)
romext               .zip;.7z;<DIR>
system               Arcade
info_source          listxml
artwork    flyer           
artwork    marquee         
artwork    snap            e:/MAME 0.198 EXTRAs snap
artwork    wheel           

And this is what it looks like now (which no longer has the list of CHDs at the end).  Not sure if I still need  system = Arcade  though.  I think probably not...
Code: [Select]
# Generated by Attract-Mode v2.3.0
#
executable           c:/mame/mame64.exe
args                 [name]
rompath              e:/MAME 0.198 ROMs (merged)
romext               .zip
system               Arcade
info_source          listxml
artwork    flyer           
artwork    marquee         
artwork    snap            e:/MAME 0.198 EXTRAs snap
artwork    wheel           

The only remaining oddity is this one game (worldadv) floating at the end of the list for some reason.  Not sure where that's coming from.  Maybe it doesn't have a proper description in MAME's listxml output or something....

2
General / Re: How do you set up individual consoles with MAME?
« on: June 27, 2018, 09:08:02 PM »
Yes, you see this because of the merged set. Split sets will work differently. Your using of the hash files might overcome but I'm not certain. Using third party tools might also help or you could convert your set as you mentioned above.

So Attract Mode must try to reconcile the physical zip file names it finds in the ROM path directory with the data in the XML file when building the list.  I understand why they would do it that way since that's probably how most users probably want it to work.

I'd kind of prefer if it just built the list purely based on the XML/DAT file you provide regardless of whether I had the correct ROMs or not.  I think that other front ends I've used in the past worked that way.  If I recall correctly, MAMEwah would ask for your mame exe location and then it would extract the XML and build a list from that.  You had the option of showing parent sets only or parents + clones.  It didn't matter if you actually had any ROM files at all.  It didn't care.

At the moment, my MAME list includes a bunch of home computers (and consoles, I think).  Is my config incorrect or do I need to do additional work to filter those out with catver.ini and/or custom filters?
Keep in mind that there were actual arcade machines that played Nintendo and Sega games that were similar or the same as the console version.

You need to decide your end goal. It's different for everyone. MAME is great and include tons of games but I wouldn't want 90% of them on my cabinet. I will never play any computer type game or most console games there. Personally, I like the no-intro type of sets/databases because I use very few clones and focus on games that were available in the US. Curating your romlists is the key to an easy to use system. This can be done manually, with tools, with filters, with databases (xml files) from other systems or emulators. My advice is figure out what you want in the end and the best or easiest way to get there. A lot of people think it's cool or important to have as many games as possible (I was once one of them) but this is really the wrong direction if you want a clean and easily navigated system.

I guess my end goal is to have the "MAME" list be just arcade games.  So that will require some kind of filtering.  I know systems like the NeoGeo are weird cases though.

Anything with a software list can be separated out into a separate list.  For example, Amiga or Commodore 64.

I'd probably want to do a list of just the cheesy LCD hand-held games but I'm not sure if that's possible because they aren't all within one "system".

Right now, I've noticed two issues.

The first is that all of my CHD games are showing up at the end of the MAME list instead of being mixed in with the rest, alphabetically.  Also, they don't have proper descriptions...


The other issue is what I mentioned above with software list items like computers being in the list.  For example, this chunk of HP computers/devices....


I wouldn't delete or move ROMs.  I'll just try to hide things with filters or creative use of dat files or something once I get a grip on how it all works.

3
General / Re: How do you set up individual consoles with MAME?
« on: June 27, 2018, 06:19:48 PM »
I fired up my arcade cabinet today and changed my three (so far) console configs to use the "system" attribute with listsoftware.

Everything seems to work well so far except that it seem like I'm not seeing all the games (possibly versions and variants).  It might be because I have "merged" ROMs though.  I can use CLRMAMEPRO to convert them into "split" sets if it makes a difference in Attract Mode.

As an aside, it seems like each of my console/systems that use a software list is basically set up the same way more or less with the only variables being the "system" tag e.g. a2600, coleco, nes, ect...  in the various places they appear and the full name of the system.  It's easy enough to copy and rename one of the existing configs and do a search-replace on the system tag.  But it seems like there should be a way to parse the mame.xml and/or listsoftware output and/or the XML files in the hash folder and generate a config for each system automatically.

If a tool for that doesn't already exist, I my try my hand at writing one.


I have a somewhat related issue with configuring MAME properly in Attract Mode.

At the moment, my MAME list includes a bunch of home computers (and consoles, I think).  Is my config incorrect or do I need to do additional work to filter those out with catver.ini and/or custom filters?

4
General / Re: How do you set up individual consoles with MAME?
« on: June 26, 2018, 10:47:21 PM »
Please reread my post above. I have made changes that might interest you (I didn't know you reposted while I was doing it).

Yep.  Your post had part of the solution.  I needed to use  [name]  instead of  [romfilename]

Check out my latest post too.  I discovered the XML files in the mame/hash/ folder for consoles

They seem to work better than listxml or listsoftware as I've been using them.

I still haven't tried your suggestion to use "system = x" with listsoftware but I'll check that out tomorrow.

5
General / Re: How do you set up individual consoles with MAME?
« on: June 26, 2018, 09:59:35 PM »
OK, I think I figured out how this is supposed to work.  In the MAME directory, there's a "hash" folder that contains XML files for (I assume) every system that uses a software list.

I was able to generate a proper list of game titles that way.  Here's my config file for the Atari 2600.  Notice that I'm using the "import_extras" property instead of the "info_source" property.

Code: [Select]
# Generated by Attract-Mode v2.3.0
#
executable           c:/mame/mame64.exe
args                 a2600 -cart "[romfilename]"
rompath              e:/MAME 0.198 Software List ROMs (merged)/a2600
romext               .zip
import_extras        c:/mame/hash/a2600.xml
artwork    flyer           
artwork    marquee         
artwork    snap            e:/MAME 0.198 EXTRAs snap_SL/a2600
artwork    wheel           

This works.  But I think the reason that it works is that it doesn't have a BIOS file in the MAME ROM set that needs to be loaded.

I did the same setup with the hash XML file for the ColecoVision and games don't load correctly.

When I run attractmode console, it says that it's running this command line...

Code: [Select]
c:/mame/mame64.exe coleco -cart "e:/MAME 0.198 Software List ROMs (merged)/coleco/mrdo.zip"

The game loads but it keeps resetting at the ColecoVision title screen.


If I go into the mame directory and run this from the command line, it works perfectly...

Code: [Select]
mame64 coleco -cart mrdo

However, if I try to add the full path to the ROM like Attract Mode, it fails in the same way... resetting at the title screen...

Code: [Select]
mame64 coleco -cart "e:/MAME 0.198 Software List ROMs (merged)/coleco/mrdo.zip"


So I'm at a loss on how to handle this.  For ColecoVision games, it needs the system (BIOS) ROM from the main ROM set and the individual game ROM from the Software List ROM set and it doesn't appear to be loading correctly.


EDIT:  Your last post had the solution.  I needed to use  [name]  instead of  [romfilename].

Once I did that, it worked perfectly.   :D

For reference, this what the updated ColecoVision config looks like...
Code: [Select]
# Generated by Attract-Mode v2.3.0
#
executable           c:/mame/mame64.exe
args                 coleco -cart "[name]"
rompath              e:/MAME 0.198 Software List ROMs (merged)/coleco
romext               .zip
import_extras        e:/mame/hash/coleco.xml
artwork    flyer           
artwork    marquee         
artwork    snap            e:/MAME 0.198 EXTRAs snap_SL/coleco
artwork    wheel           


EDIT2:  It looks like I don't need both ROM sets in the config rompath.  I guess since I have both paths in my mame.ini...

"e:/MAME 0.198 ROMs (merged);e:/MAME 0.198 Software List ROMs (merged)"


6
General / Re: How do you set up individual consoles with MAME?
« on: June 26, 2018, 07:59:56 PM »
Does your entry below work well? I don't think this gets all the correct metadata for the games. Please post the first 20 lines of your \attractmode\romlists\Atari 2600.txt file.

Code: [Select]
info_source          listsoftware

If I generate the ROM list using listxml, I get weird stuff in the ColecoVision list that appears to be information from the Arcade versions...



Here's the first 20 lines  from the ColecoVision romlist using listxml.

In particular, note the description for Congo Bongo that includes "(Rev C, 2 board stack)" and the "mechanical" flag on Fathom.  Something is very wrong with this data.

Code: [Select]
#Name;Title;Emulator;CloneOf;Year;Manufacturer;Category;Players;Rotation;Control;Status;DisplayCount;DisplayType;AltRomname;AltTitle;Extra;Buttons
1on1;1on1;ColecoVision;;;;;;;;;;;;;;
2010;2010;ColecoVision;;;;;;;;;;;;;;
31in1;31in1;ColecoVision;;;;;;;;;;;;;;
63in1;63in1;ColecoVision;;;;;;;;;;;;;;
buckrog;Buck Rogers: Planet of Zoom;ColecoVision;;1982;Sega;;1;0;joystick (8-way);imperfect;1;raster;;;;
bnj;Bump 'n' Jump;ColecoVision;brubber;1982;Data East USA;;2;270;joystick (8-way),joystick (8-way);good;1;raster;brubber;;;
btime;Burger Time (Data East set 1);ColecoVision;;1982;Data East Corporation;;2;270;joystick (4-way),joystick (4-way);good;1;raster;;;;
carnival;Carnival (upright);ColecoVision;;1980;Sega;;1;270;joystick (2-way);imperfect;1;raster;;;;
centiped;Centipede (revision 4);ColecoVision;;1980;Atari;;1;270;joystick (8-way),trackball;good;1;raster;;;;
choplift;Choplifter (8751 315-5151);ColecoVision;;1985;Sega (licensed from Dan Gorlin);;2;0;joystick (8-way),joystick (8-way);good;1;raster;;;;
congo;Congo Bongo (Rev C, 2 board stack);ColecoVision;;1983;Sega;;2;90;joystick (8-way),joystick (8-way);imperfect;1;raster;;;;
cavenger;Cosmic Avenger;ColecoVision;;1981;Universal;;2;0;joystick (8-way),joystick (8-way);good;1;raster;;;;
dambustr;Dambusters (US, set 1);ColecoVision;;1981;South West Research;;1;90;joystick (4-way);good;1;raster;;;;
defender;Defender (Red label);ColecoVision;;1980;Williams;;1;0;joystick (vertical2-way);good;1;raster;;;;
digdug;Dig Dug (rev 2);ColecoVision;;1982;Namco;;2;90;joystick (4-way),joystick (4-way);good;1;raster;;;;
dkong;Donkey Kong (US set 1);ColecoVision;;1981;Nintendo of America;;2;270;joystick (4-way),joystick (4-way);good;1;raster;;;;
dkongjr;Donkey Kong Junior (US set F-2);ColecoVision;;1982;Nintendo of America;;2;270;joystick (4-way),joystick (4-way);good;1;raster;;;;
dlair;Dragon's Lair (US Rev. F2);ColecoVision;;1983;Cinematronics;;1;0;joystick (8-way);preliminary;1;raster;;;chd;
fathom;Fathom;ColecoVision;;1981;Bally;;1;;;preliminary;0;;;;mechanical;

On the other hand, listsoftware seems to get decent information except the title is the same as the ROM name.  I'm wondering if something changed in recent versions of the MAME XML format that Attract Mode can't handle.

Here's the first 20 lines  from the ColecoVision romlist using listsoftware...
Code: [Select]
#Name;Title;Emulator;CloneOf;Year;Manufacturer;Category;Players;Rotation;Control;Status;DisplayCount;DisplayType;AltRomname;AltTitle;Extra;Buttons
1on1;1on1;ColecoVision;;;;;;;;;;;;;;
2010;2010;ColecoVision;;;;;;;;;;;;;;
31in1;31in1;ColecoVision;;;;;;;;;;;;;;
63in1;63in1;ColecoVision;;;;;;;;;;;;;;
alcazar;alcazar;ColecoVision;;;;;;;;;;;;;;
alphazoo;alphazoo;ColecoVision;;;;;;;;;;;;;;
amazing;amazing;ColecoVision;;;;;;;;;;;;;;
antarct;antarct;ColecoVision;;;;;;;;;;;;;;
apshai;apshai;ColecoVision;;;;;;;;;;;;;;
aquatack;aquatack;ColecoVision;;;;;;;;;;;;;;
artduel;artduel;ColecoVision;;;;;;;;;;;;;;
bbears;bbears;ColecoVision;;;;;;;;;;;;;;
bcquest;bcquest;ColecoVision;;;;;;;;;;;;;;
bcquest2;bcquest2;ColecoVision;;;;;;;;;;;;;;
bdash;bdash;ColecoVision;;;;;;;;;;;;;;
beamridr;beamridr;ColecoVision;;;;;;;;;;;;;;
blockrun;blockrun;ColecoVision;;;;;;;;;;;;;;
bnj;bnj;ColecoVision;;;;;;;;;;;;;;
brainstr;brainstr;ColecoVision;;;;;;;;;;;;;;

And here's the first 20 lines from the Atari 2600 romlist using listsoftware...
Code: [Select]
#Name;Title;Emulator;CloneOf;Year;Manufacturer;Category;Players;Rotation;Control;Status;DisplayCount;DisplayType;AltRomname;AltTitle;Extra;Buttons
2pakblac;2pakblac;ATARI 2600;;;;;;;;;;;;;;
2pakblue;2pakblue;ATARI 2600;;;;;;;;;;;;;;
2pakdblu;2pakdblu;ATARI 2600;;;;;;;;;;;;;;
2pakdo;2pakdo;ATARI 2600;;;;;;;;;;;;;;
2pakgrne;2pakgrne;ATARI 2600;;;;;;;;;;;;;;
2paklgrn;2paklgrn;ATARI 2600;;;;;;;;;;;;;;
2pakmage;2pakmage;ATARI 2600;;;;;;;;;;;;;;
2pakoran;2pakoran;ATARI 2600;;;;;;;;;;;;;;
2pakred;2pakred;ATARI 2600;;;;;;;;;;;;;;
2pakyelo;2pakyelo;ATARI 2600;;;;;;;;;;;;;;
32in1;32in1;ATARI 2600;;;;;;;;;;;;;;
3dgensp;3dgensp;ATARI 2600;;;;;;;;;;;;;;
3dghostp;3dghostp;ATARI 2600;;;;;;;;;;;;;;
3dhavocp;3dhavocp;ATARI 2600;;;;;;;;;;;;;;
3dtictac;3dtictac;ATARI 2600;;;;;;;;;;;;;;
4game1;4game1;ATARI 2600;;;;;;;;;;;;;;
4game1a;4game1a;ATARI 2600;;;;;;;;;;;;;;
4in1;4in1;ATARI 2600;;;;;;;;;;;;;;
8in1;8in1;ATARI 2600;;;;;;;;;;;;;;


EDIT: Just for the heck of it, I tried running this from the command line in my MAME folder...

Code: [Select]
mame64.exe a2600 -listsoftware > mame_a2600.xml

The resulting XML file has 1589 "software" tags so I'm thinking my Atari 2600 list would have that many games if this process was working correctly in Attract Mode.

I did the same for coleco and I got 220 titles.

7
General / Re: How do you set up individual consoles with MAME?
« on: June 26, 2018, 07:48:30 PM »
1. Download the console version of AM from here http://attractmode.org/download.html.
2. Extract the attract.exe file and rename it to attract-console.exe.
3. Place this file in your existing AM install folder and run it. You should see what's happening in the console window.

Here's what the console output looks like for NES that I just added...
Code: [Select]
C:\attract>attract-console.exe
Attract-Mode v2.3.0 (Windows, SFML 2.4 +SWF +7z)
avcodec 57.107.100 / avformat 57.83.100 / swscale 4.8.100 / swresample 2.9.100

Config: C:\attract\attract.cfg

*** Initializing display: 'Nintendo Entertainment System (NES)'
 - Loaded master romlist 'Nintendo Entertainment System (NES)' in 36 ms (2477 entries kept, 0 discarded)
 - Constructed 2 filters in 0 ms (4954 comparisons)
 - Loaded layout: C:\attract\layouts/Attrac-Man/ (layout.nut)
Failed to load image "C:\attract\layouts/Attrac-Man/snap.png". Reason: Unable to open file
Error opening input file: C:\attract\layouts/Attrac-Man/snap.png
ERROR loading video: C:\attract\layouts/Attrac-Man/snap.png
 - Working directory: c:\mame
*** Running: c:\mame\mame64.exe nes -cart "e:\MAME 0.198 Software List ROMs (merged)\nes/gradius.zip"

Try to add some other systems and see if they have issues or if the issue is isolated to ColecoVision.

I did.  Above is the output after adding NES.  It doesn't work at all.  It immediately crashes and goes back to AM.  It looks like it's looking for and not finding "snap.png" in the Attrac-Man layout.  Is that normal?

Why the "/" in Windows instead of the "\"? I don't think this is your issue but the "/" is more of a *nix thing.

Actually, windows supports forward slashes just fine.  In fact, I usually use forward slashes because they cause less problems since backslashes are often treated as escape characters.  Just because you mentioned it, I tried changing my slashes back to backslashes.  If you look at the console log, it looks like AM uses forward slashes for its internal paths so it was probably better the way I originally had it.

8
General / Re: How do you set up individual consoles with MAME?
« on: June 25, 2018, 10:15:02 PM »
Thanks for your help. I've set up the Atari 2600 and the ColecoVision so far.

The Atari 2600 works fine but for some reason, I'm having an issue with the ColecoVision.

When I launch a game, ladybug for example, the game loads fine and gets to the blue screen where you have to press a number on the keypad to start the game.  When I press a number, the ColecoVision resets.

The weird thing is that I can run the game fine from the command prompt...

C:\mame>mame64 coleco -cart ladybug

...or...

C:\mame>mame64 coleco -cart "ladybug"

...both work fine.

Is there any way to debug attract mode to figure out what's happening?

Here are my configs...


MAME.cfg  (works fine)
Code: [Select]
# Generated by Attract-Mode v2.3.0
#
executable           c:/mame/mame64.exe
args                 [name]
rompath              c:/mame/roms/;E:/MAME 0.198 ROMs (merged);E:/MAME 0.198 CHDs (merged)
romext               .zip;.7z;<DIR>
system               Arcade
info_source          listxml
artwork    flyer           
artwork    marquee         
artwork    snap            E:/MAME 0.198 EXTRAs snap
artwork    wheel           

Atari 2600.cfg  (works fine)
Code: [Select]
# Generated by Attract-Mode v2.3.0
#
executable           c:/mame/mame64.exe
args                 a2600 -cart "[romfilename]"
rompath              E:/MAME 0.198 Software List ROMs (merged)/a2600
romext               .zip
info_source          listsoftware
artwork    flyer           
artwork    marquee         
artwork    snap            E:/MAME 0.198 EXTRAs snap_SL/a2600
artwork    wheel           

ColecoVision.cfg  (does not work correctly)
Code: [Select]
# Generated by Attract-Mode v2.3.0
#
executable           c:/mame/mame64.exe
args                 coleco -cart "[romfilename]"
rompath              E:/MAME 0.198 Software List ROMs (merged)/coleco
romext               .zip
info_source          listsoftware
artwork    flyer           
artwork    marquee         
artwork    snap            E:/MAME 0.198 EXTRAs snap_SL/coleco
artwork    wheel           

9
General / How do you set up individual consoles with MAME?
« on: June 23, 2018, 07:48:12 PM »
I have the latest official MAME binary from MAMEdev.org and I'm trying to set up my cabinet with Attract Mode.

I have 4 folders with ROMs/CHDs...

MAME 0.198 ROMs (merged)
MAME 0.198 CHDs (merged)
MAME 0.198 Software List ROMs (merged)
MAME 0.198 Software List CHDs (merged)

The "Software List" folders are the console ROMs and disc images.

I have the "arcade" part of MAME working in AttractMode but I can't figure out how to set up so that the individual consoles work.

At the moment, the consoles appear in the MAME list but launching it just starts the console without any cartridge/disc.

I know that MAME ships with XML lists of supported titles for each console in the /mame/hash/ folder but I don't know what to do with them in Attract Mode.

From a usability standpoint, I think it would be most convenient if there was a separate list for each console.

Pages: [1]