Here's a script for Atomulator adapted from your other script so as to use existing KV pairs -
If Key_loadtype CONTAINS(*L*||*C*||*S*)
If Key_loadtype CONTAINS(C||CH||CHAIN)
If Key_typingspeed CONTAINS(*)
Run_Emulator_Send_Keys([2]%{T}{ENTER}[1]%gamefile%{ENTER}[1]chain+{2}%gamename_value%+{2}{ENTER}{ENTER}||%typingspeed_value%)
Else
Run_Emulator_Send_Keys([2]%{T}{ENTER}[1]%gamefile%{ENTER}[1]chain+{2}%gamename_value%+{2}{ENTER}{ENTER}||50)
End If
ElseIf Key_loadtype CONTAINS(S||SP||SPECIAL)
If Key_keystrokes CONTAINS(*)
If Key_typingspeed CONTAINS(*)
If GameType CONTAINS(dsk||ssd||dsd||fdi)
Run_Emulator_Send_Keys([2]%{D}{ENTER}[1]%gamefile%{ENTER}[1]@dos{ENTER}[1]%keystrokes_value%{ENTER}[4]run{ENTER}||%typingspeed_value%)
Else
Run_Emulator_Send_Keys([2]%{T}{ENTER}[1]%gamefile%{ENTER}[1]%keystrokes_value%{ENTER}||%typingspeed_value%)
End If
Else
If GameType CONTAINS(dsk||ssd||dsd||fdi)
Run_Emulator_Send_Keys([2]%{D}{ENTER}[1]%gamefile%{ENTER}[1]@dos{ENTER}[1]%keystrokes_value%{ENTER}[4]run{ENTER}||50)
Else
Run_Emulator_Send_Keys([2]%{T}{ENTER}[1]%gamefile%{ENTER}[1]%keystrokes_value%{ENTER}||50)
End If
End If
Else
Show_Message(When k=v pair LOADTYPE is set to SPECIAL,%crlfx2%another k=v pair KEYSTROKES must be entered%crlfx2%containing the keystrokes to be sent to the emulator.%crlfx2%The typing speed doesn't have to be specified.)
End If
Else
Show_Message(Invalid value for k=v pair LOADTYPE entered.%crlfx2%Possible values are: L|LO|LOAD, C|CH|CHAIN, S|SP|SPECIAL)
End If
Else
If Key_typingspeed CONTAINS(*)
If GameType CONTAINS(dsk||ssd||dsd||fdi)
Run_Emulator_Send_Keys([2]%{D}{ENTER}[1]%gamefile%{ENTER}[1]@dos{ENTER}[1]lo.+{2}%gamename_value%+{2}{ENTER}{ENTER}[4]run{ENTER}||%typingspeed_value%)
Else
Run_Emulator_Send_Keys([2]%{T}{ENTER}[1]%gamefile%{ENTER}[1]lo.+{2}%gamename_value%+{2}{ENTER}{ENTER}[4]run{ENTER}||%typingspeed_value%)
End If
Else
If GameType CONTAINS(dsk||ssd||dsd||fdi)
Run_Emulator_Send_Keys([2]%{D}{ENTER}[1]%gamefile%{ENTER}[1]@dos{ENTER}[1]lo.+{2}%gamename_value%+{2}{ENTER}{ENTER}[4]run{ENTER}||50)
Else
Run_Emulator_Send_Keys([2]%{T}{ENTER}[1]%gamefile%{ENTER}[1]lo.+{2}%gamename_value%+{2}{ENTER}{ENTER}[4]run{ENTER}||50)
End If
End If
End If
Set native file types for the script as - uef;csw;dsk;ssd;dsd;fdi
Unfortunately the associated atom.cfg file is useless for gamebase as it has no section header marker for disks and tapes and if you put your own in it just overwrites it.
The emulator is fine to use in the gamebase for adding disks and non .tap files but surely there is a way to convert the ALLGAMES.tap file to .uef?
Try the script out with the uef and dsk images in this archive -
http://www.retrosoftware.co.uk/wiki/ima ... _Miner.zip
and set a kv pair of gamename=loader for the game entry.