You can use zipped disk images too. If there is more than one DSK image in the zip file, treat the zip file like a directory, e.g.
mame cpc6128 -flop1 disk.zip/disk0.dsk
On Linux, you can also set your file manager (e.g. Nautilus or Konqueror) to open .dsk files with the following Python script:
<pre>
#!/usr/bin/env python
# Call as
# "cpc" : emulated keyboard
# "cpcn" : natural
import os
from sys import argv
if 'cpcn' in argv[0]:
nat = '-natural'
else:
nat = ''
s = "/usr/share/sdlmame/sdlmame cpc6128 -skip_gameinfo -window %s -keymap -keymap_file /usr/share/sdlmame/keymaps/km-de.txt" % nat
if len(argv) > 1:
for x in range(1, len(argv)):
s += ' -flop%u "%s"' % (x, argv[x])
os.system(s)
</pre>
(Note that this uses the German keymap.)
==Keyboard layouts==