Exemplo n.º 1
0
def register_games() -> None:
    global config

    if config.get('support', {}).get(GameConstants.POPN_MUSIC, False):
        PopnMusicFactory.register_all()
    if config.get('support', {}).get(GameConstants.JUBEAT, False):
        JubeatFactory.register_all()
    if config.get('support', {}).get(GameConstants.IIDX, False):
        IIDXFactory.register_all()
    if config.get('support', {}).get(GameConstants.BISHI_BASHI, False):
        BishiBashiFactory.register_all()
    if config.get('support', {}).get(GameConstants.DDR, False):
        DDRFactory.register_all()
    if config.get('support', {}).get(GameConstants.SDVX, False):
        SoundVoltexFactory.register_all()
    if config.get('support', {}).get(GameConstants.REFLEC_BEAT, False):
        ReflecBeatFactory.register_all()
    if config.get('support', {}).get(GameConstants.MUSECA, False):
        MusecaFactory.register_all()
Exemplo n.º 2
0
 def all_games(self) -> Iterator[Tuple[str, int, str]]:
     yield from PopnMusicFactory.all_games()
     yield (GameConstants.POPN_MUSIC, 0, 'CS and Licenses'
            )  # Folder that doesn't belong to any specific game
Exemplo n.º 3
0
 def all_games(self) -> Iterator[Tuple[str, int, str]]:
     yield from PopnMusicFactory.all_games()