You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ifverbose: logging.info("Found %s in '%s'", filename, jarpath)
334
+
self.jars[jarpath] =jar
335
+
returnjar.open(filename)
336
+
except (KeyError, IOError) ase:
337
+
pass
338
+
except (zipfile.BadZipFile) ase:
339
+
logging.warning("Your jar {0} is corrupted, I'll be skipping it, but you "
340
+
"should probably look into that.".format(jarpath))
341
+
342
+
ifverbose: logging.info("Did not find file {0} in jar {1}".format(filename, jarpath))
343
+
344
+
345
+
raiseTextureException("Could not find the textures while searching for '{0}'. Try specifying the 'texturepath' option in your config file.\nSet it to the path to a Minecraft Resource pack.\nAlternately, install the Minecraft client (which includes textures)\nAlso see <http://docs.overviewer.org/en/latest/running/#installing-the-textures>\n(Remember, this version of Overviewer requires a 1.19-compatible resource pack)\n(Also note that I won't automatically use snapshots; you'll have to use the texturepath option to use a snapshot jar)".format(filename))
ifverbose: logging.info("Found %s in '%s'", filename, jarpath)
323
-
self.jars[jarpath] =jar
324
-
returnjar.open(filename)
325
-
except (KeyError, IOError) ase:
326
-
pass
327
-
except (zipfile.BadZipFile) ase:
328
-
logging.warning("Your jar {0} is corrupted, I'll be skipping it, but you "
329
-
"should probably look into that.".format(jarpath))
330
-
331
-
ifverbose: logging.info("Did not find file {0} in jar {1}".format(filename, jarpath))
332
-
333
-
334
-
raiseTextureException("Could not find the textures while searching for '{0}'. Try specifying the 'texturepath' option in your config file.\nSet it to the path to a Minecraft Resource pack.\nAlternately, install the Minecraft client (which includes textures)\nAlso see <http://docs.overviewer.org/en/latest/running/#installing-the-textures>\n(Remember, this version of Overviewer requires a 1.19-compatible resource pack)\n(Also note that I won't automatically use snapshots; you'll have to use the texturepath option to use a snapshot jar)".format(filename))
393
+
returnavailable_versions
335
394
336
395
defload_image_texture(self, filename):
337
396
# Textures may be animated or in a different resolution than 16x16.
0 commit comments