Closed Dreded closed 2 years ago
given that the request was specifically for RetroBat I quickly modified the code as it obviously uses .pc folders too
also reverted my changes to folder re-naming as I forgot about the dosbox.cfg etc so I may just use that code to warn the user about multiple instances of a game under different names
and im done now.. feel free to merge
to be clear the warning is for multiple game folders of the same game.
Thank you for the MR, I'll have a look and test it as soon as I can (pretty exhausted)
One thing I didn't understand (had a very very quick look) is does it work post-conversion or during the conversion ?
Thank you for the MR, I'll have a look and test it as soon as I can (pretty exhausted)
One thing I didn't understand (had a very very quick look) is does it work post-conversion or during the conversion ?
during the conversion, if long names checkbox is checked then it uses those instead of shortnames for the gameDir
99
not sure what else this would work in, made sure it works as well as previous code base for existing things but for batocera it will allow long Folder names so they can be scraped easily
Tested extensively with Mario Teaches Typing and C&C Red Alert
Also made it so that it will rename an already existing folder if it exists so Genre/game.pc would be renamed to game.pc if you removed the genre checkbox
and finally it will update the path in Gamelist.xml rather than creating duplicates.