- Install git
- Install python 3
- change python3path.txt to where your python.exe is
To use:
Drag Assembly-CSharp.dll to the bat 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 |
| C:\Py3\python.exe |
Decrypt not accbmblycsharp or solution