Original MIDI Remote Scripts/Launchpad .py files available?

Discussion of music production, audio, equipment and any related topics, either with or without Ableton Live
Post Reply
nc2010
Posts: 297
Joined: Fri Jul 02, 2010 9:34 am

Original MIDI Remote Scripts/Launchpad .py files available?

Post by nc2010 » Sat Sep 14, 2019 12:24 am

Hi,

In C:\ProgramData\Ableton\Live 10 Suite\Resources\MIDI Remote Scripts\Launchpad, we can find these .pyc files:

Code: Select all

__init__.pyc
...
Launchpad.pyc
MainSelectorComponent.pyc
...
They are Python bytecode (i.e. compiled and not human readable) files.

Question: are the non-compiled original .py files for Launchpad available somewhere for Live10?

I'd like to do only a small modification of the original Launchpad Remote Script, and therefore the original Launchpad .py files would be necessary.

Thanks in advance!

PS: I don't want to use Launchpad95 for now, I tested it, and some features that I like on the original Launchpad Remote Script are not exactly there.

PS: if not available, have some people tried this: https://stackoverflow.com/questions/528 ... -a-py-file, it's a way to get py from pyc (https://pypi.python.org/pypi/uncompyle6).

nc2010
Posts: 297
Joined: Fri Jul 02, 2010 9:34 am

Re: Original MIDI Remote Scripts/Launchpad .py files available?

Post by nc2010 » Sat Sep 14, 2019 11:00 am

I cannot find these .py files. Any idea?

nc2010
Posts: 297
Joined: Fri Jul 02, 2010 9:34 am

Re: Original MIDI Remote Scripts/Launchpad .py files available?

Post by nc2010 » Sat Sep 14, 2019 12:38 pm

Found!

https://github.com/gluon/AbletonLive10_ ... oteScripts
https://julienbayle.studio/ableton-live ... e-scripts/

Quoting Julien Bayle:
Python source codes aren’t available (officially). We only have those .pyc which are bytecode. This is a kind of binary pre-compiled (this is not a compilation actually, I know that, mate)
You write a python code, you run it, the bytecode is created and run.
We would have to decompyle those .pyc in order to modify … for instance the step sequencer of the Push, or the way the piano roll grid works etc.
[...@
So, I decided myself to decompile all these native scripts and also those you can have used from other constructors.
NB: Maybe, if we asked politely to a development team manager at Ableton, he could provide directly these .py files... ?

Angstrom
Posts: 14662
Joined: Mon Oct 04, 2004 2:22 pm
Contact:

Re: Original MIDI Remote Scripts/Launchpad .py files available?

Post by Angstrom » Sat Sep 14, 2019 1:03 pm

I just use a Python Decompiler .
in fact this is the one I use: https://github.com/aliansi/Easy-Python- ... ler-v1.3.2

Post Reply