Universal-XML-Scraper icon indicating copy to clipboard operation
Universal-XML-Scraper copied to clipboard

Scraping DosBox

Open paradadf opened this issue 8 years ago • 3 comments

Hi! Someone asked me about scraping games for dosbox and that got me thinking about the best way to do it...

After reading how the games are launched here: https://github.com/recalbox/recalbox-buildroot/blob/master/board/recalbox/fsoverlay/recalbox/share_init/roms/dos/_readme.txt

I want to suggest a new feature. MS Dos gemes usually have one main executable to launch the game. Whe using DosBox, you create a dosbox.bat wirh the name of that executable inside, but hashing those batch files wouldn't make sense if someone doesn't use DosBox. Instead, I suggest adding to the database the main executables (the most intuitive thing) and UXS will be working just fine the way it is right now without modifications. But, in case of DosBox, the games aren't launched neither from the main exe nor the dosbox.bat (for what I understand!). They use the modified folder name instead, as you must add sort of a .pc "extension" to it. It isn't really an extension but just the ending of the folder name. And that folder is what you want to get scraped! So the idea is to, in case UXS identifies a folder name ending with .pc, it scrapes its content (or you limited it to just scraping exe files), and as soon as a match is found, you add the metadata for the folder and not the file itself.

I hope I could expose my idea clearly XD.

paradadf avatar Mar 08 '17 08:03 paradadf

I need to see if I can use a special function to scrape folder name instead of file name... (so it will solve the Scummvm problem too)

Universal-Rom-Tools avatar Mar 09 '17 22:03 Universal-Rom-Tools

Sorry, it's not in the V2.2.0.0 ;) (not the time for this stuff) but I don't forget it ;)

Universal-Rom-Tools avatar Mar 12 '17 22:03 Universal-Rom-Tools

Don't worry about me... I haven't scraped anything for me in months! Just wanted to open this to not forget about it. Haven't had time to check the new version but what I read sounds very good! Thanks for all the work!

paradadf avatar Mar 13 '17 12:03 paradadf