Created
April 6, 2018 16:54
-
-
Save tristansokol/f2efad427e5cb8a1d3f897fd1d369e76 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def main(): | |
potential_roms = [] | |
for path in sys.argv[1:]: | |
for base, _, files in os.walk(sys.argv[1]): | |
potential_roms.extend([os.path.join(base, file) for file in files]) | |
print('Importing %i potential games...' % len(potential_roms)) | |
retro.data.merge(*potential_roms, quiet=False) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment