Welcome to the Gamebase 64 forums.                 An attempt to document ALL Commodore 64 gameware before it's too late!

Adding a Manual Game into Gamebase (iso image)

Discuss the Commodore Amiga database that uses the GameBase Frontend.

Moderator: Jimbo

Fiery Phoenix
New Member
Posts: 39
Joined: Tue Aug 07, 2012 8:07 am

Adding a Manual Game into Gamebase (iso image)

Mon Dec 28, 2015 10:22 pm

Hope you can help

Had loads of problems trying to get Code Name Hell Squad to load - it would not load direct from the iso image (although others do)

I finally managed to get it running by extracting all the files from there to a folder

My problem is that when I manually add this game to Gamebase, I have to go through the process of adding a directory and selecting the path name every time.

I just want it to load into WB with the icon ready to select. Is there any way to do this?

I have added other games successfully previously, usually ones with their own .hdf files (Waxworks and Hare Raising Havoc) but I am having problems with this

Hope someone can help
User avatar
.mad.
Highly Commended Member
Highly Commended Member
Location: Lancashire
Posts: 1604
Joined: Sun Jun 19, 2005 3:30 pm

Mon Dec 28, 2015 11:14 pm

Hall Of Light wrote: - Game runs directly from CD, although it can be manually installed to HD (i.e. copy all CD contents to a folder on HD and launch game from there).

- Savegames, however, must be stored on HD in the S: directory.
i GUESS the game is looking for somewhere to write the save file.
but it can't, because you only have a CD in the emulator??.

try booting with a Workbench HDF as the main drive. Then attaching the CD ISO manually.

i made a script for seiya that Boots a WB HDF and attaches a PC folder as a Hard-Drive in Amiga. That should work???.
Fiery Phoenix
New Member
Posts: 39
Joined: Tue Aug 07, 2012 8:07 am

Mon Dec 28, 2015 11:30 pm

Coolio - how do I get hold of that script buddy
User avatar
.mad.
Highly Commended Member
Highly Commended Member
Location: Lancashire
Posts: 1604
Joined: Sun Jun 19, 2005 3:30 pm

Tue Dec 29, 2015 12:48 pm

Code: Select all

;**************************************
;*  Amiga GameBase / DemoBase Script  *
;*            By .mad. 2015           *
;*         for WinUAE  3.1.0.0        *
;* .Disk. .CD. .HardDrive. .WHDLoad.  *
;*       --> Needs more work <--      *
;**************************************

; For WHDLoad to work your c&#58;\gamebase\gamebase.ini file must be set like this.
; &#91;Paths&#93;
; GBGame=C&#58;\GBGame\

; *Please Note&#58; this is NOT GBGame=C&#58;\GBGame\0\ &#40;the Gamebase v1.3 default&#41;
; Use the root of your drive letter for the rezip path e.g.

; GBGame=C&#58;\GBGame\ | GBGame=K&#58;\GBGame\

; GBGame=K&#58;\emulator\gamebase\temp\ - will NOT work.

; After paths are set the WHD ZIP file will extract like this example.
; C&#58;\GBGame\WHD\3ddemo_v1.0_anarchy\3DDemo.info
; other game files will extract to the default
; C&#58;\GBGame\0\

;SupportedTypes=adf;adz;dms;fdi;ipf;hdf;exe;iso;cue;ccd;mds;zip
;*zip is used only for the WHDLoad packs.

;WinUAE configuaration .UAE file &#40;with these EXTRA options at the bottom of the file&#41;
; Amiga.uae
; &#91;EXTRA&#93;
; hardfile2=
; filesystem=
; filesystem2=

; WinUAE.ini file in emulator directory with Gamebase script path for the Kickstarts
; KickstartPath=C&#58;\GameBase\Amiga\Scripts\

;The Script &#40;this file&#41;
; Amiga.txt


;This GameBase requires all the following files in the C&#58;\Gamebase\Amiga\Scripts folder.
;KICKSTART ROMS - Filenames must be the same as shown.
; Kick12.rom   &#40;A6CE1636&#41;
; Kick13.rom   &#40;C4F0F55F&#41;*
; Kick14.rom   &#40;58327536&#41;
; Kick204.rom  &#40;C3BDB240&#41;
; Kick205.rom  &#40;83028FB5&#41;
; Kick31.rom   &#40;1483A091&#41;

; CD32FMV.rom  &#40;C35C37BF&#41;
; CD32.rom     &#40;1E62D4A5&#41;
; CD32EX.rom   &#40;87746BE2&#41;
; cd32.nvr - Flashfile /NVRAM for some CD32 games.

; CDTV.rom     &#40;C4F0F55F&#41;*
; CDTVEX10.rom &#40;42BAA124&#41;
; CDTVEX23.rom &#40;30B54232&#41;
; CDTVEX27.rom &#40;CEAE68D2&#41;

; Workbench v3.1 Installed version.
; WB31.HDF

; Workbench installed in a PC folder.
; Workbench for Amiga CD "WB31CD"

;-------------------------------------------------------------------

; you can change ALL machine defaults to your preferred settings.
; But they must be compatible with each other to work.
;gfx_top_windowed=442
;gfx_left_windowed=225
;gfx_width_windowed=720
;gfx_height_windowed=568
;gfx_center_horizontal=smart
;gfx_center_vertical=smart
;gfx_filter_vert_zoom_mult=0
;gfx_filter_horiz_zoom_mult=0
;gfx_filter_autoscale=none
	;---------------------------------------------
	; Emulator Screen /Window settings.
	;---------------------------------------------
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||gfxcard_size||0&#41;

	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||gfx_center_horizontal_position||-1&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||gfx_center_horizontal_size||-1&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||gfx_center_horizontal||false&#41;
	
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||gfx_center_vertical_position||-1&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||gfx_center_vertical_size||-1&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||gfx_center_vertical||none&#41;
	
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||gfx_width_fullscreen||800&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||gfx_height_fullscreen||600&#41;
		
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||gfx_width_windowed||720&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||gfx_height_windowed||576&#41;
	
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||gfx_width||720&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||gfx_height||568&#41;

;------------------------------------------------------------------------
;change "direct3d" to "directdraw" if you get a black screen.
;------------------------------------------------------------------------
	If Key_gfx_api CONTAINS&#40;direct3d||directdraw&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||gfx_api||%gfx_api_value%&#41;
	Else
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||gfx_api||direct3d&#41;
	End If
;------------------------------------------------------------------------
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||gfx_autoresolution||false&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||gfx_backbuffers||2&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||gfx_blacker_than_black||false&#41;
	
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||gfx_colour_mode||16bit&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||gfx_contrast||0&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||gfx_display_name||&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||gfx_display||0&#41;
	
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||gfx_filter_aspect_ratio||0&#58;0&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||gfx_filter_autoscale||auto&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||gfx_filter_bilinear||false&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||gfx_filter_blur||0&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||gfx_filter_contrast||0&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||gfx_filter_gamma||0&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||gfx_filter_horiz_offset||0&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||gfx_filter_horiz_zoom_mult||1000&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||gfx_filter_horiz_zoom||0&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||gfx_filter_keep_aspect||none&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||gfx_filter_luminance||0&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||gfx_filter_mask||&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||gfx_filter_mode||1x&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||gfx_filter_noise||0&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||gfx_filter_saturation||0&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||gfx_filter_scanlinelevel||0&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||gfx_filter_scanlineratio||17&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||gfx_filter_scanlines||0&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||gfx_filter_vert_offset||0&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||gfx_filter_vert_zoom_mult||1000&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||gfx_filter_vert_zoom||0&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||gfx_filter||no&#41;
	
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||gfx_flickerfixer||false&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||gfx_framerate||1&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||gfx_fullscreen_amiga||false&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||gfx_fullscreen_picasso||false&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||gfx_gamma||0&#41;
	
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||gfx_left_windowed||0&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||gfx_linemode||double&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||gfx_lores_mode||normal&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||gfx_lores||false&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||gfx_luminance||0&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||gfx_refreshrate||0&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||gfx_resolution||hires&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||gfx_top_windowed||0&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||gfx_vsync_picasso||false&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||gfx_vsync||false&#41;
	

;---------------------------------------------
;Floppy Drive settings &#40;defalut = 1&#41;
;---------------------------------------------
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||nr_floppies||1&#41;
	
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||floppy_channel_mask||0xffff&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||floppy_speed||100&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||floppy_volume||33&#41;
	
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||floppy0||&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||floppy0sound||0&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||floppy0type||0&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||floppy1||&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||floppy1sound||0&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||floppy1type||-1&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||floppy2||&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||floppy2sound||0&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||floppy2type||-1&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||floppy3||&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||floppy3sound||0&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||floppy3type||-1&#41;
	;-------------------------
	;Remove Floppy Disk Images.
	;-------------------------
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||diskimage0||&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||diskimage1||&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||diskimage2||&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||diskimage3||&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||diskimage4||&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||diskimage5||&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||diskimage6||&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||diskimage7||&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||diskimage8||&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||diskimage9||&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||diskimage10||&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||diskimage11||&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||diskimage12||&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||diskimage13||&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||diskimage14||&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||diskimage15||&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||diskimage16||&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||diskimage17||&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||diskimage18||&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||diskimage19||&#41;
	;----------------------------------
	;Remove Hard-Drive and WHD Images.
	;----------------------------------
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||ide||none&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||uaehf0||&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||uaehf1||&#41;
	Set_CFG_value&#40;%dbpath%\Scripts\Amiga.uae||hardfile2||&#41;
	Set_CFG_value&#40;%dbpath%\Scripts\Amiga.uae||filesystem||&#41;
	Set_CFG_value&#40;%dbpath%\Scripts\Amiga.uae||filesystem2||&#41;
	Set_ini_value&#40;%dbpath%\Scripts\Amiga.uae||EXTRA||hardfile2||&#41;
	Set_ini_value&#40;%dbpath%\Scripts\Amiga.uae||EXTRA||filesystem||&#41;
	Set_ini_value&#40;%dbpath%\Scripts\Amiga.uae||EXTRA||filesystem2||&#41;
	;----------------------------------
	;Remove CD32 Settings.
	;----------------------------------
	Set_CFG_value&#40;%dbpath%\Scripts\Amiga.uae||cdimage0||&#41;
	
	Set_CFG_value&#40;%dbpath%\Scripts\Amiga.uae||cd32cd||false&#41;
	Set_CFG_value&#40;%dbpath%\Scripts\Amiga.uae||cd32c2p||false&#41;
	Set_CFG_value&#40;%dbpath%\Scripts\Amiga.uae||cd32nvram||false&#41;
	
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||flash_file||&#41;
	
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||cdtvcd||false&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||cdtvram||false&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||cdtvramcard||0&#41;
;------------------------------------------------
;Default Sound Card settings. *My Card Example.
;------------------------------------------------
;*Enter your own Custom Sound Card settings here.
;
;*Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||win32.soundcard||1&#41;
;*Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||win32.soundcardname||SoundMAX HD Audio&#41;
;*Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||win32.soundcard_exclusive||false&#41;
;------------------------------------------------	
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||win32.soundcard||0&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||win32.soundcardname||Primary Sound Driver&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||win32.soundcard_exclusive||false&#41;

	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||sound_volume||0&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||sound_auto||true&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||sound_output||exact&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||sound_channels||stereo&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||sound_stereo_separation||7&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||sound_stereo_mixing_delay||0&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||sound_max_buff||16384&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||sound_frequency||44100&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||sound_latency||100&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||sound_interpol||anti&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||sound_filter||emulated&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||sound_filter_type||standard&#41;
		
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||sound_stereo_swap_paula||false&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||sound_stereo_swap_ahi||false&#41;

;---------------------------------------------
; Joystick settings.
;---------------------------------------------
;CDTV
;	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||joyport0||mouse0&#41;
;	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||joyport0mode||cdtvjoy&#41;
;	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||joyport0autofire||none&#41;
;
;	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||joyport1||joy0&#41;
;	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||joyport1mode||cd32joy&#41;
;	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||joyport1autofire||none&#41;

;CD32
;	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||joyport0||mouse0&#41;
;	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||joyport0mode||cdtvjoy&#41;
;	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||joyport0autofire||none&#41;
;
;	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||joyport1||joy0&#41;
;	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||joyport1mode||cd32joy&#41;
;	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||joyport1autofire||none&#41;

;-----------------------------------------------------------------------
; Select keymap to use for Joystick Port#1 &#40;joyport0&#41;
;-----------------------------------------------------------------------
;&#40;kbd1&#41; Keyboard Layout A - Numeric Keypad, 0 and 5 = Fire
;&#40;kbd2&#41; Keyboard Layout B - Cursor Keys, Right CRTL and ALT = Fire
;&#40;kbd3&#41; Keyboard Layout C - W=Up, S=Down, A=Left, D=Right Left ALT=Fire
;&#40;kbd4&#41; Keyboard Layout D - X-Arcade &#40;Left&#41;
;&#40;kbd5&#41; Keyboard Layout E - X-Arcade &#40;Right&#41;
;&#40;joy0&#41; USB Joystick *must be attached to work
;&#40;joy1&#41; USB Joystick *must be attached to work

If Key_joyport0 CONTAINS&#40;kbd1||kbd2||kbd3||kbd4||kbd5||joy0||joy1&#41;
Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||joyport0||%joyport1_value%&#41;
Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||joyport0mode||djoy&#41;
Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||joyport0autofire||none&#41;
Else
; Default - Mouse in Port#1
Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||joyport0||mouse1&#41;
Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||joyport0mode||mousenowheel&#41;
Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||joyport0autofire||none&#41;
End If

;-----------------------------------------------------------------------
; Select keymap to use for Joystick Port#2 &#40;joyport1&#41;
;-----------------------------------------------------------------------

If Key_joyport1 CONTAINS&#40;kbd1||kbd2||kbd3||kbd4||kbd5||joy0||joy1&#41;
Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||joyport1||%joyport1_value%&#41;
Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||joyport1mode||djoy&#41;
Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||joyport1autofire||none&#41;
Else
; Default - Use USB Joystick in Port#2
Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||joyport1||joy0&#41;
Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||joyport1mode||djoy&#41;
Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||joyport1autofire||none&#41;
End If

;-----------------------------------------------------------------------

; Custom JoyKey Mapping for Repetto &#40;R,D,G,F,I,W&#41;
;Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||joyport0||mouse1&#41;
;Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||joyport0autofire||none&#41;
;Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||joyport0mode||mousenowheel&#41;
;Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||joyportfriendlyname0||HID-compliant mouse&#41;
;Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||joyportname0||\??\HID#Vid_1038&Pid_1384&MI_01#7&fdbe0e7&0&0000#&#123;378de44c-56ef-11d1-bc8c-00a0c91405dd&#125;&#41;
;Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||joyport1||custom&#41;
;Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||joyport1autofire||none&#41;
;Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||joyport1mode||djoy&#41;
;
;Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||input.4.mouse.1.friendlyname||HID-compliant mouse&#41;
;Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||input.4.mouse.1.name||\??\HID#Vid_1038&Pid_1384&MI_01#7&fdbe0e7&0&0000#&#123;378de44c-56ef-11d1-bc8c-00a0c91405dd&#125;&#41;
;Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||input.4.mouse.1.custom||true&#41;
;Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||input.4.mouse.1.button.0||JOY2_FIRE_BUTTON.4&#41;
;Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||input.4.mouse.1.button.1||JOY2_2ND_BUTTON.4&#41;
;Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||input.4.keyboard.0.friendlyname||RAW Keyboard &#40;1532/0101&#41;&#41;
;Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||input.4.keyboard.0.name||\??\HID#Vid_1532&Pid_0101&MI_01#7&2b3ae24b&0&0000#&#123;884b96c3-56ef-11d1-bc8c-00a0c91405dd&#125;&#41;
;Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||input.4.keyboard.0.custom||true&#41;
;Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||input.4.keyboard.1.friendlyname||RAW Keyboard &#40;413C/2003&#41;&#41;
;Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||input.4.keyboard.1.name||\??\HID#Vid_413c&Pid_2003#6&1d72cc63&0&0000#&#123;884b96c3-56ef-11d1-bc8c-00a0c91405dd&#125;&#41;
;Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||input.4.keyboard.1.custom||true&#41;
;Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||input.4.keyboard.1.button.17.W||JOY2_2ND_BUTTON.4.1&#41;
;Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||input.4.keyboard.1.button.19.R||JOY2_UP.4.1&#41;
;Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||input.4.keyboard.1.button.23.I||JOY2_FIRE_BUTTON.4.1&#41;
;Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||input.4.keyboard.1.button.32.D||JOY2_LEFT.4.1&#41;
;Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||input.4.keyboard.1.button.33.F||JOY2_DOWN.4.1&#41;
;Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||input.4.keyboard.1.button.34.G||JOY2_RIGHT.4.1&#41;
;Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||input.4.keyboard.2.friendlyname||WinUAE null keyboard&#41;
;Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||input.4.keyboard.2.name||NULLKEYBOARD&#41;
;Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||input.4.keyboard.2.custom||true&#41;
	
;---------------------------------------------
; Kickstart settings. &#40;Default v1.3&#41;
;---------------------------------------------
; kickstart_rom = &#40;v1.0||v1.2||v1.3||v2.04||v2.05||v3.0||v3.1&#41;
;* For CDTV and CD32 enter GEMUS Mode=CD32 or CDTV

If Key_kickstart_rom CONTAINS&#40;v1.0&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||kickstart_rom||v1.0&#41;
	Set_CFG_value&#40;%dbpath%\Scripts\Amiga.uae||kickstart_rom_file||%dbpath%\Scripts\Kick10.rom&#41;
	Set_CFG_value&#40;%dbpath%\Scripts\Amiga.uae||kickstart_rom_file_id||42553BC4,X&#41;
	Set_CFG_value&#40;%dbpath%\Scripts\Amiga.uae||kickstart_ext_rom||&#41;
	Set_CFG_value&#40;%dbpath%\Scripts\Amiga.uae||kickstart_ext_rom_file||&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||kickstart_ext_rom_file_id||&#41;

	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||chipset_compatible||A1000&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||chipset||ocs&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||cpu_type||68000&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||cpu_model||68000&#41;
	
Else If Key_kickstart_rom CONTAINS&#40;v1.2&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||kickstart_rom||v1.2&#41;
	Set_CFG_value&#40;%dbpath%\Scripts\Amiga.uae||kickstart_rom_file||%dbpath%\Scripts\KICK12.rom&#41;
	Set_CFG_value&#40;%dbpath%\Scripts\Amiga.uae||kickstart_rom_file_id||A6CE1636,KS ROM v1.2 &#40;A500,A1000,A2000&#41;&#41;
	Set_CFG_value&#40;%dbpath%\Scripts\Amiga.uae||kickstart_ext_rom||&#41;
	Set_CFG_value&#40;%dbpath%\Scripts\Amiga.uae||kickstart_ext_rom_file||&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||kickstart_ext_rom_file_id||&#41;
	
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||ksmirror_a8||false&#41;
	
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||chipset_compatible||A500&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||chipset||ocs&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||cpu_type||68000&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||cpu_model||68000&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||cpu_24bit_addressing||false&#41;

Else If Key_kickstart_rom CONTAINS&#40;v1.3&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||kickstart_rom||v1.3&#41;
	Set_CFG_value&#40;%dbpath%\Scripts\Amiga.uae||kickstart_rom_file||%dbpath%\Scripts\KICK13.rom&#41;
	Set_CFG_value&#40;%dbpath%\Scripts\Amiga.uae||kickstart_rom_file_id||C4F0F55F,KS ROM v1.3 &#40;A500,A1000,A2000&#41;&#41;
	Set_CFG_value&#40;%dbpath%\Scripts\Amiga.uae||kickstart_ext_rom||&#41;
	Set_CFG_value&#40;%dbpath%\Scripts\Amiga.uae||kickstart_ext_rom_file||&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||kickstart_ext_rom_file_id||&#41;
	
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||chipset_compatible||A500&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||chipset||ecs&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||cpu_type||68000&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||cpu_model||68000&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||cpu_24bit_addressing||false&#41;

Else If Key_kickstart_rom CONTAINS&#40;v2.04&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||kickstart_rom||v2.04&#41;
	Set_CFG_value&#40;%dbpath%\Scripts\Amiga.uae||kickstart_rom_file||%dbpath%\Scripts\KICK204.rom&#41;
	Set_CFG_value&#40;%dbpath%\Scripts\Amiga.uae||kickstart_rom_file_id||C3BDB240,KS ROM v2.04 &#40;A500+&#41;&#41;
	Set_CFG_value&#40;%dbpath%\Scripts\Amiga.uae||kickstart_ext_rom||&#41;
	Set_CFG_value&#40;%dbpath%\Scripts\Amiga.uae||kickstart_ext_rom_file||&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||kickstart_ext_rom_file_id||&#41;
	
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||chipset_compatible||A500+&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||chipset||ecs&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||cpu_type||68000&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||cpu_model||68000&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||cpu_compatible||true&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||cpu_24bit_addressing||true&#41;
	
Else If Key_kickstart_rom CONTAINS&#40;v2.05&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||kickstart_rom||v2.05&#41;
	Set_CFG_value&#40;%dbpath%\Scripts\Amiga.uae||kickstart_rom_file||%dbpath%\Scripts\KICK205.rom&#41;
	Set_CFG_value&#40;%dbpath%\Scripts\Amiga.uae||kickstart_rom_file_id||83028FB5,KS ROM v2.05 &#40;A600&#41;&#41;
	Set_CFG_value&#40;%dbpath%\Scripts\Amiga.uae||kickstart_ext_rom||&#41;
	Set_CFG_value&#40;%dbpath%\Scripts\Amiga.uae||kickstart_ext_rom_file||&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||kickstart_ext_rom_file_id||&#41;
	
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||chipset_compatible||A600&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||chipset||ecs&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||cpu_type||68000&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||cpu_model||68000&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||cpu_compatible||true&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||cpu_24bit_addressing||true&#41;

Else If Key_kickstart_rom CONTAINS&#40;v3.0&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||kickstart_rom_file||%dbpath%\Scripts\Kick30.rom&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||kickstart_rom_file_id||C742A412,X&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||kickstart_rom||v3.0&#41;
	Set_CFG_value&#40;%dbpath%\Scripts\Amiga.uae||kickstart_ext_rom||&#41;
	Set_CFG_value&#40;%dbpath%\Scripts\Amiga.uae||kickstart_ext_rom_file||&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||kickstart_ext_rom_file_id||&#41;
	
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||chipset_compatible||A1200&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||chipset||aga&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||cpu_type||68ec020&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||cpu_model||68020&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||cpu_compatible||true&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||cpu_24bit_addressing||true&#41;
	
Else If Key_kickstart_rom CONTAINS&#40;v3.1&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||kickstart_rom_file||%dbpath%\Scripts\Kick31.rom&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||kickstart_rom_file_id||1483A091,KS ROM v3.1 &#40;A1200&#41;&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||kickstart_rom||v3.1&#41;
	Set_CFG_value&#40;%dbpath%\Scripts\Amiga.uae||kickstart_ext_rom||&#41;
	Set_CFG_value&#40;%dbpath%\Scripts\Amiga.uae||kickstart_ext_rom_file||&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||kickstart_ext_rom_file_id||&#41;
	
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||chipset_compatible||A1200&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||chipset||aga&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||cpu_type||68020&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||cpu_model||68030&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||cpu_compatible||true&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||cpu_24bit_addressing||true&#41;

Else If Key_kickstart_rom CONTAINS&#40;v3.1 4068||Amiga 4000&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||kickstart_rom_file||%dbpath%\Scripts\K31-4068.rom&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||kickstart_rom_file_id||D6BAE334,KS ROM v3.1 &#40;A4000&#41;&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||kickstart_rom||v3.1&#41;
	Set_CFG_value&#40;%dbpath%\Scripts\Amiga.uae||kickstart_ext_rom||&#41;
	Set_CFG_value&#40;%dbpath%\Scripts\Amiga.uae||kickstart_ext_rom_file||&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||kickstart_ext_rom_file_id||&#41;
	
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||chipset_compatible||A1200&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||chipset||aga&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||cpu_type||68020&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||cpu_model||68030&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||cpu_compatible||true&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||cpu_24bit_addressing||true&#41;

Else
;set a default A500 v1.3 OCS machine
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||kickstart_rom||v1.3&#41;
	Set_CFG_value&#40;%dbpath%\Scripts\Amiga.uae||kickstart_rom_file||%dbpath%\Scripts\KICK13.rom&#41;
	Set_CFG_value&#40;%dbpath%\Scripts\Amiga.uae||kickstart_rom_file_id||C4F0F55F,KS ROM v1.3 &#40;A500,A1000,A2000&#41;&#41;
	Set_CFG_value&#40;%dbpath%\Scripts\Amiga.uae||kickstart_ext_rom||&#41;
	Set_CFG_value&#40;%dbpath%\Scripts\Amiga.uae||kickstart_ext_rom_file||&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||kickstart_ext_rom_file_id||&#41;
	
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||chipset_compatible||A500&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||chipset||ocs&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||cpu_type||68000&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||cpu_model||68000&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||cpu_24bit_addressing||false&#41;
End If

;--------------------------------------------------------
; Machine Values that can be changed via Gemus.
;--------------------------------------------------------

If Key_bsdsocket CONTAINS&#40;1||yes||on||true&#41;
Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||bsdsocket_emu||true&#41;
else
Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||bsdsocket_emu||false&#41;
End If 

	If Key_kickshifter CONTAINS&#40;true||false&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||kickshifter||%kickshifter_value%&#41;
	else
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||kickshifter||false&#41;
	End If
	
	;*KSMIRROR_A8 must be off for v1.2 A500
	
	If Key_ksmirror_e0 CONTAINS&#40;true&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||ksmirror_e0||true&#41;
	else
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||ksmirror_e0||false&#41;
	End If
	
	If Key_ksmirror_a8 CONTAINS&#40;true&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||ksmirror_a8||true&#41;
	Else
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||ksmirror_a8||false&#41;
	End If

	If Key_chipset CONTAINS&#40;ocs||aga||ecs||ecs_agnus||ecs_denise||full_ecs&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||chipset||%chipset_value%&#41;
	End If

;Use - to enable advanced Chipset settings
	If Key_chipset_compatible CONTAINS&#40;A1000||A500||A500+||A600||A1200||CD32||-||Generic&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||chipset_compatible||%chipset_compatible_value%&#41;
	End If
	
;Sets CPU TYPE to same MODEL value if only Model is set.

	If Key_cpu_model CONTAINS&#40;68000||68010||68020||68030||68040||68060&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||cpu_model||%cpu_model_value%&#41;
	End If
	
	If Key_cpu_type CONTAINS&#40;68000||68010||68020||68ec020||68030||68040||68060&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||cpu_type||%cpu_type_value%&#41;
	End If

	If Key_cpu_multiplier CONTAINS&#40;2||4&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||cpu_multiplier||%cpu_multiplier_value%%&#41;
	Else
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||cpu_multiplier||2&#41;
	End If

	If Key_fpu_model CONTAINS&#40;68881||68882||none&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||fpu_model||%fpu_model_value%&#41;
	Else
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||fpu_model||none&#41;
	End If

	If Key_rtc CONTAINS&#40;MSM6242B&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||rtc||MSM6242B&#41;
	else
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||rtc||none&#41;
	end if

	if key_maprom CONTAINS &#40;0xf000000||0x0&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||maprom||maprom_value&#41;
	else
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||maprom||0xf000000&#41;
	end if

	If PalNTSC = NTSC
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||ntsc||true&#41;
	Else
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||ntsc||false&#41;
	End If
	
	If Key_ntsc CONTAINS&#40;True||False&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||ntsc||%ntsc_value%&#41;
	Else
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||ntsc||false&#41;
	End If
		
	If Key_immediate_blits CONTAINS&#40;True||False&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||immediate_blits||%immediate_blits_value%&#41;
	Else
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||immediate_blits||false&#41;
	End If

	If Key_collision_level CONTAINS&#40;none||playfields||sprites||full&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||collision_level||%collision_level_value%&#41;
	Else
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||collision_level||playfields&#41;
	End If
		
;Fastmem 0=none 1=1MB 2=2MB 4=4MB 8=4MB ***

	If Key_fastmem_size CONTAINS&#40;0||1||2||4||8&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||fastmem_size||%fastmem_size_value%&#41;
	Else
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||fastmem_size||0&#41;
	End If

;Bogomem &#40;Slow&#41; 0=none 2=512k 4=1MB 6=1.5MB 7=1.8MB ***

	If Key_bogomem_size CONTAINS&#40;0||1||2||4||6||7&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||bogomem_size||%bogomem_size_value%&#41;
	Else
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||bogomem_size||0&#41;
	End If

	If Key_bogomem_fast CONTAINS&#40;true||false&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||bogomem_fast||%bogomem_fast_value%&#41;
	Else
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||bogomem_fast||false&#41;
	End If
	
;Chipmem 0=256k 1=512k 2=1MB 4=2MB 8=4MB 16=8MB ***
	
	If Key_chipmem_size CONTAINS&#40;0||1||2||4||8||16&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||chipmem_size||%chipmem_size_value%&#41;
	Else
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||chipmem_size||1&#41;
	End If

;Megachipmem &#40;32-bit chip&#41; 0=none 16=16MB 32=32MB 64=64MB 128=128MB 256=256MB 512=512MB 1024=1GB ***

	If Key_megachipmem_size CONTAINS&#40;0||16||32||64||128||256||512||1024&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||megachipmem_size||%megachipmem_size_value%&#41;
	Else
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||megachipmem_size||0&#41;
	End If

	If Key_z3mem_size CONTAINS&#40;1||2||4||8||16||32||64||128||256||384||512||768||1024&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||z3mem_size||%z3mem_size_value%&#41;
	Else
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||z3mem_size||0&#41;
	End If
	
	If Key_z3mem2_size CONTAINS&#40;512&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||z3mem_size||1024&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||z3mem2_size||512&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||z3mem_start||0x10000000&#41;
	End If

	If Key_cpu_speed CONTAINS&#40;max||real&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||cpu_speed||%cpu_speed_value%&#41;
	Else
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||cpu_speed||real&#41;
	End If

	If Key_cpu_compatible CONTAINS&#40;true||false&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||cpu_compatible||%cpu_compatible_value%&#41;
	End If

	If Key_fpu_strict CONTAINS&#40;True||False&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||fpu_strict||%fpu_strict_value%&#41;
	End If

	If Key_cpu_24bit_addressing CONTAINS&#40;true||false&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||cpu_24bit_addressing||%cpu_24bit_addressing_value%&#41;
	End If

	If Key_cpu_cycle_exact CONTAINS&#40;true||false&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||cpu_cycle_exact||%cpu_cycle_exact_value%&#41;
	End If

	If Key_blitter_cycle_exact CONTAINS&#40;true||false&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||blitter_cycle_exact||%blitter_cycle_exact_value%&#41;
	Else
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||blitter_cycle_exact||true&#41;
	End If

	If Key_cycle_exact CONTAINS&#40;true||false&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||cycle_exact||%cycle_exact_value%&#41;
	Else
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||cycle_exact||true&#41;
	End If

	If Key_statefile CONTAINS&#40;*&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||statefile||%statefile_value%&#41;
	Else
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||statefile||&#41;	
	End If

	If Key_compfpu CONTAINS&#40;true||false&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||compfpu||%compfpu_value%&#41;
	Else
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||compfpu||false&#41;
	End If

;-------------------------------------
;cachesize only used when JIT enabled
;-------------------------------------
	If Key_cachesize CONTAINS&#40;1024||2048||3072||4096||5120||6144||7168||8192&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||cachesize||%cachesize_value%&#41;
	Else
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||cachesize||0&#41;
	End If
;------------------------
; for JIT Set all Direct
;------------------------
	If Key_comp_trustbyte CONTAINS&#40;indirect||direct&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||comp_trustbyte||%comp_trustbyte_value%&#41;
	Else
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||comp_trustbyte||indirect&#41;
	End If

	If Key_comp_trustword CONTAINS&#40;indirect||direct&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||comp_trustword||%comp_trustword_value%&#41;
	Else
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||comp_trustword||indirect&#41;
	End If

	If Key_comp_trustlong CONTAINS&#40;indirect||direct&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||comp_trustlong||%comp_trustlong_value%&#41;
	Else
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||comp_trustlong||indirect&#41;
	End If

	If Key_comp_trustnaddr CONTAINS&#40;indirect||direct&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||comp_trustnaddr||%comp_trustnaddr_value%&#41;
	Else
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||comp_trustnaddr||indirect&#41;
	End If

;########################################################################################
;--------------------------------------------------------------------------------------------
;Boot Amiga CD's &#40;image ISO&#41;
; Many CD's require Workbench 3.1+ new library and Device files, Kickstart 3.1+, more memory 
;--------------------------------------------------------------------------------------------

If Key_mode CONTAINS&#40;AmigaCD&#41;

;Turn on CDFS Auto Mount
Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||win32.map_cd_drives||true&#41;

If key_Workbench CONTAINS&#40;HDF&#41;
	;-----------------------------------------------
	;Put WorkBench 3.1 in Hard Drive 0. "WB31CD.HDF"
	;-----------------------------------------------
	Set_CFG_value&#40;%dbpath%\Scripts\Amiga.uae||hardfile2||rw,DH0&#58;%dbpath%\Scripts\wb31.hdf,32,1,2,512,0,,uae&#41;
	Set_CFG_value&#40;%dbpath%\Scripts\Amiga.uae||uaehf0||hdf,rw,DH0&#58;%dbpath%\Scripts\wb31.hdf,32,1,2,512,0,,uae&#41;
Else

;Attach WB with CD drivers &#40;folder "WB31CD"&#41;
Set_CFG_value&#40;%dbpath%\Scripts\Amiga.uae||filesystem2||rw,DH0&#58;cdbench&#58;%dbpath%\wb31cd,0&#41;
Set_CFG_value&#40;%dbpath%\Scripts\Amiga.uae||uaehf0||dir,rw,DH0&#58;cdbench&#58;%dbpath%\wb31cd,0&#41;
	Set_ini_value&#40;%dbpath%\Scripts\Amiga.uae||EXTRA||hardfile2||&#41;
	Set_ini_value&#40;%dbpath%\Scripts\Amiga.uae||EXTRA||filesystem||&#41;
	Set_ini_value&#40;%dbpath%\Scripts\Amiga.uae||EXTRA||filesystem2||&#41;
End If

;Attach ISO image via Config file
;Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||cdimage0||%gamepathfile%&#41;

;Attach ISO via command line
Add_CLP&#40;-f "%dbpath%\Scripts\Amiga.uae" -s cdimage0=%gamepathfile%,delay&#41;
Run_Emulator&#40;&#41;
;########################################################################################

;------------------------------------------------------------------
;Turn CDFS Auto Mount - OFF
Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||win32.map_cd_drives||false&#41;
;-------------------------------------------------------------------

;*********************************************************************
Else If GameType CONTAINS&#40;HDF&#41;
; Run HDF Files. &#40;You must link HDF file inside ZIP for this to work.&#41;
;*********************************************************************	


	If Key_HDF CONTAINS&#40;DIR&#41;
;===================================================================================================
; USE DIR Installed Workbench &#40;Hard Drive stored as files on PC in %GameBase%\%database%\ name="hd"
;===================================================================================================
	Set_CFG_value&#40;%dbpath%\Scripts\Amiga.uae||filesystem2||rw,DH0&#58;appbase&#58;%dbpath%\hd,0&#41;
	Set_CFG_value&#40;%dbpath%\Scripts\Amiga.uae||uaehf0||dir,rw,DH0&#58;appbase&#58;%dbpath%\hd,0&#41;
	;-----------------------------------------------
	;Put Game/Demo File in Hard Drive 1.
	;-----------------------------------------------
	Set_ini_value&#40;%dbpath%\Scripts\Amiga.uae||EXTRA||hardfile2||rw,DH1&#58;%gamepathfile%,32,1,2,512,-128,,uae&#41;
	Set_CFG_value&#40;%dbpath%\Scripts\Amiga.uae||uaehf1||hdf,rw,DH1&#58;%gamepathfile%,32,1,2,512,-128,,uae&#41;
	
	ElseIf Key_HDF CONTAINS&#40;No WorkBench&#41;
	;-----------------------------------------------
	;Put Game/Demo File in Hard Drive 0.
	;-----------------------------------------------
	Set_CFG_value&#40;%dbpath%\Scripts\Amiga.uae||hardfile2||rw,DH0&#58;%gamepathfile%,32,1,2,512,-128,,uae&#41;
	Set_CFG_value&#40;%dbpath%\Scripts\Amiga.uae||uaehf0||hdf,rw,DH0&#58;%gamepathfile%,32,1,2,512,-128,,uae&#41;
	Else
	;-----------------------------------------------
	;Put WorkBench 3.1 in Hard Drive 0.
	;-----------------------------------------------
	Set_CFG_value&#40;%dbpath%\Scripts\Amiga.uae||hardfile2||rw,DH0&#58;%dbpath%\Scripts\WB31.HDF,32,1,2,512,0,,uae&#41;
	Set_CFG_value&#40;%dbpath%\Scripts\Amiga.uae||uaehf0||hdf,rw,DH0&#58;%dbpath%\Scripts\WB31.HDF,32,1,2,512,0,,uae&#41;
	;-----------------------------------------------
	;Put Game/Demo File in Hard Drive 1.
	;-----------------------------------------------
	Set_ini_value&#40;%dbpath%\Scripts\Amiga.uae||EXTRA||hardfile2||rw,DH1&#58;%gamepathfile%,32,1,2,512,-128,,uae&#41;
	Set_CFG_value&#40;%dbpath%\Scripts\Amiga.uae||uaehf1||hdf,rw,DH1&#58;%gamepathfile%,32,1,2,512,-128,,uae&#41;
	End If
	
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||kickstart_rom_file||%dbpath%\Scripts\Kick31.rom&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||kickstart_rom_file_id||1483A091,KS ROM v3.1 &#40;A1200&#41;&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||kickstart_ext_rom_file||&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||kickstart_rom||v3.1&#41;
	
		;0=256k 1=512k 2=1MB 4=2MB 8=4MB 16=8MB
		
	If Key_chipmem_size CONTAINS&#40;0||1||2||4||8||16&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||chipmem_size||%chipmem_size_value%&#41;
	Else
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||chipmem_size||8&#41;
	End If
		
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||chipset||AGA&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||cpu_type||68020&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||cpu_model||68030&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||cpu_24bit_addressing||true&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||cpu_compatible||true&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||cpu_cycle_exact||false&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||blitter_cycle_exact||true&#41;
	
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||rtc||MSM6242B&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||fatgary||-1&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||ramsey||-1&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||log_illegal_mem||false&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||maprom||0xf000000&#41;
	
	Add_CLP&#40;-f "%dbpath%\Scripts\Amiga.uae"&#41;
	Run_Emulator&#40;&#41;

;===================================================================================================
; CD32 settings ISO, BIN, CUE
;===================================================================================================
 Else If key_mode CONTAINS&#40;CD32&#41;
	
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||nr_floppies||0&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||floppy0type||-1&#41;

	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||kickstart_rom_file||%dbpath%\Scripts\CD32.rom&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||kickstart_rom_file_id||1E62D4A5,CD32 KS ROM v3.1&#41;
	
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||kickstart_ext_rom_file||%dbpath%\Scripts\CD32EX.rom&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||kickstart_ext_rom_file_id||87746BE2,CD32 extended ROM&#41;
	
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||kickstart_rom||v3.1 CD32&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||kickstart_ext_rom||v3.1 CD32&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||ksmirror_a8||true&#41;

If key_fmv CONTAINS&#40;yes&#41;
Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||cart_file||%dbpath%\Scripts\CD32FMV.rom&#41;
else
Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||cart_file||&#41;
End if

;-------------------------------------------------------------------------
;Use "-" for Chipset_Compatible to enable advanced Chipset settings NVRAM.
;-------------------------------------------------------------------------
; Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||chipset_compatible||-&#41;
Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||chipset_compatible||CD32&#41;

		If Key_flashfile CONTAINS &#40;yes||on||1&#41;

	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||cd32cd||true&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||cd32c2p||true&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||cd32nvram||true&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||flash_file||%dbpath%\Scripts\cd32.nvr&#41;
	Else
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||cd32nvram||false&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||flash_file||&#41;
		End If
	
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||maprom||0x0&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||chipset||AGA&#41;

	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||compfpu||true&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||rtc||none&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||immediate_blits||false&#41;

	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||cpu_speed||real&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||cpu_type||68ec020&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||cpu_model||68020&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||cpu_multiplier||4&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||cpu_compatible||true&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||cpu_24bit_addressing||true&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||cpu_cycle_exact||true&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||blitter_cycle_exact||true&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||cycle_exact||true&#41;

;Bogomem &#40;Slow&#41; **** 0=none 2=512k 4=1MB 6=1.5MB 7=1.8MB ***

	If Key_bogomem_size CONTAINS&#40;0||1||2||4||6||7&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||bogomem_size||%bogomem_size_value%&#41;
	Else
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||bogomem_size||0&#41;
	End If

;Fastmem **** 0=none 1=1MB 2=2MB 4=4MB 8=4MB

	If Key_fastmem_size CONTAINS&#40;0||1||2||4||8&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||fastmem_size||%fastmem_size_value%&#41;
	Else
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||fastmem_size||0&#41;
	End If

;Chipmem **** 0=256k 1=512k 2=1MB 4=2MB 8=4MB 16=8MB
		
	If Key_chipmem_size CONTAINS&#40;0||1||2||4||8||16&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||chipmem_size||%chipmem_size_value%&#41;
	Else
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||chipmem_size||4&#41;
	End If
	
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||joyport0||mouse0&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||joyport0mode||cdtvjoy&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||joyport0autofire||none&#41;
	
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||joyport1||joy0&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||joyport1mode||cd32joy&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||joyport1autofire||none&#41;

	
Add_CLP&#40;-f "%dbpath%\Scripts\Amiga.uae" -s cdimage0=%gamepathfile%,delay&#41;
Run_Emulator&#40;&#41;

;===================================================================================================
; CDTV settings for ISO, BIN, CUE files
;===================================================================================================
Else If Key_mode CONTAINS&#40;CDTV&#41;

	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||nr_floppies||0&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||floppy0type||-1&#41;
	
	Set_CFG_value&#40;%dbpath%\Scripts\Amiga.uae||kickstart_rom_file||%dbpath%\Scripts\CDTV.rom&#41;
	Set_CFG_value&#40;%dbpath%\Scripts\Amiga.uae||kickstart_rom_file_id||C4F0F55F,KS ROM v1.3 &#40;A500,A1000,A2000&#41;&#41;
	Set_CFG_value&#40;%dbpath%\Scripts\Amiga.uae||kickstart_ext_rom_file||%dbpath%\Scripts\CDTVEX10.rom&#41;
	Set_CFG_value&#40;%dbpath%\Scripts\Amiga.uae||kickstart_ext_rom_file_id||42BAA124,CDTV extended ROM v1.00&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||kickstart_rom||v1.3&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||kickstart_ext_rom||v1.0 CDTV&#41;
	
;-------------------------------------------------------------------------
;Use "-" for Chipset_Compatible to enable advanced Chipset settings NVRAM.
;-------------------------------------------------------------------------
;*******Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||chipset_compatible||CDTV&#41;

	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||chipset_compatible||-&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||cdtvcd||true&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||cdtvram||true&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||cdtvramcard||1&#41;
	
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||immediate_blits||false&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||chipset||ECS_Agnus&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||cpu_speed||real&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||cpu_type||68000&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||cpu_model||68000&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||cpu_compatible||true&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||cpu_24bit_addressing||true&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||cpu_cycle_exact||true&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||blitter_cycle_exact||true&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||cycle_exact||true&#41;
	
;Bogomem &#40;Slow&#41; **** 0=none 2=512k 4=1MB 6=1.5MB 7=1.8MB ***

	If Key_bogomem_size CONTAINS&#40;0||1||2||4||6||7&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||bogomem_size||%bogomem_size_value%&#41;
	Else
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||bogomem_size||0&#41;
	End If

	;0=none 1=1MB 2=2MB 4=4MB 8=4MB

	If Key_fastmem_size CONTAINS&#40;0||1||2||4||8&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||fastmem_size||%fastmem_size_value%&#41;
	Else
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||fastmem_size||0&#41;
	End If

	;0=256k 1=512k 2=1MB 4=2MB 8=4MB 16=8MB
		
	If Key_chipmem_size CONTAINS&#40;0||1||2||4||8||16&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||chipmem_size||%chipmem_size_value%&#41;
	Else
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||chipmem_size||4&#41;
	End If
	
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||joyport0||mouse0&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||joyport0mode||cdtvjoy&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||joyport0autofire||none&#41;
	
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||joyport1||joy0&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||joyport1mode||cd32joy&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||joyport1autofire||none&#41;
	
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||cdimage0||%gamepathfile%,delay&#41;

Add_CLP&#40;-f "%dbpath%\Scripts\Amiga.uae" -s&#41;
Run_Emulator&#40;&#41;

;===================================================================================================
; WHDLOAD settings for WHDRUN.EXE
;===================================================================================================
Else If Key_Mode CONTAINS&#40;whd&#41;

Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||nr_floppies||0&#41;
Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||floppy0type||-1&#41;
Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||floppy1type||-1&#41;
Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||floppy2type||-1&#41;
Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||floppy3type||-1&#41;

	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||kickstart_rom_file||%dbpath%\Scripts\Kick31.rom&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||kickstart_rom_file_id||1483A091,KS ROM v3.1 &#40;A1200&#41;&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||kickstart_ext_rom_file||&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||kickstart_rom||v3.1&#41;

	;0=none 1=1MB 2=2MB 4=4MB 8=4MB

	If Key_fastmem_size CONTAINS&#40;0||1||2||4||8&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||fastmem_size||%fastmem_size_value%&#41;
	Else
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||fastmem_size||8&#41;
	End If

	;0=256k 1=512k 2=1MB 4=2MB 8=4MB 16=8MB
		
	If Key_chipmem_size CONTAINS&#40;0||1||2||4||8||16&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||chipmem_size||%chipmem_size_value%&#41;
	Else
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||chipmem_size||4&#41;
	End If	
	
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||chipset||aga&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||cpu_24bit_addressing||false&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||cpu_compatible||false&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||cpu_cycle_exact||true&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||cpu_model||68030&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||cpu_type||68020&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||cpu_speed||real&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||fpu_model||none&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||immediate_blits||true&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||blitter_cycle_exact||false&#41;

	;=======================================================================
	; ** You MUST Set WHDLoad File System and unzip to Folder &#40;C&#58;\GBGAME\
	;=======================================================================
	
	Set_CFG_value&#40;%dbpath%\Scripts\Amiga.uae||filesystem2||rw,DH0&#58;DH0&#58;%dbpath%\whd,0&#41;
	Set_CFG_value&#40;%dbpath%\Scripts\Amiga.uae||filesystem||rw,DH0&#58;%dbpath%\whd&#41;

; INI Value Must be used for &#40;DH1&#58;&#41; as duplicate item names are used in WinUAE config file.

	Set_ini_value&#40;%dbpath%\Scripts\Amiga.uae||EXTRA||filesystem2||rw,DH1&#58;DH1&#58;%gbgamepath%\whd\%gamefilenoext%,0&#41;
	Set_ini_value&#40;%dbpath%\Scripts\Amiga.uae||EXTRA||filesystem||rw,DH1&#58;%gbgamepath%\whd\%gamefilenoext%&#41;
	;---------------------------------------------------
	; You must set one of these WHDLoad and CD Values in GEMUS.
	;---------------------------------------------------
	;	%CD_Value%
	;	cd=dh1&#58;GAMENAME;
	;
	;	%WHDLoad_Value%
	;	whdload=GAMENAME.slave PRELOAD;
	;	whdload=GAMENAME.slave PRELOAD BUTTONWAIT;
	;	whdload=GAMENAME.slave PRELOAD BUTTONWAIT; CUSTOM1=1 CUSTOM2=1;
	;	whdload=GAMENAME.slave PRELOAD; CUSTOM1=X;
	;	whdload=GAMENAME.slave PRELOAD CUSTOM1=16777216;
	;	whdload=GAMENAME.slave PRELOAD; CUSTOM1=1 CUSTOM2=1 CUSTOM3=1 CUSTOM4=XX;
	;	whdload=GAMENAME.slave PRELOAD NOAUTOVEC NOVBRMOVE;
	;-------------------------------------------------------------
	
If key_cd EXCLUDES&#40;*dh1*&#41;
Show_message &#40;CD Value missing from GEMUS example&#58; "cd=dh1&#58;GAMENAME;"&#41;
End If
		
		Set_CFG_Item&#40;%dbpath%\WHD\s\user-startup||cd||||%cd_value%&#41;
				
if key_whdload EXCLUDES&#40;*slave*&#41;
Show_message &#40;whdload Value missing from GEMUS example&#58; "whdload=GAMENAME.slave PRELOAD;"&#41;
End If

		Set_CFG_Item&#40;%dbpath%\WHD\s\user-startup||whdload||||%whdload_value%&#41;
		
	Run_Program&#40;%dbpath%\whdrun.exe||%gamepathfile% %gbgamepath%\whd\%gamefilenoext%/ "%emupath%\winuae.exe" "%dbpath%\Scripts\Amiga.uae" "%dbpath%\WHD\s\user-startup||nowait&#41;

ELSE
;*******************************************************************
;Run all other compatible Amiga files &#40;ADF||IPS||DMS||SPS||EXE||ZIP&#41;
;*******************************************************************
	If Key_HDF CONTAINS&#40;DIR&#41;
;===================================================================================================
; USE DIR Installed Workbench &#40;Hard Drive stored as files on PC in %GameBase%\%dbpath%\%folder_value%
;
; Must add Folder value to GEMUS or the Default "HD" folder is used.
; EXAMPLE&#58;
;
; HDF=DIR
; FOLDER=WB31
;
; Will attach folder "C&#58;\GameBase\Amiga Apps\WB31\" as HardDrive image.
; That folder must contain all required Amiga startup files to work correctly.
;
; If Floppy is attached to DF0&#58; it will Auto Boot, so DF1&#58; is used instead.
;===================================================================================================
		If Key_folder CONTAINS&#40;*&#41;
	Set_CFG_value&#40;%dbpath%\Scripts\Amiga.uae||filesystem2||rw,DH0&#58;appbase&#58;%dbpath%\%folder_value%,0&#41;
	Set_CFG_value&#40;%dbpath%\Scripts\Amiga.uae||uaehf0||dir,rw,DH0&#58;appbase&#58;%dbpath%\%folder_value%,0&#41;
		Else
	Set_CFG_value&#40;%dbpath%\Scripts\Amiga.uae||filesystem2||rw,DH0&#58;appbase&#58;%dbpath%\hd,0&#41;
	Set_CFG_value&#40;%dbpath%\Scripts\Amiga.uae||uaehf0||dir,rw,DH0&#58;appbase&#58;%dbpath%\hd,0&#41;
		End If
	If key_floppy CONTAINS &#40;boot&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||nr_floppies||1&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||floppy1type||0&#41;
	Add_CLP&#40;-f "%dbpath%\Scripts\Amiga.uae" -0%gamepathfile%&#41;
	else
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||nr_floppies||2&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||floppy1type||0&#41;
	Add_CLP&#40;-f "%dbpath%\Scripts\Amiga.uae" -1%gamepathfile%&#41;
	End If
	Run_Emulator&#40;&#41;

	Else
	Add_CLP&#40;-f "%dbpath%\Scripts\Amiga.uae" -0%gamepathfile% -1%gamepathfile&#40;1&#41;% -2%gamepathfile&#40;2&#41;% -3%gamepathfile&#40;3&#41;% -s diskimage0=%gamepathfile% -s diskimage1=%gamepathfile&#40;1&#41;% -s diskimage2=%gamepathfile&#40;2&#41;% -s diskimage3=%gamepathfile&#40;3&#41;% -s diskimage4=%gamepathfile&#40;4&#41;% -s diskimage5=%gamepathfile&#40;5&#41;% -s diskimage6=%gamepathfile&#40;6&#41;% -s diskimage7=%gamepathfile&#40;7&#41;% -s diskimage8=%gamepathfile&#40;8&#41;% -s diskimage9=%gamepathfile&#40;9&#41;% -s diskimage10=%gamepathfile&#40;10&#41;% -s diskimage11=%gamepathfile&#40;11&#41;% -s diskimage12=%gamepathfile&#40;12&#41;% -s diskimage13=%gamepathfile&#40;13&#41;% -s diskimage14=%gamepathfile&#40;14&#41;% -s diskimage15=%gamepathfile&#40;15&#41;% -s diskimage16=%gamepathfile&#40;16&#41;% -s diskimage17=%gamepathfile&#40;17&#41;% -s diskimage18=%gamepathfile&#40;18&#41;% -s diskimage19=%gamepathfile&#40;19&#41;%&#41;
	Run_Emulator&#40;&#41;
	End If
End If
This is the bit that you need to examine

Code: Select all

	If Key_HDF CONTAINS&#40;DIR&#41;
;===================================================================================================
; USE DIR Installed Workbench &#40;Hard Drive stored as files on PC in %GameBase%\%dbpath%\%folder_value%
;
; Must add Folder value to GEMUS or the Default "HD" folder is used.
; EXAMPLE&#58;
;
; HDF=DIR
; FOLDER=WB31
;
; Will attach folder "C&#58;\GameBase\Amiga\WB31\" as HardDrive image.
; That folder must contain all required Amiga startup files to work correctly.
;
; If Floppy is attached to DF0&#58; it will Auto Boot, so DF1&#58; is used instead.
;===================================================================================================
		If Key_folder CONTAINS&#40;*&#41;
	Set_CFG_value&#40;%dbpath%\Scripts\Amiga.uae||filesystem2||rw,DH0&#58;appbase&#58;%dbpath%\%folder_value%,0&#41;
	Set_CFG_value&#40;%dbpath%\Scripts\Amiga.uae||uaehf0||dir,rw,DH0&#58;appbase&#58;%dbpath%\%folder_value%,0&#41;
		Else
	Set_CFG_value&#40;%dbpath%\Scripts\Amiga.uae||filesystem2||rw,DH0&#58;appbase&#58;%dbpath%\hd,0&#41;
	Set_CFG_value&#40;%dbpath%\Scripts\Amiga.uae||uaehf0||dir,rw,DH0&#58;appbase&#58;%dbpath%\hd,0&#41;
		End If
	If key_floppy CONTAINS &#40;boot&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||nr_floppies||1&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||floppy1type||0&#41;
	Add_CLP&#40;-f "%dbpath%\Scripts\Amiga.uae" -0%gamepathfile%&#41;
	else
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||nr_floppies||2&#41;
	Set_CFG_Value&#40;%dbpath%\Scripts\Amiga.uae||floppy1type||0&#41;
	Add_CLP&#40;-f "%dbpath%\Scripts\Amiga.uae" -1%gamepathfile%&#41;
	End If
	Run_Emulator&#40;&#41;
User avatar
.mad.
Highly Commended Member
Highly Commended Member
Location: Lancashire
Posts: 1604
Joined: Sun Jun 19, 2005 3:30 pm

Tue Dec 29, 2015 12:51 pm

this is the UAE file with the EXTRA bits needed for the script to work.

Code: Select all

config_description=WinUAE GameBase Amiga Config by .mad.
config_hardware=true
config_host=true
config_version=2.4.1
config_hardware_path=
config_host_path=
win32.rom_path=./
win32.floppy_path=./
win32.hardfile_path=./
; host-specific
win32.middle_mouse=true
win32.logfile=false
win32.map_drives=false
win32.map_drives_auto=false
win32.map_cd_drives=false
win32.map_net_drives=false
win32.map_removable_drives=false
win32.serial_port=none
win32.parallel_port=none
win32.active_priority=0
win32.inactive_priority=-1
win32.inactive_nosound=false
win32.inactive_pause=false
win32.iconified_priority=-2
win32.iconified_nosound=true
win32.iconified_pause=true
win32.inactive_iconify=false
win32.ctrl_f11_is_quit=false
win32.midiout_device=-2
win32.midiin_device=0
win32.midiout_device_name=none
win32.rtg_match_depth=true
win32.rtg_scale_small=true
win32.rtg_scale_allow=false
win32.rtg_scale_aspect_ratio=-1&#58;-1
win32.rtg_vblank=chipset
win32.borderless=false
win32.uaescsimode=SCSIEMU
win32.statusbar=normal
win32.soundcard=0
win32.soundcardname.utf8=
win32.soundcardname=Primary Sound Driver
win32.soundcard_exclusive=false
win32.cpu_idle=0
win32.notaskbarbutton=false
win32.always_on_top=false
win32.no_recyclebin=false
win32.specialkey=0xcf
win32.kbledmode=1
win32.powersavedisabled=true
win32.exec_before=
win32.exec_after=
win32.parjoyport0=
win32.parjoyport1=
; common
use_gui=no
use_debugger=false
kickstart_rom=v1.3
kickstart_rom_file=C&#58;\GameBase\Amiga\Scripts\KICK13.rom
kickstart_rom_file_id=C4F0F55F,KS ROM v1.3 &#40;A500,A1000,A2000&#41;
kickstart_ext_rom=
kickstart_ext_rom_file=
kickstart_ext_rom_file_id=
flash_file=
cart_file=
kickshifter=false
floppy0=
floppy0type=0
floppy0sound=0
floppy1=
floppy1type=-1
floppy1sound=0
floppy2=
floppy2type=-1
floppy2sound=0
floppy3=
floppy3type=-1
floppy3sound=0
nr_floppies=1
floppy_speed=100
floppy_volume=33
floppy_channel_mask=0xffff
parallel_on_demand=false
serial_on_demand=false
serial_hardware_ctsrts=true
serial_direct=false
scsi=false
uaeserial=false
sana2=false
sound_output=exact
sound_channels=stereo
sound_stereo_separation=7
sound_stereo_mixing_delay=0
sound_max_buff=16384
sound_frequency=44100
sound_latency=100
sound_interpol=anti
sound_filter=emulated
sound_filter_type=standard
sound_volume=0
sound_auto=true
sound_stereo_swap_paula=false
sound_stereo_swap_ahi=false
comp_trustbyte=indirect
comp_trustword=indirect
comp_trustlong=indirect
comp_trustnaddr=indirect
comp_nf=true
comp_constjump=true
comp_oldsegv=false
comp_flushmode=soft
compfpu=false
fpu_strict=false
comp_midopt=false
comp_lowopt=false
avoid_cmov=false
cachesize=0
joyport0=mouse1
joyport0autofire=none
joyport1=joy0
joyport1autofire=none
joyportfriendlyname0=HID-compliant mouse
joyportname0=\??\HID#Vid_1038&Pid_1384&MI_01#7&fdbe0e7&0&0000#&#123;378de44c-56ef-11d1-bc8c-00a0c91405dd&#125;
bsdsocket_emu=false
synchronize_clock=false
maprom=0xf000000
parallel_matrix_emulation=none
parallel_postscript_emulation=false
parallel_postscript_detection=false
ghostscript_parameters=
parallel_autoflush=5
uae_hide=0
magic_mouse=false
magic_mousecursor=both
absolute_mouse=none
clipboard_sharing=true
gfx_display=0
gfx_display_name=
gfx_framerate=1
gfx_width=720
gfx_height=568
gfx_top_windowed=0
gfx_left_windowed=0
gfx_width_windowed=720
gfx_height_windowed=576
gfx_width_fullscreen=800
gfx_height_fullscreen=600
gfx_refreshrate=0
gfx_autoresolution=false
gfx_backbuffers=2
gfx_vsync=false
gfx_vsync_picasso=false
gfx_lores=false
gfx_resolution=hires
gfx_lores_mode=normal
gfx_flickerfixer=false
gfx_linemode=double
gfx_fullscreen_amiga=false
gfx_fullscreen_picasso=false
gfx_center_horizontal=false
gfx_center_vertical=none
gfx_colour_mode=16bit
gfx_blacker_than_black=false
gfx_api=direct3d
gfx_filter=no
gfx_filter_mode=1x
gfx_filter_vert_zoom=0
gfx_filter_horiz_zoom=0
gfx_filter_vert_zoom_mult=1000
gfx_filter_horiz_zoom_mult=1000
gfx_filter_vert_offset=0
gfx_filter_horiz_offset=0
gfx_filter_scanlines=0
gfx_filter_scanlinelevel=0
gfx_filter_scanlineratio=17
gfx_filter_luminance=0
gfx_filter_contrast=0
gfx_filter_saturation=0
gfx_filter_gamma=0
gfx_filter_blur=0
gfx_filter_noise=0
gfx_filter_bilinear=false
gfx_filter_keep_aspect=none
gfx_filter_autoscale=auto
gfx_filter_aspect_ratio=0&#58;0
gfx_luminance=0
gfx_contrast=0
gfx_gamma=0
gfx_filter_mask=
gfx_center_horizontal_position=-1
gfx_center_vertical_position=-1
gfx_center_horizontal_size=-1
gfx_center_vertical_size=-1
immediate_blits=false
ntsc=false
genlock=false
show_leds=false
show_leds_rtg=false
keyboard_leds=numlock&#58;none,capslock&#58;none,scrolllock&#58;none
chipset=ocs
chipset_refreshrate=0
collision_level=playfields
chipset_compatible=A500
ciaatod=vblank
rtc=none
ksmirror_e0=false
ksmirror_a8=false
cd32cd=false
cd32c2p=false
cd32nvram=false
cdtvcd=false
cdtvram=false
cdtvramcard=0
cdimage0=
ide=none
a1000ram=false
fatgary=-1
ramsey=-1
pcmcia=false
scsi_cdtv=false
scsi_a2091=false
scsi_a4091=false
scsi_a3000=false
scsi_a4000t=false
bogomem_fast=false
resetwarning=false
denise_noehb=false
agnus_bltbusybug=false
ics_agnus=false
fastmem_size=0
a3000mem_size=0
mbresmem_size=0
z3mem_size=0
z3mem2_size=0
z3mem_start=0x10000000
bogomem_size=0
gfxcard_size=0
chipmem_size=1
megachipmem_size=0
cpu_speed=real
cpu_type=68000
cpu_model=68000
cpu_compatible=true
cpu_24bit_addressing=false
cpu_multiplier=2
cpu_cycle_exact=true
blitter_cycle_exact=true
cycle_exact=true
rtg_nocustom=true
rtg_modes=0x212
log_illegal_mem=false
catweasel=0
kbd_lang=us
state_replay=no
state_replay_rate=250
state_replay_buffer=20971520
state_replay_buffers=100
state_replay_autoplay=true
warp=false
hardfile2=
uaehf0=
uaehf1=
filesystem=
filesystem2=
input.config=0
input.joymouse_speed_analog=20
input.joymouse_speed_digital=10
input.joymouse_deadzone=33
input.joystick_deadzone=33
input.analog_joystick_multiplier=15
input.analog_joystick_offset=-1
input.mouse_speed=100
input.autofire_speed=600
input.autoswitch=1
input.1.joystick.0.empty=true
input.1.joystick.0.disabled=false
input.1.joystick.1.empty=true
input.1.joystick.1.disabled=false
input.1.joystick.2.empty=true
input.1.joystick.2.disabled=false
input.1.joystick.3.empty=true
input.1.joystick.3.disabled=false
input.1.joystick.4.empty=true
input.1.joystick.4.disabled=false
input.1.joystick.5.empty=true
input.1.joystick.5.disabled=false
input.1.joystick.6.empty=true
input.1.joystick.6.disabled=false
input.1.joystick.7.empty=true
input.1.joystick.7.disabled=false
input.1.joystick.8.empty=true
input.1.joystick.9.empty=true
input.1.joystick.10.empty=true
input.1.joystick.11.empty=true
input.1.joystick.12.empty=true
input.1.joystick.13.empty=true
input.1.joystick.14.empty=true
input.1.joystick.15.empty=true
input.1.joystick.16.empty=true
input.1.joystick.17.empty=true
input.1.joystick.18.empty=true
input.1.joystick.19.empty=true
input.1.mouse.0.friendlyname=Windows mouse
input.1.mouse.0.name=WINMOUSE1
input.1.mouse.0.empty=true
input.1.mouse.0.disabled=false
input.1.mouse.1.friendlyname=RAW Mouse &#40;1532/0101&#41;
input.1.mouse.1.name=\??\HID#Vid_1532&Pid_0101&MI_00#7&763a489&0&0000#&#123;378de44c-56ef-11d1-bc8c-00a0c91405dd&#125;
input.1.mouse.1.empty=true
input.1.mouse.1.disabled=false
input.1.mouse.2.empty=true
input.1.mouse.2.disabled=false
input.1.mouse.3.empty=true
input.1.mouse.3.disabled=false
input.1.mouse.4.empty=true
input.1.mouse.4.disabled=false
input.1.mouse.5.empty=true
input.1.mouse.5.disabled=false
input.1.mouse.6.empty=true
input.1.mouse.6.disabled=false
input.1.mouse.7.empty=true
input.1.mouse.7.disabled=false
input.1.mouse.8.empty=true
input.1.mouse.9.empty=true
input.1.mouse.10.empty=true
input.1.mouse.11.empty=true
input.1.mouse.12.empty=true
input.1.mouse.13.empty=true
input.1.mouse.14.empty=true
input.1.mouse.15.empty=true
input.1.mouse.16.empty=true
input.1.mouse.17.empty=true
input.1.mouse.18.empty=true
input.1.mouse.19.empty=true
input.1.keyboard.0.friendlyname=RAW Keyboard &#40;1532/0101&#41;
input.1.keyboard.0.name=\??\HID#Vid_1532&Pid_0101&MI_01#7&2b3ae24b&0&0000#&#123;884b96c3-56ef-11d1-bc8c-00a0c91405dd&#125;
input.1.keyboard.0.empty=false
input.1.keyboard.0.disabled=false
input.1.keyboard.1.friendlyname=RAW Keyboard &#40;413C/2003&#41;
input.1.keyboard.1.name=\??\HID#Vid_413c&Pid_2003#6&1d72cc63&0&0000#&#123;884b96c3-56ef-11d1-bc8c-00a0c91405dd&#125;
input.1.keyboard.1.empty=false
input.1.keyboard.1.disabled=false
input.1.keyboard.2.friendlyname=WinUAE null keyboard
input.1.keyboard.2.name=NULLKEYBOARD
input.1.keyboard.2.empty=false
input.1.keyboard.2.disabled=false
input.1.keyboard.3.empty=true
input.1.keyboard.3.disabled=false
input.1.keyboard.4.empty=true
input.1.keyboard.4.disabled=false
input.1.keyboard.5.empty=true
input.1.keyboard.5.disabled=false
input.1.keyboard.6.empty=true
input.1.keyboard.6.disabled=false
input.1.keyboard.7.empty=true
input.1.keyboard.7.disabled=false
input.1.keyboard.8.empty=true
input.1.keyboard.9.empty=true
input.1.keyboard.10.empty=true
input.1.keyboard.11.empty=true
input.1.keyboard.12.empty=true
input.1.keyboard.13.empty=true
input.1.keyboard.14.empty=true
input.1.keyboard.15.empty=true
input.1.keyboard.16.empty=true
input.1.keyboard.17.empty=true
input.1.keyboard.18.empty=true
input.1.keyboard.19.empty=true
input.1.internal.0.friendlyname=Internal events
input.1.internal.0.name=INTERNALEVENTS1
input.1.internal.0.empty=true
input.1.internal.0.disabled=false
input.2.joystick.0.empty=true
input.2.joystick.0.disabled=false
input.2.joystick.1.empty=true
input.2.joystick.1.disabled=false
input.2.joystick.2.empty=true
input.2.joystick.2.disabled=false
input.2.joystick.3.empty=true
input.2.joystick.3.disabled=false
input.2.joystick.4.empty=true
input.2.joystick.4.disabled=false
input.2.joystick.5.empty=true
input.2.joystick.5.disabled=false
input.2.joystick.6.empty=true
input.2.joystick.6.disabled=false
input.2.joystick.7.empty=true
input.2.joystick.7.disabled=false
input.2.joystick.8.empty=true
input.2.joystick.9.empty=true
input.2.joystick.10.empty=true
input.2.joystick.11.empty=true
input.2.joystick.12.empty=true
input.2.joystick.13.empty=true
input.2.joystick.14.empty=true
input.2.joystick.15.empty=true
input.2.joystick.16.empty=true
input.2.joystick.17.empty=true
input.2.joystick.18.empty=true
input.2.joystick.19.empty=true
input.2.mouse.0.friendlyname=Windows mouse
input.2.mouse.0.name=WINMOUSE1
input.2.mouse.0.empty=true
input.2.mouse.0.disabled=false
input.2.mouse.1.friendlyname=RAW Mouse &#40;1532/0101&#41;
input.2.mouse.1.name=\??\HID#Vid_1532&Pid_0101&MI_00#7&763a489&0&0000#&#123;378de44c-56ef-11d1-bc8c-00a0c91405dd&#125;
input.2.mouse.1.empty=true
input.2.mouse.1.disabled=false
input.2.mouse.2.empty=true
input.2.mouse.2.disabled=false
input.2.mouse.3.empty=true
input.2.mouse.3.disabled=false
input.2.mouse.4.empty=true
input.2.mouse.4.disabled=false
input.2.mouse.5.empty=true
input.2.mouse.5.disabled=false
input.2.mouse.6.empty=true
input.2.mouse.6.disabled=false
input.2.mouse.7.empty=true
input.2.mouse.7.disabled=false
input.2.mouse.8.empty=true
input.2.mouse.9.empty=true
input.2.mouse.10.empty=true
input.2.mouse.11.empty=true
input.2.mouse.12.empty=true
input.2.mouse.13.empty=true
input.2.mouse.14.empty=true
input.2.mouse.15.empty=true
input.2.mouse.16.empty=true
input.2.mouse.17.empty=true
input.2.mouse.18.empty=true
input.2.mouse.19.empty=true
input.2.keyboard.0.friendlyname=RAW Keyboard &#40;1532/0101&#41;
input.2.keyboard.0.name=\??\HID#Vid_1532&Pid_0101&MI_01#7&2b3ae24b&0&0000#&#123;884b96c3-56ef-11d1-bc8c-00a0c91405dd&#125;
input.2.keyboard.0.empty=false
input.2.keyboard.0.disabled=false
input.2.keyboard.1.friendlyname=RAW Keyboard &#40;413C/2003&#41;
input.2.keyboard.1.name=\??\HID#Vid_413c&Pid_2003#6&1d72cc63&0&0000#&#123;884b96c3-56ef-11d1-bc8c-00a0c91405dd&#125;
input.2.keyboard.1.empty=false
input.2.keyboard.1.disabled=false
input.2.keyboard.2.friendlyname=WinUAE null keyboard
input.2.keyboard.2.name=NULLKEYBOARD
input.2.keyboard.2.empty=false
input.2.keyboard.2.disabled=false
input.2.keyboard.3.empty=true
input.2.keyboard.3.disabled=false
input.2.keyboard.4.empty=true
input.2.keyboard.4.disabled=false
input.2.keyboard.5.empty=true
input.2.keyboard.5.disabled=false
input.2.keyboard.6.empty=true
input.2.keyboard.6.disabled=false
input.2.keyboard.7.empty=true
input.2.keyboard.7.disabled=false
input.2.keyboard.8.empty=true
input.2.keyboard.9.empty=true
input.2.keyboard.10.empty=true
input.2.keyboard.11.empty=true
input.2.keyboard.12.empty=true
input.2.keyboard.13.empty=true
input.2.keyboard.14.empty=true
input.2.keyboard.15.empty=true
input.2.keyboard.16.empty=true
input.2.keyboard.17.empty=true
input.2.keyboard.18.empty=true
input.2.keyboard.19.empty=true
input.2.internal.0.friendlyname=Internal events
input.2.internal.0.name=INTERNALEVENTS1
input.2.internal.0.empty=true
input.3.joystick.0.empty=true
input.3.joystick.0.disabled=false
input.3.joystick.1.empty=true
input.3.joystick.1.disabled=false
input.3.joystick.2.empty=true
input.3.joystick.2.disabled=false
input.3.joystick.3.empty=true
input.3.joystick.3.disabled=false
input.3.joystick.4.empty=true
input.3.joystick.4.disabled=false
input.3.joystick.5.empty=true
input.3.joystick.5.disabled=false
input.3.joystick.6.empty=true
input.3.joystick.6.disabled=false
input.3.joystick.7.empty=true
input.3.joystick.7.disabled=false
input.3.joystick.8.empty=true
input.3.joystick.9.empty=true
input.3.joystick.10.empty=true
input.3.joystick.11.empty=true
input.3.joystick.12.empty=true
input.3.joystick.13.empty=true
input.3.joystick.14.empty=true
input.3.joystick.15.empty=true
input.3.joystick.16.empty=true
input.3.joystick.17.empty=true
input.3.joystick.18.empty=true
input.3.joystick.19.empty=true
input.3.mouse.0.friendlyname=Windows mouse
input.3.mouse.0.name=WINMOUSE1
input.3.mouse.0.empty=true
input.3.mouse.0.disabled=false
input.3.mouse.1.friendlyname=RAW Mouse &#40;1532/0101&#41;
input.3.mouse.1.name=\??\HID#Vid_1532&Pid_0101&MI_00#7&763a489&0&0000#&#123;378de44c-56ef-11d1-bc8c-00a0c91405dd&#125;
input.3.mouse.1.empty=true
input.3.mouse.1.disabled=false
input.3.mouse.2.empty=true
input.3.mouse.2.disabled=false
input.3.mouse.3.empty=true
input.3.mouse.3.disabled=false
input.3.mouse.4.empty=true
input.3.mouse.4.disabled=false
input.3.mouse.5.empty=true
input.3.mouse.5.disabled=false
input.3.mouse.6.empty=true
input.3.mouse.6.disabled=false
input.3.mouse.7.empty=true
input.3.mouse.7.disabled=false
input.3.mouse.8.empty=true
input.3.mouse.9.empty=true
input.3.mouse.10.empty=true
input.3.mouse.11.empty=true
input.3.mouse.12.empty=true
input.3.mouse.13.empty=true
input.3.mouse.14.empty=true
input.3.mouse.15.empty=true
input.3.mouse.16.empty=true
input.3.mouse.17.empty=true
input.3.mouse.18.empty=true
input.3.mouse.19.empty=true
input.3.keyboard.0.friendlyname=RAW Keyboard &#40;1532/0101&#41;
input.3.keyboard.0.name=\??\HID#Vid_1532&Pid_0101&MI_01#7&2b3ae24b&0&0000#&#123;884b96c3-56ef-11d1-bc8c-00a0c91405dd&#125;
input.3.keyboard.0.empty=false
input.3.keyboard.0.disabled=false
input.3.keyboard.1.friendlyname=RAW Keyboard &#40;413C/2003&#41;
input.3.keyboard.1.name=\??\HID#Vid_413c&Pid_2003#6&1d72cc63&0&0000#&#123;884b96c3-56ef-11d1-bc8c-00a0c91405dd&#125;
input.3.keyboard.1.empty=false
input.3.keyboard.1.disabled=false
input.3.keyboard.2.friendlyname=WinUAE null keyboard
input.3.keyboard.2.name=NULLKEYBOARD
input.3.keyboard.2.empty=false
input.3.keyboard.2.disabled=false
input.3.keyboard.3.empty=true
input.3.keyboard.3.disabled=false
input.3.keyboard.4.empty=true
input.3.keyboard.4.disabled=false
input.3.keyboard.5.empty=true
input.3.keyboard.5.disabled=false
input.3.keyboard.6.empty=true
input.3.keyboard.6.disabled=false
input.3.keyboard.7.empty=true
input.3.keyboard.7.disabled=false
input.3.keyboard.8.empty=true
input.3.keyboard.9.empty=true
input.3.keyboard.10.empty=true
input.3.keyboard.11.empty=true
input.3.keyboard.12.empty=true
input.3.keyboard.13.empty=true
input.3.keyboard.14.empty=true
input.3.keyboard.15.empty=true
input.3.keyboard.16.empty=true
input.3.keyboard.17.empty=true
input.3.keyboard.18.empty=true
input.3.keyboard.19.empty=true
input.3.internal.0.friendlyname=Internal events
input.3.internal.0.name=INTERNALEVENTS1
input.3.internal.0.empty=true
input.4.mouse.0.friendlyname=Windows mouse
input.4.mouse.0.name=WINMOUSE1
input.4.mouse.0.custom=true
input.4.keyboard.0.friendlyname=RAW Keyboard &#40;1532/0101&#41;
input.4.keyboard.0.name=\??\HID#Vid_1532&Pid_0101&MI_01#7&2b3ae24b&0&0000#&#123;884b96c3-56ef-11d1-bc8c-00a0c91405dd&#125;
input.4.keyboard.0.custom=true
input.4.keyboard.1.friendlyname=RAW Keyboard &#40;413C/2003&#41;
input.4.keyboard.1.name=\??\HID#Vid_413c&Pid_2003#6&1d72cc63&0&0000#&#123;884b96c3-56ef-11d1-bc8c-00a0c91405dd&#125;
input.4.keyboard.1.custom=true
input.4.keyboard.1.button.17.W=JOY2_2ND_BUTTON.4.1
input.4.keyboard.1.button.19.R=JOY2_UP.4.1
input.4.keyboard.1.button.23.I=JOY2_FIRE_BUTTON.4.1
input.4.keyboard.1.button.32.D=JOY2_LEFT.4.1
input.4.keyboard.1.button.33.F=JOY2_DOWN.4.1
input.4.keyboard.1.button.34.G=JOY2_RIGHT.4.1
input.4.keyboard.2.friendlyname=WinUAE null keyboard
input.4.keyboard.2.name=NULLKEYBOARD
input.4.keyboard.2.custom=true
input.4.mouse.1.friendlyname=HID-compliant mouse
input.4.mouse.1.name=\??\HID#Vid_1038&Pid_1384&MI_01#7&fdbe0e7&0&0000#&#123;378de44c-56ef-11d1-bc8c-00a0c91405dd&#125;
input.4.mouse.1.custom=true
input.4.mouse.1.button.0=JOY2_FIRE_BUTTON.4
input.4.mouse.1.button.1=JOY2_2ND_BUTTON.4
diskimage0=
diskimage1=
diskimage2=
diskimage3=
diskimage4=
diskimage5=
diskimage6=
diskimage7=
diskimage8=
diskimage9=
diskimage10=
diskimage11=
diskimage12=
diskimage13=
diskimage14=
diskimage15=
diskimage16=
diskimage17=
diskimage18=
diskimage19=
fpu_model=none
statefile=
joyport0mode=mousenowheel
joyport1mode=djoy
&#91;EXTRA&#93;
hardfile2=
filesystem=
filesystem2=
Fiery Phoenix
New Member
Posts: 39
Joined: Tue Aug 07, 2012 8:07 am

Tue Dec 29, 2015 1:31 pm

Cheers buddy - will try now

Return to “Commodore Amiga - GameBase Amiga”

Who is online

Users browsing this forum: No registered users and 2 guests