Skip to content

Instantly share code, notes, and snippets.

@marcusbirkeland
marcusbirkeland / ubulkFixer.py
Last active September 10, 2021 11:13
[Umodel/NMH3 ] WIP NMH3 texture fixer script. credit: CABALEX
import os
from shutil import move
def findBlocksize(filesize):
print("Filesize for loaded file: " , filesize)
d = {
# texture w/h -> blocksize
# 0 = UNKNOWN