Attract-Mode Support Forum
Attract-Mode Support => Scripting => Topic started by: InsecureSpike on April 13, 2017, 11:42:34 AM
-
im trying to figure out how to add overview text from the romlist .cfg files, NOT the History.dat.
so i can display the game info for the console systems that have been scraped
-
Im looking forward this too, sorry to dont have an answer right now, if i can find how to make it work, be sure i will post it or sure any other more advanced user will do.
-
thank you
-
;)
http://forum.attractmode.org/index.php?topic=1349.0
progets: Game info scraping was added to AM in November but it doesn't use the "Extras" field of the romlist. It creates a folder for the emulator name and places gamename.txt file in there to match the game names. You can see it here https://github.com/mickelson/attract/commit/540ffb6ad022bb59a519a8f01b9926fb4900b941.
You need to manually enable it in the attract.cfg when AM is NOT running.
Code: [Select]
scrape_overview yes
Then start AM and build the romlist to get the files.
-
Thanks qqplayer, it worked perfectly
-
Sorry but I could not make it work. Where do I put the folder and the txt files for the games? What is the name of the folder? Is the system name? Could you please give an example? Thanks a lot.
-
I did it for the games, but is this overview text available for the main menu systems? If so, how do I configure it? thanks
-
I did it for the games, but is this overview text available for the main menu systems? If so, how do I configure it? thanks
There is not direct way to do this for the main menu system, the only way is to hack in some way the history plug-in, i mean, copy and paste the functio where you get the bios of the history.dat, make your own history.dat and try it out (I haven't done it so I would not know if it would work)
Another way is do it with images, i think is the most easy way.
-
i use the image method ...just make the transparent png in photoshop, put it in a folder and name it
after the system title,,,, ie: snes.png
simple way
local pic = fe.add_image("pic/[Title]", flx*0.300, fly*0.800, flw*0.400, flh*0.250 );
animate fade in
local pic = fe.add_image("pic/[Title]", flx*0.300, fly*0.800, flw*0.400, flh*0.250 );
local pic_cfg = {
when =Transition.ToNewSelection ,
property = "alpha",
start = 0,
end = 255,
time = 2000,
}
animation.add( PropertyAnimation( pic, pic_cfg ) );
(http://i63.tinypic.com/jtths4.png)