Perfect, that made a working rip the first try Does dsftime work with DTPK tracks? I get this error (using Python 2.5.1 on Linux, which works with all your other stuff fine):
Code
Traceback (most recent call last):
File "../dsftime.py", line 296, in <module>
dsftime(ndsf)
File "../dsftime.py", line 239, in dsftime
trackdata = gettrack(dsfbin)
File "../dsftime.py", line 83, in gettrack
offseq = unpack('<I',areamap[0x8*bank:0x8*bank+4])[0]
UnboundLocalError: local variable 'bank' referenced before assignment