A A A
Please consider registering
guest
sp_LogInOut Log In
Register | Lost password?
Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters – maximum search word length is 84 characters
sp_Feed Topic RSS 02-ghost-red
Scripts – Autoscrape, collection manage, AttractMode+RocketLauncher autoconfig
May 5, 2022
10:39 am
Guijar
Member
Members
Forum Posts: 1
Member Since:
December 16, 2019
sp_UserOfflineSmall Offline

Hello mates!!

I’ve been working in these powershell scripts for a while to create custom collections based on region. Basically my objetive was to create a collection for every system with one game of each, selected by region priority.

For example, if you process a full NES romset it creates an XML with one rom for each game taking allways the first region preference defined. It also retrieves all media information for later download and other information used for the frontend.

There are two scripts:

”singlescrape.ps1″

– For this script to run you will need a developer account in https://www.screenscraper.fr/ (free!)
– Scans all romset and takes only one rom for each game, based on region preferences.
– It takes one game of each even if there is a game only published in not listed regions.
– Downloads an XML for each rom with its data from https://www.screenscraper.fr/. These files are used for the process to check the rom and get its info.
– The script skips BIOS, HACKS, DEMOS and other unwanted roms based on filename and retrieved data from https://www.screenscraper.fr/
– Retrieves all media links and game data for each game and sotores it in an XML file containing only desired games.

 

”parse_xml.ps1″

– This script reads the collection XML files generated by previous script.
– Compress with 7z the romfiles
– Copy the files to defined rom folders, creating a subfolder if the game is multirom.
– If the game is multirom it generates a m3u file with all roms and stores it in the rom destination folder.
– Download all founded medias for each game and stores it in the defined folders. Currently it downloads wheels, videos, fanarts, bezels, box 3d and support 2d.
– Creates AttractMode emulator cfg file for the current system.
– Creates the romlist file for AttractMode.
– Adds screen entry to attract.cfg.
– Creates RocketLauncher ini file for current system.

 

You can get both of them from my git repo:

https://github.com/Guijar/ss_autoscrape

I’m sure the scripts can be improved and have a lot of bugs and fixes to make, but the tests I have made have been working almost OK.

Feel free to upgrade them with your custom needs!

Hope this helps to anyone.

Forum Timezone: Europe/London
Most Users Ever Online: 3117
Currently Online: mkfink, josenildo torres_1
Guest(s) 17
Currently Browsing this Page:
1 Guest(s)
Top Posters:
canter6: 134
Jaz808: 121
davep180: 74
SteelCityJJ: 74
kme2019: 61
Misa Misa: 58
-x-: 53
MyRetrozz: 51
sergiohyperspin: 45
hipp0: 40
Member Stats:
Guest Posters: 122
Members: 125979
Moderators: 31
Admins: 2
Forum Stats:
Groups: 7
Forums: 35
Topics: 3514
Posts: 10858
Newest Members:
Darrell Ward, silverfox88vr, Alberto, jason bennett_1, Jay Gittens_1, greg redding, Jay Gittens, shane stephens, Mario Lopez_2, maloc63250 old
Moderators: aladdin: 0, Arcade Man: 0, Arcade Punk: 0, CP78: 0, ETA PRIME: 0, Ghost Lost: 0, Harrison Hacks: 0, T.K.O. Cinematics: 0, kiodiekin1: 0, level1online: 0, hursty1: 0, Neighbourhood Techie: 0, Maria: 0, PatmanQC: 0, Restalgia: 0, RetroHumanoid: 0, Simply Austin: 0, titipilas: 0, Titi Ober: 179, Enkak: 28, leepspvideo: 0, _RetroTech100: 0, Guest Post: 0, Mark Blackwood: 0, Frankie Wilde: 0, Jeremy Reynolds: 0, Leslie Alexander: 0, Jason Copley: 0, Eleonora: 0, Joshua Robinson: 0, James Collins: 0
Administrators: Ninja UK: 2227, peter laws: 0

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. Accept Read More