Do the songs come out randomly or only the one you put in the layout comes out? Is there a way to put several and play them randomly or in order? Cada vez me gusta mas
The songs are random. The only you need is to put sound files(mp3,mp4,ogg, etc...) in the music folder inside the theme folder , then the plugin scan the directory, stores in a array every sound file and then reproduces it with a random generated order. Its just the AudioMode Plugin.
question how is it your able to show how many games are in each system?
didn't think this was possible yet,,
Yes its possible thanks to the file() module:
The theme launch a code that reads every single romlist.txt from your romlist folder, count the lines and then storing the number of lines in a array (each line/game is a entry of the array), OFC the system ignores the lines that start with #.
Then the code writes a lane in the system.txt romlist, in the ;tag; of rating. With a foreach loop, the theme gets how many lines are in each system (how many strings in each array), then put a +1 for each line scanned, and finally writes the number of lines (equal to games) in the system.txt ;rating; tag (ignoring too the lines that start with #).
When this is done, the number of games becomes a tag that can be called with the magic token [Rating] or a function to get the game_info(Info.Rating).