Forum Discussion
36 Replies
"SimGuruModSquad;12520975" wrote:
Hey all, let's keep this civil... this is a place for programmers and remember it's us against the world.
One of the reasons we chose python is because it's pretty much an open book. Unfortunately we cannot release our raw source code. So pyo->py is an exercise for the reader, we know how clever you guys are. As I have mentioned previously, we have documentation coming but it will not cover this topic. As you guys figure things out more and have specific questions on the python side of things I will do my best to give you the info you need.
I didn't ask you for the source code. And I have no plans of converting the pyo to py, changing it, then reoptimizing to pyo and thus replacing game code. I just want to be able to read the python. It appears to me that many pyo files have 'tuning' in their names.
It's unfortunate that you perceive us as 'clever', and need to always do things with this attitude. But we are clever, and we will figure it out without your help.
I didn't ask for your source, I asked a 'specific question on the python side of things', as you state in your response. So please do your best to give me the info that I need. What is your recommended solution for disassembling a pyo file?"granthes;12520748" wrote:
I'm sorry you seem to think I have a nasty attitude. But the original post showed no evidence of having looked for themselves. That in turn made the post seem quite rude and unproductive to me. Of course, that is just my opinion.
And your opinion is wrong. The evidence is in the very fact that I've resorted to the forum to ask the question.
Now at some point, we'll need a solution to this. I'll try Easy Python Decompiler but I suspect it won't work. And I'll keep looking.- If it's a company rule or licensing issue that's preventing EA/Maxis from releasing raw source code, I'd assume that giving clear instructions how to retrieve the python code (even just for reading) from the pyo files would be in violation as well, which is unfortunate, but probably not something that SimGuruModSquad can change.
I hope Easy Python Decompiler works (I downloaded it, but won't get the game until Thursday, so I can't test it for now). - # WARNING: Decompyle incomplete on every pyo file, after a few lines.
- The problem doesn't seem to be that most decompilers won't work on Python 3.3. The problem seems to be that none will. This makes it sort of difficult to do anything except stand around saying I'd like to get at that code but there's nothing that will decompile it.
ETA: Python 3.3 was released in 2012 and, apparently, in the years between then and now no one has managed to make something publicly available that will decompile it. This is sorta something that doesn't fall in the realm of modding a game. A person modding a game isn't going to be able to make a decompiler for this. Any suggestions EA? - Where are you guys getting these compiled .pyo files from? Are they hidden in one of the CAS demo packages?
- They are in the preload files from Origin.
- Ah. I'll have to wait until Amazon sends me the game then.
"MyreMylar;12531010" wrote:
Where are you guys getting these compiled .pyo files from? Are they hidden in one of the CAS demo packages?
Sims4/data/simulation --> zips.
So it's just as I suspected. They want to appear as if they are more willing to help modders when in reality they are limiting and controlling us as best they can. Why pyo files? Probably part of the decision was that it would be very difficult for us to get at the source. I'm not surprised.
I've also tried unpyc3. Problem with marshalling. Doesn't work. I'm looking at pyREtic-master but haven't tried it yet. Not easy to set up.
Thanks EA, for nothing.
I'll find a way, or I'll stop being a supporter and avid fan after 10 years.- Did you try the method at the end of this thread?
http://www.modthesims.info/showthread.php?t=532279&goto=lastpost
The posters seem to be reporting good results on the Sims files with the modified unpyc3.py.
About The Sims 4 Mods & Custom Content
Find expert tips, troubleshooting help, tutorials for mods and custom content, and The Sims 4 patch files in our forum.15,603 PostsLatest Activity: 4 hours ago
Community Highlights
Recent Discussions
- 12 hours ago
- 13 hours ago