boblishman wrote:Someone sends me a .pak file ... I then open that and click "extract files" ... this then generates .pyC files (but not .py files) ...and it's those I want to open (to edit them and then save as "new" .py files which I can then "pak" ...
(I can open .py files without problems ... but sometimes people send me .pyc files too ...and those I can't )
Right. So, after you extract the .pyc files from the PAK, you hit F5 refresh the list. In the Sorted view under Python/src, it will display the recently extracted files as
.py files -
even though they are still pyc files. Double click one of these 'faux'
py files, and it will show a dialog saying, "Decompyling...", and then it will open up the decompyled
py file.
However, if you are using the "ALL files" file view in PlasmaShop, double-clicking on a
pyc will just flash the DOS shell window, and there still won't be a
py file. So, stick with the "Sorted" view only, and you'll be able to decompyle any
pyc file.