This is Decompiler for .ts4script file formats, this format is used for The Sims 4 Mods with Scripts. You can use it if you found bug and want to fix it or just you are curious what is under the engine, Remember Mods can have Licences!
- Run the script and select a
.ts4script
file via the GUI. - Click "Start Decompiling" to decompile the
.pyc
files. - The results will be saved to
./modfile_decompiled/
and the process will be logged.
- Python 3.x
- Install dependencies via
pip install uncompyle6 decompyle3 tqdm
orpip install -r requirements.txt
when cloned repo
- Decompiles
.pyc
files usinguncompyle6
with a fallback todecompyle3
. - Logs errors and
.pyc
file metadata. - Graphical User Interface for selecting
.ts4script
files.
Instructions on how to install and set up the project locally.
# Clone the repository
git clone git clone https://github.com/hajdew/HajTS4Dec
# Change into the project directory
cd HajTS4Dec
# Install any dependencies
pip install -r requirements.txt
This project is licensed under the MIT License - see the LICENSE file for details.