Add RetroArch as a frontend (#239)#240
Conversation
|
Replying to this comment:
Here ya go.
I'm open to wherever you want the data. But, I felt like hardcoding it was wrong, especially since this CSV file was already serving a purpose of mapping platform names to other API IDs.
I was mostly basing this off of other prior art (see
Is this reading the RetroArch config files? No, mainly because I didn't see any sort of mechanism like that for the other frontends. Might be a good idea for media/ROM defaults. Though, I think it would deserve some sort of But, there are overrides with the usual I did have to run through a perl-pie script to change the ROM paths to
Sorry, yeah, my IDE removes trailing whitespace. Are you referencing the Markdown edits? I thought Markdown conversions compressed any whitespace (newlines or space) down to a single space. (Which is sad for me, because I'm one of the few double-space-per-sentence holdouts left...)
I'm just using
Yep, I did. Ran through the CONTRIBUTING doc. Hence the initial feature request.
Okay, let me take a look at that one. |
| // types | ||
| if (config.frontend == "retroarch") { | ||
| const QString oldSubPath = "/" % config.platform; | ||
| const QString newSubPath = "/" % frontend->getPlatformOutputName(); |
There was a problem hiding this comment.
Okay, yes, these are definitely *NIX path separators.
There was a problem hiding this comment.
Not sure if there's anything to fix. AFAIK, Qt's file classes will keep forward slashes, even for Windows, eg: /C:/Roms/snes/game.zip. If there's any cross-platform compatibility to fix, it's likely at a lower-level, where QList<GameEntry> &gameEntries gets built.
* Fix MARQUEE entry in retroarch.h * Add more negative tests to testSupportedMedia * Remove unnecessary path check in frontendExtra read
…r/skyscraper into SineSwiper--add-retroarch-frontend
- read retroarch_dbname from peas.json instead from platforms_idmap.csv - config.ini parameter fixed to accept -e from CLI as raExtra= - always write PNG for cover/boxart, screenshot and wheel/logo, by using a compositor artwork file - change "path" in target JSON from / to \\ for Windows - display of Textures in CLI summary output hidden for frontend RA - doc FRONTENDS,md updated - fixed unit tests - marked further FIXMEs in retroarch.cpp
|
@SineSwiper I had to change a few things, most important changes are the move from platforms_id to peas for the RA DB Name and the CLI |
|
This all looks good to me so far. I'll download it and try it out this weekend. |
- known limitiations extended (doc) - testcases updated - inputfolder for RA always absolute - moved some path logic from skyscraper.cpp to retroarch.cpp
|
Some more adjustments: Preserve values of existing playlist and require that the |
Here's the PR for issue 239.