Attract-Mode Support Forum

Attract-Mode Support => Scripting => Topic started by: InsecureSpike on April 13, 2017, 11:42:34 AM

Title: overview text (not History.dat)
Post 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
Title: Re: overview text (not History.dat)
Post by: bjose2345 on April 15, 2017, 09:00:14 AM
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.
Title: Re: overview text (not History.dat)
Post by: InsecureSpike on April 16, 2017, 10:23:18 AM
thank you
Title: Re: overview text (not History.dat)
Post by: qqplayer on April 17, 2017, 06:49:54 AM
 ;)

http://forum.attractmode.org/index.php?topic=1349.0


Quote
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.
Title: Re: overview text (not History.dat)
Post by: bjose2345 on April 21, 2017, 10:47:48 AM
Thanks qqplayer, it worked perfectly
Title: Re: overview text (not History.dat)
Post by: howlerbr on July 24, 2017, 10:47:02 AM
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.
Title: Re: overview text (not History.dat)
Post by: howlerbr on July 24, 2017, 11:49:01 AM
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
Title: Re: overview text (not History.dat)
Post by: bjose2345 on July 25, 2017, 11:33:57 AM
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.
Title: Re: overview text (not History.dat)
Post by: jedione on July 25, 2017, 01:57:22 PM
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)