This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import os | |
| import json | |
| import UnityPy | |
| import math | |
| assetslist = [] | |
| def get_texture_data(texture): | |
| texture_data = texture.read() | |
| return f'{texture_data.name}.png' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const name = ' '; //your name | |
| const code = '' //quiz code | |
| const quiz = await fetch(`https://njqhde5b.user.webaccel.jp/api/quiz.php?code=${code}`).then((res) => res.json()); | |
| const N = new URLSearchParams; | |
| N.append("code", code); | |
| N.append("name", name); | |
| quiz['values'].forEach((R,Q)=>{ | |
| N.append(`q${Q + 1}`, R); | |
| }) | |
| const response = await fetch('https://friendquiz.me/api/answer.php', { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import * as JSZip from 'jszip'; | |
| import { LoaderParserPriority, LoaderParser, checkExtension, Assets} from '@pixi/assets'; | |
| import { extensions, ExtensionType, settings } from '@pixi/core'; | |
| const validloadParser : Record<string, string> = { | |
| 'Image' : 'loadTextures', | |
| 'Video' : 'loadVideo', | |
| 'Font' : 'loadFont', | |
| 'Text' : 'loadTxt', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (function (spine) { | |
| let BlendMode = ["normal", "additive", "multiply", "screen"]; | |
| let AttachmentType = ["region", "boundingbox", "mesh", "linkedmesh", "path", "point", "clipping"]; | |
| let TransformMode = ["normal", "onlyTranslation", "noRotationOrReflection", "noScale", "noScaleOrReflection"]; | |
| let PositionMode = ["fixed", "percent"]; | |
| let SpacingMode = ["length", "fixed", "percent"]; | |
| let RotateMode = ["tangent", "chain", "chainScale"]; | |
| spine.SkeletonJsonConverter = (function () { | |
| function SkeletonJsonConverter(data, scale = 1) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class WebAudioManager{ | |
| constructor (){ | |
| this._lastrms = 0 | |
| this._audio = new Audio() | |
| this._audioMap = new Map() | |
| this._index = 0; | |
| } | |
| setupAnalyzer = () => { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System; | |
| using System.Collections.Generic; | |
| using System.Drawing.Imaging; | |
| using System.IO; | |
| using System.Linq; | |
| using AssetStudio; | |
| using Newtonsoft.Json; | |
| using Newtonsoft.Json.Linq; | |
| namespace UnityLive2DExtractor |