Jump to content

All my products and services are free. All my costs are met by donations I receive from my users. If you enjoy using any of my products, please donate to support me. My bare hosting costs are currently not met so please consider donating by either clicking this text or the Patreon link on the right.

Patreon

Recommended Posts

Posted

I'm not sure this would be classified as a bug, but it maybe it is.  I just changed my attract mode to use theme videos instead of launching the games.  However, it doesn't seem to work quite as expected.  In the configuration wizard I say that only want this for Favorite games, but it still plays all videos in the folder rather than limiting it to just those associated with games in my favorites list.   Is this as intended or should it be filtering the videos just as it does when it runs the games?

Posted

Thanks Tom.  It's not a big deal as I can work-around by creating a separate folder that contains just the videos I'd like to play back, but it would be a nice-to-have feature as I suspect this is the behavior most would expect for the Only Favorites option.

Posted

Here's the AHK script for my work-around in case anyone else might find it useful.  Just change the folders to match your own.

;This script will copy videos of favorite list games from a source
;folder to a destination folder

GAME_LIST := "C:\GameEx\DATA\gamelist.txt"
VIDEO_SOURCE := "D:\Assets\MAME\VideoThemes\All"
VIDEO_DESTINATION := "D:\Assets\MAME\VideoThemes\Favorites"
FILE_EXTENSION := "MP4"

FileDelete, %VIDEO_DESTINATION%\*.*

Loop, read, %GAME_LIST%
{
    sFields := StrSplit( A_LoopReadLine, "|")
    bFavorite := sFields[16]
    
    if (bFavorite = "True")
    {
      sFavorite := sFields[1]
      FileCopy, %VIDEO_SOURCE%\%sFavorite%.%FILE_EXTENSION%, %VIDEO_DESTINATION%
    }
}

 

  • Like 1
Guest
This topic is now closed to further replies.
×
×
  • Create New...