hello all, does anyone know if its possible to launch a game from gamebase so a hdf is mounted (rather than the usual adf or whdload scripts)
i did try adding a hdf as an extra that didnt work, and doesnt work as the main game file either as it tries to put it into df0:
thanks everyone
Welcome to the Gamebase 64 forums. An attempt to document ALL Commodore 64 gameware before it's too late!
gamebase amiga hdf script
Moderator: Jimbo
- .mad.
- Honoured Member
- Location: Lancashire
Post
Try this script in the Gamebase Amiga forum.
http://www.gb64.com/forum/viewtopic.php?t=4720
The original script was very buggy (for me).
It took a while to figure it out, but it now works perfect.
this attaches the workbench 3.1 file "WB31.hdf" to drive DH0:
and your non auto booting HDF file to DH1:
add this to gemus if the HDF is auto booting.
HDF=no workbench
it uses the WB31.HDF file from this location.
C:\GameBase\Gamebase Amiga\WB31.HDF
And the Kickstart needs to be in this directory (with the same name).
C:\GameBase\Gamebase Amiga\Winuae\KICKSTART\KS ROM v3.1 (A1200) rev 40.68 (512k).rom
http://www.gb64.com/forum/viewtopic.php?t=4720
The original script was very buggy (for me).
It took a while to figure it out, but it now works perfect.
this attaches the workbench 3.1 file "WB31.hdf" to drive DH0:
and your non auto booting HDF file to DH1:
add this to gemus if the HDF is auto booting.
HDF=no workbench
it uses the WB31.HDF file from this location.
C:\GameBase\Gamebase Amiga\WB31.HDF
And the Kickstart needs to be in this directory (with the same name).
C:\GameBase\Gamebase Amiga\Winuae\KICKSTART\KS ROM v3.1 (A1200) rev 40.68 (512k).rom
- filevans
- New Member
Post
thanks "mad as a hatter"
if the game is added with the hdf pointing to the correct location in the database and everything is set up with the script, would this then possibly be supported by gblauncher by any chance?
for example,
gblauncher.exe db=AMIGA fn=PGATourGolf.HDF
thanks for your help
if the game is added with the hdf pointing to the correct location in the database and everything is set up with the script, would this then possibly be supported by gblauncher by any chance?
for example,
gblauncher.exe db=AMIGA fn=PGATourGolf.HDF
thanks for your help
- .mad.
- Honoured Member
- Location: Lancashire
Post
to be honest i don't know.
i don't have PGA Golf HDF, and have never used the GBLauncher.
reading the GBLauncher info, it gives an Amiga ADF as an example.
so i see no reason why HDF should not work.
As HDF images load ok from Gamebase with the new script.
Tested working with many Amiga Demos.
i don't have PGA Golf HDF, and have never used the GBLauncher.
reading the GBLauncher info, it gives an Amiga ADF as an example.
so i see no reason why HDF should not work.
As HDF images load ok from Gamebase with the new script.
Tested working with many Amiga Demos.
- .mad.
- Honoured Member
- Location: Lancashire
Post
only thing i can think of is your Gamebase paths are different.
or you have a mixture of old and new gamebase files.
%dbpath%\Amiga.uae
is looking for file Amiga.uae in Gamebase root dir
example same path as mdb file.
c:\gamebase\Amiga\amiga.uae
c:\gamebase\Amiga\amiga.mdb
edit the Amiga.uae file and check DIR paths
kickstarts are here.
kickstart_rom_file=C:\Gamebase\Amiga\Winuae\KICKSTART\KS ROM v3.1 (A1200) rev 40.68 (512k).rom
the example WinUAE.ini is setup for this location
C:\GameBase\Amiga\Winuae\winuae.exe
so you might need to move your emulator if it is here...
Amiga\Emulator\Winuae\.
apart from that i have no clue.
or you have a mixture of old and new gamebase files.
%dbpath%\Amiga.uae
is looking for file Amiga.uae in Gamebase root dir
example same path as mdb file.
c:\gamebase\Amiga\amiga.uae
c:\gamebase\Amiga\amiga.mdb
edit the Amiga.uae file and check DIR paths
kickstarts are here.
kickstart_rom_file=C:\Gamebase\Amiga\Winuae\KICKSTART\KS ROM v3.1 (A1200) rev 40.68 (512k).rom
the example WinUAE.ini is setup for this location
C:\GameBase\Amiga\Winuae\winuae.exe
so you might need to move your emulator if it is here...
Amiga\Emulator\Winuae\.
apart from that i have no clue.
- .mad.
- Honoured Member
- Location: Lancashire
Post
i know your script is corrupt.
But i can't see line 46 in the example pic.
line 46 should read..
Set_CFG_Value(%dbpath%\Amiga.uae||gfx_contrast||0)
all lines that start "Set_CFG_Value"
should have "3" values spaced with 2 pipes ||
example
( value1 || value 2 || value3 )
the 3rd value can be left blank but still need entering with brackets closed.
( value1 || value 2 || )
and "SET_INI_VALUE" should have 4 values entered.
maybe it has cut and paste errors.
i think you should download it again...
http://www.multiupload.com/40OI2YEH07
But i can't see line 46 in the example pic.
line 46 should read..
Set_CFG_Value(%dbpath%\Amiga.uae||gfx_contrast||0)
all lines that start "Set_CFG_Value"
should have "3" values spaced with 2 pipes ||
example
( value1 || value 2 || value3 )
the 3rd value can be left blank but still need entering with brackets closed.
( value1 || value 2 || )
and "SET_INI_VALUE" should have 4 values entered.
maybe it has cut and paste errors.
i think you should download it again...
http://www.multiupload.com/40OI2YEH07
- Fiery Phoenix
- Keen Member
- Location: Bury, Lancs
Post
Re: gamebase amiga hdf script
Let us bring back an 11 yr old post! lol
QQ - Can Gamebase load a ready made .hdf?
I posted my current script below which works well enough for launching games and WHDLoad - no problem
However as original poster noted - what if wanted to launch HDF. files
I have an old Script / Gamebase for launching CD and HD games that you did mad. many years ago (time flies) but this needs the Workbench to boot first and wont autoboot any hdf. file made. There are a few games now that are available this way and makes it a lot more easier
I tried the script you linked to in this post:
And copied and pasted it straight to text.doc, but expected errors appearing. I put a ; at the start of each line and it removed these, but no joy. So I lifted the following part out of it and copied it below my working script (a copy of this at the bottom of post)
Had to add a few ; / else and end if statements to accept (if done correct?)
But no joy when I link the game file to the hdf. - just attaches it to my DF0. Added mode=hdf and hdf=no workbench into the Gemus screen for the game in Gamebase. No joy. Just loads WB screen
My original working script in "normal" Gamebase
QQ - Can Gamebase load a ready made .hdf?
I posted my current script below which works well enough for launching games and WHDLoad - no problem
However as original poster noted - what if wanted to launch HDF. files
I have an old Script / Gamebase for launching CD and HD games that you did mad. many years ago (time flies) but this needs the Workbench to boot first and wont autoboot any hdf. file made. There are a few games now that are available this way and makes it a lot more easier
I tried the script you linked to in this post:
Code: Select all
* Gamebase Amiga Script *
;* By .mad. 2011 *
;* for WinUAE 2.3.1.0+
Had to add a few ; / else and end if statements to accept (if done correct?)
But no joy when I link the game file to the hdf. - just attaches it to my DF0. Added mode=hdf and hdf=no workbench into the Gemus screen for the game in Gamebase. No joy. Just loads WB screen
Code: Select all
;*********************************************************************
; 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)
;-----------------------------------------------
;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)
; 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)
End If
Code: Select all
If Control = JoyPort1
Set_CFG_Value(%dbpath%\GameBase Amiga.uae||joyport0||kbd1)
Set_CFG_Value(%dbpath%\GameBase Amiga.uae||joyport1||kbd2)
Set_CFG_Value(%dbpath%\WHDLoad.uae||joyport0||kbd1)
Set_CFG_Value(%dbpath%\WHDLoad.uae||joyport1||kbd2)
Else
Set_CFG_Value(%dbpath%\GameBase Amiga.uae||joyport0||mouse1)
Set_CFG_Value(%dbpath%\GameBase Amiga.uae||joyport1||kbd1)
Set_CFG_Value(%dbpath%\WHDLoad.uae||joyport0||mouse1)
Set_CFG_Value(%dbpath%\WHDLoad.uae||joyport1||kbd1)
End If
Set_CFG_Value(%dbpath%\GameBase Amiga.uae||kickstart_rom||%kickstart_rom_value%)
Set_CFG_Value(%dbpath%\GameBase Amiga.uae||floppy1type||%floppy1type_value%)
Set_CFG_Value(%dbpath%\GameBase Amiga.uae||floppy2type||%floppy2type_value%)
Set_CFG_Value(%dbpath%\GameBase Amiga.uae||floppy3type||%floppy3type_value%)
Set_CFG_Value(%dbpath%\GameBase Amiga.uae||nr_floppies||%nr_floppies_value%)
Set_CFG_Value(%dbpath%\GameBase Amiga.uae||sound_output||%sound_output_value%)
Set_CFG_Value(%dbpath%\GameBase Amiga.uae||immediate_blits||%immediate_blits_value%)
Set_CFG_Value(%dbpath%\GameBase Amiga.uae||ntsc||%ntsc_value%)
Set_CFG_Value(%dbpath%\GameBase Amiga.uae||chipset||%chipset_value%)
Set_CFG_Value(%dbpath%\GameBase Amiga.uae||chipset_compatible||%chipset_compatible_value%)
Set_CFG_Value(%dbpath%\GameBase Amiga.uae||collision_level||%collision_level_value%)
Set_CFG_Value(%dbpath%\GameBase Amiga.uae||fastmem_size||%fastmem_size_value%)
Set_CFG_Value(%dbpath%\GameBase Amiga.uae||bogomem_size||%bogomem_size_value%)
Set_CFG_Value(%dbpath%\GameBase Amiga.uae||chipmem_size||%chipmem_size_value%)
Set_CFG_Value(%dbpath%\GameBase Amiga.uae||cpu_speed||%cpu_speed_value%)
Set_CFG_Value(%dbpath%\GameBase Amiga.uae||finegrain_cpu_speed||%finegrain_cpu_speed_value%)
Set_CFG_Value(%dbpath%\GameBase Amiga.uae||cpu_type||%cpu_type_value%)
Set_CFG_Value(%dbpath%\GameBase Amiga.uae||cpu_model||%cpu_type_value%)
Set_CFG_Value(%dbpath%\GameBase Amiga.uae||fpu_model||%fpu_model_value%)
Set_CFG_Value(%dbpath%\GameBase Amiga.uae||cpu_compatible||%cpu_compatible_value%)
Set_CFG_Value(%dbpath%\GameBase Amiga.uae||fpu_strict||%fpu_strict_value%)
Set_CFG_Value(%dbpath%\GameBase Amiga.uae||cpu_24bit_addressing||%cpu_24bit_addressing_value%)
Set_CFG_Value(%dbpath%\GameBase Amiga.uae||cpu_cycle_exact||%cpu_cycle_exact_value%)
Set_CFG_Value(%dbpath%\GameBase Amiga.uae||blitter_cycle_exact||%blitter_cycle_exact_value%)
Set_CFG_Value(%dbpath%\GameBase Amiga.uae||statefile||%statefile_value%)
If VersionComment CONTAINS(WHD)
Set_CFG_Item(%dbpath%\WHDLoad.uae||filesystem2=rw,DH0:DH0||:||%dbpath%\whd,0)
Set_CFG_Item(%dbpath%\WHDLoad.uae||filesystem=rw,DH0||:||%dbpath\whd)
Set_CFG_Item(%dbpath%\WHDLoad.uae||filesystem2=rw,DH1:DH1||:||%gbgamepath%\rezip\%gamefilenoext%,0)
Set_CFG_Item(%dbpath%\WHDLoad.uae||filesystem=rw,DH1||:||%gbgamepath%\rezip\%gamefilenoext%)
Set_CFG_Item(%dbpath%\WHD\s\user-startup||cd||||%cd_value%)
Set_CFG_Item(%dbpath%\WHD\s\user-startup||whdload||||%whdload_value%)
Set_CFG_Value(%dbpath%\WHDLoad.uae||immediate_blits||%immediate_blits_value%)
Set_CFG_Value(%dbpath%\WHDLoad.uae||chipset_compatible||%chipset_compatible_value%)
Set_CFG_Value(%dbpath%\WHDLoad.uae||collision_level||%collision_level_value%)
Set_CFG_Value(%dbpath%\WHDLoad.uae||z3mem_size||%z3mem_size_value%)
Set_CFG_Value(%dbpath%\WHDLoad.uae||cpu_speed||%cpu_speed_value%)
Set_CFG_Value(%dbpath%\WHDLoad.uae||finegrain_cpu_speed||%finegrain_cpu_speed_value%)
Set_CFG_Value(%dbpath%\WHDLoad.uae||cpu_type||%cpu_type_value%)
Set_CFG_Value(%dbpath%\WHDLoad.uae||fpu_model||%fpu_model_value%)
Set_CFG_Value(%dbpath%\WHDLoad.uae||cpu_compatible||%cpu_compatible_value%)
Set_CFG_Value(%dbpath%\WHDLoad.uae||fpu_strict||%fpu_strict_value%)
Set_CFG_Value(%dbpath%\WHDLoad.uae||cpu_24bit_addressing||%cpu_24bit_addressing_value%)
Set_CFG_Value(%dbpath%\WHDLoad.uae||cpu_cycle_exact||%cpu_cycle_exact_value%)
Set_CFG_Value(%dbpath%\WHDLoad.uae||blitter_cycle_exact||%blitter_cycle_exact_value%)
Run_Program(%dbpath%\whdrun.exe||%gamepathfile% %gbgamepath%\rezip\%gamefilenoext%/ "%emupath%\winuae.exe" "%dbpath%\WHDLoad.uae" "%dbpath%\WHD\s\user-startup||nowait)
If PalNTSC = NTSC
Set_CFG_Value(%dbpath%\WHDLoad.uae||ntsc||true)
Else
Set_CFG_Value(%dbpath%\WHDLoad.uae||ntsc||false)
End If
Else
Add_CLP(-f "%dbpath%\GameBase 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
- .mad.
- Honoured Member
- Location: Lancashire
Post
Re: gamebase amiga hdf script
Hi Buddy!,
GameBase can be made to load HDF files.
WinUAE has several options for various formats of HD images.
The emulator is on v4.9.1 now, so it's about time you updated it.
it would be a case of choosing the correct option from the list.
here's the code in the UAE file to run a bootable HDF.
Normal HDF (converted from WHDLoad), will not boot if they don't have any workbench (Amiga OS) files on the image.
That's why i used a bootable master WB image in the script for all games.
rather than having thousands of HD images with duplicate WB files.
i did convert all WHDLoad (lha/x packed files) into single HDF images.
It used a script on the Amiga side in the running WinUAE emulator to unpack and create the HDF images.
this way it kept true Amiga filenames and characters not allowed on the PC, which fail to unpack in windows from GameBase (7z/ Win-LHA/z) so approx 30 games failed to load or had files missing in the unpacked dir.
This converted HDF format is great for PC frontends, but usless for running back on real Amiga.
This worked using a different WHD version of the kickstart if i remember correctly???.
i would need to find it...
GameBase can be made to load HDF files.
WinUAE has several options for various formats of HD images.
The emulator is on v4.9.1 now, so it's about time you updated it.
it would be a case of choosing the correct option from the list.
here's the code in the UAE file to run a bootable HDF.
Code: Select all
kickstart_rom_file=.\ROMs\KS ROM v3.1 (A1200) rev 40.68 (512k).rom
hardfile2=rw,DH0:.\Games\Akumajou Dracula AGA\Akumajou Dracula AGA.hdf,32,1,2,512,0,,uae
uaehf0=hdf,rw,DH0:.\\Games\\Akumajou Dracula AGA\\Akumajou Dracula AGA.hdf,32,1,2,512,0,,uae
That's why i used a bootable master WB image in the script for all games.
rather than having thousands of HD images with duplicate WB files.
i did convert all WHDLoad (lha/x packed files) into single HDF images.
It used a script on the Amiga side in the running WinUAE emulator to unpack and create the HDF images.
this way it kept true Amiga filenames and characters not allowed on the PC, which fail to unpack in windows from GameBase (7z/ Win-LHA/z) so approx 30 games failed to load or had files missing in the unpacked dir.
This converted HDF format is great for PC frontends, but usless for running back on real Amiga.
This worked using a different WHD version of the kickstart if i remember correctly???.
i would need to find it...
- Attachments
-
- hdf.PNG (50.19 KiB) Viewed 32877 times
- Fiery Phoenix
- Keen Member
- Location: Bury, Lancs
Post
Re: gamebase amiga hdf script
Thanks for the reply
Should have said I am using 4.4 WinUAE
I will try and take a look at this this evening after work.
So do I copy that code into the Script somewhere? Do I need to enter mode=hdf / hdf=no workbench - or is that old news?
Take it can still just use that one from 2011? Use it as GEMUS script in Gamebase?
Should have said I am using 4.4 WinUAE
I will try and take a look at this this evening after work.
So do I copy that code into the Script somewhere? Do I need to enter mode=hdf / hdf=no workbench - or is that old news?
Take it can still just use that one from 2011? Use it as GEMUS script in Gamebase?
- .mad.
- Honoured Member
- Location: Lancashire
Post
Re: gamebase amiga hdf script
the difference in the script for the example HDF, is the number at the end.
other HDF games might need different numbers for sector / block size?.
but any changes will always be on this line.
Set_CFG_value(%dbpath%\Amiga.uae||hardfile2||rw,DH0:%gamepathfile%,32,1,2,512,0,,uae)
Set_CFG_value(%dbpath%\Amiga.uae||uaehf0||hdf,rw,DH0:%gamepathfile%,32,1,2,512,0,,uae)
-------------------
-------------------
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)
other HDF games might need different numbers for sector / block size?.
but any changes will always be on this line.
Set_CFG_value(%dbpath%\Amiga.uae||hardfile2||rw,DH0:%gamepathfile%,32,1,2,512,0,,uae)
Set_CFG_value(%dbpath%\Amiga.uae||uaehf0||hdf,rw,DH0:%gamepathfile%,32,1,2,512,0,,uae)
-------------------
-------------------
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)
- Fiery Phoenix
- Keen Member
- Location: Bury, Lancs
Post
Re: gamebase amiga hdf script
Evening
Ok so I copied the Script from the original link above (http://www.gb64.com/forum/viewtopic.php?t=4720) from 2011 (2.3.1.0+)
But Expected "(" Line 13 error when I loaded it up in Gamebase
So I enter a ; at the start of each line - then get a "Too Many End If Statements"
So decided to stop trying that.....went back to my basic Script and added those lines below - no joy.
Or am I supposed to enter those lines into the individual game Gemus rather than the Script? Choose game and right click / GEMUS"key=value" pairs? I am guessing not as game path is linked already - presuming it has to be in the Script
I went through my old files and found this script:
Normal games or WHDLoad do not run using this script, but got a bit further with a hdf. file. Boots up to Workbench 3.1 screen - when I press F12 the .hdf is showing in the hardfile screen as DF0 - but not auto-booting. However.....
In normal WinUAE I can get the hdf. to self boot by loading my HDF configuration and attaching the .hdf as DF0 in hardfile screen
But just cannot get it to self boot in Gamebase this way.
Ok so I copied the Script from the original link above (http://www.gb64.com/forum/viewtopic.php?t=4720) from 2011 (2.3.1.0+)
But Expected "(" Line 13 error when I loaded it up in Gamebase
So I enter a ; at the start of each line - then get a "Too Many End If Statements"
So decided to stop trying that.....went back to my basic Script and added those lines below - no joy.
Or am I supposed to enter those lines into the individual game Gemus rather than the Script? Choose game and right click / GEMUS"key=value" pairs? I am guessing not as game path is linked already - presuming it has to be in the Script
I went through my old files and found this script:
Code: Select all
Belgarath
GameBase Amiga v2.1
WinUAE 3.2.2.0 script v2f
;*******************************
;* Belgarath *
;* GameBase Amiga v2.1 *
;* WinUAE 3.2.2.0 script v2f *
;*******************************
; Associated script files and programs...
;------------------------------------------------------------------------------
; GameBase Amiga.UAE
; WinUAE.INI
; Kickstart ROMs (v1.2 A500, v1.3, v2.05 A600 v3.1 A1200)
;------------------------------------------------------------------------------
;------------------------------------------------------------------------------
;; on the very first run of a game (sometimes) no controllers are selected.
; then it works 100% with control selection in GEMUS.
;------------------------------------------------------------------------------
;
; If Key_HDF CONTAINS(No WorkBench)
;==================================================================================================
; CD32 settings: Must use 'MODE=CD32' to distinguish between CD32, CDTV, AMIGA CD ISO's
;==================================================================================================
If GameType CONTAINS(ISO||BIN||CUE)
If Key_mode CONTAINS(CD32)
Set_CFG_Value(%dbpath%\Scripts\CD32.uae||nr_floppies||0)
Set_CFG_Value(%dbpath%\Scripts\CD32.uae||floppy0type||-1)
;Kickstart must be this for CD32
Set_CFG_Value(%dbpath%\Scripts\CD32.uae||kickstart_rom||v3.1 CD32)
Set_CFG_Value(%dbpath%\Scripts\CD32.uae||kickstart_ext_rom||v3.1 CD32)
Set_CFG_Value(%dbpath%\Scripts\CD32.uae||ksmirror_a8||true)
If Key_fmv CONTAINS(yes)
Set_CFG_Value(%dbpath%\Scripts\CD32.uae||cart_file||%emupath%\roms\CD32FMV.rom)
Else
Set_CFG_Value(%dbpath%\Scripts\CD32.uae||cart_file||)
End If
;-------------------------------------------------------------------------
;Use "-" for Chipset_Compatible to enable advanced Chipset settings NVRAM.
;-------------------------------------------------------------------------
; Set_CFG_Value(%dbpath%\Scripts\CD32.uae||chipset_compatible||-)
Set_CFG_Value(%dbpath%\Scripts\CD32.uae||chipset_compatible||CD32)
If Key_flashfile CONTAINS(yes||on||1)
Set_CFG_Value(%dbpath%\Scripts\CD32.uae||cd32cd||true)
Set_CFG_Value(%dbpath%\Scripts\CD32.uae||cd32c2p||true)
Set_CFG_Value(%dbpath%\Scripts\CD32.uae||cd32nvram||true)
Set_CFG_Value(%dbpath%\Scripts\CD32.uae||flash_file||%dbpath%\Scripts\cd32.nvr)
Else
Set_CFG_Value(%dbpath%\Scripts\CD32.uae||cd32nvram||false)
Set_CFG_Value(%dbpath%\Scripts\CD32.uae||flash_file||)
End If
Set_CFG_Value(%dbpath%\Scripts\CD32.uae||maprom||0x0)
Set_CFG_Value(%dbpath%\Scripts\CD32.uae||chipset||AGA)
Set_CFG_Value(%dbpath%\Scripts\CD32.uae||compfpu||true)
Set_CFG_Value(%dbpath%\Scripts\CD32.uae||rtc||none)
Set_CFG_Value(%dbpath%\Scripts\CD32.uae||immediate_blits||false)
Set_CFG_Value(%dbpath%\Scripts\CD32.uae||cpu_speed||real)
Set_CFG_Value(%dbpath%\Scripts\CD32.uae||cpu_type||68ec020)
Set_CFG_Value(%dbpath%\Scripts\CD32.uae||cpu_model||68040)
Set_CFG_Value(%dbpath%\Scripts\CD32.uae||cpu_multiplier||4)
Set_CFG_Value(%dbpath%\Scripts\CD32.uae||cpu_compatible||true)
Set_CFG_Value(%dbpath%\Scripts\CD32.uae||cpu_24bit_addressing||true)
Set_CFG_Value(%dbpath%\Scripts\CD32.uae||cpu_cycle_exact||true)
Set_CFG_Value(%dbpath%\Scripts\CD32.uae||blitter_cycle_exact||true)
Set_CFG_Value(%dbpath%\Scripts\CD32.uae||cycle_exact||true)
;Bogomem (Slow) **** 0=none 2=512k 4=1MB 6=1.5MB 7=1.8MB ***
If Key_bogomem_size CONTAINS(0||1||2||4||6||7)
Set_CFG_Value(%dbpath%\Scripts\CD32.uae||bogomem_size||%bogomem_size_value%)
Else
Set_CFG_Value(%dbpath%\Scripts\CD32.uae||bogomem_size||7)
End If
;Fastmem **** 0=none 1=1MB 2=2MB 4=4MB 8=4MB
If Key_fastmem_size CONTAINS(0||1||2||4||8)
Set_CFG_Value(%dbpath%\Scripts\CD32.uae||fastmem_size||%fastmem_size_value%)
Else
Set_CFG_Value(%dbpath%\Scripts\CD32.uae||fastmem_size||8)
End If
;Chipmem **** 0=256k 1=512k 2=1MB 4=2MB 8=4MB 16=8MB
If Key_chipmem_size CONTAINS(0||1||2||4||8||16)
Set_CFG_Value(%dbpath%\Scripts\CD32.uae||chipmem_size||%chipmem_size_value%)
Else
Set_CFG_Value(%dbpath%\Scripts\CD32.uae||chipmem_size||4)
End If
Set_CFG_Value(%dbpath%\Scripts\CD32.uae||joyport0||joy0)
;Set_CFG_Value(%dbpath%\Scripts\CD32.uae||joyport0||kbd1)
Set_CFG_Value(%dbpath%\Scripts\CD32.uae||joyport0autofire||none)
Set_CFG_Value(%dbpath%\Scripts\CD32.uae||joyport0mode||cd32joy)
Set_CFG_Value(%dbpath%\Scripts\CD32.uae||joyport1||joy1)
;Set_CFG_Value(%dbpath%\Scripts\CD32.uae||joyport1||kbd2)
Set_CFG_Value(%dbpath%\Scripts\CD32.uae||joyport1autofire||none)
Set_CFG_Value(%dbpath%\Scripts\CD32.uae||joyport1mode||cd32joy)
Add_CLP(-f "%dbpath%\Scripts\CD32.uae" -s cdimage0=%gamepathfile%,delay)
Run_Emulator()
End If
;==================================================================================================
; CDTV - must use 'MODE=CDTV' to distinguish between CD32, CDTV, AMIGA CD ISO's
;==================================================================================================
If Key_mode CONTAINS(CDTV)
Set_CFG_Value(%dbpath%\Scripts\CDTV.uae||nr_floppies||0)
Set_CFG_Value(%dbpath%\Scripts\CDTV.uae||floppy0type||-1)
;Kickstart must be this for CDTV
Set_CFG_Value(%dbpath%\Scripts\CDTV.uae||kickstart_rom||v1.3)
Set_CFG_Value(%dbpath%\Scripts\CDTV.uae||kickstart_ext_rom||v1.0 CDTV)
Set_CFG_Value(%dbpath%\Scripts\CDTV.uae||ksmirror_a8||false)
;-------------------------------------------------------------------------
;Use "-" for Chipset_Compatible to enable advanced Chipset settings NVRAM.
;-------------------------------------------------------------------------
;*******Set_CFG_Value(%dbpath%\Scripts\CDTV.uae||chipset_compatible||CDTV)
Set_CFG_Value(%dbpath%\Scripts\CDTV.uae||chipset_compatible||-)
Set_CFG_Value(%dbpath%\Scripts\CDTV.uae||cdtvcd||true)
Set_CFG_Value(%dbpath%\Scripts\CDTV.uae||cdtvram||true)
Set_CFG_Value(%dbpath%\Scripts\CDTV.uae||cdtvramcard||1)
Set_CFG_Value(%dbpath%\Scripts\CDTV.uae||immediate_blits||false)
Set_CFG_Value(%dbpath%\Scripts\CDTV.uae||chipset||ECS_Agnus)
Set_CFG_Value(%dbpath%\Scripts\CDTV.uae||cpu_speed||real)
Set_CFG_Value(%dbpath%\Scripts\CDTV.uae||cpu_type||68000)
Set_CFG_Value(%dbpath%\Scripts\CDTV.uae||cpu_model||68000)
Set_CFG_Value(%dbpath%\Scripts\CDTV.uae||cpu_compatible||true)
Set_CFG_Value(%dbpath%\Scripts\CDTV.uae||cpu_24bit_addressing||true)
Set_CFG_Value(%dbpath%\Scripts\CDTV.uae||cpu_cycle_exact||true)
Set_CFG_Value(%dbpath%\Scripts\CDTV.uae||blitter_cycle_exact||true)
Set_CFG_Value(%dbpath%\Scripts\CDTV.uae||cycle_exact||true)
;Bogomem (Slow) **** 0=none 2=512k 4=1MB 6=1.5MB 7=1.8MB ***
If Key_bogomem_size CONTAINS(0||1||2||4||6||7)
Set_CFG_Value(%dbpath%\Scripts\CDTV.uae||bogomem_size||%bogomem_size_value%)
Else
Set_CFG_Value(%dbpath%\Scripts\CDTV.uae||bogomem_size||0)
End If
;0=none 1=1MB 2=2MB 4=4MB 8=4MB
If Key_fastmem_size CONTAINS(0||1||2||4||8)
Set_CFG_Value(%dbpath%\Scripts\CDTV.uae||fastmem_size||%fastmem_size_value%)
Else
Set_CFG_Value(%dbpath%\Scripts\CDTV.uae||fastmem_size||0)
End If
;0=256k 1=512k 2=1MB 4=2MB 8=4MB 16=8MB
If Key_chipmem_size CONTAINS(0||1||2||4||8||16)
Set_CFG_Value(%dbpath%\Scripts\CDTV.uae||chipmem_size||%chipmem_size_value%)
Else
Set_CFG_Value(%dbpath%\Scripts\CDTV.uae||chipmem_size||4)
End If
Set_CFG_Value(%dbpath%\Scripts\CDTV.uae||joyport0||mouse0)
Set_CFG_Value(%dbpath%\Scripts\CDTV.uae||joyport0mode||mousenowheel)
Set_CFG_Value(%dbpath%\Scripts\CDTV.uae||joyport0autofire||none)
Set_CFG_Value(%dbpath%\Scripts\CDTV.uae||joyport1||joy0)
Set_CFG_Value(%dbpath%\Scripts\CDTV.uae||joyport1mode||cdtvjoy)
Set_CFG_Value(%dbpath%\Scripts\CDTV.uae||joyport1autofire||none)
Set_CFG_Value(%dbpath%\Scripts\CDTV.uae||cdimage0||%gamepathfile%,delay)
Add_CLP(-f "%dbpath%\Scripts\CDTV.uae" -s)
Run_Emulator()
End If
End If
;**************************************************************************************************
If GameType CONTAINS(HDF)
; To run HDF Files, you must link HDF as the runnable file inside ZIP.
;**************************************************************************************************
;---------------------
;Floppy Disk (No disk)
;---------------------
Set_CFG_Value(%dbpath%\Scripts\HDF.uae||nr_floppies||1)
Set_CFG_Value(%dbpath%\Scripts\HDF.uae||floppy0type||0)
Set_CFG_Value(%dbpath%\Scripts\HDF.uae||floppy0||)
;-----------------------------------------------
;Put Game/Demo HDF File in Hard Drive 0.
;-----------------------------------------------
Set_CFG_Item(%dbpath%\Scripts\HDF.uae||hardfile2=rw,DH0||:||%gamepathfile%,32,1,2,512,-128,,uae)
Set_CFG_Value(%dbpath%\Scripts\HDF.uae||uaehf1||hdf,rw,DH0:%gamepathfile%,32,1,2,512,-128,,uae)
; Kickstart needs to be from HD Machine A600, A1200, A1500, A4000
If Key_kickstart_rom CONTAINS(v2.04||v2.05||v3.0||v3.1||v3.1 A1200)
Set_CFG_Value(%dbpath%\Scripts\Gamebase Amiga.uae||kickstart_rom||%kickstart_rom_value%)
Else
Set_CFG_Value(%dbpath%\Scripts\Gamebase Amiga.uae||kickstart_rom||v3.1)
End If
;-------------------------
; GFX and SCREEN settings
;-------------------------
If Key_screen CONTAINS(autocenter)
Set_CFG_Value(%dbpath%\Scripts\HDF.uae||gfx_autoresolution||1)
Set_CFG_Value(%dbpath%\Scripts\HDF.uae||gfx_center_horizontal||smart)
Set_CFG_Value(%dbpath%\Scripts\HDF.uae||gfx_center_vertical||smart)
Else
Set_CFG_Value(%dbpath%\Scripts\HDF.uae||gfx_autoresolution||0)
Set_CFG_Value(%dbpath%\Scripts\HDF.uae||gfx_center_horizontal||none)
Set_CFG_Value(%dbpath%\Scripts\HDF.uae||gfx_center_vertical||none)
End If
If Key_gfx_api CONTAINS(directdraw)
Set_CFG_Value(%dbpath%\Scripts\HDF.uae||gfx_api||directdraw)
Else
Set_CFG_Value(%dbpath%\Scripts\HDF.uae||gfx_api||direct3d)
End If
If Key_fullscreen CONTAINS(on)
Set_CFG_Value(%dbpath%\Scripts\HDF.uae||gfx_fullscreen_amiga||true)
Else
Set_CFG_Value(%dbpath%\Scripts\HDF.uae||gfx_fullscreen_amiga||false)
End If
If Key_gfx_filter CONTAINS(none||null||scale2x||hq2x||hq3x||hq4x||supereagle||super2xsai||2xsai||pal)
Set_CFG_Value(%dbpath%\Scripts\HDF.uae||gfx_filter||%gfx_filter_value%)
Else
Set_CFG_Value(%dbpath%\Scripts\HDF.uae||gfx_filter||null)
End If
;-----------------------------------------------------------------------
; Joystick Settings
; Plug a USB Joystick into your PC or nothing will be configured.
;-----------------------------------------------------------------------
If Control = JoyPort2
; Default - Mouse in Port#1
Set_CFG_Value(%dbpath%\Scripts\HDF.uae||joyport0||mouse)
Set_CFG_Value(%dbpath%\Scripts\HDF.uae||joyport0autofire||none)
Set_CFG_Value(%dbpath%\Scripts\HDF.uae||joyport0mode||mousenowheel)
Set_CFG_Value(%dbpath%\Scripts\HDF.uae||joyportfriendlyname0||Windows mouse)
Set_CFG_Value(%dbpath%\Scripts\HDF.uae||joyportname0||WINMOUSE1)
; Default - Use USB Joystick in Port#2
Set_CFG_Value(%dbpath%\Scripts\HDF.uae||joyport1||joy0)
Set_CFG_Value(%dbpath%\Scripts\HDF.uae||joyport1mode||djoy)
Set_CFG_Value(%dbpath%\Scripts\HDF.uae||joyport1autofire||none)
Set_CFG_Value(%dbpath%\Scripts\HDF.uae||joyportfriendlyname1||)
Set_CFG_Value(%dbpath%\Scripts\HDF.uae||joyportname1||)
;Same as this
;Set_CFG_Value(%dbpath%\Scripts\HDF.uae||joyportfriendlyname1||SPEED-LINK Competition Pro)
;Set_CFG_Value(%dbpath%\Scripts\HDF.uae||joyportname1||6533040B-0000-0000-0000504944564944 F112B8C0-AE20-11E4-8001444553540000)
;*****************************************************************
ElseIf Control = JoyPort1
Set_CFG_Value(%dbpath%\Scripts\HDF.uae||joyport0||joy0)
Set_CFG_Value(%dbpath%\Scripts\HDF.uae||joyport0autofire||none)
Set_CFG_Value(%dbpath%\Scripts\HDF.uae||joyport0mode||djoy)
Set_CFG_Value(%dbpath%\Scripts\HDF.uae||joyportfriendlyname0||)
Set_CFG_Value(%dbpath%\Scripts\HDF.uae||joyportname0||)
Set_CFG_Value(%dbpath%\Scripts\HDF.uae||joyport1||joy1)
Set_CFG_Value(%dbpath%\Scripts\HDF.uae||joyport1autofire||none)
Set_CFG_Value(%dbpath%\Scripts\HDF.uae||joyport1mode||djoy)
Set_CFG_Value(%dbpath%\Scripts\HDF.uae||joyportfriendlyname1||)
Set_CFG_Value(%dbpath%\Scripts\HDF.uae||joyportname1||)
;*****************************************************************
ElseIf Control = Keyboard
;Game uses most keys, CURSOR and NUMPAD, so remove any keymap which will conflict with Amiga keyboard.
; Best option for Pinball - (Original keys can be used for flippers CTRL,ALT, SHIFT, CURSOR)
; Default - Mouse in Port#1
Set_CFG_Value(%dbpath%\Scripts\HDF.uae||joyport0||mouse)
Set_CFG_Value(%dbpath%\Scripts\HDF.uae||joyport0autofire||none)
Set_CFG_Value(%dbpath%\Scripts\HDF.uae||joyport0mode||mousenowheel)
Set_CFG_Value(%dbpath%\Scripts\HDF.uae||joyportfriendlyname0||Windows mouse)
Set_CFG_Value(%dbpath%\Scripts\HDF.uae||joyportname0||WINMOUSE1)
; select USB Joypad - if no USB Pad is attachd to PC, none is selected (no control - buy a Joystick!).
Set_CFG_Value(%dbpath%\Scripts\HDF.uae||joyport1||joy0)
Set_CFG_Value(%dbpath%\Scripts\HDF.uae||joyport1mode||djoy)
Set_CFG_Value(%dbpath%\Scripts\HDF.uae||joyport1autofire||none)
Set_CFG_Value(%dbpath%\Scripts\HDF.uae||joyportfriendlyname1||)
Set_CFG_Value(%dbpath%\Scripts\HDF.uae||joyportname1||)
ElseIf Control = Mouse
; Default - Mouse in Port#1
Set_CFG_Value(%dbpath%\Scripts\HDF.uae||joyport0||mouse)
Set_CFG_Value(%dbpath%\Scripts\HDF.uae||joyport0autofire||none)
Set_CFG_Value(%dbpath%\Scripts\HDF.uae||joyport0mode||mousenowheel)
Set_CFG_Value(%dbpath%\Scripts\HDF.uae||joyportfriendlyname0||Windows mouse)
Set_CFG_Value(%dbpath%\Scripts\HDF.uae||joyportname0||WINMOUSE1)
; Default - Use USB Joystick in Port#2
Set_CFG_Value(%dbpath%\Scripts\HDF.uae||joyport1||joy0)
Set_CFG_Value(%dbpath%\Scripts\HDF.uae||joyport1mode||djoy)
Set_CFG_Value(%dbpath%\Scripts\HDF.uae||joyport1autofire||none)
Set_CFG_Value(%dbpath%\Scripts\HDF.uae||joyportfriendlyname1||)
Set_CFG_Value(%dbpath%\Scripts\HDF.uae||joyportname1||)
ElseIf Control = LightGun
Show_Message(This game requires a LightGun, control is not yet emulated.)
; Default - Mouse in Port#1
Set_CFG_Value(%dbpath%\Scripts\HDF.uae||joyport0||mouse)
Set_CFG_Value(%dbpath%\Scripts\HDF.uae||joyport0autofire||none)
Set_CFG_Value(%dbpath%\Scripts\HDF.uae||joyport0mode||mousenowheel)
Set_CFG_Value(%dbpath%\Scripts\HDF.uae||joyportfriendlyname0||Windows mouse)
Set_CFG_Value(%dbpath%\Scripts\HDF.uae||joyportname0||WINMOUSE1)
; Default - Use USB Joystick in Port#2
Set_CFG_Value(%dbpath%\Scripts\HDF.uae||joyport1||joy0)
Set_CFG_Value(%dbpath%\Scripts\HDF.uae||joyport1mode||lightpen)
Set_CFG_Value(%dbpath%\Scripts\HDF.uae||joyport1autofire||none)
Set_CFG_Value(%dbpath%\Scripts\HDF.uae||joyportfriendlyname1||)
Set_CFG_Value(%dbpath%\Scripts\HDF.uae||joyportname1||)
End If
;---------------------------------------------
;Remove USB Joysticks if keymap stops working
;Goes without saying. Do not map 2 ports the same.
;--------------------------------------------------
If Key_port1 CONTAINS(keya)
Set_CFG_Value(%dbpath%\Scripts\HDF.uae||joyport0||kbd1)
Set_CFG_Value(%dbpath%\Scripts\HDF.uae||joyport0autofire||none)
Set_CFG_Value(%dbpath%\Scripts\HDF.uae||joyport0mode||)
Set_CFG_Value(%dbpath%\Scripts\HDF.uae||joyportfriendlyname0||)
Set_CFG_Value(%dbpath%\Scripts\HDF.uae||joyportname0||)
ElseIf Key_port1 CONTAINS(keyb)
Set_CFG_Value(%dbpath%\Scripts\HDF.uae||joyport0||kbd2)
Set_CFG_Value(%dbpath%\Scripts\HDF.uae||joyport0autofire||none)
Set_CFG_Value(%dbpath%\Scripts\HDF.uae||joyport0mode||)
Set_CFG_Value(%dbpath%\Scripts\HDF.uae||joyportfriendlyname0||)
Set_CFG_Value(%dbpath%\Scripts\HDF.uae||joyportname0||)
ElseIf Key_port1 CONTAINS(keyc)
Set_CFG_Value(%dbpath%\Scripts\HDF.uae||joyport0||kbd3)
Set_CFG_Value(%dbpath%\Scripts\HDF.uae||joyport0autofire||none)
Set_CFG_Value(%dbpath%\Scripts\HDF.uae||joyport0mode||)
Set_CFG_Value(%dbpath%\Scripts\HDF.uae||joyportfriendlyname0||)
Set_CFG_Value(%dbpath%\Scripts\HDF.uae||joyportname0||)
ElseIf Key_port1 CONTAINS(joy1)
Set_CFG_Value(%dbpath%\Scripts\HDF.uae||joyport0||joy0)
Set_CFG_Value(%dbpath%\Scripts\HDF.uae||joyport0autofire||none)
;change "djoy" to nothing for DEFAULT setting in port#1
Set_CFG_Value(%dbpath%\Scripts\HDF.uae||joyport0mode||djoy)
Set_CFG_Value(%dbpath%\Scripts\HDF.uae||joyportfriendlyname0||)
Set_CFG_Value(%dbpath%\Scripts\HDF.uae||joyportname0||)
End If
If Key_port2 CONTAINS(keya)
Set_CFG_Value(%dbpath%\Scripts\HDF.uae||joyport1||kbd1)
Set_CFG_Value(%dbpath%\Scripts\HDF.uae||joyport1autofire||none)
Set_CFG_Value(%dbpath%\Scripts\HDF.uae||joyport1mode||)
Set_CFG_Value(%dbpath%\Scripts\HDF.uae||joyportfriendlyname1||)
Set_CFG_Value(%dbpath%\Scripts\HDF.uae||joyportname1||)
ElseIf Key_port2 CONTAINS(keyb)
Set_CFG_Value(%dbpath%\Scripts\HDF.uae||joyport1||kbd2)
Set_CFG_Value(%dbpath%\Scripts\HDF.uae||joyport1autofire||none)
Set_CFG_Value(%dbpath%\Scripts\HDF.uae||joyport1mode||)
Set_CFG_Value(%dbpath%\Scripts\HDF.uae||joyportfriendlyname1||)
Set_CFG_Value(%dbpath%\Scripts\HDF.uae||joyportname1||)
ElseIf Key_port2 CONTAINS(keyc)
Set_CFG_Value(%dbpath%\Scripts\HDF.uae||joyport1||kbd3)
Set_CFG_Value(%dbpath%\Scripts\HDF.uae||joyport1autofire||none)
Set_CFG_Value(%dbpath%\Scripts\HDF.uae||joyport1mode||)
Set_CFG_Value(%dbpath%\Scripts\HDF.uae||joyportfriendlyname1||)
Set_CFG_Value(%dbpath%\Scripts\HDF.uae||joyportname1||)
ElseIf Key_port2 CONTAINS(joy2)
Set_CFG_Value(%dbpath%\Scripts\HDF.uae||joyport1||joy1)
Set_CFG_Value(%dbpath%\Scripts\HDF.uae||joyport1autofire||none)
Set_CFG_Value(%dbpath%\Scripts\HDF.uae||joyport1mode||djoy)
Set_CFG_Value(%dbpath%\Scripts\HDF.uae||joyportfriendlyname1||)
Set_CFG_Value(%dbpath%\Scripts\HDF.uae||joyportname1||)
End If
;---------------------------------------------
Add_CLP(-f "%dbpath%\Scripts\HDF.uae")
Run_Emulator()
End If
;########################################################################################
If GameType CONTAINS(ADF||IPF||DMS)
;Problems with these values, reset in corrupt UAE
Set_CFG_Value(%dbpath%\Scripts\GameBase Amiga.uae||rtc||MSM6242B)
Set_CFG_Value(%dbpath%\Scripts\GameBase Amiga.uae||chipset_refreshrate||50.080410)
Set_CFG_Value(%dbpath%\Scripts\GameBase Amiga.uae||pcmcia||false)
Set_CFG_Value(%dbpath%\Scripts\GameBase Amiga.uae||gfxcard_hardware_sprite||false)
Set_CFG_Value(%dbpath%\Scripts\GameBase Amiga.uae||ksmirror_a8||false)
Set_CFG_Value(%dbpath%\Scripts\GameBase Amiga.uae||resetwarning||false)
Set_CFG_Value(%dbpath%\Scripts\GameBase Amiga.uae||cia_todbug||true)
Set_CFG_Value(%dbpath%\Scripts\GameBase Amiga.uae||ide||)
;These two custom joystick settings are written in UAE file.
;joystick0friendlyname=SPEED-LINK Competition Pro
;joystick0name=6533040B-0000-0000-0000504944564944 F112B8C0-AE20-11E4-8001444553540000
;joystick1friendlyname=SideWinder Game Pad USB version 1.0
;joystick1name=0007045E-0000-0000-0000504944564944 D1EFBD60-F039-11E5-8001444553540000
;If scripting does not work change them to your Joystick Names and ID's
;joyport0=mouse
;joyport0autofire=none
;joyport0mode=mousenowheel
;joyportname0=WINMOUSE1
;joyportfriendlyname0=Windows mouse
;joyport1=joy0
;joyport1autofire=none
;joyport1mode=djoy
;joyportfriendlyname1=
;joyportname1=
;---------------------------------------------------------
If Key_screen CONTAINS(autocenter)
Set_CFG_Value(%dbpath%\Scripts\GameBase Amiga.uae||gfx_autoresolution||1)
Set_CFG_Value(%dbpath%\Scripts\GameBase Amiga.uae||gfx_center_horizontal||smart)
Set_CFG_Value(%dbpath%\Scripts\GameBase Amiga.uae||gfx_center_vertical||smart)
Else
Set_CFG_Value(%dbpath%\Scripts\GameBase Amiga.uae||gfx_autoresolution||0)
Set_CFG_Value(%dbpath%\Scripts\GameBase Amiga.uae||gfx_center_horizontal||none)
Set_CFG_Value(%dbpath%\Scripts\GameBase Amiga.uae||gfx_center_vertical||none)
End If
If Key_gfx_api CONTAINS(directdraw)
Set_CFG_Value(%dbpath%\Scripts\GameBase Amiga.uae||gfx_api||directdraw)
Else
Set_CFG_Value(%dbpath%\Scripts\GameBase Amiga.uae||gfx_api||direct3d)
End If
If Key_fullscreen CONTAINS(on)
Set_CFG_Value(%dbpath%\Scripts\GameBase Amiga.uae||gfx_fullscreen_amiga||true)
Else
Set_CFG_Value(%dbpath%\Scripts\GameBase Amiga.uae||gfx_fullscreen_amiga||false)
End If
If Key_gfx_filter CONTAINS(none||null||scale2x||hq2x||hq3x||hq4x||supereagle||super2xsai||2xsai||pal)
Set_CFG_Value(%dbpath%\Scripts\GameBase Amiga.uae||gfx_filter||%gfx_filter_value%)
Else
Set_CFG_Value(%dbpath%\Scripts\GameBase Amiga.uae||gfx_filter||null)
End If
If Key_floppy_speed CONTAINS(fast)
Set_CFG_Value(%dbpath%\Scripts\GameBase Amiga.uae||floppy_speed||800)
Else
Set_CFG_Value(%dbpath%\Scripts\GameBase Amiga.uae||floppy_speed||100)
End If
If Key_floppy_volume CONTAINS(on)
Set_CFG_Value(%dbpath%\Scripts\GameBase Amiga.uae||floppy0sound||-1)
Set_CFG_Value(%dbpath%\Scripts\GameBase Amiga.uae||floppy0soundext||LOUD)
Set_CFG_Value(%dbpath%\Scripts\GameBase Amiga.uae||floppy0soundvolume_disk||33)
Set_CFG_Value(%dbpath%\Scripts\GameBase Amiga.uae||floppy0soundvolume_empty||33)
Set_CFG_Value(%dbpath%\Scripts\GameBase Amiga.uae||floppy1sound||-1)
Set_CFG_Value(%dbpath%\Scripts\GameBase Amiga.uae||floppy1soundext||LOUD)
Set_CFG_Value(%dbpath%\Scripts\GameBase Amiga.uae||floppy1soundvolume_disk||33)
Set_CFG_Value(%dbpath%\Scripts\GameBase Amiga.uae||floppy1soundvolume_empty||33)
Set_CFG_Value(%dbpath%\Scripts\GameBase Amiga.uae||floppy2sound||-1)
Set_CFG_Value(%dbpath%\Scripts\GameBase Amiga.uae||floppy2soundext||LOUD)
Set_CFG_Value(%dbpath%\Scripts\GameBase Amiga.uae||floppy2soundvolume_disk||33)
Set_CFG_Value(%dbpath%\Scripts\GameBase Amiga.uae||floppy2soundvolume_empty||33)
Set_CFG_Value(%dbpath%\Scripts\GameBase Amiga.uae||floppy3sound||-1)
Set_CFG_Value(%dbpath%\Scripts\GameBase Amiga.uae||floppy3soundext||LOUD)
Set_CFG_Value(%dbpath%\Scripts\GameBase Amiga.uae||floppy3soundvolume_disk||33)
Set_CFG_Value(%dbpath%\Scripts\GameBase Amiga.uae||floppy3soundvolume_empty||33)
Else
Set_CFG_Value(%dbpath%\Scripts\GameBase Amiga.uae||floppy0sound||0)
Set_CFG_Value(%dbpath%\Scripts\GameBase Amiga.uae||floppy0soundext||none)
Set_CFG_Value(%dbpath%\Scripts\GameBase Amiga.uae||floppy1sound||0)
Set_CFG_Value(%dbpath%\Scripts\GameBase Amiga.uae||floppy1soundext||none)
Set_CFG_Value(%dbpath%\Scripts\GameBase Amiga.uae||floppy2sound||0)
Set_CFG_Value(%dbpath%\Scripts\GameBase Amiga.uae||floppy2soundext||none)
Set_CFG_Value(%dbpath%\Scripts\GameBase Amiga.uae||floppy3sound||0)
Set_CFG_Value(%dbpath%\Scripts\GameBase Amiga.uae||floppy3soundext||none)
End If
;-----------------------------------------------------------------------
; Joystick Settings
; Plug a USB Joystick into your PC or nothing will be configured.
;-----------------------------------------------------------------------
If Control = JoyPort2
; Default - Mouse in Port#1
Set_CFG_Value(%dbpath%\Scripts\GameBase Amiga.uae||joyport0||mouse)
Set_CFG_Value(%dbpath%\Scripts\GameBase Amiga.uae||joyport0autofire||none)
Set_CFG_Value(%dbpath%\Scripts\GameBase Amiga.uae||joyport0mode||mousenowheel)
Set_CFG_Value(%dbpath%\Scripts\GameBase Amiga.uae||joyportfriendlyname0||Windows mouse)
Set_CFG_Value(%dbpath%\Scripts\GameBase Amiga.uae||joyportname0||WINMOUSE1)
; Default - Use USB Joystick in Port#2
Set_CFG_Value(%dbpath%\Scripts\GameBase Amiga.uae||joyport1||joy0)
Set_CFG_Value(%dbpath%\Scripts\GameBase Amiga.uae||joyport1mode||djoy)
Set_CFG_Value(%dbpath%\Scripts\GameBase Amiga.uae||joyport1autofire||none)
Set_CFG_Value(%dbpath%\Scripts\GameBase Amiga.uae||joyportfriendlyname1||)
Set_CFG_Value(%dbpath%\Scripts\GameBase Amiga.uae||joyportname1||)
;Same as this
;Set_CFG_Value(%dbpath%\Scripts\GameBase Amiga.uae||joyportfriendlyname1||SPEED-LINK Competition Pro)
;Set_CFG_Value(%dbpath%\Scripts\GameBase Amiga.uae||joyportname1||6533040B-0000-0000-0000504944564944 F112B8C0-AE20-11E4-8001444553540000)
;*****************************************************************
ElseIf Control = JoyPort1
Set_CFG_Value(%dbpath%\Scripts\GameBase Amiga.uae||joyport0||joy0)
Set_CFG_Value(%dbpath%\Scripts\GameBase Amiga.uae||joyport0autofire||none)
Set_CFG_Value(%dbpath%\Scripts\GameBase Amiga.uae||joyport0mode||djoy)
Set_CFG_Value(%dbpath%\Scripts\GameBase Amiga.uae||joyportfriendlyname0||)
Set_CFG_Value(%dbpath%\Scripts\GameBase Amiga.uae||joyportname0||)
Set_CFG_Value(%dbpath%\Scripts\GameBase Amiga.uae||joyport1||joy1)
Set_CFG_Value(%dbpath%\Scripts\GameBase Amiga.uae||joyport1autofire||none)
Set_CFG_Value(%dbpath%\Scripts\GameBase Amiga.uae||joyport1mode||djoy)
Set_CFG_Value(%dbpath%\Scripts\GameBase Amiga.uae||joyportfriendlyname1||)
Set_CFG_Value(%dbpath%\Scripts\GameBase Amiga.uae||joyportname1||)
;*****************************************************************
ElseIf Control = Keyboard
;Game uses most keys, CURSOR and NUMPAD, so remove any keymap which will conflict with Amiga keyboard.
; Best option for Pinball - (Original keys can be used for flippers CTRL,ALT, SHIFT, CURSOR)
; Default - Mouse in Port#1
Set_CFG_Value(%dbpath%\Scripts\GameBase Amiga.uae||joyport0||mouse)
Set_CFG_Value(%dbpath%\Scripts\GameBase Amiga.uae||joyport0autofire||none)
Set_CFG_Value(%dbpath%\Scripts\GameBase Amiga.uae||joyport0mode||mousenowheel)
Set_CFG_Value(%dbpath%\Scripts\GameBase Amiga.uae||joyportfriendlyname0||Windows mouse)
Set_CFG_Value(%dbpath%\Scripts\GameBase Amiga.uae||joyportname0||WINMOUSE1)
; select USB Joypad - if no USB Pad is attachd to PC, none is selected (no control - buy a Joystick!).
Set_CFG_Value(%dbpath%\Scripts\GameBase Amiga.uae||joyport1||joy0)
Set_CFG_Value(%dbpath%\Scripts\GameBase Amiga.uae||joyport1mode||djoy)
Set_CFG_Value(%dbpath%\Scripts\GameBase Amiga.uae||joyport1autofire||none)
Set_CFG_Value(%dbpath%\Scripts\GameBase Amiga.uae||joyportfriendlyname1||)
Set_CFG_Value(%dbpath%\Scripts\GameBase Amiga.uae||joyportname1||)
ElseIf Control = Mouse
; Default - Mouse in Port#1
Set_CFG_Value(%dbpath%\Scripts\GameBase Amiga.uae||joyport0||mouse)
Set_CFG_Value(%dbpath%\Scripts\GameBase Amiga.uae||joyport0autofire||none)
Set_CFG_Value(%dbpath%\Scripts\GameBase Amiga.uae||joyport0mode||mousenowheel)
Set_CFG_Value(%dbpath%\Scripts\GameBase Amiga.uae||joyportfriendlyname0||Windows mouse)
Set_CFG_Value(%dbpath%\Scripts\GameBase Amiga.uae||joyportname0||WINMOUSE1)
; Default - Use USB Joystick in Port#2
Set_CFG_Value(%dbpath%\Scripts\GameBase Amiga.uae||joyport1||joy0)
Set_CFG_Value(%dbpath%\Scripts\GameBase Amiga.uae||joyport1mode||djoy)
Set_CFG_Value(%dbpath%\Scripts\GameBase Amiga.uae||joyport1autofire||none)
Set_CFG_Value(%dbpath%\Scripts\GameBase Amiga.uae||joyportfriendlyname1||)
Set_CFG_Value(%dbpath%\Scripts\GameBase Amiga.uae||joyportname1||)
ElseIf Control = LightGun
Show_Message(This game requires a LightGun, control is not yet emulated.)
; Default - Mouse in Port#1
Set_CFG_Value(%dbpath%\Scripts\GameBase Amiga.uae||joyport0||mouse)
Set_CFG_Value(%dbpath%\Scripts\GameBase Amiga.uae||joyport0autofire||none)
Set_CFG_Value(%dbpath%\Scripts\GameBase Amiga.uae||joyport0mode||mousenowheel)
Set_CFG_Value(%dbpath%\Scripts\GameBase Amiga.uae||joyportfriendlyname0||Windows mouse)
Set_CFG_Value(%dbpath%\Scripts\GameBase Amiga.uae||joyportname0||WINMOUSE1)
; Default - Use USB Joystick in Port#2
Set_CFG_Value(%dbpath%\Scripts\GameBase Amiga.uae||joyport1||joy0)
Set_CFG_Value(%dbpath%\Scripts\GameBase Amiga.uae||joyport1mode||lightpen)
Set_CFG_Value(%dbpath%\Scripts\GameBase Amiga.uae||joyport1autofire||none)
Set_CFG_Value(%dbpath%\Scripts\GameBase Amiga.uae||joyportfriendlyname1||)
Set_CFG_Value(%dbpath%\Scripts\GameBase Amiga.uae||joyportname1||)
End If
;---------------------------------------------
;Remove USB Joysticks if keymap stops working
;Goes without saying. Do not map 2 ports the same.
;--------------------------------------------------
If Key_port1 CONTAINS(keya)
Set_CFG_Value(%dbpath%\Scripts\GameBase Amiga.uae||joyport0||kbd1)
Set_CFG_Value(%dbpath%\Scripts\GameBase Amiga.uae||joyport0autofire||none)
Set_CFG_Value(%dbpath%\Scripts\GameBase Amiga.uae||joyport0mode||)
Set_CFG_Value(%dbpath%\Scripts\GameBase Amiga.uae||joyportfriendlyname0||)
Set_CFG_Value(%dbpath%\Scripts\GameBase Amiga.uae||joyportname0||)
ElseIf Key_port1 CONTAINS(keyb)
Set_CFG_Value(%dbpath%\Scripts\GameBase Amiga.uae||joyport0||kbd2)
Set_CFG_Value(%dbpath%\Scripts\GameBase Amiga.uae||joyport0autofire||none)
Set_CFG_Value(%dbpath%\Scripts\GameBase Amiga.uae||joyport0mode||)
Set_CFG_Value(%dbpath%\Scripts\GameBase Amiga.uae||joyportfriendlyname0||)
Set_CFG_Value(%dbpath%\Scripts\GameBase Amiga.uae||joyportname0||)
ElseIf Key_port1 CONTAINS(keyc)
Set_CFG_Value(%dbpath%\Scripts\GameBase Amiga.uae||joyport0||kbd3)
Set_CFG_Value(%dbpath%\Scripts\GameBase Amiga.uae||joyport0autofire||none)
Set_CFG_Value(%dbpath%\Scripts\GameBase Amiga.uae||joyport0mode||)
Set_CFG_Value(%dbpath%\Scripts\GameBase Amiga.uae||joyportfriendlyname0||)
Set_CFG_Value(%dbpath%\Scripts\GameBase Amiga.uae||joyportname0||)
ElseIf Key_port1 CONTAINS(joy1)
Set_CFG_Value(%dbpath%\Scripts\GameBase Amiga.uae||joyport0||joy0)
Set_CFG_Value(%dbpath%\Scripts\GameBase Amiga.uae||joyport0autofire||none)
;change "djoy" to nothing for DEFAULT setting in port#1
Set_CFG_Value(%dbpath%\Scripts\GameBase Amiga.uae||joyport0mode||djoy)
Set_CFG_Value(%dbpath%\Scripts\GameBase Amiga.uae||joyportfriendlyname0||)
Set_CFG_Value(%dbpath%\Scripts\GameBase Amiga.uae||joyportname0||)
End If
If Key_port2 CONTAINS(keya)
Set_CFG_Value(%dbpath%\Scripts\GameBase Amiga.uae||joyport1||kbd1)
Set_CFG_Value(%dbpath%\Scripts\GameBase Amiga.uae||joyport1autofire||none)
Set_CFG_Value(%dbpath%\Scripts\GameBase Amiga.uae||joyport1mode||)
Set_CFG_Value(%dbpath%\Scripts\GameBase Amiga.uae||joyportfriendlyname1||)
Set_CFG_Value(%dbpath%\Scripts\GameBase Amiga.uae||joyportname1||)
ElseIf Key_port2 CONTAINS(keyb)
Set_CFG_Value(%dbpath%\Scripts\GameBase Amiga.uae||joyport1||kbd2)
Set_CFG_Value(%dbpath%\Scripts\GameBase Amiga.uae||joyport1autofire||none)
Set_CFG_Value(%dbpath%\Scripts\GameBase Amiga.uae||joyport1mode||)
Set_CFG_Value(%dbpath%\Scripts\GameBase Amiga.uae||joyportfriendlyname1||)
Set_CFG_Value(%dbpath%\Scripts\GameBase Amiga.uae||joyportname1||)
ElseIf Key_port2 CONTAINS(keyc)
Set_CFG_Value(%dbpath%\Scripts\GameBase Amiga.uae||joyport1||kbd3)
Set_CFG_Value(%dbpath%\Scripts\GameBase Amiga.uae||joyport1autofire||none)
Set_CFG_Value(%dbpath%\Scripts\GameBase Amiga.uae||joyport1mode||)
Set_CFG_Value(%dbpath%\Scripts\GameBase Amiga.uae||joyportfriendlyname1||)
Set_CFG_Value(%dbpath%\Scripts\GameBase Amiga.uae||joyportname1||)
ElseIf Key_port2 CONTAINS(joy2)
Set_CFG_Value(%dbpath%\Scripts\GameBase Amiga.uae||joyport1||joy1)
Set_CFG_Value(%dbpath%\Scripts\GameBase Amiga.uae||joyport1autofire||none)
Set_CFG_Value(%dbpath%\Scripts\GameBase Amiga.uae||joyport1mode||djoy)
Set_CFG_Value(%dbpath%\Scripts\GameBase Amiga.uae||joyportfriendlyname1||)
Set_CFG_Value(%dbpath%\Scripts\GameBase Amiga.uae||joyportname1||)
End If
;---------------------------------------------
If Key_kickstart_rom CONTAINS(v1.0||v1.2||v1.2 A500||v1.3||v2.04||v2.05||v3.0||v3.1||v3.1 A1200)
Set_CFG_Value(%dbpath%\Scripts\GameBase Amiga.uae||kickstart_rom||%kickstart_rom_value%)
Else
Set_CFG_Value(%dbpath%\Scripts\GameBase Amiga.uae||kickstart_rom||v1.3)
End If
If Key_nr_floppies CONTAINS(1||2||3||4)
Set_CFG_Value(%dbpath%\Scripts\GameBase Amiga.uae||nr_floppies||%nr_floppies_value%)
Else
Set_CFG_Value(%dbpath%\Scripts\GameBase Amiga.uae||nr_floppies||1)
Set_CFG_Value(%dbpath%\Scripts\GameBase Amiga.uae||floppy0type||0)
End If
;Floppy Type -1 = Disabled, 0 = 3.5" DD, 1 = 3.5" HD, 2 = 5.25" SD, 3 = 3.5" Escom
If Key_floppy1type CONTAINS(-1||0||1||2||3)
Set_CFG_Value(%dbpath%\Scripts\GameBase Amiga.uae||floppy1type||%floppy1type_value%)
Else
Set_CFG_Value(%dbpath%\Scripts\GameBase Amiga.uae||floppy1type||-1)
End If
If Key_floppy2type CONTAINS(-1||0||1||2||3)
Set_CFG_Value(%dbpath%\Scripts\GameBase Amiga.uae||floppy2type||%floppy2type_value%)
Else
Set_CFG_Value(%dbpath%\Scripts\GameBase Amiga.uae||floppy2type||-1)
End If
If Key_floppy3type CONTAINS(-1||0||1||2||3)
Set_CFG_Value(%dbpath%\Scripts\GameBase Amiga.uae||floppy3type||%floppy3type_value%)
Else
Set_CFG_Value(%dbpath%\Scripts\GameBase Amiga.uae||floppy3type||-1)
End If
If Key_immediate_blits CONTAINS(*)
Set_CFG_Value(%dbpath%\Scripts\GameBase Amiga.uae||immediate_blits||%immediate_blits_value%)
End If
If Key_NTSC CONTAINS(true||false)
Set_CFG_Value(%dbpath%\Scripts\GameBase Amiga.uae||ntsc||%ntsc_value%)
Else
Set_CFG_Value(%dbpath%\Scripts\GameBase Amiga.uae||ntsc||false)
End If
If Key_chipset CONTAINS(ocs||aga||ecs||ecs_agnus||ecs_denise||full_ecs)
Set_CFG_Value(%dbpath%\Scripts\GameBase Amiga.uae||chipset||%chipset_value%)
Else
Set_CFG_Value(%dbpath%\Scripts\GameBase Amiga.uae||chipset||ocs)
End If
If Key_collision_level CONTAINS(none||playfields||sprites||full)
Set_CFG_Value(%dbpath%\Scripts\GameBase Amiga.uae||collision_level||%collision_level_value%)
Else
Set_CFG_Value(%dbpath%\Scripts\GameBase Amiga.uae||collision_level||playfields)
End If
;Fastmem 0=none 1=1MB 2=2MB 4=4MB 8=4MB
If Key_fastmem_size CONTAINS(0||1||2||4||8)
Set_CFG_Value(%dbpath%\Scripts\GameBase Amiga.uae||fastmem_size||%fastmem_size_value%)
Else
Set_CFG_Value(%dbpath%\Scripts\GameBase Amiga.uae||fastmem_size||0)
End If
;Bogomem (Slow) 0=none 2=512k 4=1MB 6=1.5MB 7=1.8MB
If Key_bogomem_size CONTAINS(0||1||2||4||6||7)
Set_CFG_Value(%dbpath%\Scripts\GameBase Amiga.uae||bogomem_size||%bogomem_size_value%)
Else
Set_CFG_Value(%dbpath%\Scripts\GameBase Amiga.uae||bogomem_size||0)
End If
;Chipmem 0=256k 1=512k 2=1MB 4=2MB 8=4MB 16=8MB ***
If Key_chipmem_size CONTAINS(0||1||2||4||8||16)
Set_CFG_Value(%dbpath%\Scripts\GameBase Amiga.uae||chipmem_size||%chipmem_size_value%)
Else
Set_CFG_Value(%dbpath%\Scripts\GameBase Amiga.uae||chipmem_size||1)
End If
If Key_fpu_model CONTAINS(*)
Set_CFG_Value(%dbpath%\Scripts\GameBase Amiga.uae||fpu_model||%fpu_model_value%)
End If
If Key_fpu_strict CONTAINS(true||false)
Set_CFG_Value(%dbpath%\Scripts\GameBase Amiga.uae||fpu_strict||%fpu_strict_value%)
Else
Set_CFG_Value(%dbpath%\Scripts\GameBase Amiga.uae||fpu_strict||false)
End If
If Key_cpu_speed CONTAINS(max||real)
Set_CFG_Value(%dbpath%\Scripts\GameBase Amiga.uae||cpu_speed||%cpu_speed_value%)
Else
Set_CFG_Value(%dbpath%\Scripts\GameBase Amiga.uae||cpu_speed||real)
End If
If Key_cpu_model CONTAINS(68000||68010||68020||68030||68040||68060)
Set_CFG_Value(%dbpath%\Scripts\GameBase Amiga.uae||cpu_model||%cpu_model_value%)
Else
Set_CFG_Value(%dbpath%\Scripts\GameBase Amiga.uae||cpu_model||68000)
End If
If Key_cpu_compatible CONTAINS(true||false)
Set_CFG_Value(%dbpath%\Scripts\GameBase Amiga.uae||cpu_compatible||%cpu_compatible_value%)
Else
Set_CFG_Value(%dbpath%\Scripts\GameBase Amiga.uae||cpu_compatible||true)
End If
If Key_cycle_exact CONTAINS(true||false)
Set_CFG_Value(%dbpath%\Scripts\GameBase Amiga.uae||cycle_exact||%cycle_exact_value%)
Else
Set_CFG_Value(%dbpath%\Scripts\GameBase Amiga.uae||cycle_exact||true)
End If
If Key_cpu_memory_cycle_exact CONTAINS(true||false)
Set_CFG_Value(%dbpath%\Scripts\GameBase Amiga.uae||cpu_memory_cycle_exact||%cpu_memory_cycle_exact_value%)
Else
Set_CFG_Value(%dbpath%\Scripts\GameBase Amiga.uae||cpu_memory_cycle_exact||false)
End If
If Key_cpu_cycle_exact CONTAINS(true||false)
Set_CFG_Value(%dbpath%\Scripts\GameBase Amiga.uae||cpu_cycle_exact||%cpu_cycle_exact_value%)
Else
Set_CFG_Value(%dbpath%\Scripts\GameBase Amiga.uae||cpu_cycle_exact||false)
End If
If Key_blitter_cycle_exact CONTAINS(true||false)
Set_CFG_Value(%dbpath%\Scripts\GameBase Amiga.uae||blitter_cycle_exact||%blitter_cycle_exact_value%)
Else
Set_CFG_Value(%dbpath%\Scripts\GameBase Amiga.uae||blitter_cycle_exact||false)
End If
If Key_chipset_compatible CONTAINS(A1000||A500||A500+||A600||A1200||CD32||-||Generic)
Set_CFG_Value(%dbpath%\Scripts\GameBase Amiga.uae||chipset_compatible||%chipset_compatible_value%)
Else
Set_CFG_Value(%dbpath%\Scripts\GameBase Amiga.uae||chipset_compatible||A500)
End If
If Key_cpu_24bit_addressing CONTAINS(true||false)
Set_CFG_Value(%dbpath%\Scripts\GameBase Amiga.uae||cpu_24bit_addressing||%cpu_24bit_addressing_value%)
Else
Set_CFG_Value(%dbpath%\Scripts\GameBase Amiga.uae||cpu_24bit_addressing||true)
End If
If Key_statefile CONTAINS(*)
Set_CFG_Value(%dbpath%\Scripts\GameBase Amiga.uae||statefile||%statefile_value%)
Else
Set_CFG_Value(%dbpath%\Scripts\GameBase Amiga.uae||statefile||)
End If
Add_CLP(-f "%dbpath%\Scripts\GameBase 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 of ADF section
End If
;---------------------------------
;---------------------------------------------
;Remove USB Joysticks if keymap stops working
;Goes without saying. Do not map 2 ports the same.
;--------------------------------------------------
;---------------------------------------------
If Key_cd EXCLUDES(*dh1*)
Show_Message(CD Value missing from GEMUS example: "cd=dh1:GAMENAME;")
Else
Set_CFG_Item(%dbpath%\WHD\s\user-startup||cd||||%cd_value%)
End If
If Key_whdload EXCLUDES(*slave*)
Show_Message(whdload Value missing from GEMUS example: "whdload=GAMENAME.slave PRELOAD;")
End If
In normal WinUAE I can get the hdf. to self boot by loading my HDF configuration and attaching the .hdf as DF0 in hardfile screen
But just cannot get it to self boot in Gamebase this way.
- Fiery Phoenix
- Keen Member
- Location: Bury, Lancs
Post
Re: gamebase amiga hdf script
Gave it another shot this morning - was late last night lol
Ok - that Belgarath script - cannot load normal games or WHDLoad from there (seems to just be a CD / HDF one) none available that include CD / HDF/ WHDLoad / Normal game boots? Tried copying and pasting bits from other Scripts - never works or get multiple WinUAE's loading up at the same time. (Noob alert!)
However using Belgarath script - I can delete ALL GEMUS values (right click game name) in Gamebase and select play game when I have linked the gamefile zip / hdf.
WinUAE autoboots the WB3.1 automatically, with System draw holding game name - but empty when opened. Game / hdf does not load - although it is showing as an attachment in the hardfile. So it appears to be close.....
However the.hdf I am trying is a self booting one so does not need the WB, yet when hdf=no workbench is added to GEMUS it just hangs on the 3.1 logo screen - wont auto load in Gamebase
Yet when I manually select and load the HDF configuration in WinUAE and re-attach the hdf file - loads up fine - yet this is the configuration that Gamebase is linking to, but not loading up straight away
I thought I could just add mode=hdf and would work - never that simple! Although CD32 / CDTV work this way on the scripts
Ok - that Belgarath script - cannot load normal games or WHDLoad from there (seems to just be a CD / HDF one) none available that include CD / HDF/ WHDLoad / Normal game boots? Tried copying and pasting bits from other Scripts - never works or get multiple WinUAE's loading up at the same time. (Noob alert!)
However using Belgarath script - I can delete ALL GEMUS values (right click game name) in Gamebase and select play game when I have linked the gamefile zip / hdf.
WinUAE autoboots the WB3.1 automatically, with System draw holding game name - but empty when opened. Game / hdf does not load - although it is showing as an attachment in the hardfile. So it appears to be close.....
However the.hdf I am trying is a self booting one so does not need the WB, yet when hdf=no workbench is added to GEMUS it just hangs on the 3.1 logo screen - wont auto load in Gamebase
Yet when I manually select and load the HDF configuration in WinUAE and re-attach the hdf file - loads up fine - yet this is the configuration that Gamebase is linking to, but not loading up straight away
I thought I could just add mode=hdf and would work - never that simple! Although CD32 / CDTV work this way on the scripts
Return to “The GameBase Frontend”
Who is online
Users browsing this forum: No registered users and 1 guest