Hi Mad,
Have tried to edit a Winvice script for the PLUS4 gamebase but I do have exactly the same error "device not found" at the PLUS4 prompt screen. I have tried to set the true drive emulation in SDL Vice but no luck.
This is the script I am using. It is your SDL Vice script reworked.
*******************************************************
;******************************
;* SDLVICE 2.4.0 GEMUS Script *
;* -SDL- PLUS/4 -SDL- *
;* .mad. *
;* 28th August 2016 *
;******************************
; Set emulator default values.
Set_INI_Value(1||PLUS4||AutostartPrgMode||0)
Set_INI_Value(1||PLUS4||AutostartWarp||0)
Set_INI_Value(1||PLUS4||VICFilter||0)
Set_INI_Value(1||PLUS4||VirtualDevices||1)
;Do we want a PAL or NTSC setup?
If PalNTSC = NTSC
Add_CLP( -ntsc)
;Set_INI_Value(1||C64||MachineVideoStandard||-2)
Else
Add_CLP( -pal)
;Set_INI_Value(1||C64||MachineVideoStandard||-1)
End If
;--------------------------------------------------------------------
; JOYSTICK
;--------------------------------------------------------------------
; Turn on joystick port#1 (select your control)
; 0=None ,1=Numpad ,2=Keyset 1 ,3=Keyset 2 ,4=USB Joystick
Set_INI_Value(1||PLUS4||JoyDevice1||4)
; Joystick map settings are saved to a separate file.
; USB Joystick must be mapped and configured, and settings saved before use.
; Extra Joypad buttons can be also mapped to any VICE menu options...
; PAUSE, WARP, STOP TAPE, INSERT DISK.
; select your own custom file for a particular game or controller.
; example joyfile=madjoy.vjm
If key_joyfile CONTAINS(*)
Set_INI_Value(1||PLUS4||JoyMapFile||"%emupath%\%joyfile_value%")
Else
Set_INI_Value(1||PLUS4||JoyMapFile||"%emupath%\sdl-joymap-VIC20.vjm")
End If
;--------------------------------------------------------------------
If Control = Mouse
Set_INI_Value(1||PLUS4||Mouse||1)
Set_INI_Value(1||PLUS4||MouseSensitivity||40)
ElseIf Control = LightPen
Set_INI_Value(1||PLUS4||Lightpen||1)
;0=Pen Button Up, 1=Pen Button Left ,2=Datel Pen ,3=Magnum Light Phaser, 4=Stack Light Rifel
Set_INI_Value(1||PLUS4||LightpenType||0)
ElseIf Control = LightGun
Set_INI_Value(1||PLUS4||Lightpen||1)
Set_INI_Value(1||PLUS4||LightpenType||3)
;Paddles are switched on using Mouse command.
ElseIf Control = PaddlePort2
Set_INI_Value(1||PLUS4||Mouse||1)
ElseIf Control = PaddlePort1
Set_INI_Value(1||PLUS4||Mouse||1)
Else
Set_INI_Value(1||PLUS4||Lightpen||0)
Set_INI_Value(1||PLUS4||LightpenType||0)
Set_INI_Value(1||PLUS4||Mouse||0)
End If
;--------------------------------------------------------------------
; Memory configuration. set through the key=value pair:
; memory=x
; where x is: none,all,3k,8k,16k,24k,"0,1,2,3,5" or "04,20,40,60,A0"
If Key_memory CONTAINS(*)
Add_CLP( -memory %memory_value%)
Else
Add_CLP( -memory none)
End If
;--------------------------------------------------------------------
If GameType CONTAINS(t64||tap)
Set_INI_Value(1||PLUS4||AutostartPrgMode||2)
Set_INI_Value(1||PLUS4||DatasetteResetWithCPU||1)
;------------------------------
;Fine-tune Datasette settings.
;------------------------------
If key_delay CONTAINS(1000||2000||5000||10000||20000||50000)
Set_INI_Value(1||PLUS4||DatasetteZeroGapDelay||%delay_value%)
else
Set_INI_Value(1||PLUS4||DatasetteZeroGapDelay||20000)
End if
;Caves of Annod=1, Shark Attack=2
If Key_cycles CONTAINS(0||1||2||3||4||5||6||7)
Set_INI_Value(1||PLUS4||DatasetteSpeedTuning||%cycles_value%)
else
Set_INI_Value(1||PLUS4||DatasetteSpeedTuning||1)
End if
;------------------------------
;Default Attach TAPE and load
Add_CLP( -autostart %gamepathfile%)
Run_emulator()
End if
;---------------------
If GameType CONTAINS(prg)
;use prg run mode.
Set_INI_Value(1||PLUS4||AutostartPrgMode||1)
If Key_sys CONTAINS(*)
Add_CLP( -autoload "%gamepathfile%")
Run_Emulator_Send_Keys([1]sys%sys_value%{ENTER}||50)
Else
Add_CLP( -autostart "%gamepathfile%")
Run_Emulator()
End If
End If
;---------------------------------------------------------------------
; wildcards do not work on the command-line for carts in the SDL version of VICE.
; All the cartridge files MUST been correctly renamed to one of the following...
; "2000.crt" "4000.crt" "6000.crt" "a000.crt" "b000.crt"
;EXAMPLE of new file structure
;DONKEY KONG.ZIP
; 2000.crt
; a000.crt
;
; Add GEMUS cart=2000 and cart2=a000
;--------------------------------------------------------------------
If GameType CONTAINS(crt||rom)
;1=Generic 2=Mega-Cart 3=Final Expansion 4=Vic Flash Plugin
Set_INI_Value(1||PLUS4||CartridgeType||1)
;Reset on Cartridge Change
If Key_cartreset CONTAINS (off)
Set_INI_Value(1||PLUS4||CartridgeReset||0)
else
Set_INI_Value(1||PLUS4||CartridgeReset||-1)
end if
If Key_cart CONTAINS(*20*)
Add_CLP( -cart2 %gamepath%\2000.crt)
ElseIf Key_cart CONTAINS(*40*)
Add_CLP( -cart4 %gamepath%\4000.crt)
ElseIf Key_cart CONTAINS(*60*)
Add_CLP( -cart6 %gamepath%\6000.crt)
ElseIf Key_cart CONTAINS(*a0*)
Add_CLP( -cartA %gamepath%\a000.crt)
ElseIf Key_cart CONTAINS(*b0*)
Add_CLP( -cartB %gamepath%\b000.crt)
End If
If Key_cart2 CONTAINS(*20*)
Add_CLP( -cart2 %gamepath%\2000.crt)
ElseIf Key_cart2 CONTAINS(*40*)
Add_CLP( -cart4 %gamepath%\4000.crt)
ElseIf Key_cart2 CONTAINS(*60*)
Add_CLP( -cart6 %gamepath%\6000.crt)
ElseIf Key_cart2 CONTAINS(*a0*)
Add_CLP( -cartA %gamepath%\a000.crt)
ElseIf Key_cart2 CONTAINS(*b0*)
Add_CLP( -cartB %gamepath%\b000.crt)
End If
; AE Cart boots with corrupt screen with RAM 00 at 0000.
; must use these VICE RAM settings, or enter monitor and type - G A027.
If key_RAM CONTAINS (255)
Set_INI_Value(1||PLUS4||RAMInitStartValue||255)
Else
Set_INI_Value(1||PLUS4||RAMInitStartValue||0)
End If
; Default is 64, possible settings (0||1||2||4||8||16||32||64||128||256||512||1024)
Set_INI_Value(1||PLUS4||RAMInitValueInvert||64)
; Default is 0, possible settings (0||1||2||4||8||16||32||64||128||256||512||1024)
Set_INI_Value(1||PLUS4||RAMInitPatternInvert||0)
;Start Cart with SYS command (Mission Impossible).
;GEMUS sys=32592
If Key_sys CONTAINS(*)
Run_Emulator_Send_Keys([2]sys%sys_value%{ENTER}||50)
Else If key_megacart CONTAINS (yes)
Add_CLP ( -cartmega %gamepath%\mega-cart.rom -mcnvramwriteback -mcnvramfile %gamepath%\mega-cart.nv)
Run_Emulator()
Else
Run_Emulator()
End if
End if
;--------------------------------------------------------------------
If GameType CONTAINS(d64||g64||g41)
Set_INI_Value(1||PLUS4||DriveTrueEmulation||1)
; -autorun autoloads prg file, but you will need to type RUN [return] manually.
; -autostart autoloads and runs the file.
If ImageName CONTAINS (*)
;Default setting. Boot disk with ImageName
Add_CLP2( -autostart "%gamepathfile%:%c64imagename%")
; ***** Boot all other disks with a wildcard, if no internal file can be set on the image (G64) *****
Else
Add_CLP2( -autostart "%gamepathfile%")
End If
; ***************************************************************************************************
If Key_load CONTAINS(wildcard)
; Auto boot disk with LOAD"*",8,1
Clear_CLP()
Add_CLP2( -autostart %gamepathfile%)
ElseIf Key_load CONTAINS(basic)
; Auto boot Disk with LOAD"*",8
Clear_CLP()
Add_CLP2( -autostart %gamepathfile% -basicload)
ElseIf key_load CONTAINS(manual)
Show_Message(You must load the game on the disk manually. LOAD"$",8 and type LIST for directory)
; Just attach disk in default drive 8 and run emulator. Disable auto loading.
Clear_CLP()
Add_CLP2( -8 %gamepathfile%)
End If
Run_emulator()
End If
I may think the issue is the same as the VIC20 gamebase where a database renaming is necessary?