Home | Download | Discussion | Help | Site Map | New Posts | Sign in

Latest Site News

Theme Catchup2018 - posted on 1st May 2018 at 1:50 PM
Replies: 2 (Who?), Viewed: 1050 times.
Test Subject
Original Poster
#1 Old 4th Jan 2018 at 9:34 AM
Default Having Issisues Decompiling .pyo files
I have spent a few hours trying to go through the tutorials and threads on how to de-compile the .pyo files so I can begin to learn some script modding. I am a beginner and just picked up the language a few days ago (I already know C#, Java). I know it might be frustrating to you more experienced modders, trust me it's frustrating to me that I am having issues with the first step, but I would really appreciate any help I can get in regards to doing this.

I have tried:
-was sure to download the updated unpyc3.py file and placed it in the Python directory
-I then placed darkkitten30's batch file inside of my game directory as well as set up my location for my sims 4 game directory, scripts output location, and the 7zip directory(all of which are installed on my D: drive).
-'uncompyle6' is not recognized as an internal or external command,
operable program or batch file. (got this error a lot)

Anyway, I am very serious about getting into this stuff and would truly appreciate anyone's help getting started.
#2 Old 4th Jan 2018 at 7:06 PM
Hi Maddox, try the scripts I posted in this thread yesterday: http://modthesims.info/showthread.php?t=605330
Test Subject
Original Poster
#3 Old 5th Jan 2018 at 1:32 AM
Originally Posted by scumbumbo
Hi Maddox, try the scripts I posted in this thread yesterday: http://modthesims.info/showthread.php?t=605330

I think I was able to get it to work with those! Thank you very much. Here is what I did just in case anyone else is still having issues:

1.) Downloaded DarkKitten30's batch file, opened batch file and specified the required fields, and then placed it into my sims 4 file directory (D:\ProgramFiles(X64)\The Sims 4).

@set SIMS4DIR="D:\ProgramFiles(X64)\The Sims 4"
@set TEMPDIR="D:\temp"
@set ZIPPROGRAM="D:\ProgramFiles(X64)\7-Zip\7z.exe"

2.) Downloaded the Zip file that scumbumbo so kindly provided and placed Decompile_nodeps.py and unpyc3.py in my install directory for Python 3.3.5 which is also on my D: drive.

3.) Opened Python.exe within Python 3.3.5 Installation folder where the scripts are and entered:
import Decompile_nodeps
and then pressed enter.

Thanks again scumbumbo!
Back to top