From a375ab514ce293f1476e366d0958f1985137b6e1 Mon Sep 17 00:00:00 2001 From: Deficuet <36525579+Deficuet@users.noreply.github.com> Date: Tue, 2 Jan 2024 23:52:00 +0800 Subject: [PATCH] Delete src/main/kotlin/io/github/deficuet/unitykt/main.kt --- .../kotlin/io/github/deficuet/unitykt/main.kt | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100644 src/main/kotlin/io/github/deficuet/unitykt/main.kt diff --git a/src/main/kotlin/io/github/deficuet/unitykt/main.kt b/src/main/kotlin/io/github/deficuet/unitykt/main.kt deleted file mode 100644 index cc0db919..00000000 --- a/src/main/kotlin/io/github/deficuet/unitykt/main.kt +++ /dev/null @@ -1,18 +0,0 @@ -package io.github.deficuet.unitykt - -import io.github.deficuet.unitykt.classes.Sprite -import java.io.File -import javax.imageio.ImageIO - -fun main() { - val tm = System.currentTimeMillis() - val m = UnityAssetManager.new() - val c = m.loadFile("C:\\Users\\Defic\\self\\Programs\\ALAssetsDownloader\\AssetBundles\\paintingface\\safuke") -// val d = m.loadFile("C:\\Users\\Defic\\self\\Programs\\ALAssetsDownloader\\AssetBundles\\paintingface\\safuke_xinshou") - val root = "C:\\Users\\Defic\\self\\Programs\\srcode\\py\\AzurLaneScriptsDecode\\temp" - val i = c.objectMap.getAs(-3269655441389158635).getImage() - assert(i != null) - println(System.currentTimeMillis() - tm) - ImageIO.write(i, "png", File("$root/safuke8.png")) -} -