Skip to content

Instantly share code, notes, and snippets.

View dantarion's full-sized avatar

Eric "dantarion" Sheppard dantarion

View GitHub Profile
@dantarion
dantarion / BlazblueDecryptDecompress.py
Created July 30, 2016 15:29
BlazblueDecryptDecompress
import os, struct,zlib
import subprocess
TARGET_FOLDER = "M:\\SteamLibrary\\SteamApps\\common\\BlazBlue Chronophantasma Extend\\data\\char_e\\"
for root,dirs,files in os.walk(TARGET_FOLDER):
for filename in files:
print os.path.join(root,filename)
subprocess.call(["ggxrd_decrypter.exe",os.path.join(root,filename)],shell=True)
if os.path.isfile("out/"+filename):
os.remove("out/"+filename)
os.rename(os.path.join(root,filename)+".decrypted","out/"+filename)
//Name me btl_Define_LocalDebug.txt and put me in the script folder
//@dantarion
const Def_Dbg_LocalDebugMode = 1;
const Def_Dbg_DebugMessage = 1;
const Def_Dbg_LocalAnnounce = 1;
const Def_DbgMes_PlaySE = 1;
const Def_Dbg_KeyLog1P = 1;
const Def_Dbg_KeyLog2P = 1;
const Def_Dbg_DebugButtonMode = 1;
const Def_Dbg_DebugGauge = 1;
def func_00():'''0x0,0x0,0x0,0x0'''
stack.append(0x0)
setVariable_1C(0x1, 0x0, 0x0)
stack.append(0x0)
setVariable_1C(0x1, 0x0, 0x1)
stack.append(0x0)
setVariable_1C(0x1, 0x0, 0x2)
Update Player1
Update Player2
Update Player1
Update Player2
Update Player1
Update Player2
Update Player2
Update Player1
Update Player2
Update Player1
Python 2.7.10 (default, May 23 2015, 09:40:32) [MSC v.1500 32 bit (Intel)] on win32
Type "copyright", "credits" or "license()" for more information.
>>> ================================ RESTART ================================
>>>
360 360
v0 -> v32: Pitb[Fair Landing Lag] : 21.0 => 18.0
360 360
360 353
v48 -> v80: Shulk[88] : 0x5 => 0x8
v48 -> v80: DLC1[1] : 0.0500000007451 => 0.300000011921
@dantarion
dantarion / BVSParser
Created December 22, 2014 17:54
Parser for Street Fighter BVS files circa 2011
import os, struct
def readStringAt(loc):
f.seek(loc)
s = ""
c = f.read(1)
while ord(c) != 0:
s = s+c
c = f.read(1)
return s