Page 1 of 1
PlasmaShop

Posted:
Sun Sep 14, 2008 5:21 am
by Frits
I'm playing around with PlasmaShop and try to extract the python.pak file.
The only files I get are the .pyc files and not the .py files. Is this the normal behaviour or am I doing something wrong?
Regards,
Frits
Re: PlasmaShop

Posted:
Sun Sep 14, 2008 6:28 am
by andylegate
yah, that's because the files are compiled. To read them, you need to double click on the .pyc file, and PlasmaShop should say that it's decompiling it and shows you the .py file
Re: PlasmaShop

Posted:
Sun Sep 14, 2008 8:48 am
by Frits
No, that's not working, I already tried that. When I do I see for a verry short moment a window and it disappears right away, can't even see what that window is. It looks like the window behind Blender?????
Regards,
Frits
Re: PlasmaShop

Posted:
Sun Sep 14, 2008 10:37 am
by GPNMilano
What version of Python do you have installed. and is PlasmaShop pointing to that directory correctly. Doubleclicking on a compiled python file should bring up the a window where it says "decompiling" and then a new window will appear with the file contents. If you're getting a black blenders like window its a python related issue. Either you don't have the correct python installed, or PlasmaShop isn't pointed to it. You need Python 2.3. Under the options menu you can tell PlasmaShop where your Python installation is. (Its usually "C:\Python(Then the version number)" For PlasmaShop to decompile the files you need python 2.3, and you need to tell PlasmaShop where the files are.
Re: PlasmaShop

Posted:
Mon Sep 15, 2008 1:48 am
by Frits
I have Python version 2.5.1 installed. I just downloaded the version 2.2.3 and set PlasmaShop to point at this one.
Same result, no decompile window.
Btw, I installed the python version in C:\Program Files\Python22.
Regards,
Frits
Re: PlasmaShop

Posted:
Mon Sep 15, 2008 8:56 am
by GPNMilano
Did you set the paths to Python 2.2 and Python 2.3 in the options menu? (There is one for each. So you have to set the Python 2.2 to C:\ProgramFiles\Python2.2, then the 2.3 to whichever directory Python 2.3 is in. (Second, which version of PlasmaShop are you using. The older 2.3.3 version of PlasmaShop had an issue like this with the Pak files, and the release of 2.4 in May cleared it up. If you're still using the old version, (as in if you downloaded PlasmaShop before May) This could be the cause as well.
Re: PlasmaShop

Posted:
Tue Sep 16, 2008 12:53 am
by Frits
Yes, I had set the path to the 2.2 version, the other I don't need at the moment.
Using PlasmaShop version 2.2.4.350 and PRPTool 0.2.1.200
And still not working.
Regards,
Frits
Re: PlasmaShop

Posted:
Tue Sep 16, 2008 2:32 am
by Grogyan
I use UruPython,
Free_and_useful_tools_to_help_in_Age_writing, to decompile the pyc then read them normally
Only one small problem, all the comments will be removed, reason being that when code is compiled in ANY language, comments are ignored by the compiler
Have fun trying to read them

Re: PlasmaShop

Posted:
Tue Sep 16, 2008 4:27 am
by D'Lanor
Frits, did you set an external Python editor in options?
The editor you specify should be a text editor. Do not point this to Python itself.
Re: PlasmaShop

Posted:
Tue Sep 16, 2008 8:29 am
by Frits
I have installed the whole thing again and now it works! I think that there were some files missing the first time because I had to change the Python from 2.5 to 2.2
Thank you all for your time.
Regards,
Frits