Attract-Mode Support Forum
Attract-Mode Support => General => Topic started by: vernontwinkie on September 06, 2016, 10:06:34 AM
-
I really only need it for 2 emulators - MAME2003 (in the arcade folder) and a game made in Python3. Is there a way to have it so I won't have a separate display with only the one game? This is for an arcade build and I'd like it to be as streamlined as possible.
edit: would something like "attract --import-romlist mame.lst --import-romlist python3.lst merged" work (put the two together in a new list called "merged")? I have a MAME 2003.txt file, but can't find a .lst file anywhere. And would I need to change to a certain directory, or can this be done from the home folder?
-
Your romlist names will match your emulator names by default. Attract-Mode uses .txt files for the roms (you can import .lst files but they will be saved as .txt for AM to use them.) You should change into the /romlists directory to make things easier to run the command or else you'll need to define the paths to your romlist files and output file. If your romlist files or emulator names contain spaces make sure you rap them with quotes.
to change to the directory
cd /home/pi/.attract/romlists
to see your romlists names (and mostly likely your emulator names too)
ls *.txt
basic command
attract --import-romlist "<romlist name 1>.txt" "<emulator name 1>" --import-romlist "<romlist name 2>.txt" "<emulator name 2>" --output merged
this might be close to the command you want based on the info you listed
attract --import-romlist "MAME 2003.txt" "MAME 2003" --import-romlist python3.txt python3 --output merged
-
Thanks! I'll try this when I get home. How would I use the merged list? Do I just create an emulator called "merged" and input the path for the roms directory?
-
Configure-->Displays-->MAME 2003-->Collection/Rom List-->merged
Configure-->Displays-->python3-->Show in Cycle-->No
Configure-->Displays-->python3-->Show in Displays-->No
This should make all you games appear in the MAME 2003 wheel and hide your python3 wheel.
-
Configure-->Displays-->MAME 2003-->Collection/Rom List-->merged
Configure-->Displays-->python3-->Show in Cycle-->No
Configure-->Displays-->python3-->Show in Displays-->No
This should make all you games appear in the MAME 2003 wheel and hide your python3 wheel.
I can't wait to try this out. Thank you so much for the help! This is quite a large project I'm working on - 7 machines (6 2-player & 1 4-player). I'm also documenting everything so I can have a guide for any interested, once done.
-
As a final update, it worked with a minor change. I had to go to /home/pi/.attract/romlists/ to do the import. It also doesn't seem to need to have the .txt at the end as the file created was merged.txt.txt - weird but works for me. Thanks for the help!
-
As a final update, it worked with a minor change. I had to go to /home/pi/.attract/romlists/ to do the import. It also doesn't seem to need to have the .txt at the end as the file created was merged.txt.txt - weird but works for me. Thanks for the help!
Sorry, I don't know why I wrote layouts instead of romlists as the folder. I also forgot that the import adds the .txt to the file name. I have edited the post above incase others use it. I'm glad you got what you need.