Import Amiga applications and desktop tools

This commit is contained in:
Alberto committed 2026-11-11 16:21:50 +01:00
commit 1c144c9a3c
347 files changed
+423483

No files matched your search

+10
View File
@@ -0,0 +1,10 @@
from pathlib import Path
import struct
p=Path('C:/Amiga/HD0/Utilities/AmberMod')
b=bytearray((p/'ModPlayer.info').read_bytes())
b[48]=4;b[50:54]=struct.pack('>I',1);b[54:58]=struct.pack('>I',1)
def s(t):
z=t.encode('ascii')+b'\0';return struct.pack('>I',len(z))+z
b+=s('SYS:C/IconX')+struct.pack('>I',8)+s('WINDOW=CON:0/0/640/80/MOD Player/AUTO/CLOSE')
(p/'MOD.info').write_bytes(b)
(p/'MOD').write_bytes(b'Stack 131072\nRun >NIL: SYS:Utilities/HippoPlayer/HiP HIDE\nWait 1 SECS\nRun >NIL: SYS:Utilities/AmberMod/ModPlayer\n')