I'm trying to pass parameters from a ROMList to an emulator I'm working on.
So far I've only been able to get [romfilename], [name] and [title].
I know these are all accessible from a layout file as "magictokens", but that doesn't help me here unfortunately, at least in any way that I can see.
So for example I have a line in my romlist:
Test1;Test2;video_chooser;Test3;Test4;Test5;Test6;Test7;Test8;Test9;Test10;Test11;Test12;Test13;Test14;Test15;
In my emulator config file (in this case "video_chooser.cfg") I have this line for args:
args "[romfilename],[romext],[name],[Manufacturer],[Year],[year][CloneOf],[cloneof]"
But only romfilename, romext and name are successfully sent. I haven't figured out a way to pass any of the other fields.
The reason I'm trying to do this, is I'm working on an emulator that plays videos, and would like to be able to send some other info from the ROM file, such as whether that video or playlist should loop, how many random videos to choose from a folder, etc. I can of course store that info in a secondary data file, but that's messy and I'd prefer to use the romlist.