Previous Thread
Next Thread
Print Thread
#115642 08/05/19 02:06 PM
Joined: Mar 2009
Posts: 57
M
Member
OP Offline
Member
M
Joined: Mar 2009
Posts: 57
I use mame on Linux typically at the command line but sometimes with QMC2. I'm a bit confused about using software lists that have names that don't align with the system name. For example, apple2 has four lists apple2_cass, apple2_flop_misc, etc.... Whenever I do "mame apple2 -lsoft" or "mame apple2 -getsoftlist" the response is always "No software lists found for this system" or "No such software lists found". apricot_flop is another example.

I've been digging though all the documentation and don't get it. What am I'm missing? Thanks!

Joined: Mar 2001
Posts: 16,859
Likes: 51
R
Very Senior Member
Offline
Very Senior Member
R
Joined: Mar 2001
Posts: 16,859
Likes: 51
The hashpath in mame.ini must point to the directory with the software list XML files.

Joined: Mar 2009
Posts: 57
M
Member
OP Offline
Member
M
Joined: Mar 2009
Posts: 57
It's strange something is not working right...

Code
$ cat ~/.mame/mame.ini |grep hashpath

hashpath                  /home/mocha/src/mame0179/hash/

$ ls -al /home/mocha/src/mame0179/hash/apple*

-rw-rw-r-- 1 mocha mocha  18845 Oct 25  2016 /home/mocha/src/mame0179/hash/apple1.xml
-rw-rw-r-- 1 mocha mocha 287019 Oct 25  2016 /home/mocha/src/mame0179/hash/apple2gs.xml
-rw-rw-r-- 1 mocha mocha 355844 Oct 25  2016 /home/mocha/src/mame0179/hash/apple2.xml
-rw-rw-r-- 1 mocha mocha  11060 Oct 25  2016 /home/mocha/src/mame0179/hash/apple3.xml

$ mame apple2 -getsoftlist

No such software lists found

Joined: May 2004
Posts: 960
Likes: 22
D
Senior Member
Offline
Senior Member
D
Joined: May 2004
Posts: 960
Likes: 22
-getsoftlist requires the name of a software list as parameter. So the following will work:

mame64 -getsoftlist apple2_flop_orig

That's for current MAME, older versions might differ.

Joined: Apr 2006
Posts: 731
Senior Member
Offline
Senior Member
Joined: Apr 2006
Posts: 731
Originally Posted by Duke
-getsoftlist requires the name of a software list as parameter. So the following will work:

mame64 -getsoftlist apple2_flop_orig

That's for current MAME, older versions might differ.


Also the -listsoftware parameter is probably what you are looking for here - it will go through all softlists and depending on the machine chosen will output what has been deemed able to run.
> mame64 -listsoftware apple2e
This show all software XML which is valid for that machine. If you want individual setnames and descriptions (similar to -listfull), you'll need to parse that info yourself from the text output capture.




Joined: Mar 2009
Posts: 57
M
Member
OP Offline
Member
M
Joined: Mar 2009
Posts: 57
Something's off. With my own binary that I compiled it sees the XML files in the hash path. With a prebuilt binary from a ppa it doesnt see the hash path even specifying the -hash command line option. I also tried -noreadconfig with the same results.

Joined: Mar 2001
Posts: 16,859
Likes: 51
R
Very Senior Member
Offline
Very Senior Member
R
Joined: Mar 2001
Posts: 16,859
Likes: 51
Prebuilt binaries often alter the default mame.ini search path, that may be the difference.

Joined: Feb 2004
Posts: 2,305
Likes: 26
Very Senior Member
Offline
Very Senior Member
Joined: Feb 2004
Posts: 2,305
Likes: 26
If you use `-verbose` it should show the paths it's trying to load INI files from.

Joined: Mar 2009
Posts: 57
M
Member
OP Offline
Member
M
Joined: Mar 2009
Posts: 57
I always appreciate the help here and all the things the mame team has provided over the past 22 years. I finally just recompiled the latest version and deleted all my old cruft and setup the mame.ini properly and now it works as expected.


Link Copied to Clipboard
Who's Online Now
1 members (Pernod), 24 guests, and 2 robots.
Key: Admin, Global Mod, Mod
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Forum Statistics
Forums9
Topics9,018
Posts118,409
Members5,010
Most Online890
Jan 17th, 2020
Forum Host
These forums are hosted by www.retrogamesformac.com
Forum hosted by www.retrogamesformac.com