LOGGER.info('Loading Packages...') pack_data, package_sys = packageLoader.load_packages( GEN_OPTS['Directories']['package'], loader=loadScreen.main_loader, log_item_fallbacks=GEN_OPTS.get_bool('Debug', 'log_item_fallbacks'), log_missing_styles=GEN_OPTS.get_bool('Debug', 'log_missing_styles'), log_missing_ent_count=GEN_OPTS.get_bool('Debug', 'log_missing_ent_count'), log_incorrect_packfile=GEN_OPTS.get_bool('Debug', 'log_incorrect_packfile'), has_tag_music=gameMan.MUSIC_TAG_LOC is not None, has_mel_music=gameMan.MUSIC_MEL_VPK is not None, ) # Load filesystems into various modules music_conf.load_filesystems(package_sys) img.load_filesystems(package_sys) gameMan.load_filesystems(package_sys) UI.load_packages(pack_data) LOGGER.info('Done!') LOGGER.info('Loading Palettes...') paletteLoader.load_palettes() LOGGER.info('Done!') # Check games for Portal 2's basemodui.txt file, so we can translate items. LOGGER.info('Loading Item Translations...') for game in gameMan.all_games: game.init_trans()
GEN_OPTS['Directories']['package'], loader=loadScreen.main_loader, log_item_fallbacks=GEN_OPTS.get_bool( 'Debug', 'log_item_fallbacks'), log_missing_styles=GEN_OPTS.get_bool( 'Debug', 'log_missing_styles'), log_missing_ent_count=GEN_OPTS.get_bool( 'Debug', 'log_missing_ent_count'), log_incorrect_packfile=GEN_OPTS.get_bool( 'Debug', 'log_incorrect_packfile'), has_tag_music=gameMan.MUSIC_TAG_LOC is not None, has_mel_music=gameMan.MUSIC_MEL_VPK is not None, ) # Load filesystems into various modules music_conf.load_filesystems(package_sys) img.load_filesystems(package_sys) gameMan.load_filesystems(package_sys) UI.load_packages(pack_data) LOGGER.info('Done!') LOGGER.info('Loading Palettes...') paletteLoader.load_palettes() LOGGER.info('Done!') # Check games for Portal 2's basemodui.txt file, so we can translate items. LOGGER.info('Loading Item Translations...') for game in gameMan.all_games: game.init_trans()