Forum Discussion

Scumbumbo's avatar
7 years ago

Upcoming Patch - Python Decompiling Info

For those script modders who are playing along at home: There are two script decompilers being worked on for the Python 3.7.0 patch, and both are showing excellent results - around 60% of files decompile "perfectly" which exceeds the accuracy of the old unpyc3 decompiler.

"Perfectly" in this case means that the resulting decompiled code, when recompiled, matches the compiled code from EA's zip files exactly - and is guaranteed to work exactly the same way. There may be some odd differences with exactly how the uncompiled code appears, but it functions identically.

So, we're in good shape for Tuesday - there will be two decompilers available, and a nice script that works with both decompilers that generates a source code tree. A big thanks is in order to both Andrew (from S4S), and Fogity for working on these two decompilers and the fine results they have achieved so far (and both can only get better).

5 Replies

Replies have been turned off for this discussion
  • Thanks for the heads up!

    And thank you to Fogity and Andrew for your work on decompiling!
  • "MadameLee;c-16825558" wrote:
    what are decompliers?


    A decompiler converts the binary "object" code from the EA scripts in the game to a readable format that we script modders can use to write modifications.
  • Just wanna say thanks to you guys for all the hard work. Sims wouldn't be the same without you script modders and I have the greatest respect for what you do in your spare times.

    I'm sure it will all go well.
  • I've posted my decompiler front-end script on MTS. Additionally there are links to both of the available decompilers on that post.

    https://modthesims.info/showthread.php?t=620210

Featured Places

Node avatar for The Sims 4 Mods & Custom Content

The Sims 4 Mods & Custom Content

Find tips, tutorials and troubleshooting for mods and custom content, and The Sims 4 patch files here.Latest Activity: 14 minutes ago
16,684 Posts