Mod The Sims

Mod The Sims (https://modthesims.info/index.php)
-   Modding Discussion (https://modthesims.info/forumdisplay.php?f=701)
-   -   Having Issisues Decompiling .pyo files (https://modthesims.info/showthread.php?t=605361)

Maddox 4th Jan 2018 9:34 AM

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:
http://www.modthesims.info/showthread.php?t=533907
-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.

scumbumbo 4th Jan 2018 7:06 PM

Hi Maddox, try the scripts I posted in this thread yesterday: http://modthesims.info/showthread.php?t=605330

Maddox 5th Jan 2018 1:32 AM

Quote: 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!


All times are GMT +1. The time now is 6:26 PM.

Powered by: vBulletin Version 3.0.14 · Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.