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

WinUAE custom configuration not loaded from Gamebase Amiga!

Discuss the Commodore Amiga database that uses the GameBase Frontend.

Moderator: Jimbo

minamoto kobayashi
Keen Member
Keen Member
Posts: 50
Joined: Mon Mar 21, 2011 11:44 am

WinUAE custom configuration not loaded from Gamebase Amiga!

Wed Aug 10, 2011 2:56 am

Hello dudes!
I hope some gentle soul can help me ...
I have done my personal host configuration for WinUAE (I.E.: window dimension, scanlines, etc.).
When I launch manually the WinUAE, the program start with the correct config, but when the program is launched from Gamebase Amiga, it starts with the default configs, and ignore my presets.
How I can tell to the Gamebase frontend to start with my config?

Thanks in advance!

Richard.
User avatar
.mad.
Highly Commended Member
Highly Commended Member
Location: Lancashire
Posts: 1600
Joined: Sun Jun 19, 2005 3:30 pm

Wed Aug 10, 2011 5:32 pm

The Amiga Gamebase i used to have, used 3 different UAE config files.
for Hard Drive, WHDLoad, and Floppy.

this example uses just 1 edited /custom config file for all settings.
so if you set screen size for one Amiga machine.
it will keep that same setting till you change it in the script.

you need to edit the screen settings you want in the script file..
and change the kickstart names and paths, to your file locations.

Amiga.txt - Script

Code: Select all

;*************************
;* Gamebase Amiga Script *
;*     By .mad. 2011     *
;*  for WinUAE 2.3.1.0+  *
;*************************

; you can change ALL machine defaults to your preferred settings.
; But they must be compatible with each other to work.

	;---------------------------------------------
	; Emulator Screen /Window settings.
	;---------------------------------------------
	Set_CFG_Value(%dbpath%\Amiga.uae||gfxcard_size||0)

	Set_CFG_Value(%dbpath%\Amiga.uae||gfx_center_horizontal_position||-1)
	Set_CFG_Value(%dbpath%\Amiga.uae||gfx_center_horizontal_size||-1)
	Set_CFG_Value(%dbpath%\Amiga.uae||gfx_center_horizontal||false)
	
	Set_CFG_Value(%dbpath%\Amiga.uae||gfx_center_vertical_position||-1)
	Set_CFG_Value(%dbpath%\Amiga.uae||gfx_center_vertical_size||-1)
	Set_CFG_Value(%dbpath%\Amiga.uae||gfx_center_vertical||none)
	
	Set_CFG_Value(%dbpath%\Amiga.uae||gfx_width_fullscreen||800)
	Set_CFG_Value(%dbpath%\Amiga.uae||gfx_height_fullscreen||600)
		
	Set_CFG_Value(%dbpath%\Amiga.uae||gfx_width_windowed||720)
	Set_CFG_Value(%dbpath%\Amiga.uae||gfx_height_windowed||576)
	
	Set_CFG_Value(%dbpath%\Amiga.uae||gfx_width||720)
	Set_CFG_Value(%dbpath%\Amiga.uae||gfx_height||568)

;------------------------------------------------------------------------
;change "direct3d" to "directdraw" if you get a black screen.
;------------------------------------------------------------------------
	If Key_gfx_api CONTAINS(direct3d||directdraw)
	Set_CFG_Value(%dbpath%\Amiga.uae||gfx_api||%gfx_api_value%)
	Else
	Set_CFG_Value(%dbpath%\Amiga.uae||gfx_api||direct3d)
        End if
;------------------------------------------------------------------------
	Set_CFG_Value(%dbpath%\Amiga.uae||gfx_autoresolution||false)
	Set_CFG_Value(%dbpath%\Amiga.uae||gfx_backbuffers||2)
	Set_CFG_Value(%dbpath%\Amiga.uae||gfx_blacker_than_black||false)
	
	Set_CFG_Value(%dbpath%\Amiga.uae||gfx_colour_mode||16bit)
	Set_CFG_Value(%dbpath%\Amiga.uae||gfx_contrast||0)
	Set_CFG_Value(%dbpath%\Amiga.uae||gfx_display_name||)
	Set_CFG_Value(%dbpath%\Amiga.uae||gfx_display||0)
	
	Set_CFG_Value(%dbpath%\Amiga.uae||gfx_filter_aspect_ratio||0:0)
	Set_CFG_Value(%dbpath%\Amiga.uae||gfx_filter_autoscale||auto)
	Set_CFG_Value(%dbpath%\Amiga.uae||gfx_filter_bilinear||false)
	Set_CFG_Value(%dbpath%\Amiga.uae||gfx_filter_blur||0)
	Set_CFG_Value(%dbpath%\Amiga.uae||gfx_filter_contrast||0)
	Set_CFG_Value(%dbpath%\Amiga.uae||gfx_filter_gamma||0)
	Set_CFG_Value(%dbpath%\Amiga.uae||gfx_filter_horiz_offset||0)
	Set_CFG_Value(%dbpath%\Amiga.uae||gfx_filter_horiz_zoom_mult||1000)
	Set_CFG_Value(%dbpath%\Amiga.uae||gfx_filter_horiz_zoom||0)
	Set_CFG_Value(%dbpath%\Amiga.uae||gfx_filter_keep_aspect||none)
	Set_CFG_Value(%dbpath%\Amiga.uae||gfx_filter_luminance||0)
	Set_CFG_Value(%dbpath%\Amiga.uae||gfx_filter_mask||)
	Set_CFG_Value(%dbpath%\Amiga.uae||gfx_filter_mode||1x)
	Set_CFG_Value(%dbpath%\Amiga.uae||gfx_filter_noise||0)
	Set_CFG_Value(%dbpath%\Amiga.uae||gfx_filter_saturation||0)
	Set_CFG_Value(%dbpath%\Amiga.uae||gfx_filter_scanlinelevel||0)
	Set_CFG_Value(%dbpath%\Amiga.uae||gfx_filter_scanlineratio||17)
	Set_CFG_Value(%dbpath%\Amiga.uae||gfx_filter_scanlines||0)
	Set_CFG_Value(%dbpath%\Amiga.uae||gfx_filter_vert_offset||0)
	Set_CFG_Value(%dbpath%\Amiga.uae||gfx_filter_vert_zoom_mult||1000)
	Set_CFG_Value(%dbpath%\Amiga.uae||gfx_filter_vert_zoom||0)
	Set_CFG_Value(%dbpath%\Amiga.uae||gfx_filter||no)
	
	Set_CFG_Value(%dbpath%\Amiga.uae||gfx_flickerfixer||false)
	Set_CFG_Value(%dbpath%\Amiga.uae||gfx_framerate||1)
	Set_CFG_Value(%dbpath%\Amiga.uae||gfx_fullscreen_amiga||false)
	Set_CFG_Value(%dbpath%\Amiga.uae||gfx_fullscreen_picasso||false)
	Set_CFG_Value(%dbpath%\Amiga.uae||gfx_gamma||0)
	
	Set_CFG_Value(%dbpath%\Amiga.uae||gfx_left_windowed||0)
	Set_CFG_Value(%dbpath%\Amiga.uae||gfx_linemode||double)
	Set_CFG_Value(%dbpath%\Amiga.uae||gfx_lores_mode||normal)
	Set_CFG_Value(%dbpath%\Amiga.uae||gfx_lores||false)
	Set_CFG_Value(%dbpath%\Amiga.uae||gfx_luminance||0)
	Set_CFG_Value(%dbpath%\Amiga.uae||gfx_refreshrate||0)
	Set_CFG_Value(%dbpath%\Amiga.uae||gfx_resolution||hires)
	Set_CFG_Value(%dbpath%\Amiga.uae||gfx_top_windowed||0)
	Set_CFG_Value(%dbpath%\Amiga.uae||gfx_vsync_picasso||false)
	Set_CFG_Value(%dbpath%\Amiga.uae||gfx_vsync||false)
	
;---------------------------------------------
;Floppy Drive settings (defalut = 1)
;---------------------------------------------
	Set_CFG_Value(%dbpath%\Amiga.uae||nr_floppies||1)
	
	Set_CFG_Value(%dbpath%\Amiga.uae||floppy_channel_mask||0xffff)
	Set_CFG_Value(%dbpath%\Amiga.uae||floppy_speed||100)
	Set_CFG_Value(%dbpath%\Amiga.uae||floppy_volume||33)
	
	Set_CFG_Value(%dbpath%\Amiga.uae||floppy0||)
	Set_CFG_Value(%dbpath%\Amiga.uae||floppy0sound||0)
	Set_CFG_Value(%dbpath%\Amiga.uae||floppy0type||0)
	Set_CFG_Value(%dbpath%\Amiga.uae||floppy1||)
	Set_CFG_Value(%dbpath%\Amiga.uae||floppy1sound||0)
	Set_CFG_Value(%dbpath%\Amiga.uae||floppy1type||-1)
	Set_CFG_Value(%dbpath%\Amiga.uae||floppy2||)
	Set_CFG_Value(%dbpath%\Amiga.uae||floppy2sound||0)
	Set_CFG_Value(%dbpath%\Amiga.uae||floppy2type||-1)
	Set_CFG_Value(%dbpath%\Amiga.uae||floppy3||)
	Set_CFG_Value(%dbpath%\Amiga.uae||floppy3sound||0)
	Set_CFG_Value(%dbpath%\Amiga.uae||floppy3type||-1)
	;-------------------------
	;Remove Floppy Disk Images.
	;-------------------------
	Set_CFG_Value(%dbpath%\Amiga.uae||diskimage0||)
	Set_CFG_Value(%dbpath%\Amiga.uae||diskimage1||)
	Set_CFG_Value(%dbpath%\Amiga.uae||diskimage2||)
	Set_CFG_Value(%dbpath%\Amiga.uae||diskimage3||)
	Set_CFG_Value(%dbpath%\Amiga.uae||diskimage4||)
	Set_CFG_Value(%dbpath%\Amiga.uae||diskimage5||)
	Set_CFG_Value(%dbpath%\Amiga.uae||diskimage6||)
	Set_CFG_Value(%dbpath%\Amiga.uae||diskimage7||)
	Set_CFG_Value(%dbpath%\Amiga.uae||diskimage8||)
	Set_CFG_Value(%dbpath%\Amiga.uae||diskimage9||)
	Set_CFG_Value(%dbpath%\Amiga.uae||diskimage10||)
	Set_CFG_Value(%dbpath%\Amiga.uae||diskimage11||)
	Set_CFG_Value(%dbpath%\Amiga.uae||diskimage12||)
	Set_CFG_Value(%dbpath%\Amiga.uae||diskimage13||)
	Set_CFG_Value(%dbpath%\Amiga.uae||diskimage14||)
	Set_CFG_Value(%dbpath%\Amiga.uae||diskimage15||)
	Set_CFG_Value(%dbpath%\Amiga.uae||diskimage16||)
	Set_CFG_Value(%dbpath%\Amiga.uae||diskimage17||)
	Set_CFG_Value(%dbpath%\Amiga.uae||diskimage18||)
	Set_CFG_Value(%dbpath%\Amiga.uae||diskimage19||)
	;----------------------------------
	;Remove Hard-Drive and WHD Images.
	;----------------------------------
	Set_CFG_Value(%dbpath%\Amiga.uae||ide||none)
	Set_CFG_Value(%dbpath%\Amiga.uae||uaehf0||)
	Set_CFG_Value(%dbpath%\Amiga.uae||uaehf1||)
	Set_CFG_value(%dbpath%\Amiga.uae||hardfile2||)
	Set_CFG_value(%dbpath%\Amiga.uae||filesystem||)
	Set_CFG_value(%dbpath%\Amiga.uae||filesystem2||)
	Set_ini_value(%dbpath%\Amiga.uae||EXTRA||hardfile2||)
	Set_ini_value(%dbpath%\Amiga.uae||EXTRA||filesystem||)
	Set_ini_value(%dbpath%\Amiga.uae||EXTRA||filesystem2||)


;------------------------------------------------
;Default Sound Card settings. *My Card Example.
;------------------------------------------------
;*Enter your own Custom Sound Card settings here.
;
;*Set_CFG_Value(%dbpath%\Amiga.uae||win32.soundcard||1)
;*Set_CFG_Value(%dbpath%\Amiga.uae||win32.soundcardname||SoundMAX HD Audio)
;*Set_CFG_Value(%dbpath%\Amiga.uae||win32.soundcard_exclusive||false)
;------------------------------------------------	
	Set_CFG_Value(%dbpath%\Amiga.uae||win32.soundcard||0)
	Set_CFG_Value(%dbpath%\Amiga.uae||win32.soundcardname||Primary Sound Driver)
	Set_CFG_Value(%dbpath%\Amiga.uae||win32.soundcard_exclusive||false)

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

;---------------------------------------------
; Joystick settings.
;---------------------------------------------
	If Control = JoyPort1
	Set_CFG_Value(%dbpath%\Amiga.uae||joyport0||kbd4)
	Set_CFG_Value(%dbpath%\Amiga.uae||joyport1||kbd5)
	Else
	Set_CFG_Value(%dbpath%\Amiga.uae||joyport0||mouse1)
	Set_CFG_Value(%dbpath%\Amiga.uae||joyport1||kbd4)
	End If
	
;---------------------------------------------
; Kickstart settings. (Default v1.3)
; *  This section is going to be changed.  *
; *  i have it working with my rom files.  *
;---------------------------------------------
	If Key_kickstart_rom CONTAINS(*)
	Set_CFG_value(%dbpath%\Amiga.uae||kickstart_rom_file||)
	Set_CFG_value(%dbpath%\Amiga.uae||kickstart_rom_file_id||)
	Set_CFG_value(%dbpath%\Amiga.uae||kickstart_ext_rom_file||)
	Set_CFG_Value(%dbpath%\Amiga.uae||kickshifter||false)
	
	Set_CFG_Value(%dbpath%\Amiga.uae||kickstart_rom||%kickstart_rom_value%)
	Else
	
	Set_CFG_value(%dbpath%\Amiga.uae||kickstart_rom_file||%emupath%\KICKSTART\KS ROM v1.3 (A500,A1000,A2000) rev 34.5 (256k).rom)
	Set_CFG_value(%dbpath%\Amiga.uae||kickstart_rom_file_id||C4F0F55F,KS ROM v1.3 (A500,A1000,A2000))
	Set_CFG_value(%dbpath%\Amiga.uae||kickstart_ext_rom_file||)
	Set_CFG_Value(%dbpath%\Amiga.uae||kickstart_rom||)
	Set_CFG_Value(%dbpath%\Amiga.uae||kickshifter||false)
	End If
	
	;*KSMIRROR_A8 must be off for v1.2 A500
	
	If Key_ksmirror_e0 CONTAINS(true)
	Set_CFG_Value(%dbpath%\Amiga.uae||ksmirror_e0||true)
	else
	Set_CFG_Value(%dbpath%\Amiga.uae||ksmirror_e0||false)
	End If
	
	If Key_ksmirror_a8 CONTAINS(true)
	Set_CFG_Value(%dbpath%\Amiga.uae||ksmirror_a8||true)
	Else
	Set_CFG_Value(%dbpath%\Amiga.uae||ksmirror_a8||false)
	End If

	If Key_chipset CONTAINS(ocs||aga||ecs||ecs_agnus||ecs_denise||full_ecs)
	Set_CFG_Value(%dbpath%\Amiga.uae||chipset||%chipset_value%)
	Else
	Set_CFG_Value(%dbpath%\Amiga.uae||chipset||ocs)
	End If

	If Key_chipset_compatible CONTAINS(A500||A1200)
	Set_CFG_Value(%dbpath%\Amiga.uae||chipset_compatible||%chipset_compatible_value%)
	Else
	Set_CFG_Value(%dbpath%\Amiga.uae||chipset_compatible||A500)
	End If
	
;*************
;Sets CPU TYPE to same MODEL value if only Model is set.
;These options only work in newer version of WinUAE 2.3.1.0
;*************
	If Key_cpu_model CONTAINS(68000||68010||68020||68030||68040||68060)
	Set_CFG_Value(%dbpath%\Amiga.uae||cpu_model||%cpu_model_value%)
	Set_CFG_Value(%dbpath%\Amiga.uae||cpu_type||%cpu_model_value%)
	Else
	Set_CFG_Value(%dbpath%\Amiga.uae||cpu_model||68000)
	End If
	
	If Key_cpu_type CONTAINS(68000||68010||68020||68030||68040||68060)
	Set_CFG_Value(%dbpath%\Amiga.uae||cpu_type||%cpu_type_value%)
	Else
	Set_CFG_Value(%dbpath%\Amiga.uae||cpu_type||68000)
	End If
;*************	
	If Key_fpu_model CONTAINS(68881||68882||none)
	Set_CFG_Value(%dbpath%\Amiga.uae||fpu_model||%fpu_model_value%)
	Else
	Set_CFG_Value(%dbpath%\Amiga.uae||fpu_model||none)
	End If
;--------------------------------------------------------
; Machine Values that can be changed via Gemus.
;--------------------------------------------------------

	If PalNTSC = NTSC
	Set_CFG_Value(%dbpath%\Amiga.uae||ntsc||true)
	Else
	Set_CFG_Value(%dbpath%\Amiga.uae||ntsc||false)
	End If
	
	If Key_ntsc CONTAINS(True||False)
	Set_CFG_Value(%dbpath%\Amiga.uae||ntsc||%ntsc_value%)
	Else
	Set_CFG_Value(%dbpath%\Amiga.uae||ntsc||false)
	End If
		
	If Key_immediate_blits CONTAINS(True||False)
	Set_CFG_Value(%dbpath%\Amiga.uae||immediate_blits||%immediate_blits_value%)
	Else
	Set_CFG_Value(%dbpath%\Amiga.uae||immediate_blits||false)
	End If

	If Key_collision_level CONTAINS(none||playfields||sprites||full)
	Set_CFG_Value(%dbpath%\Amiga.uae||collision_level||%collision_level_value%)
	Else
	Set_CFG_Value(%dbpath%\Amiga.uae||collision_level||playfields)
	End If
		
	If Key_fastmem_size CONTAINS(0||1||2||3||4||5||6||7||8)
	Set_CFG_Value(%dbpath%\Amiga.uae||fastmem_size||%fastmem_size_value%)
	Else
	Set_CFG_Value(%dbpath%\Amiga.uae||fastmem_size||0)
	End If

	If Key_bogomem_size CONTAINS(*)
	Set_CFG_Value(%dbpath%\Amiga.uae||bogomem_size||%bogomem_size_value%)
	Else
	Set_CFG_Value(%dbpath%\Amiga.uae||bogomem_size||0)
	End If
		
	If Key_bogomem_fast CONTAINS(true||false)
	Set_CFG_Value(%dbpath%\Amiga.uae||bogomem_fast||%bogomem_fast_value%)
	Else
	Set_CFG_Value(%dbpath%\Amiga.uae||bogomem_fast||false)
	End If
	
	If Key_chipmem_size CONTAINS(1||2||3||4||5||6||7||8)
	Set_CFG_Value(%dbpath%\Amiga.uae||chipmem_size||%chipmem_size_value%)
	Else
	Set_CFG_Value(%dbpath%\Amiga.uae||chipmem_size||1)
	End If

	If Key_cpu_speed CONTAINS(max||real)
	Set_CFG_Value(%dbpath%\Amiga.uae||cpu_speed||%cpu_speed_value%)
	Else
	Set_CFG_Value(%dbpath%\Amiga.uae||cpu_speed||real)
	End If

	If Key_z3mem_size CONTAINS(*)
	Set_CFG_Value(%dbpath%\Amiga.uae||z3mem_size||%z3mem_size_value%)
	Else
	Set_CFG_Value(%dbpath%\Amiga.uae||z3mem_size||0)
	End If

	If Key_cpu_compatible CONTAINS(true||false)
	Set_CFG_Value(%dbpath%\Amiga.uae||cpu_compatible||%cpu_compatible_value%)
	Else
	Set_CFG_Value(%dbpath%\Amiga.uae||cpu_compatible||true)
	End If

	If Key_fpu_strict CONTAINS(True||False)
	Set_CFG_Value(%dbpath%\Amiga.uae||fpu_strict||%fpu_strict_value%)
	Else
	Set_CFG_Value(%dbpath%\Amiga.uae||fpu_strict||false)
	End If

	If Key_cpu_24bit_addressing CONTAINS(true||false)
	Set_CFG_Value(%dbpath%\Amiga.uae||cpu_24bit_addressing||%cpu_24bit_addressing_value%)
	Else
	Set_CFG_Value(%dbpath%\Amiga.uae||cpu_24bit_addressing||false)
	End If

	If Key_cpu_cycle_exact CONTAINS(true||false)
	Set_CFG_Value(%dbpath%\Amiga.uae||cpu_cycle_exact||%cpu_cycle_exact_value%)
	Else
	Set_CFG_Value(%dbpath%\Amiga.uae||cpu_cycle_exact||false)
	End If

	If Key_blitter_cycle_exact CONTAINS(true||false)
	Set_CFG_Value(%dbpath%\Amiga.uae||blitter_cycle_exact||%blitter_cycle_exact_value%)
	Else
	Set_CFG_Value(%dbpath%\Amiga.uae||blitter_cycle_exact||true)
	End If

	If Key_cycle_exact CONTAINS(true||false)
	Set_CFG_Value(%dbpath%\Amiga.uae||cycle_exact||%cycle_exact_value%)
	Else
	Set_CFG_Value(%dbpath%\Amiga.uae||cycle_exact||true)
	End If

	If Key_cachesize CONTAINS(*)
	Set_CFG_Value(%dbpath%\Amiga.uae||cachesize||%cache_size_value%)
	Else
	Set_CFG_Value(%dbpath%\Amiga.uae||cachesize||0)
	End If

	If Key_statefile CONTAINS(*)
	Set_CFG_Value(%dbpath%\Amiga.uae||statefile||%statefile_value%)
	Else
	Set_CFG_Value(%dbpath%\Amiga.uae||statefile||)	
	End If

	If Key_compfpu CONTAINS(true||false)
	Set_CFG_Value(%dbpath%\Amiga.uae||compfpu||%compfpu_value%)
	Else
	Set_CFG_Value(%dbpath%\Amiga.uae||compfpu||false)
	End If
	;-----
	;Comp_Trust
	;-------
	If Key_comp_trustbyte CONTAINS(indirect||direct)
	Set_CFG_Value(%dbpath%\Amiga.uae||comp_trustbyte||%comp_trustbyte_value%)
	Else
	Set_CFG_Value(%dbpath%\Amiga.uae||comp_trustbyte||indirect)
	End If

	If Key_comp_trustword CONTAINS(indirect||direct)
	Set_CFG_Value(%dbpath%\Amiga.uae||comp_trustword||%comp_trustword_value%)
	Else
	Set_CFG_Value(%dbpath%\Amiga.uae||comp_trustword||indirect)
	End If

	If Key_comp_trustlong CONTAINS(indirect||direct)
	Set_CFG_Value(%dbpath%\Amiga.uae||comp_trustlong||%comp_trustlong_value%)
	Else
	Set_CFG_Value(%dbpath%\Amiga.uae||comp_trustlong||indirect)
	End If

	If Key_comp_trustnaddr CONTAINS(indirect||direct)
	Set_CFG_Value(%dbpath%\Amiga.uae||comp_trustnaddr||%comp_trustnaddr_value%)
	Else
	Set_CFG_Value(%dbpath%\Amiga.uae||comp_trustnaddr||indirect)
	End If

;*********************************************************************
If GameType CONTAINS(HDF)
; Run HDF Files. (You must link HDF file inside ZIP for this to work.)
;*********************************************************************	
	If Key_HDF CONTAINS(No WorkBench)
	;-----------------------------------------------
	;Put Game/Demo File in Hard Drive 0.
	;-----------------------------------------------
	Set_CFG_value(%dbpath%\Amiga.uae||hardfile2||rw,DH0:%gamepathfile%,32,1,2,512,-128,,uae)
	Set_CFG_value(%dbpath%\Amiga.uae||uaehf0||hdf,rw,DH0:%gamepathfile%,32,1,2,512,-128,,uae)
	Else
	;-----------------------------------------------
	;Put WorkBench 3.1 in Hard Drive 0.
	;-----------------------------------------------
	Set_CFG_value(%dbpath%\Amiga.uae||hardfile2||rw,DH0:%dbpath%\WB31.HDF,32,1,2,512,0,,uae)
	Set_CFG_value(%dbpath%\Amiga.uae||uaehf0||hdf,rw,DH0:%dbpath%\WB31.HDF,32,1,2,512,0,,uae)
	;-----------------------------------------------
	;Put Game/Demo File in Hard Drive 1.
	;-----------------------------------------------
	Set_ini_value(%dbpath%\Amiga.uae||EXTRA||hardfile2||rw,DH1:%gamepathfile%,32,1,2,512,-128,,uae)
	Set_CFG_value(%dbpath%\Amiga.uae||uaehf1||hdf,rw,DH1:%gamepathfile%,32,1,2,512,-128,,uae)
	End If
	
	Set_CFG_Value(%dbpath%\Amiga.uae||kickstart_rom_file||%emupath%\KICKSTART\KS ROM v3.1 (A1200) rev 40.68 (512k).rom)
	Set_CFG_Value(%dbpath%\Amiga.uae||kickstart_rom_file_id||1483A091,KS ROM v3.1 (A1200))
	Set_CFG_Value(%dbpath%\Amiga.uae||kickstart_ext_rom_file||)
	Set_CFG_Value(%dbpath%\Amiga.uae||kickstart_rom||)
	
	Set_CFG_Value(%dbpath%\Amiga.uae||chipset||aga)
	Set_CFG_Value(%dbpath%\Amiga.uae||rtc||MSM6242B)
	Set_CFG_Value(%dbpath%\Amiga.uae||fatgary||-1)
	Set_CFG_Value(%dbpath%\Amiga.uae||ramsey||-1)
	Set_CFG_Value(%dbpath%\Amiga.uae||log_illegal_mem||false)
	Set_CFG_Value(%dbpath%\Amiga.uae||maprom||0xf000000)
	
;###########################################################################
;ANY OF THESE LINES CAN BE DELETED/CHANGED IF INCORRECT.
;###########################################################################
	
	Set_CFG_Value(%dbpath%\Amiga.uae||immediate_blits||false)
	Set_CFG_Value(%dbpath%\Amiga.uae||fastmem_size||8)
	Set_CFG_Value(%dbpath%\Amiga.uae||chipmem_size||2)
	Set_CFG_Value(%dbpath%\Amiga.uae||cpu_type||68020)
	Set_CFG_Value(%dbpath%\Amiga.uae||cpu_model||68030)
	Set_CFG_Value(%dbpath%\Amiga.uae||cpu_compatible||true)
	Set_CFG_Value(%dbpath%\Amiga.uae||cpu_cycle_exact||false)
	Set_CFG_Value(%dbpath%\Amiga.uae||blitter_cycle_exact||true)
	
;############################################################################

	Add_CLP(-f "%dbpath%\Amiga.uae")
	Run_Emulator()
;*End If

;===================================================================================================
; WHDLOAD settings - ALL DEFAULTS MUST HAVE CORRECT COMPATIBILTY
;===================================================================================================
Else If VersionComment CONTAINS(*WHD*)

	Set_CFG_Value(%dbpath%\Amiga.uae||kickstart_rom_file||%emupath%\KICKSTART\KS ROM v3.1 (A1200) rev 40.68 (512k).rom)
	Set_CFG_Value(%dbpath%\Amiga.uae||kickstart_rom_file_id||1483A091,KS ROM v3.1 (A1200))
	Set_CFG_Value(%dbpath%\Amiga.uae||kickstart_ext_rom_file||)
	Set_CFG_Value(%dbpath%\Amiga.uae||kickstart_rom||)

;###########################################################################	
;ANY OF THESE LINES CAN BE DELETED/CHANGED IF INCORRECT.
;###########################################################################

	Set_CFG_Value(%dbpath%\Amiga.uae||bogomem_size||0)
	Set_CFG_Value(%dbpath%\Amiga.uae||cache_size||)
	Set_CFG_Value(%dbpath%\Amiga.uae||fastmem_size||8)
	Set_CFG_Value(%dbpath%\Amiga.uae||chipmem_size||2)
	Set_CFG_Value(%dbpath%\Amiga.uae||chipset||aga)
	Set_CFG_Value(%dbpath%\Amiga.uae||cpu_24bit_addressing||false)
	Set_CFG_Value(%dbpath%\Amiga.uae||cpu_compatible||false)
	Set_CFG_Value(%dbpath%\Amiga.uae||cpu_cycle_exact||true)
	Set_CFG_Value(%dbpath%\Amiga.uae||cpu_model||68030)
	Set_CFG_Value(%dbpath%\Amiga.uae||cpu_type||68020)
	Set_CFG_Value(%dbpath%\Amiga.uae||cpu_speed||real)
	Set_CFG_Value(%dbpath%\Amiga.uae||fpu_model||none)
	Set_CFG_Value(%dbpath%\Amiga.uae||immediate_blits||true)
	Set_CFG_Value(%dbpath%\Amiga.uae||blitter_cycle_exact||false)
	Set_CFG_Value(%dbpath%\Amiga.uae||statefile||)
	Set_CFG_Value(%dbpath%\Amiga.uae||z3mem_size||)
	
;###########################################################################

	;-------------------------------------------------------------
	; Set WHDLoad File System and unzip to Folder (C:\GBGAME\WHD).
	;-------------------------------------------------------------
	Set_CFG_value(%dbpath%\Amiga.uae||filesystem2||rw,DH0:DH0:%dbpath%\whd,0)
	Set_CFG_value(%dbpath%\Amiga.uae||filesystem||rw,DH0:%dbpath\whd)

; INI Value Must be used for (DH1:) as duplicate item names are used in WinUAE config file.

	Set_ini_value(%dbpath%\Amiga.uae||EXTRA||filesystem2||rw,DH1:DH1:%gbgamepath%\whd\%gamefilenoext%,0)
	Set_ini_value(%dbpath%\Amiga.uae||EXTRA||filesystem||rw,DH1:%gbgamepath%\whd\%gamefilenoext%)
	;---------------------------------------------------
	; You must set these WHDLoad and CD Values in GEMUS.
	;---------------------------------------------------
	;	%CD_Value%
	;	cd=dh1:demoname;
	;
	;	%WHDLoad_Value%
	;	whdload=demoname.slave PRELOAD;
	;	whdload=demoname.slave PRELOAD BUTTONWAIT;
	;	whdload=demoname.slave PRELOAD BUTTONWAIT; CUSTOM1=1 CUSTOM2=1;
	;	whdload=demoname.slave PRELOAD; CUSTOM1=X;
	;	whdload=demoname.slave PRELOAD CUSTOM1=16777216;
	;	whdload=demoname.slave PRELOAD; CUSTOM1=1 CUSTOM2=1 CUSTOM3=1 CUSTOM4=XX;
	;	whdload=demoname.slave PRELOAD NOAUTOVEC NOVBRMOVE;
	;-------------------------------------------------------------
		If key_CD EXCLUDES(*)
		Show_message (CD Value missing from GEMUS example: "cd=dh1:DEMONAME;")
		End If
		
		Set_CFG_Item(%dbpath%\WHD\s\user-startup||cd||||%cd_value%)
				
		if key_WHDLOAD EXCLUDES(*)
		Show_message (CD Value missing from GEMUS example: "whdload=DEMONAME.slave PRELOAD;")
		End If
		
		Set_CFG_Item(%dbpath%\WHD\s\user-startup||whdload||||%whdload_value%)
		
		
	Run_Program(%dbpath%\whdrun.exe||%gamepathfile% %gbgamepath%\whd\%gamefilenoext%/ "%emupath%\winuae.exe" "%dbpath%\Amiga.uae" "%dbpath%\WHD\s\user-startup||nowait)
ELSE
;*******************************************************************
;Run all other compatible Amiga files (ADF||IPS||DMS||SPS||EXE||ZIP)
;*******************************************************************

	Add_CLP(-f "%dbpath%\Amiga.uae" -0%gamepathfile% -1%gamepathfile(1)% -2%gamepathfile(2)% -3%gamepathfile(3)% -s diskimage0=%gamepathfile% -s diskimage1=%gamepathfile(1)% -s diskimage2=%gamepathfile(2)% -s diskimage3=%gamepathfile(3)% -s diskimage4=%gamepathfile(4)% -s diskimage5=%gamepathfile(5)% -s diskimage6=%gamepathfile(6)% -s diskimage7=%gamepathfile(7)% -s diskimage8=%gamepathfile(8)% -s diskimage9=%gamepathfile(9)% -s diskimage10=%gamepathfile(10)% -s diskimage11=%gamepathfile(11)% -s diskimage12=%gamepathfile(12)% -s diskimage13=%gamepathfile(13)% -s diskimage14=%gamepathfile(14)% -s diskimage15=%gamepathfile(15)% -s diskimage16=%gamepathfile(16)% -s diskimage17=%gamepathfile(17)% -s diskimage18=%gamepathfile(18)% -s diskimage19=%gamepathfile(19)%)
	Run_Emulator()
End If

Amiga.UAE - custom WinUAE config file

Code: Select all

config_description=Amiga Config by .mad.
config_hardware=true
config_host=true
config_version=2.3.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:-1
win32.rtg_vblank=chipset
win32.borderless=false
win32.uaescsimode=SCSIEMU
win32.statusbar=normal
win32.soundcard=0
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_file=C:\Gamebase\Amiga\Winuae\KICKSTART\KS ROM v3.1 (A1200) rev 40.68 (512k).rom
kickstart_rom_file_id=1483A091,KS ROM v3.1 (A1200)
kickstart_ext_rom_file=
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=kbd4
joyport1autofire=none
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: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=true
ntsc=false
genlock=false
show_leds=false
show_leds_rtg=false
keyboard_leds=numlock:none,capslock:none,scrolllock:none
chipset=aga
chipset_refreshrate=0
collision_level=playfields
chipset_compatible=A500
ciaatod=vblank
rtc=MSM6242B
ksmirror_e0=false
ksmirror_a8=false
cd32cd=false
cd32c2p=false
cd32nvram=false
cdtvcd=false
cdtvram=false
cdtvramcard=0
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=2
a3000mem_size=0
mbresmem_size=0
z3mem_size=
z3mem2_size=0
z3mem_start=0x10000000
bogomem_size=0
gfxcard_size=0
chipmem_size=8
megachipmem_size=0
cpu_speed=real
cpu_type=68020
cpu_model=68030
cpu_compatible=false
cpu_24bit_addressing=false
cpu_multiplier=2
cpu_cycle_exact=true
blitter_cycle_exact=false
cycle_exact=true
rtg_nocustom=true
rtg_modes=0x212
log_illegal_mem=false
catweasel=0
kbd_lang=us
state_replay_rate=250
state_replay_buffers=100
state_replay_autoplay=true
warp=false
hardfile2=
uaehf0=
uaehf1=
filesystem=rw,DH0:%dbpath\whd
filesystem2=rw,DH0:DH0:C:\GameBase\Amiga\whd,0
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.contact_bounce=0
input.1.joystick.0.empty=true
input.1.joystick.0.disabled=0
input.1.joystick.1.empty=true
input.1.joystick.1.disabled=0
input.1.joystick.2.empty=true
input.1.joystick.2.disabled=0
input.1.joystick.3.empty=true
input.1.joystick.3.disabled=0
input.1.joystick.4.empty=true
input.1.joystick.4.disabled=0
input.1.joystick.5.empty=true
input.1.joystick.5.disabled=0
input.1.joystick.6.empty=true
input.1.joystick.6.disabled=0
input.1.joystick.7.empty=true
input.1.joystick.7.disabled=0
input.1.mouse.0.friendlyname=Windows mouse
input.1.mouse.0.name=WINMOUSE1
input.1.mouse.0.empty=true
input.1.mouse.0.disabled=0
input.1.mouse.1.friendlyname=RAW Mouse (1532/0101)
input.1.mouse.1.name=\??\HID#Vid_1532&Pid_0101&MI_00#7&763a489&0&0000#{378de44c-56ef-11d1-bc8c-00a0c91405dd}
input.1.mouse.1.empty=true
input.1.mouse.1.disabled=0
input.1.mouse.2.empty=true
input.1.mouse.2.disabled=0
input.1.mouse.3.empty=true
input.1.mouse.3.disabled=0
input.1.mouse.4.empty=true
input.1.mouse.4.disabled=0
input.1.mouse.5.empty=true
input.1.mouse.5.disabled=0
input.1.mouse.6.empty=true
input.1.mouse.6.disabled=0
input.1.mouse.7.empty=true
input.1.mouse.7.disabled=0
input.1.keyboard.0.friendlyname=RAW Keyboard (1532/0101)
input.1.keyboard.0.name=\??\HID#Vid_1532&Pid_0101&MI_01#7&2b3ae24b&0&0000#{884b96c3-56ef-11d1-bc8c-00a0c91405dd}
input.1.keyboard.0.empty=false
input.1.keyboard.0.disabled=false
input.1.keyboard.1.friendlyname=RAW Keyboard (413C/2003)
input.1.keyboard.1.name=\??\HID#Vid_413c&Pid_2003#6&1d72cc63&0&0000#{884b96c3-56ef-11d1-bc8c-00a0c91405dd}
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=0
input.1.keyboard.4.empty=true
input.1.keyboard.4.disabled=0
input.1.keyboard.5.empty=true
input.1.keyboard.5.disabled=0
input.1.keyboard.6.empty=true
input.1.keyboard.6.disabled=0
input.1.keyboard.7.empty=true
input.1.keyboard.7.disabled=0
input.2.joystick.0.empty=true
input.2.joystick.0.disabled=0
input.2.joystick.1.empty=true
input.2.joystick.1.disabled=0
input.2.joystick.2.empty=true
input.2.joystick.2.disabled=0
input.2.joystick.3.empty=true
input.2.joystick.3.disabled=0
input.2.joystick.4.empty=true
input.2.joystick.4.disabled=0
input.2.joystick.5.empty=true
input.2.joystick.5.disabled=0
input.2.joystick.6.empty=true
input.2.joystick.6.disabled=0
input.2.joystick.7.empty=true
input.2.joystick.7.disabled=0
input.2.mouse.0.friendlyname=Windows mouse
input.2.mouse.0.name=WINMOUSE1
input.2.mouse.0.empty=true
input.2.mouse.0.disabled=0
input.2.mouse.1.friendlyname=RAW Mouse (1532/0101)
input.2.mouse.1.name=\??\HID#Vid_1532&Pid_0101&MI_00#7&763a489&0&0000#{378de44c-56ef-11d1-bc8c-00a0c91405dd}
input.2.mouse.1.empty=true
input.2.mouse.1.disabled=0
input.2.mouse.2.empty=true
input.2.mouse.2.disabled=0
input.2.mouse.3.empty=true
input.2.mouse.3.disabled=0
input.2.mouse.4.empty=true
input.2.mouse.4.disabled=0
input.2.mouse.5.empty=true
input.2.mouse.5.disabled=0
input.2.mouse.6.empty=true
input.2.mouse.6.disabled=0
input.2.mouse.7.empty=true
input.2.mouse.7.disabled=0
input.2.keyboard.0.friendlyname=RAW Keyboard (1532/0101)
input.2.keyboard.0.name=\??\HID#Vid_1532&Pid_0101&MI_01#7&2b3ae24b&0&0000#{884b96c3-56ef-11d1-bc8c-00a0c91405dd}
input.2.keyboard.0.empty=false
input.2.keyboard.0.disabled=false
input.2.keyboard.1.friendlyname=RAW Keyboard (413C/2003)
input.2.keyboard.1.name=\??\HID#Vid_413c&Pid_2003#6&1d72cc63&0&0000#{884b96c3-56ef-11d1-bc8c-00a0c91405dd}
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=0
input.2.keyboard.4.empty=true
input.2.keyboard.4.disabled=0
input.2.keyboard.5.empty=true
input.2.keyboard.5.disabled=0
input.2.keyboard.6.empty=true
input.2.keyboard.6.disabled=0
input.2.keyboard.7.empty=true
input.2.keyboard.7.disabled=0
input.3.joystick.0.empty=true
input.3.joystick.0.disabled=0
input.3.joystick.1.empty=true
input.3.joystick.1.disabled=0
input.3.joystick.2.empty=true
input.3.joystick.2.disabled=0
input.3.joystick.3.empty=true
input.3.joystick.3.disabled=0
input.3.joystick.4.empty=true
input.3.joystick.4.disabled=0
input.3.joystick.5.empty=true
input.3.joystick.5.disabled=0
input.3.joystick.6.empty=true
input.3.joystick.6.disabled=0
input.3.joystick.7.empty=true
input.3.joystick.7.disabled=0
input.3.mouse.0.friendlyname=Windows mouse
input.3.mouse.0.name=WINMOUSE1
input.3.mouse.0.empty=true
input.3.mouse.0.disabled=0
input.3.mouse.1.friendlyname=RAW Mouse (1532/0101)
input.3.mouse.1.name=\??\HID#Vid_1532&Pid_0101&MI_00#7&763a489&0&0000#{378de44c-56ef-11d1-bc8c-00a0c91405dd}
input.3.mouse.1.empty=true
input.3.mouse.1.disabled=0
input.3.mouse.2.empty=true
input.3.mouse.2.disabled=0
input.3.mouse.3.empty=true
input.3.mouse.3.disabled=0
input.3.mouse.4.empty=true
input.3.mouse.4.disabled=0
input.3.mouse.5.empty=true
input.3.mouse.5.disabled=0
input.3.mouse.6.empty=true
input.3.mouse.6.disabled=0
input.3.mouse.7.empty=true
input.3.mouse.7.disabled=0
input.3.keyboard.0.friendlyname=RAW Keyboard (1532/0101)
input.3.keyboard.0.name=\??\HID#Vid_1532&Pid_0101&MI_01#7&2b3ae24b&0&0000#{884b96c3-56ef-11d1-bc8c-00a0c91405dd}
input.3.keyboard.0.empty=false
input.3.keyboard.0.disabled=false
input.3.keyboard.1.friendlyname=RAW Keyboard (413C/2003)
input.3.keyboard.1.name=\??\HID#Vid_413c&Pid_2003#6&1d72cc63&0&0000#{884b96c3-56ef-11d1-bc8c-00a0c91405dd}
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=0
input.3.keyboard.4.empty=true
input.3.keyboard.4.disabled=0
input.3.keyboard.5.empty=true
input.3.keyboard.5.disabled=0
input.3.keyboard.6.empty=true
input.3.keyboard.6.disabled=0
input.3.keyboard.7.empty=true
input.3.keyboard.7.disabled=0
input.4.keyboard.0.friendlyname=RAW Keyboard (1532/0101)
input.4.keyboard.0.name=\??\HID#Vid_1532&Pid_0101&MI_01#7&2b3ae24b&0&0000#{884b96c3-56ef-11d1-bc8c-00a0c91405dd}
input.4.keyboard.0.custom=true
input.4.keyboard.1.friendlyname=RAW Keyboard (413C/2003)
input.4.keyboard.1.name=\??\HID#Vid_413c&Pid_2003#6&1d72cc63&0&0000#{884b96c3-56ef-11d1-bc8c-00a0c91405dd}
input.4.keyboard.1.custom=true
input.4.keyboard.2.friendlyname=WinUAE null keyboard
input.4.keyboard.2.name=NULLKEYBOARD
input.4.keyboard.2.custom=true
diskimage0=
diskimage1=
diskimage2=
diskimage3=
diskimage4=
diskimage5=
diskimage6=
diskimage7=
diskimage8=
diskimage9=
diskimage10=
diskimage11=
diskimage12=
diskimage13=
diskimage14=
diskimage15=
diskimage16=
diskimage17=
diskimage18=
diskimage19=
kickstart_rom=
fpu_model=none
statefile=
cache_size=
[EXTRA]
hardfile2=
filesystem=
filesystem2=
emulators.ini

Code: Select all

[Emulators]
1=WinUAE
2=
[WinUAE]
UseShortFilenames=0
UseDefaultTypes=0
SupportedTypes=adf;adz;dms;fdi;ipf;hdf;exe;zip;
EmulatorPathFile=C:\Gamebase\Amiga\Winuae\winuae.exe
ScriptFile=Amiga.txt
WaitFinish=1
1=C:\Gamebase\Amiga\Winuae\winuae.ini
winuae.ini

Code: Select all


[Warning]
info1=This is unsupported file. Compatibility between versions is not guaranteed.
info2=Incompatible ini-files may be re-created from scratch!
[WinUAE]
PathMode=WinUAE_2
FloppyPath=C:\GameBase\Amiga\Winuae\Floppy\
KickstartPath=C:\GameBase\Amiga\Winuae\KICKSTART\
hdfPath=C:\GameBase\Amiga\
ConfigurationPath=C:\GameBase\Amiga\
ScreenshotPath=C:\GameBase\Amiga\Winuae\screenshots\
StatefilePath=C:\GameBase\Amiga\Winuae\states\
SaveimagePath=C:\GameBase\Amiga\Winuae\saveimages\
VideoPath=C:\GameBase\Amiga\Winuae\videos\
InputPath=C:\Documents and Settings\All Users\Documents\Amiga Files\WinUAE\Inputrecordings\
MainPosX=750
MainPosY=298
GUIPosX=440
GUIPosY=225
Version=WinUAE 2.3.1 (2011.02.26)
ROMCheckVersion=WinUAE 2.3.1 (2011.02.26)
SoundDriverMask=3
ConfigurationCache=0
RelativePaths=1
QuickStartModel=0
QuickStartConfiguration=0
QuickStartCompatibility=0
ConfigurationPath_Filter=1
ConfigFile=demobase.uae
KickstartPath_Filter=1
ConfigFileHardware_Auto=0
QuickStartCDDrive=
QuickStartCDType=0
ConfigFileHost_Auto=0
RipperPath=C:\GameBase\Amiga\Winuae\rips\
hdfPath_Filter=1
[FileAssociations]
.uae=
[DetectedROMs]
ROM_024_01_01=A1000 bootstrap ROM (64k) [252179-01/252180-01] / "KICKSTART\A1000 bootstrap ROM (64k).rom"
ROM_019=CD32 extended ROM rev 40.60 (512k) / "KICKSTART\CD32 extended ROM rev 40.60 (512k).rom"
ROM_018=CD32 KS ROM v3.1 rev 40.60 (512k) / "KICKSTART\CD32 KS ROM v3.1 rev 40.60 (512k).rom"
ROM_020=CDTV extended ROM v1.00 (256k) [252606-01/252607-01] / "KICKSTART\CDTV extended ROM v1.00 (256k).rom"
ROM_004=KS ROM v1.2 (A1000) rev 33.166 (256k) / "KICKSTART\KS ROM v1.2 (A1000) rev 33.166 (256k).rom"
ROM_005=KS ROM v1.2 (A500,A1000,A2000) rev 33.180 (256k) [315093-01] / "KICKSTART\KS ROM v1.2 (A500,A1000,A2000) rev 33.180 (256k).rom"
ROM_006=KS ROM v1.3 (A500,A1000,A2000) rev 34.5 (256k) [315093-02] / "KICKSTART\KS ROM v1.3 (A500,A1000,A2000) rev 34.5 (256k).rom"
ROM_059_01_01=KS ROM v1.4 (A3000) rev 36.16 (512k) [390629-02/390630-02] / "KICKSTART\KS ROM v1.4 (A3000) rev 36.16 (512k).rom"
ROM_059_01_02=KS ROM v1.4 (A3000) rev 36.16 (512k) [390629-02/390630-02] / "KICKSTART\KS ROM v1.4 (A3000) rev 36.16 (512k)_1.rom"
ROM_007=KS ROM v2.04 (A500+) rev 37.175 (512k) [390979-01] / "KICKSTART\KS ROM v2.04 (A500+) rev 37.175 (512k).rom"
ROM_008=KS ROM v2.05 (A600) rev 37.299 (512k) [391388-01] / "KICKSTART\KS ROM v2.05 (A600) rev 37.299 (512k).rom"
ROM_011=KS ROM v3.0 (A1200) rev 39.106 (512k) [391523-01/391524-01] / "KICKSTART\KS ROM v3.0 (A1200) rev 39.106 (512k).rom"
ROM_012=KS ROM v3.0 (A4000) rev 39.106 (512k) [391513-02/391514-02] / "KICKSTART\KS ROM v3.0 (A4000) rev 39.106 (512k).rom"
ROM_015=KS ROM v3.1 (A1200) rev 40.68 (512k) [391773-01/391774-01] / "KICKSTART\KS ROM v3.1 (A1200) rev 40.68 (512k).rom"
ROM_016=KS ROM v3.1 (A4000) rev 40.68 (512k) / "KICKSTART\KS ROM v3.1 (A4000) rev 40.68 (512k).rom"
ROM_062=:SuperIV
ROM_063=:HRTMon
[DiskImageMRUList]
Image01=
Image02=
Image03=
Image04=
Image05=
Image06=
Image07=
Image08=
Image09=
Image10=
Image11=
Image12=
Image13=
Image14=
Image15=
Image16=
Image17=
Image18=
Image19=
Image20=
Image21=
Image22=
Image23=
Image24=
Image25=
Image26=
Image27=
Image28=
Image29=
Image30=
Image31=
Image32=
Image33=
Image34=
Image35=
Image36=
Image37=
Image38=
Image39=
Image40=
Image41=
Image42=
Image43=
Image44=
Image45=
Image46=
Image47=
Image48=
Image49=
Image50=
Image51=
Image52=
Image53=
Image54=
Image55=
Image56=
Image57=
Image58=
Image59=
Image60=
Image61=
Image62=
Image63=
Image64=
Image65=
Image66=
Image67=
Image68=
Image69=
Image70=
Image71=
Image72=
Image73=
Image74=
Image75=
Image76=
Image77=
Image78=
Image79=
Image80=
Image81=
Image82=
Image83=
Image84=
Image85=
Image86=
Image87=
Image88=
Image89=
Image90=
Image91=
Image92=
Image93=
Image94=
Image95=
Image96=
Image97=
Image98=
Image99=
[CDImageMRUList]
Image01=
Image02=
Image03=
Image04=
Image05=
Image06=
Image07=
Image08=
Image09=
Image10=
Image11=
Image12=
Image13=
Image14=
Image15=
Image16=
Image17=
Image18=
Image19=
Image20=
Image21=
Image22=
Image23=
Image24=
Image25=
Image26=
Image27=
Image28=
Image29=
Image30=
Image31=
Image32=
Image33=
Image34=
Image35=
Image36=
Image37=
Image38=
Image39=
Image40=
Image41=
Image42=
Image43=
Image44=
Image45=
Image46=
Image47=
Image48=
Image49=
Image50=
Image51=
Image52=
Image53=
Image54=
Image55=
Image56=
Image57=
Image58=
Image59=
Image60=
Image61=
Image62=
Image63=
Image64=
Image65=
Image66=
Image67=
Image68=
Image69=
Image70=
Image71=
Image72=
Image73=
Image74=
Image75=
Image76=
Image77=
Image78=
Image79=
Image80=
Image81=
Image82=
Image83=
Image84=
Image85=
Image86=
Image87=
Image88=
Image89=
Image90=
Image91=
Image92=
Image93=
Image94=
Image95=
Image96=
Image97=
Image98=
Image99=
this has all the files setup in their correct directories
using "AMIGA" as the gamebase name.
so rename your gamebase and directory to AMIGA

http://www.multiupload.com/OLRXPP1JC0
Last edited by .mad. on Thu Aug 11, 2011 1:37 pm, edited 1 time in total.
minamoto kobayashi
Keen Member
Keen Member
Posts: 50
Joined: Mon Mar 21, 2011 11:44 am

Thu Aug 11, 2011 7:45 am

Hello! Thanks VERY MUCH for Your effort!
Everything goes fine BUT .. I have a big problem with Your amiga.txt script! When I try to load it under emulator properties as GEMUS SCRIPT, I receive this message: "Too many IF statements", then I'm forced to abort the procedure, and the emulation doesn't start because Gamebase tell me "There is no script set for this emulator" ... any ideas?
User avatar
.mad.
Highly Commended Member
Highly Commended Member
Location: Lancashire
Posts: 1600
Joined: Sun Jun 19, 2005 3:30 pm

Thu Aug 11, 2011 1:34 pm

oops.
add the END IF here.

;------------------------------------------------------------------------
;change "direct3d" to "directdraw" if you get a black screen.
;------------------------------------------------------------------------
If Key_gfx_api CONTAINS(direct3d||directdraw)
Set_CFG_Value(%dbpath%\Amiga.uae||gfx_api||%gfx_api_value%)
Else
Set_CFG_Value(%dbpath%\Amiga.uae||gfx_api||direct3d)
End if
;------------------------------------------------------------------------

as for the missing script error.
link it in the emulators.ini file.

[Emulators]
1=WinUAE
2=
[WinUAE]
UseShortFilenames=0
UseDefaultTypes=0
SupportedTypes=adf;adz;dms;fdi;ipf;hdf;exe;zip;
EmulatorPathFile=C:\Gamebase\Amiga\Winuae\winuae.exe
ScriptFile=Amiga.txt
WaitFinish=1
1=C:\Gamebase\Amiga\Winuae\winuae.ini



also the AMIGA.UAE file should be in the Gamebase DIR, (same DIR as the Amiga.MDB file.)
minamoto kobayashi
Keen Member
Keen Member
Posts: 50
Joined: Mon Mar 21, 2011 11:44 am

Thu Aug 11, 2011 1:48 pm

I have found the "EndIf problem" at the same moment when You have replied to me 8) ... Now is really everything OK .. startin' all the tests, see You later, thanks again!
minamoto kobayashi
Keen Member
Keen Member
Posts: 50
Joined: Mon Mar 21, 2011 11:44 am

Thu Aug 11, 2011 2:56 pm

Here I'm! Only 2 last things: usually I set, in the WinUAE filter properties, the SUPEREAGLE option. I suppose that there is a flag to change in Your cfg configuration but .. which is?
And what flags must I change in order to have always the windowed WinUAE at the center of my screen?

Cheers.

Richard.
User avatar
.mad.
Highly Commended Member
Highly Commended Member
Location: Lancashire
Posts: 1600
Joined: Sun Jun 19, 2005 3:30 pm

Thu Aug 11, 2011 4:36 pm

i haven't tweaked all gfx card options, as i like it raw and blocky.
but they can be added easy enough.

Change these lines in the script..
Set_CFG_Value(%dbpath%\Amiga.uae||gfx_filter||no)
to this...
Set_CFG_Value(%dbpath%\Amiga.uae||gfx_filter||supereagle)

and this
Set_CFG_Value(%dbpath%\Amiga.uae||gfx_filter_autoscale||auto)

to this
Set_CFG_Value(%dbpath%\Amiga.uae||gfx_filter_autoscale||center)

-------------
if you have all your GFX settings saved in a config file, just copy the GFX values into the script at the top.
minamoto kobayashi
Keen Member
Keen Member
Posts: 50
Joined: Mon Mar 21, 2011 11:44 am

Thu Aug 11, 2011 5:07 pm

Eccellent, the SuperEagle set works very well.
The autoscale -> center create a strange issue: the windows game seems to be more big than the edges, so the borders are cropped.
I use a 1080x864 window resolution, but the game inside it looks zoomed, and some border details of the games disappear beyond the edges.
Here is my config .. must I change something other ?



;*************************
;* Gamebase Amiga Script *
;* By .mad. 2011 *
;* for WinUAE 2.3.1.0+ *
;*************************

; you can change ALL machine defaults to your preferred settings.
; But they must be compatible with each other to work.

;---------------------------------------------
; Emulator Screen /Window settings.
;---------------------------------------------
Set_CFG_Value(%dbpath%\Amiga.uae||gfxcard_size||0)

Set_CFG_Value(%dbpath%\Amiga.uae||gfx_center_horizontal_position||-1)
Set_CFG_Value(%dbpath%\Amiga.uae||gfx_center_horizontal_size||-1)
Set_CFG_Value(%dbpath%\Amiga.uae||gfx_center_horizontal||false)

Set_CFG_Value(%dbpath%\Amiga.uae||gfx_center_vertical_position||-1)
Set_CFG_Value(%dbpath%\Amiga.uae||gfx_center_vertical_size||-1)
Set_CFG_Value(%dbpath%\Amiga.uae||gfx_center_vertical||none)

Set_CFG_Value(%dbpath%\Amiga.uae||gfx_width_fullscreen||800)
Set_CFG_Value(%dbpath%\Amiga.uae||gfx_height_fullscreen||600)

Set_CFG_Value(%dbpath%\Amiga.uae||gfx_width_windowed||1080)
Set_CFG_Value(%dbpath%\Amiga.uae||gfx_height_windowed||864)

Set_CFG_Value(%dbpath%\Amiga.uae||gfx_width||720)
Set_CFG_Value(%dbpath%\Amiga.uae||gfx_height||568)

;------------------------------------------------------------------------
;change "direct3d" to "directdraw" if you get a black screen.
;------------------------------------------------------------------------
If Key_gfx_api CONTAINS(direct3d||directdraw)
Set_CFG_Value(%dbpath%\Amiga.uae||gfx_api||%gfx_api_value%)
Else
Set_CFG_Value(%dbpath%\Amiga.uae||gfx_api||direct3d)
End If
;------------------------------------------------------------------------
Set_CFG_Value(%dbpath%\Amiga.uae||gfx_autoresolution||false)
Set_CFG_Value(%dbpath%\Amiga.uae||gfx_backbuffers||2)
Set_CFG_Value(%dbpath%\Amiga.uae||gfx_blacker_than_black||false)

Set_CFG_Value(%dbpath%\Amiga.uae||gfx_colour_mode||16bit)
Set_CFG_Value(%dbpath%\Amiga.uae||gfx_contrast||0)
Set_CFG_Value(%dbpath%\Amiga.uae||gfx_display_name||)
Set_CFG_Value(%dbpath%\Amiga.uae||gfx_display||0)

Set_CFG_Value(%dbpath%\Amiga.uae||gfx_filter_aspect_ratio||0:0)
Set_CFG_Value(%dbpath%\Amiga.uae||gfx_filter_autoscale||center)
Set_CFG_Value(%dbpath%\Amiga.uae||gfx_filter_bilinear||false)
Set_CFG_Value(%dbpath%\Amiga.uae||gfx_filter_blur||0)
Set_CFG_Value(%dbpath%\Amiga.uae||gfx_filter_contrast||0)
Set_CFG_Value(%dbpath%\Amiga.uae||gfx_filter_gamma||0)
Set_CFG_Value(%dbpath%\Amiga.uae||gfx_filter_horiz_offset||0)
Set_CFG_Value(%dbpath%\Amiga.uae||gfx_filter_horiz_zoom_mult||1000)
Set_CFG_Value(%dbpath%\Amiga.uae||gfx_filter_horiz_zoom||0)
Set_CFG_Value(%dbpath%\Amiga.uae||gfx_filter_keep_aspect||none)
Set_CFG_Value(%dbpath%\Amiga.uae||gfx_filter_luminance||0)
Set_CFG_Value(%dbpath%\Amiga.uae||gfx_filter_mask||)
Set_CFG_Value(%dbpath%\Amiga.uae||gfx_filter_mode||1x)
Set_CFG_Value(%dbpath%\Amiga.uae||gfx_filter_noise||0)
Set_CFG_Value(%dbpath%\Amiga.uae||gfx_filter_saturation||0)
Set_CFG_Value(%dbpath%\Amiga.uae||gfx_filter_scanlinelevel||0)
Set_CFG_Value(%dbpath%\Amiga.uae||gfx_filter_scanlineratio||17)
Set_CFG_Value(%dbpath%\Amiga.uae||gfx_filter_scanlines||0)
Set_CFG_Value(%dbpath%\Amiga.uae||gfx_filter_vert_offset||0)
Set_CFG_Value(%dbpath%\Amiga.uae||gfx_filter_vert_zoom_mult||1000)
Set_CFG_Value(%dbpath%\Amiga.uae||gfx_filter_vert_zoom||0)
Set_CFG_Value(%dbpath%\Amiga.uae||gfx_filter||supereagle)

Set_CFG_Value(%dbpath%\Amiga.uae||gfx_flickerfixer||false)
Set_CFG_Value(%dbpath%\Amiga.uae||gfx_framerate||1)
Set_CFG_Value(%dbpath%\Amiga.uae||gfx_fullscreen_amiga||false)
Set_CFG_Value(%dbpath%\Amiga.uae||gfx_fullscreen_picasso||false)
Set_CFG_Value(%dbpath%\Amiga.uae||gfx_gamma||0)

Set_CFG_Value(%dbpath%\Amiga.uae||gfx_left_windowed||0)
Set_CFG_Value(%dbpath%\Amiga.uae||gfx_linemode||double)
Set_CFG_Value(%dbpath%\Amiga.uae||gfx_lores_mode||normal)
Set_CFG_Value(%dbpath%\Amiga.uae||gfx_lores||false)
Set_CFG_Value(%dbpath%\Amiga.uae||gfx_luminance||0)
Set_CFG_Value(%dbpath%\Amiga.uae||gfx_refreshrate||0)
Set_CFG_Value(%dbpath%\Amiga.uae||gfx_resolution||hires)
Set_CFG_Value(%dbpath%\Amiga.uae||gfx_top_windowed||0)
Set_CFG_Value(%dbpath%\Amiga.uae||gfx_vsync_picasso||false)
Set_CFG_Value(%dbpath%\Amiga.uae||gfx_vsync||false)
User avatar
.mad.
Highly Commended Member
Highly Commended Member
Location: Lancashire
Posts: 1600
Joined: Sun Jun 19, 2005 3:30 pm

Fri Aug 12, 2011 8:14 pm

maybe the screen res is too high compared to a REAL AMIGA.
so the image is stretched to fit your large window size.

if you set the screen size and config to your liking.
that seems to work ok.
just running from WinUAE. (NOT VIA GAMEBASE)
save that config file.

you can see what settings need changing in the script.
by comparing the two files. :wink:
minamoto kobayashi
Keen Member
Keen Member
Posts: 50
Joined: Mon Mar 21, 2011 11:44 am

Mon Aug 15, 2011 1:20 am

Hi!
I don't think that my high resolution is the problem!
In fact, if I do not configure autoscale>center, I do not have any similar issue.
However, I can set the windows at the center in other way. The first time that I launch WinUAE from the script, the window is in the right bottom of the screen.
If I move the window at the center, and I close everything, the next time that I run WinUAE from Gamebase, the windows starts at the same position 8)

Thanks for all!

Richard.
millansoft
Keen Member
Keen Member
Posts: 60
Joined: Tue Jun 26, 2012 5:47 am

Tue Jun 26, 2012 5:50 am

Hello, I´m trying to use your script, it works fine, except when I try to play an AGA game, I just got the following error from WinUAE 2.4.1.

¨The selected system ROM requires 68020 with 24-bit addressing or higher CPU.¨

Any ideas?

Thanks!
User avatar
.mad.
Highly Commended Member
Highly Commended Member
Location: Lancashire
Posts: 1600
Joined: Sun Jun 19, 2005 3:30 pm

Tue Jun 26, 2012 2:47 pm

you need to add the info in the gemus.
press F2 on the demo/game in gamebase, and enter this.

Code: Select all

kickstart_rom=v3.1
nr_floppies=2
floppy0type=0
floppy1type=0
floppy2type=-1
floppy3type=-1
immediate_blits=true
ntsc=false
chipset=AGA
collision_level=playfields
fastmem_size=2
bogomem_size=0
chipmem_size=4
cpu_speed=real
cpu_model=68020
cpu_compatible=false
cpu_cycle_exact=true
blitter_cycle_exact=false
gfx_center_horizontal=false 
gfx_width_windowed=720
gfx_height_windowed=576
it's possible to change every individual option that's in the emulator.
just test with other compatible values.
millansoft
Keen Member
Keen Member
Posts: 60
Joined: Tue Jun 26, 2012 5:47 am

Tue Jun 26, 2012 4:30 pm

Hello again,

Thanks for your answer, now it works fine, just another question, when I tried to run some games, for example, Theme Park AGA, WHD.
I got this error message within the Winuae emulator, WHD reports it

¨you need chipmem up to $1FF000 (2044 byte) to run this program¨

Do you know why?

Thanks a lot!
User avatar
.mad.
Highly Commended Member
Highly Commended Member
Location: Lancashire
Posts: 1600
Joined: Sun Jun 19, 2005 3:30 pm

Tue Jun 26, 2012 6:53 pm

change the chipmem_size= value, in the above example.

i don't have WHD or Theme Park setup to give you the exact size to use.
just experiment, you won't break it. :)
millansoft
Keen Member
Keen Member
Posts: 60
Joined: Tue Jun 26, 2012 5:47 am

Fri Jun 29, 2012 12:44 am

Hi, thanks for your help, I´m trying now :)

Return to “Commodore Amiga - GameBase Amiga”

Who is online

Users browsing this forum: No registered users and 0 guests