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
.ts4scriptfile via the GUI. - Click "Start Decompiling" to decompile the
.pycfiles. - The results will be saved to
./modfile_decompiled/and the process will be logged.
- Python 3.x
- Install dependencies via
pip install uncompyle6 decompyle3 tqdmorpip install -r requirements.txtwhen cloned repo
- Decompiles
.pycfiles usinguncompyle6with a fallback todecompyle3. - Logs errors and
.pycfile metadata. - Graphical User Interface for selecting
.ts4scriptfiles.
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.txtThis project is licensed under the MIT License - see the LICENSE file for details.