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

Updated Emu Scripts?

Discuss the Atari ST database that uses the GameBase Frontend.

Moderators: Jimbo, Cord, Paul Thompson

rmonton
New Member
Posts: 25
Joined: Tue Aug 07, 2012 12:36 pm

Updated Emu Scripts?

Fri Apr 15, 2016 2:47 pm

Hi!..

A quick request.. anyone has updated scripts for the last emulator versions (Hatari 1.9.0, Steem SSE 3.8.1, SainT 2.40)?
User avatar
.mad.
Highly Commended Member
Highly Commended Member
Location: Lancashire
Posts: 1600
Joined: Sun Jun 19, 2005 3:30 pm

Fri Apr 15, 2016 3:36 pm

i did a couple of scripts for Hatari 1.8.0. about this time last year.

one using a custom cfg and the other editing original cfg.

should still work...

Code: Select all

;************************
;*     Hatari 1.8.0     *
;*   Script by .mad.    *
;*    26 April 2015     *
;* gbhatari.cfg version *
;************************

; PLEASE SET YOUR EMULATOR PROPERTIES AS FOLLOWS:
;
; Emulator File Win x86     : HATARI.EXE (3105fca5)
; Associated Script File (1): gbhatari.cfg
; Other required files (53) : TOS images

; Use Short Filenames: NO
; File Types: ST;STx;MSA;DIM;IPF;RAW;CTR *STW

;STX, IPF and CTR disk images.
;These formats allow to backup a disk in an unaltered form, without requiring to remove the protection with a crack.
;Some complex protections rely on precise CPU/FDC timings and on some specific TOS version.
;For STF/STE protected games, it is recommended to use TOS 1.02 or 1.04 and 1MB RAM, as well as turning HD emulation OFF.
;By default everything that works on a real ST should work also in Hatari.

;--------------------------------------------------
; Set GameBase paths in gbhatari.cfg
; Default = C:\Documents and Settings\Owner\.hatari\
;----------------------------------------------------

Set_ini_value(%dbpath%\scripts\gbhatari.cfg||Floppy||szDiskAZipPath || %gbgamepath%)
Set_ini_value(%dbpath%\scripts\gbhatari.cfg||Floppy||szDiskBZipPath || %gbgamepath%)
Set_ini_value(%dbpath%\scripts\gbhatari.cfg||Floppy||szDiskImageDirectory || %gbgamepath%)
Set_ini_value(%dbpath%\scripts\gbhatari.cfg||HardDisk||szHardDiskDirectory || %emupath%)

;Default EMU TOS
;Set_ini_value(%dbpath%\scripts\gbhatari.cfg||ROM||szTosImageFileName || tos.img)

;Set_ini_value(%dbpath%\scripts\gbhatari.cfg||Sound||szYMCaptureFileName || hatari.wav)
;Set_ini_value(%dbpath%\scripts\gbhatari.cfg||Memory||szMemoryCaptureFileName || hatari.sav)
;Set_ini_value(%dbpath%\scripts\gbhatari.cfg||Memory||szAutoSaveFileName || auto.sav)
;Set_ini_value(%dbpath%\scripts\gbhatari.cfg||Printer||szPrintToFileName || hatari.prn)
;Set_ini_value(%dbpath%\scripts\gbhatari.cfg||Video||AviRecordFile || hatari.avi)
;Set_ini_value(%dbpath%\scripts\gbhatari.cfg||RS232||szOutFileName || /dev/modem)
;Set_ini_value(%dbpath%\scripts\gbhatari.cfg||RS232||szInFileName || /dev/modem)
;Set_ini_value(%dbpath%\scripts\gbhatari.cfg||Midi||sMidiInFileName || /dev/snd/midiC1D0)
;Set_ini_value(%dbpath%\scripts\gbhatari.cfg||Midi||sMidiOutFileName || /dev/snd/midiC1D0)

;crop status bar from screenshots
Set_ini_value(%dbpath%\scripts\gbhatari.cfg||Screen||bCrop || TRUE)
Set_ini_value(%dbpath%\scripts\gbhatari.cfg||Screen||nFrameSkips || 0)

;-----------------------------------------------
;Full Screen or Window (default).
;Edit resoultion 1920x1080 to suit your monitor.
;-----------------------------------------------

If Key_Screen CONTAINS (full)
Set_ini_value(%dbpath%\scripts\gbhatari.cfg||Screen||bFullScreen || TRUE)
Set_ini_value(%dbpath%\scripts\gbhatari.cfg||Screen||bKeepResolutionST || FALSE)
Set_ini_value(%dbpath%\scripts\gbhatari.cfg||Screen||bKeepResolution || FALSE)
Set_ini_value(%dbpath%\scripts\gbhatari.cfg||Screen||nMaxWidth || 1024)
Set_ini_value(%dbpath%\scripts\gbhatari.cfg||Screen||nMaxHeight || 768)
;Set_ini_value(%dbpath%\scripts\gbhatari.cfg||Screen||bForceMax || TRUE)
Set_ini_value(%dbpath%\scripts\gbhatari.cfg||Screen||bShowDriveLed || TRUE)
Set_ini_value(%dbpath%\scripts\gbhatari.cfg||Screen||bShowStatusbar || FALSE)

Else
Set_ini_value(%dbpath%\scripts\gbhatari.cfg||Screen||bFullScreen || FALSE)
Set_ini_value(%dbpath%\scripts\gbhatari.cfg||Screen||bForceMax || FALSE)
Set_ini_value(%dbpath%\scripts\gbhatari.cfg||Screen||bKeepResolutionST || TRUE)
Set_ini_value(%dbpath%\scripts\gbhatari.cfg||Screen||bKeepResolution || TRUE)
Set_ini_value(%dbpath%\scripts\gbhatari.cfg||Screen||nMaxWidth || 832)
Set_ini_value(%dbpath%\scripts\gbhatari.cfg||Screen||nMaxHeight || 576)
Set_ini_value(%dbpath%\scripts\gbhatari.cfg||Screen||bShowStatusbar || TRUE)

End If

;## Special options required to boot some games.
; Many do not work with cartridge / HD emulation.

;----------------------------------------------------------------------
;Eco, Hover Sprint, Oids and other games - Floppy write protection OFF.
;----------------------------------------------------------------------
If Key_writeprotection CONTAINS(off||no||false||0)
Set_ini_value(%dbpath%\scripts\gbhatari.cfg||Floppy||nWriteProtection || 0)
Else
Set_ini_value(%dbpath%\scripts\gbhatari.cfg||Floppy||nWriteProtection || 1)
End If

;----------------------------------------------------------------------
;Super Skweek , Jaguar XJ220 - Disable Fast floppy.
; Mercenary III.stx causes emulator to crash when on. (OFF as Default)
;----------------------------------------------------------------------
If Key_fastfloppy CONTAINS (on||yes||true)
Set_ini_value(%dbpath%\scripts\gbhatari.cfg||Floppy||FastFloppy || TRUE)
Else
Set_ini_value(%dbpath%\scripts\gbhatari.cfg||Floppy||FastFloppy || FALSE)
End If

;-------------------------------------------------------------------------------
;Super Sprint - Patch Timer-D must be disabled or the music will play too fast.
;------------------------------------------------------------------------------
If Key_PatchTimer-D CONTAINS (false||off||no)
Set_ini_value(%dbpath%\scripts\gbhatari.cfg||System||bPatchTimerD || FALSE)
Else
Set_ini_value(%dbpath%\scripts\gbhatari.cfg||System||bPatchTimerD || TRUE)
End If

;-----------------------------
;Yolanda - fast boot disabled.
;-----------------------------
If Key_fastboot CONTAINS (false||off||no)
Set_ini_value(%dbpath%\scripts\gbhatari.cfg||System||bFastBoot || FALSE)
Else
Set_ini_value(%dbpath%\scripts\gbhatari.cfg||System||bFastBoot || TRUE)
End If

;-----------------------------------------------------------------------------
;Running Man, Treasure Trap, The Deep - RS232 enabled (writes to serial port).
;-----------------------------------------------------------------------------
If Key_RS232 CONTAINS (yes||on||true)
Set_ini_value(%dbpath%\scripts\gbhatari.cfg||RS232||bEnableRS232 || TRUE)
Else
Set_ini_value(%dbpath%\scripts\gbhatari.cfg||RS232||bEnableRS232 || FALSE)
End IF

;------------------------------------
;Eject Floppy Disks from both Drives.
;------------------------------------
Set_ini_value(%dbpath%\scripts\gbhatari.cfg||Floppy||szDiskAFileName || )
Set_ini_value(%dbpath%\scripts\gbhatari.cfg||Floppy||szDiskBFileName || )

;---------------------------------
;Remove attached HardDrive images.
;---------------------------------
Set_ini_value(%dbpath%\scripts\gbhatari.cfg||HardDisk||szHardDiskImage || )
Set_ini_value(%dbpath%\scripts\gbhatari.cfg||HardDisk||szIdeMasterHardDiskImage || )
Set_ini_value(%dbpath%\scripts\gbhatari.cfg||HardDisk||szIdeSlaveHardDiskImage || )

;----------------------------------------------
; Machine type (ST, STE).
; *TT and Falcon removed for Atari ST GameBase.
;----------------------------------------------
If key_Machine CONTAINS(ST)
Set_ini_value(%dbpath%\scripts\gbhatari.cfg||System||nMachineType || 0)

ElseIf key_Machine CONTAINS(STE)
Set_ini_value(%dbpath%\scripts\gbhatari.cfg||System||nMachineType || 1)

Else
Set_ini_value(%dbpath%\scripts\gbhatari.cfg||System||nMachineType || 0)
End If

;--------------------------------------------------
; CPU type (68000, 68010, 68020, 68030+FPU, 68040).
;--------------------------------------------------

If key_CPU CONTAINS(68000)
Set_ini_value(%dbpath%\scripts\gbhatari.cfg||System||nCpuLevel || 0)

Else If key_CPU CONTAINS(68010)
Set_ini_value(%dbpath%\scripts\gbhatari.cfg||System||nCpuLevel || 1)

Else If key_CPU CONTAINS(68020)
Set_ini_value(%dbpath%\scripts\gbhatari.cfg||System||nCpuLevel || 2)

Else If key_CPU CONTAINS(68030)
Set_ini_value(%dbpath%\scripts\gbhatari.cfg||System||nCpuLevel || 3)

Else If key_CPU CONTAINS(68040)
Set_ini_value(%dbpath%\scripts\gbhatari.cfg||System||nCpuLevel || 4)

Else
Set_ini_value(%dbpath%\scripts\gbhatari.cfg||System||nCpuLevel || 0)
End If

;---------------------------
; CPU Clock Mhz (8, 16, 32).
;---------------------------
If key_Clock CONTAINS(8)
Set_ini_value(%dbpath%\scripts\gbhatari.cfg||System||nCpuFreq || 8)

Else If key_Clock CONTAINS(16)
Set_ini_value(%dbpath%\scripts\gbhatari.cfg||System||nCpuFreq || 16)

Else If key_Clock CONTAINS(32)
Set_ini_value(%dbpath%\scripts\gbhatari.cfg||System||nCpuFreq || 32)

Else
Set_ini_value(%dbpath%\scripts\gbhatari.cfg||System||nCpuFreq || 8)
End If

;-----------------------------------------
; Memory MB (0=512k), 1, 2, 4, 8, 14).
;-----------------------------------------
If key_Memory CONTAINS(512)
Set_ini_value(%dbpath%\scripts\gbhatari.cfg||Memory||nMemorySize || 0)

ElseIf key_Memory CONTAINS(1)
Set_ini_value(%dbpath%\scripts\gbhatari.cfg||Memory||nMemorySize || 1)

ElseIf key_Memory CONTAINS(2)
Set_ini_value(%dbpath%\scripts\gbhatari.cfg||Memory||nMemorySize || 2)

ElseIf key_Memory CONTAINS(4)
Set_ini_value(%dbpath%\scripts\gbhatari.cfg||Memory||nMemorySize || 4)

ElseIf key_Memory CONTAINS(8)
Set_ini_value(%dbpath%\scripts\gbhatari.cfg||Memory||nMemorySize || 8)

ElseIf key_Memory CONTAINS(14)
Set_ini_value(%dbpath%\scripts\gbhatari.cfg||Memory||nMemorySize || 14)

Else
Set_ini_value(%dbpath%\scripts\gbhatari.cfg||Memory||nMemorySize || 0)
End If

;---------------------------------------------------------
; Select TOS version to use (All language hacks included.)
;---------------------------------------------------------
; Some ST games and demos require a specific TOS version.
; Atari ST  TOS = 100,102,104,205,206
; Atari STE TOS = 106,162,205,206
;
; Warlock's Quest - TOS 102 or 162.
; 4 Wheel Drive compilation - TOS 104.
; Arkanoid - TOS 102 for mouse input.
; Dragon Ninja - TOS <= 104.
; Fire And Forget II - UK or US TOS.
; Garfield Winter's Tail - TOS 104 and 1MB RAM.
; Grimblood - TOS 102.
; Populous USA version - US TOS.
; Populous - TOS 104.
;---------------------------------------------------------
; GEMUS examples
; tos=104uk
; tos=205de-b
;---------------------------------------------------------

If key_TOS CONTAINS&#40;100uk||100us||100de||100fr||100dk&#41;
Set_ini_value&#40;%dbpath%\scripts\gbhatari.cfg||ROM||szTosImageFileName || %dbpath%\scripts\TOS\tos%tos_value%.img&#41;

ElseIf key_TOS CONTAINS&#40;102uk||102us||102de||102fr||102se||102sg&#41;
Set_ini_value&#40;%dbpath%\scripts\gbhatari.cfg||ROM||szTosImageFileName || %dbpath%\scripts\TOS\tos%tos_value%.img&#41;

ElseIf key_TOS CONTAINS&#40;104uk||104us||104de||104de-a||104fr||104nl||104es||104cs||104se&#41;
Set_ini_value&#40;%dbpath%\scripts\gbhatari.cfg||ROM||szTosImageFileName || %dbpath%\scripts\TOS\tos%tos_value%.img&#41;

ElseIf key_TOS CONTAINS&#40;106uk||106us||106de||106fr||106es||106it&#41;
Set_ini_value&#40;%dbpath%\scripts\gbhatari.cfg||ROM||szTosImageFileName || %dbpath%\scripts\TOS\tos%tos_value%.img&#41;

ElseIf key_TOS CONTAINS&#40;162uk||162uk-a||162us||162de||162fr||162se||162cs&#41;
Set_ini_value&#40;%dbpath%\scripts\gbhatari.cfg||ROM||szTosImageFileName || %dbpath%\scripts\TOS\tos%tos_value%.img&#41;

ElseIf key_TOS CONTAINS&#40;205uk||205us||205de||205de-a||205de-b||205fr||205es||205it||205se||205is||205is-2&#41;
Set_ini_value&#40;%dbpath%\scripts\gbhatari.cfg||ROM||szTosImageFileName || %dbpath%\scripts\TOS\tos%tos_value%.img&#41;

ElseIf key_TOS CONTAINS&#40;206uk||206uk-x||206us||206de||206fr||206cs||206cs-2||206se||206sg&#41;
Set_ini_value&#40;%dbpath%\scripts\gbhatari.cfg||ROM||szTosImageFileName || %dbpath%\scripts\TOS\tos%tos_value%.img&#41;

;-------------------------------------------------------------------
;Just use your own custom TOS file -  .\GameBase\Atari\Scripts\TOS\.
; GEMUS examples
; tosfile=tos104uk.img
; tosfile=anytosfilename.img &#40;long names and spaces might break it&#41;.
;-------------------------------------------------------------------
ElseIf Key_tosfile CONTAINS &#40;*&#41;
Set_ini_value&#40;%dbpath%\scripts\gbhatari.cfg||ROM||szTosImageFileName || %dbpath%\scripts\TOS\%tosfile_value%&#41;

Else
;use default TOS 104 UK
Set_ini_value&#40;%dbpath%\scripts\gbhatari.cfg||ROM||szTosImageFileName || %dbpath%\scripts\TOS\TOS104uk.img&#41;
End If

;Insert GameBase Disk in Drive A
Set_ini_value&#40;%dbpath%\scripts\gbhatari.cfg||Floppy||szDiskAFileName || %gamepathfile%&#41;

Add_CLP &#40;--configfile %dbpath%\scripts\gbhatari.cfg&#41;

;Run Hatari Emulator
Run_Emulator&#40;&#41;

gbhatari.cfg - put it in scripts folder.

Code: Select all

&#91;Log&#93;
sLogFileName = stderr
sTraceFileName = stderr
nExceptionDebugMask = 259
nTextLogLevel = 4
nAlertDlgLogLevel = 1
bConfirmQuit = FALSE
bNatFeats = FALSE
bConsoleWindow = FALSE

&#91;Debugger&#93;
nNumberBase = 10
nDisasmLines = 8
nMemdumpLines = 8
nDisasmOptions = 15
bDisasmUAE = FALSE

&#91;Screen&#93;
nMonitorType = 1
nFrameSkips = 0
bFullScreen = FALSE
bKeepResolution = TRUE
bKeepResolutionST = TRUE
bAllowOverscan = TRUE
nSpec512Threshold = 1
nForceBpp = 0
bAspectCorrect = TRUE
bUseExtVdiResolutions = FALSE
nVdiWidth = 640
nVdiHeight = 480
nVdiColors = 2
bShowStatusbar = TRUE
bShowDriveLed = TRUE
bCrop = TRUE
bForceMax = FALSE
nMaxWidth = 832
nMaxHeight = 576

&#91;Joystick0&#93;
nJoystickMode = 1
bEnableAutoFire = FALSE
bEnableJumpOnFire2 = FALSE
nJoyId = 0
nKeyCodeUp = 273
nKeyCodeDown = 274
nKeyCodeLeft = 276
nKeyCodeRight = 275
nKeyCodeFire = 305

&#91;Joystick1&#93;
nJoystickMode = 1
bEnableAutoFire = FALSE
bEnableJumpOnFire2 = FALSE
nJoyId = 0
nKeyCodeUp = 273
nKeyCodeDown = 274
nKeyCodeLeft = 276
nKeyCodeRight = 275
nKeyCodeFire = 305

&#91;Joystick2&#93;
nJoystickMode = 0
bEnableAutoFire = FALSE
bEnableJumpOnFire2 = FALSE
nJoyId = 0
nKeyCodeUp = 273
nKeyCodeDown = 274
nKeyCodeLeft = 276
nKeyCodeRight = 275
nKeyCodeFire = 305

&#91;Joystick3&#93;
nJoystickMode = 0
bEnableAutoFire = FALSE
bEnableJumpOnFire2 = FALSE
nJoyId = 3
nKeyCodeUp = 273
nKeyCodeDown = 274
nKeyCodeLeft = 276
nKeyCodeRight = 275
nKeyCodeFire = 305

&#91;Joystick4&#93;
nJoystickMode = 0
bEnableAutoFire = FALSE
bEnableJumpOnFire2 = FALSE
nJoyId = 4
nKeyCodeUp = 273
nKeyCodeDown = 274
nKeyCodeLeft = 276
nKeyCodeRight = 275
nKeyCodeFire = 305

&#91;Joystick5&#93;
nJoystickMode = 0
bEnableAutoFire = FALSE
bEnableJumpOnFire2 = FALSE
nJoyId = 5
nKeyCodeUp = 273
nKeyCodeDown = 274
nKeyCodeLeft = 276
nKeyCodeRight = 275
nKeyCodeFire = 305

&#91;Keyboard&#93;
bDisableKeyRepeat = FALSE
nKeymapType = 0
szMappingFileName =

&#91;ShortcutsWithModifiers&#93;
keyOptions = 111
keyFullScreen = 102
keyMouseMode = 109
keyColdReset = 99
keyWarmReset = 114
keyScreenShot = 103
keyBossKey = 105
keyCursorEmu = 106
keyFastForward = 120
keyRecAnim = 97
keyRecSound = 121
keySound = 115
keyPause = 0
keyDebugger = 19
keyQuit = 113
keyLoadMem = 108
keySaveMem = 107
keyInsertDiskA = 100

&#91;ShortcutsWithoutModifiers&#93;
keyOptions = 293
keyFullScreen = 292
keyMouseMode = 0
keyColdReset = 0
keyWarmReset = 0
keyScreenShot = 0
keyBossKey = 0
keyCursorEmu = 0
keyFastForward = 0
keyRecAnim = 0
keyRecSound = 0
keySound = 0
keyPause = 19
keyDebugger = 0
keyQuit = 0
keyLoadMem = 0
keySaveMem = 0
keyInsertDiskA = 0

&#91;Sound&#93;
bEnableMicrophone = TRUE
bEnableSound = TRUE
bEnableSoundSync = FALSE
nPlaybackFreq = 44100
nSdlAudioBufferSize = 0
szYMCaptureFileName = hatari.wav
YmVolumeMixing = 2

&#91;Memory&#93;
nMemorySize = 0
bAutoSave = FALSE
szMemoryCaptureFileName = hatari.sav
szAutoSaveFileName = auto.sav

&#91;Floppy&#93;
bAutoInsertDiskB = TRUE
FastFloppy = FALSE
EnableDriveA = TRUE
DriveA_NumberOfHeads = 2
EnableDriveB = TRUE
DriveB_NumberOfHeads = 2
nWriteProtection = 1
szDiskAZipPath = C&#58;\GBGame\ 
szDiskAFileName = c&#58;\gbgame\0\das grosse deutsche ballerspeil 2.msa                                                     
szDiskBZipPath = C&#58;\GBGame\ 
szDiskBFileName =                                                            
szDiskImageDirectory = C&#58;\GBGame\ 

&#91;HardDisk&#93;
bBootFromHardDisk = FALSE
bUseHardDiskDirectory = FALSE
szHardDiskDirectory = C&#58;\GameBase\Atari\hatari 
nGemdosCase = 0
nWriteProtection = 0
bUseHardDiskImage = FALSE
szHardDiskImage =                                                            
bUseIdeMasterHardDiskImage = FALSE
bUseIdeSlaveHardDiskImage = FALSE
szIdeMasterHardDiskImage =                                                            
szIdeSlaveHardDiskImage =                                                            

&#91;ROM&#93;
szTosImageFileName = C&#58;\GameBase\Atari\scripts\TOS\TOS104uk.img
bPatchTos = TRUE
szCartridgeImageFileName =

&#91;RS232&#93;
bEnableRS232 = FALSE
szOutFileName = /dev/modem
szInFileName = /dev/modem

&#91;Printer&#93;
bEnablePrinting = FALSE
szPrintToFileName = hatari.prn

&#91;Midi&#93;
bEnableMidi = FALSE
sMidiInFileName = /dev/snd/midiC1D0
sMidiOutFileName = /dev/snd/midiC1D0

&#91;System&#93;
nCpuLevel = 0
nCpuFreq = 8
bCompatibleCpu = TRUE
nMachineType = 0
bBlitter = FALSE
nDSPType = 0
bRealTimeClock = FALSE
bPatchTimerD = TRUE
bFastBoot = TRUE
bFastForward = FALSE

&#91;Video&#93;
AviRecordVcodec = 2
AviRecordFps = 0
AviRecordFile = hatari.avi
ROMS for Emulator - also in Scripts\TOS\ folder.

http://s000.tinyupload.com/index.php?fi ... 9563760002

Return to “Atari ST - GameBaseST”

Who is online

Users browsing this forum: No registered users and 0 guests