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
| # project sekai资源头文件反混淆。直接扔到资源文件根目录运行。 | |
| import os | |
| def deobfus_asset(input, output): | |
| with open(input, 'rb') as f: | |
| if f.read(4) == b'\x10\x00\x00\x00': | |
| with open(output, 'wb') as out: | |
| for i in range(128): | |
| d = f.read(1) |