Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ableton 12.1 - Python 3.11.6 #2

Open
Maus3rVonDutch opened this issue Oct 20, 2024 · 1 comment
Open

Ableton 12.1 - Python 3.11.6 #2

Maus3rVonDutch opened this issue Oct 20, 2024 · 1 comment

Comments

@Maus3rVonDutch
Copy link

Maus3rVonDutch commented Oct 20, 2024

Hi, I have some custom remote scripts, but they are currently broken after the upgrade to 12.1. It seems that Ableton have upgraded their Python version to 3.11.6. I used to be able to decompile the *.pyc files myself, using uncompyle6 or decompyle3, but they do not support version 3.11.

Does anyone know of a decompiler that supports 3.11? I tried https://github.com/zrax/pycdc, but that one is still missing quite a few essential opcodes.

@Maus3rVonDutch
Copy link
Author

Maus3rVonDutch commented Oct 20, 2024

OK i have a workaround, I found this online decompiler: https://pylingual.io/
It does the trick, I only needed to decompile a couple of files, so this wil work, but for a complete decompilation of a lot of files, as in this repo, it won't be suitable (yet).

kmontag added a commit to kmontag/modeStep that referenced this issue Dec 10, 2024
Live 12.1 switched to python 3.11, which is currently impractical to
decompile. See
gluon/AbletonLive12_MIDIRemoteScripts#2 for
more discussion.

`pycdc` does decompile some basic structural elements of the Live
libraries, but outputs mostly empty function and class definitions.
https://pylingual.io/ seems to work better but isn't currently possible
to integrate in an automated way.

This PR adds https://github.com/gluon/AbletonLive12_MIDIRemoteScripts
(currently not updated for 12.1 but seems to work fine for our use
cases) as a submodule and sets it up for use with the typechecker.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant