2015-05-12, 02:36
First of all i have to say that RCB is great - thank you!
Still, i had to modify something in the code to import a more complex game collection.
Since the ROMs (in fact batch files that are called to start the games) are stored in seperate subfolders (one for each game), the walkDown() function in the dpupdate.py has to go down and up again through all folders below the main folder, like so:
etc..
I thought a maxFolderDepth of 2 would be sufficient, but it wasn't, since the implementation in walkdown() is apparently wrong. To achive correct recursion, maxFolderDepth must not be changed, but only passed with a new value to the next call of walkDown().
I opened Issue 218 in the issue tracker, with a working and tested solution given in the text.
Hope this is the right way to report!
Edit: ..corrected the formatting above..
Still, i had to modify something in the code to import a more complex game collection.
Since the ROMs (in fact batch files that are called to start the games) are stored in seperate subfolders (one for each game), the walkDown() function in the dpupdate.py has to go down and up again through all folders below the main folder, like so:
Code:
<main>
<game1>
<dir>
<dirs>
"batch1" <-- found it
<game2>
<dir>
<dirs>
"batch2" <-- found it
I thought a maxFolderDepth of 2 would be sufficient, but it wasn't, since the implementation in walkdown() is apparently wrong. To achive correct recursion, maxFolderDepth must not be changed, but only passed with a new value to the next call of walkDown().
I opened Issue 218 in the issue tracker, with a working and tested solution given in the text.
Hope this is the right way to report!
Edit: ..corrected the formatting above..