Hi there! You are currently browsing as a guest. Why not create an account? Then you get less ads, can thank creators, post feedback, keep a list of your favourites, and more!
Test Subject
Original Poster
#1 Old 22nd Aug 2021 at 7:05 AM
Default Decompiler helper script
Just wanted to share this simple helper script I use based on Darkkitten's batch script

github: https://github.com/samedog/Sims4-Decompiler-Helper

It uses 3 decompilers (decompyle3, uncompyle6, and unpyc3) and has a high success rate (only 3 *.pyc fail: base\lib\turtle.pyc, base\lib\_pydecimal.py, and simulation\sims\household.py) all the dependencies are automatically installed and the usage is simple; just double click it or run it from a terminal (PowerShell, cmd or Anaconda).

- Python 3.7 must be manually installed
- 7zip is required to be manually installed for now but I'll adapt it to detect 7zip, WinRAR or the windows unzip on the next update.

I'm currently testing pycpc and if I get to suppress the windowed error it makes when a file fails to decompile I'll check its performance, success rate, and reliability compared to current decompilers and include it.
Back to top