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 - progets

Pages: 1 2 [3] 4 5 ... 56
31
General / Re: How to add filter rule [a]
« on: January 24, 2019, 12:42:10 AM »
FWIW - You can also combine these into a single rule like this
Code: [Select]
rule                 Name not_contains \[a\]|\[a2\]

32
Themes / Re: [download] NEVATO theme
« on: January 24, 2019, 12:02:52 AM »

Also I noticed that Cosmo's Theme supports collections sub menus.

Is there any easy way of implementing this in Nevato?

This setup is base on your system and not the layout. You can see these post for information on how to set it up. http://forum.attractmode.org/index.php?topic=1804.msg18701#msg18701 and http://forum.attractmode.org/index.php?topic=2449.msg16709#msg16709

33
General / Re: How to edit newly created filters
« on: January 23, 2019, 12:54:59 PM »
It depends on what you want.

You can use a regular filter to show games where the "Manufacturer" contains "Capcom".
Configure-->Displays-->MAME-->Add Filter-->Filter Name=CPS-->Add Rule-->Target=Manufacturer | Comparison=contains | Filter Value=Capcom

This can also be done by manually editing the attract.cfg and adding the following to the MAME Display section.
Code: [Select]
filter               CPS
rule                 Manufacturer contains Capcom

You could also create a "tag" for CPS and use this to filter.
To do this in the GUI you need to make sure you have a "add tag" button configured in Configure-->Controls-->Add/Remove Tags. When in the GUI highlight a CPS game and press your <tag  button>-->Create Tag-->Name=CPS. Now each time you highlight a CPS game you can press the <tag button> and add them to your CPS tag list.

This can also be done manually by creating /attract/romlists/MAME/CPS.tag and placing the rom names without extensions into this file.
CPS.tag example
Code: [Select]
1941
cworld2j
bbros
dino
captcomm
cawing
dynwar
ffight
forgottn
ghouls
knights
msword
megaman
mtwins
mercs
mbombrd
nemo
pnickj
qad
qtono2j
slammast
sf2ce
sf2hf
sf2
strider
kod
punisher
3wonders
unsquad
varth
wof
willow

Once you have your tag file created you need to create a filter for it.
Configure-->Displays-->MAME-->Add Filter-->Filter Name=CPS-->Add Rule-->Target=Tags | Comparison=contains | Filter Value=CPS

This can also be done by manually editing the attract.cfg and adding the following to the MAME Display section.
Code: [Select]
filter               CPS
rule                 Tags contains CPS


P.S. You might want to look at this post http://forum.attractmode.org/index.php?topic=1165.msg8455#msg8455, not so much to use a master list but to better understand filters and tags.


34
General / Re: How to edit newly created filters
« on: January 23, 2019, 09:26:19 AM »
Filter rules are stored in the /attract/attract.cfg,

Romlists are stored /attract/romlists/<system>.txt.

Favorites are stored /attract/romlists/<system>.tag

Tag are stored /attract/romlists/<system>/<tag>.tag

Games match other filters based on the information in the fields of the /attract/romlists/<system>.txt romlist.

35
I have not used "Is Available=1" seems like a new addition but afaik AM will only list roms listed in the romlist, how exactly will "Is Available=1" work for a rom which you add in rompath/folder without adding it in romlist.

AM doesn't dynamically read the rom folder to look for games. "Is Available=1" is used to not display games in the romlist if there isn't an actual rom for the entry. This is popular for people that want to use databases of games (HyperSpin) but don't want the missing games to show in AM. It's also used by some using a full MAME romlist but don't have all the games.

36
Here's a write up on using a master list for all sorts of things http://forum.attractmode.org/index.php?topic=1165.msg8455#msg8455

Here's information on scripting a favorites system to your liking http://forum.attractmode.org/index.php?topic=2737.msg18894#msg18894

37
Scripting / Re: What are the triggers for plugins?
« on: January 22, 2019, 07:07:36 PM »
It's not a plugin but scripts exist for what you want to do. People usually just create a "Setup" or "Maintenance" display in AM and run things like this from there.

Here's an example
Code: [Select]
cd /home/pi/.attract/romlists
rm Favorites.tag

clear
echo
echo "This script will generate a new romlist called Favorites.txt."
echo
echo "The new romlist will contain all of your current tagged favorites from all different romlists."
echo
sleep 5

echo
echo "Renaming old Favorites.txt file ....."
sleep 5
mv Favorites.txt Favorites.txt.backup

echo
echo "Gathering file listing of tagged favorites ....."
sleep 5

echo
echo "Generating new Favorites.txt file ....."
sleep 5
echo

ls *.tag > tagfiles

while read filename
do
echo "Using ${filename} ....."
echo

  while read gamename
  do
    romlist=`echo ${filename} |cut -f1 -d '.'`
    echo "     Searching ${romlist}.txt for ${gamename} ....."
    cat "${romlist}.txt"|grep "^${gamename};" >> Favorites.txt
#    cat "${romlist}.txt"|egrep "^${gamename};" >> Favorites.txt
#    cat "${romlist}.txt"|grep "[;]${gamename}[;]" >> Favorites.txt
  done < "${filename}"

sleep 5
echo
done < tagfiles

rm tagfiles

cat Favorites.txt |sort -u > tmp_favorites.txt
mv tmp_favorites.txt Favorites.txt

echo "Finished creating new Favorites.txt ....."
echo
echo

echo "Using this new romlist, create a new Display and choose Favorites as the romlist for it."
echo   
echo "You may need to periodically update the Favorites romlist as you add new favorites."
echo
echo
sleep 10
echo

You can find this script as well as a favorites cleanup script and some others here https://github.com/hyperpie/AM_Config_Display/tree/master/attract/Attract%20Mode%20Setup

38
Please confirm if your issue is with the resolution inside of AttractMode or inside of the MAME emulator.

39
General / Re: Artworks aka flyers not displaying
« on: January 20, 2019, 11:15:49 PM »
You might want to test with different layouts before converting your flyers. Some layouts are made for 4:3 while other are made for 16:9. There are also parameters in the layout.nut files that can call for a true aspect ratio for an image vs. an altered aspect ratio to fit into a specific space.

Converting your images is an option and can be done in an automated batch job with a free program to make things easy if that's the option you take.

40
General / Re: Artworks aka flyers not displaying
« on: January 20, 2019, 10:20:00 PM »
Confirm that you your flyer artwork is in C:\attract-v2.5.1-win64\scraper\mame\flyer and the file names match your rom names.

41
I just remembered that the window.am file only gets created and used when running in certain AttractMode window modes. To try to get your CRT working you might want to try each window mode and see if one works for you.

Configure-->General-->Windows Mode = Fullscreen Mode, Fill Screen (default), Window (no boards), Window

42
General / Re: Artworks aka flyers not displaying
« on: January 20, 2019, 09:50:39 PM »
Thank you for the explanation. I found the file and am attaching it.

This file doesn't contain a "flyer" artwork field. You need to add this to your file. You can use the GUI, Configure-->Emulators-->mame-->Add Artwork-->Artwork Name=flyer and Artwork Path=C:\attract-v2.5.1-win64\scraper\mame\flyer (or whatever your path is).

You can also manually replace the contents of your mame.cfg with my suggestion below (verify the paths are correct). I tweaked a few things.

Your current file
Code: [Select]
# Generated by Attract-Mode v2.5.1
#
executable           C:\mame\mame64.exe
args                 [name]
workdir              C:\attract-v2.5.1-win64\.
rompath              C:\mame\roms/
romext               .zip;.7z
system               Arcade
info_source          listxml
artwork    marquee         $HOME/mame/marquee
artwork    snap            $HOME/mame/video;$HOME/mame/snap

My suggested new file
Code: [Select]
# Generated by Attract-Mode v2.5.1
#
executable           C:\mame\mame64.exe
args                 [name]
workdir              C:\mame
rompath              C:\mame\roms
romext               .zip;.7z
system               Arcade
info_source          listxml
artwork    flyer     C:\attract-v2.5.1-win64\scraper\mame\flyer
artwork    marquee   C:\attract-v2.5.1-win64\scraper\mame\marquee
artwork    snap      C:\attract-v2.5.1-win64\scraper\mame\snap

43
I'm not aware of any frequency settings in AttractMode. It should use whatever frequency the operating system is using.

44
General / Re: Artworks aka flyers not displaying
« on: January 20, 2019, 08:19:47 PM »
The file that represents the emulator/system your trying to use in \attractmode\emulators\<system_name>.cfg. Also post your \attractmode\attract.cfg file.

45
With AttractMode not running, rename \attractmode\window.am or edit it to contain the proper resolution.

Pages: 1 2 [3] 4 5 ... 56