I love this , but how did you "scrape" esrb and region info?
I mean , my names include (USA), (Europe) ... but region flag isn´t showing.
And Esrb , I really don´t know where to include this tag.
UPDATE:
I found an issue in the code "magic-images.nut"
local tags = fe.game_info(Info.Tags, offset).tolower()
Changed to
local tags = fe.game_info(Info.Name, offset).tolower()
//return file_name for region
function region( offset ) {
local supported = [ "usa", "japan", "brazil", "asia", "spain", "europe", "world", "unknown" ]
local tags = fe.game_info(Info.Name, offset).tolower()
local index = supported.find("unknown")
foreach( item in supported )
if ( tags.find(item) != null ) index = supported.find(item)
return magic_image_settings.region.path + supported[index] + magic_image_settings.region.ext
}
So last thing I need is how to add Esrb ratings , where can I find this info to scrappe , thanks.