Ejemplo n.º 1
0
 def setPath(self, path):
     if path and os.path.exists(path):
         from sakurakit import skpaths
         #skpaths.prepend_path(path)
         skpaths.append_path(path)
         if not self.engine.isValid():
             self.engine.load()
Ejemplo n.º 2
0
 def loadPath(self):
     path = self.registryLocation()
     if path and os.path.exists(path):
         skpaths.append_path(path)
     self.pathLoaded = True
Ejemplo n.º 3
0
 def setLocation(self, path):
     if path != self.location():
         settings.global_().setAtlasLocation(path)
         if path:
             skpaths.append_path(path)
Ejemplo n.º 4
0
 def setLocation(self, path):
     if path != self.location():
         settings.global_().setDreyeLocation(path)
         if path:
             skpaths.append_path(os.path.join(path, r"DreyeMT\SDK\bin"))
Ejemplo n.º 5
0
 def setLocation(self, path):
     if path != self.location():
         settings.global_().setLecLocation(path)
         if path:
             skpaths.append_path(os.path.join(path, r"Nova\JaEn"))
Ejemplo n.º 6
0
 def loadPath(self):
     path = self.registryLocation()
     if path and os.path.exists(path):
         path = os.path.join(path, r"DreyeMT\SDK\bin")
         skpaths.append_path(path)
     self.pathLoaded = True
Ejemplo n.º 7
0
        else:
            return

        if ss_version <= 1413611470:
            if ss.value('FuriganaType') == 'kanji':
                ss.remove('FuriganaType')
        else:
            return

        if ss_version <= 1413181339:
            path = ss.zunkoLocation()
            if path and os.path.exists(path):
                path = os.path.dirname(path)
                ss.setValue('ZunkoLocation', path)
                from sakurakit import skpaths
                skpaths.append_path(path)
        else:
            return

        if ss_version <= 1412817938:
            self.setValue('TermMarked', True)  # enable underline by default
        else:
            return

        if ss_version <= 1412718122:
            ss.setValue('SubtitleVoice', False)  # disable subtitle by default
            ss.setValue('SpeakGameText', True)  # enable auto TTS by default
            ss.setValue('VoiceCharacter',
                        True)  # enable voice character by default
        else:
            return