Skip to content

Instantly share code, notes, and snippets.

View nobbyfix's full-sized avatar
🚢
do you like ships

nobbyfix

🚢
do you like ships
  • nobbyfix#2338
View GitHub Profile
import re
from PIL import Image
from pathlib import Path
from typing import Iterable, Optional
from argparse import ArgumentParser
import tkinter as tk
from tkinter import filedialog
import UnityPy
import unitypack
from PIL import Image
def getFaceTransform(assetbundle_path):
with open(assetbundle_path, 'rb') as ab:
bundle = unitypack.load(ab)
for asset in bundle.assets:
for obj in asset.objects.values():
if obj.type != 'GameObject': continue
objdata = obj.read()