This file contains 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 json | |
import UnityPy | |
import os | |
import csv | |
from concurrent.futures import ThreadPoolExecutor, as_completed | |
from natsort import natsorted | |
import sys | |
import shutil | |
import queue | |
import threading |
This file contains 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 json | |
import csv | |
import os | |
# 사용법: | |
# 1. 현재 .py 파일 실행 후 종료 | |
# 2. 에러 메세지에 보이는 대로, 생성된 1_original_file 폴더 안에 대사 json 파일들 넣기 (UABEA를 통해 json으로 export 한 파일들) | |
# 3. .py 파일 재실행 | |
# 4. 이후 65, 66번 행의 주석처리에 따라 export/import모드 변경 가능 | |
# 5. import 작업 시에도 에러 메세지를 따라가면 됨. |
This file contains 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 cv2 | |
import mss | |
import numpy as np | |
import keyboard | |
import time | |
with mss.mss() as sct: | |
area1 = {"left": 100, "top": 1000, "width": 150, "height": 150, "mon": 1} | |
area2 = {"left": 200, "top": 1000, "width": 150, "height": 150, "mon": 1} | |
area3 = {"left": 300, "top": 1000, "width": 150, "height": 150, "mon": 1} |
This file contains 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 json | |
# 정수인지 판별 | |
def isint(number): | |
try: | |
ret = int(number) | |
return True | |
except ValueError: | |
return False |
This file contains 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 itertools | |
file = "testfile.bundle" | |
xor_key = b"\x43\x73\x6d\x36\x68\x50\x23\x50\x39\x76\x6d\x61" | |
endpoint = 0x400 | |
with open(file, "rb") as f: | |
data = f.read() | |
result = bytes( | |
itertools.starmap( |
This file contains 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 csv | |
def export_csv(poname, csvname): | |
with open(poname, "r", encoding="utf-8") as f: | |
po_data = f.read().split("\n\n") | |
del po_data[0] | |
with open(csvname, "w", encoding="utf-8-sig", newline="") as f: | |
writer = csv.writer(f) |