Well.
I changed that line and it dumped out a empty .raw file. (Python 3 comes preloaded with Linux, or atleast with Manjaro).
Here's the output:
$ ./dmc2rawpy3.py test.dmc
Traceback (most recent call last):
File "./dmc2rawpy3.py", line 49, in <module>
fout.write( chr(counter) )
TypeError: 'str' does not support the buffer interface
Edit: I changed the shebang. I though the Sound would be sharp. But it's awesome anyway!
Glad it did want you wanted. I edited the script in my last post so it has the modified shebang; I wasn't careful enough with the differences between Python2 and Python3. The previous permissions still apply.
Linux recognized the changed shebang and gave me a good DMC.
It's great for sample ripping that don't have a high/lowpass.
This is literally perfect!
I had to look up the correct frequency to make it sound the same.
That's alright!
BTW, Manjaro looks like a cool distro, for some time I wanted to use Arch Linux but yours is basically an user-friendlier Arch Linux. Gotta try that.
I actually tried to run cpows port of FamiTracker on Manjaro, turns out I need some dependencies from the AUR (Arch User Repository).
But I can't remember what.