Voljega / ExoDOSConverter

a custom game converter from the ExoDOS collection to emulation station based distribution format
163 stars 12 forks source link

Added ability for long Folder names in batocera/retrobat #101

Closed Dreded closed 2 years ago

Dreded commented 2 years ago

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.

Dreded commented 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

Dreded commented 2 years ago

and im done now.. feel free to merge

Dreded commented 2 years ago

to be clear the warning is for multiple game folders of the same game.

Voljega commented 2 years ago

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 ?

Dreded commented 2 years ago

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