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()
def loadPath(self): path = self.registryLocation() if path and os.path.exists(path): skpaths.append_path(path) self.pathLoaded = True
def setLocation(self, path): if path != self.location(): settings.global_().setAtlasLocation(path) if path: skpaths.append_path(path)
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"))
def setLocation(self, path): if path != self.location(): settings.global_().setLecLocation(path) if path: skpaths.append_path(os.path.join(path, r"Nova\JaEn"))
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
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