Skip to content

Instantly share code, notes, and snippets.

@judge2020
Last active January 6, 2019 11:16
Show Gist options
  • Select an option

  • Save judge2020/117532eb7084708aa56919324133fd93 to your computer and use it in GitHub Desktop.

Select an option

Save judge2020/117532eb7084708aa56919324133fd93 to your computer and use it in GitHub Desktop.
Decryption script for Hearthstone's Assembly-CSharp.dll file
@echo off
REM
REM This reads python3path.txt into an env var
REM
set /P python3path=<python3path.txt
REM
REM detect if it's already cloned, if not then clone
REM
IF NOT EXIST %UserProfile%\extract-scripts\decompiler\decrypt.py (
echo cloning extract-scripts into %UserProfile%\extract-scripts
git clone --recursive https://github.com/HearthSim/extract-scripts %UserProfile%\extract-scripts
)
REM
REM pulling
REM
cd "%UserProfile%\extract-scripts"
git pull origin master
cd "%~dp0"
REM
REM Installing pip packages
REM
%python3path% -m pip install --upgrade -r %UserProfile%\extract-scripts\requirements.txt
REM
REM Finally do the decryption
REM
%python3path% %UserProfile%\extract-scripts\decompiler\decrypt.py %1 decrypted.dll
pause
  • Install git
  • Install python 3
  • change python3path.txt to where your python.exe is

To use:

Drag Assembly-CSharp.dll to the bat file

C:\Py3\python.exe
@jd2116
Copy link

jd2116 commented Dec 19, 2018

Decrypt not accbmblycsharp or solution

@acma3978
Copy link

acma3978 commented Jan 6, 2019

Not work https://github.com/HearthSim/extract-scripts DIe and not file decrypt.py

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment