2020-07-19, 21:08
Hi malte,
I'm using RCB for years, and I made a kind of standalone release for personal use based on version 2.1.3 (12/2016). Everything is working fine, removed some functions that no longer worked, tweaked a few other things and well, is working, my programing knowledge is near zero .
In that process I made several scripts to start some systems (computer systems), and send orders to the emulator depending on the extracted file sent by RCB.
This week I started doing the same, with the last stable version of Kodi and RCB (wich is great, thanks) and everything is working fine except for a few systems and I discovered my problem. My collections have the roms merged and old versions of RCB extracted only the chosed rom while the newest versions extract all the roms in the zip file and send the command to the emulator. That way some of my scrips don't work because they expect only 1 game in the tmp folder and that way it sends always the fist one to emulator.
There's a way to set RCB to extract only the desired file to the tmp folder instead all of them ?
Thanks
Well, after a lot of digging in the code I found how to change that:
Change RCB zip file extraction from all to selected:
in
launcher.py
change
archives = self.__getArchives(filext, rom, names)
to
archives = self.__getArchives(filext, rom, [names[chosenROM]])
Thanks
I'm using RCB for years, and I made a kind of standalone release for personal use based on version 2.1.3 (12/2016). Everything is working fine, removed some functions that no longer worked, tweaked a few other things and well, is working, my programing knowledge is near zero .
In that process I made several scripts to start some systems (computer systems), and send orders to the emulator depending on the extracted file sent by RCB.
This week I started doing the same, with the last stable version of Kodi and RCB (wich is great, thanks) and everything is working fine except for a few systems and I discovered my problem. My collections have the roms merged and old versions of RCB extracted only the chosed rom while the newest versions extract all the roms in the zip file and send the command to the emulator. That way some of my scrips don't work because they expect only 1 game in the tmp folder and that way it sends always the fist one to emulator.
There's a way to set RCB to extract only the desired file to the tmp folder instead all of them ?
Thanks
Well, after a lot of digging in the code I found how to change that:
Change RCB zip file extraction from all to selected:
in
launcher.py
change
archives = self.__getArchives(filext, rom, names)
to
archives = self.__getArchives(filext, rom, [names[chosenROM]])
Thanks