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

azerty keyboard script for winuae

Discuss the Commodore Amiga database that uses the GameBase Frontend.

Moderator: Jimbo

Sergeb
New Member
Posts: 10
Joined: Sun Jul 14, 2013 8:56 am

azerty keyboard script for winuae

Wed Jul 17, 2013 5:23 pm

hello,

is it possible to change mad's winuae script in order have an azerty keyboard (remap the keyboard : - replace - q,w,a,z,m and ";" - with - a,z,q,w,"," and m - ) - I don't know how to rewrite the following script in order to obtain this remap! -
thanks!


***********************
;* 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
User avatar
.mad.
Highly Commended Member
Highly Commended Member
Location: Lancashire
Posts: 1598
Joined: Sun Jun 19, 2005 3:30 pm

Thu Jul 18, 2013 10:14 am

Fist off, the script doesn't change the keymap.
So everyone can remap their own country settings.

The problem you have is in the custom edit of the AMIGA.UAE file.

Load the config file into WinUAE.
click the Joystick Icon / INPUT options.

from the pulldown menu (Game Ports Panel)
select configuration#1 this will enable the Remap Button.

select the keyboard from other pulldown menu.

remap all of the 3 keyboards to AZERTY and then re-save the config file.

you can also edit the AMIGA.UAE file manually in a text editor.
* the button numbers might be different on your keyboard???.

should look a bit like this.

Code: Select all

input.1.keyboard.0.friendlyname=RAW Keyboard (1532/0017)
input.1.keyboard.0.name=\??\HID#Vid_1532&Pid_0017&MI_01&Col01#7&d90817d&0&0000#{884b96c3-56ef-11d1-bc8c-00a0c91405dd}
input.1.keyboard.0.empty=false
input.1.keyboard.0.disabled=false
input.1.keyboard.0.button.16.Q=KEY_A.0
input.1.keyboard.0.button.17.W=KEY_Z.0
input.1.keyboard.0.button.30.A=KEY_Q.0
input.1.keyboard.0.button.39.SEMICOLON=KEY_M.0
input.1.keyboard.0.button.44.Z=KEY_W.0
input.1.keyboard.0.button.50.M=KEY_COMMA.0
input.1.keyboard.0.button.51.COMMA=KEY_SEMICOLON.0
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.1.button.16.Q=KEY_A.0
input.1.keyboard.1.button.17.W=KEY_Z.0
input.1.keyboard.1.button.30.A=KEY_Q.0
input.1.keyboard.1.button.39.SEMICOLON=KEY_M.0
input.1.keyboard.1.button.44.Z=KEY_W.0
input.1.keyboard.1.button.50.M=KEY_COMMA.0
input.1.keyboard.1.button.51.COMMA=KEY_SEMICOLON.0
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.2.button.16.Q=KEY_A.0
input.1.keyboard.2.button.17.W=KEY_Z.0
input.1.keyboard.2.button.30.A=KEY_Q.0
input.1.keyboard.2.button.39.SEMICOLON=KEY_M.0
input.1.keyboard.2.button.44.Z=KEY_W.0
input.1.keyboard.2.button.50.M=KEY_COMMA.0
input.1.keyboard.2.button.51.COMMA=KEY_SEMICOLON.0
when you load a game you might have to select the config#1 from the menu. Depending on your other control settings.
But i can not test this at the moment.

-------
found this keymap driver which i think is what you actually need.
http://www1.datafilehost.com/d/71e22c0d
not sure how to select it from gamebase though.
Sergeb
New Member
Posts: 10
Joined: Sun Jul 14, 2013 8:56 am

Thu Jul 18, 2013 1:11 pm

mad,

thanks for your answer and your precious help
every is working fine now,
my keyboard is azerty!ready for adventure games!



serge

:D

Return to “Commodore Amiga - GameBase Amiga”

Who is online

Users browsing this forum: No registered users and 1 guest