Skip to content

Instantly share code, notes, and snippets.

@opparco
opparco / mvunpack.py
Last active April 2, 2017 13:08 — forked from requiredinformation/mvunpack.py
Quick and dirty RPGMaker MV asset decryptor (decrypts www/img/*.rpgmvp and www/audio/*.rpgmvo)
#!/usr/bin/env python3
import glob
import json
import sys
import shutil
import os
#this might change, not sure, but probably not since 16 is a great number
HEADER_LENGTH = 16
@opparco
opparco / cgi_exe.py
Created January 28, 2017 20:32
PaintsChainer server on CPU
#!/usr/bin/env python
"""
from https://github.com/taizan/PaintsChainer/blob/master/cgi-bin/paint_x2_unet/cgi_exe.py
This code allows you to colorize on CPU (without CUDA).
$ python server.py