Läuft die Voice Acoustic VA-Remotecontrol (AllDSP AllControl) nativ unter Linux auf echtem wxGTK 3.0 — ohne Wine und ohne dekompilierten App-Code. Ausgeführt wird das unveränderte Python-2.7-Bytecode aus dem macOS-.app; C-Extensions (wxGTK/numpy/ scipy/PortAudio) kommen nativ aus Debian stretch. Enthält: va/ (Original-.pyc + pure-Python-Libs + Assets + launch.py mit den drei Linux-Fixes), Dockerfile/run.sh/entrypoint.sh, reference/ (dekompilierter Quellcode zum Debuggen) und README/STATUS. img.cache (378 MB, regenerierbar) ist per .gitignore ausgeschlossen. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
41 lines
934 B
Python
41 lines
934 B
Python
import zlib
|
|
import sys
|
|
import pdb
|
|
import os
|
|
|
|
print sys.argv[1]
|
|
hex = '--hex' in sys.argv
|
|
r = open(sys.argv[1], 'rb')
|
|
i = 0
|
|
length = None
|
|
while 1:
|
|
l = r.readline()
|
|
if l == "":
|
|
break
|
|
if "/Length " in l:
|
|
print l
|
|
s = l[l.index("/Length ")+8:]
|
|
if ' ' in s:
|
|
s = s[:s.index(" ")]
|
|
if '>' in s:
|
|
s = s[:s.index(">")]
|
|
length = int(s)
|
|
print l, length
|
|
if l.startswith('stream') and length:
|
|
i += 1
|
|
fn = "stream_%s_%s" % (i, sys.argv[1])
|
|
print mytime.displayTime()+" writting ", length, fn
|
|
s = r.read(length)
|
|
w = open(fn, 'wb')
|
|
try:
|
|
s = zlib.decompress(s)
|
|
except zlib.error:
|
|
pass
|
|
if hex:
|
|
s = s.encode('hex')
|
|
w.write(s)
|
|
w.close()
|
|
r.close()
|
|
|
|
os.system("windiff stream_1_ex_php.pdf stream_1_ex.pdf")
|