Script for Emu DCVG5K (Philips VG-5000)

Posts that are done/fixed/closed or aged! for this section are placed in here to keep the forum in shape & more viewable!
User avatar
Vicman
PLATINUM member
Posts: 1233
Joined: 17 Jun 2007, 16:12
Location: Germany,Bochum

Script for Emu DCVG5K (Philips VG-5000)

Unread post by Vicman » 08 Sep 2009, 09:47

Hi all,
here's a Script for the Emulator DCVG5Kv15sr1 (Platform: Philips VG-5000) ;)
Spoiler: show

Code: Select all

; ------------------------------------------------------------------------------
; Platform               : Philips VG5000
; Script for             : DCVG5K
; Script version         : v1.0.0.0
; Last changed           : 2009.09.08
;
;
; Author: M.Heße (a.k.a. Vicman)
;
; NOTES:
; 
; 
; 
; ------------------------------------------------------------------------------

; ==============================================================================
; You need to implent this block in every script, this changes the workfolder to
; the folder where this script is executed, and loads the 'eccScriptSystem' script.
FileChangeDir(@ScriptDir)
#include "..\eccScriptSystem.au3"
; ==============================================================================

; ------------------------------------------------------------------------------
; BEGIN OF SCRIPT
; ------------------------------------------------------------------------------

EmuWindowControl("DCVG5K")

; Wait some seconds to let the emulator has loaded BASIC
Sleep(1000)

   ; Load TAPE into emulator
   ;
   Send("{ALT}")
   Send("{DOWN}")
   Send("{ENTER}")
   
   If $eccFileRomFileIsPacked = "1" Then
   ;The ROM is packed, run ROM from the ECC temporally unpack folder.
   Send($eccFileEccUnpackedPath & $eccFileEccUnpackedFile, 1)
Else
   ;The ROM is unpacked, run ROM normally.
   Send($eccFileRomPath & $eccFileRomFile)
EndIf
   ;Send($eccFileRomPath & $eccFileRomFile)
   Send("{ENTER}")

   AutoItSetOption("SendKeyDownDelay", 100)

   ; Load Tape
   ; 
   Send("CLOQD") ;Letter Q = A in DCVG5K
   Send("{ENTER}")
   Sleep(1000)
   Send("RUN")
   Send("{ENTER}")

; ------------------------------------------------------------------------------
; END OF SCRIPT
; ------------------------------------------------------------------------------
Exit
EDIT:

@Phoenix :
I've changed the Script a little, 'cause some (3 or 4) Games need at last the Command "RUN & ENTER"
Last edited by Vicman on 08 Sep 2009, 14:44, edited 2 times in total.
imagepacks:
Done: Vic20, N64, Philips VG-5000 G7000 G7400, SordM5, Amstrad GX4000, Enterprise 64/128
Progress: Atari 8bit, Dosbox, Exelvision EXL 100
Vicman's eCC-Clips on You Tube

User avatar
Phoenix
ECC Developer 2006-2016
Posts: 9057
Joined: 27 Aug 2006, 01:17
Location: Deventer, The Netherlands
Contact:

Re: Script for Emu DCVG5K (Philips VG-5000)

Unread post by Phoenix » 08 Sep 2009, 09:57

Great work Vicman, i'll add this in the next update :thumb:
Sebastiaan Ebeltjes | ECC Developer 2006-2016 | ECC Forum Admin | Phoenix Interactive WebMaster
[- ECC programs -]
eccUpdate, eccScriptSystem, GtkThemeSelect, DatFileUpdater (DFU), ImagePackCenter (IPC), eccDiagnostics, 3dGallery, iccImageInject
eccKameleonCode, eccCreateStartmenuShotcut, eccThirdPartyConfig (TPC), EmuMoviesDownloader (EMD), eccVideoPlayer
MobyGamesImporter (MGI), ECC Amiga GetGemusConfig.

User avatar
Phoenix
ECC Developer 2006-2016
Posts: 9057
Joined: 27 Aug 2006, 01:17
Location: Deventer, The Netherlands
Contact:

Re: Script for Emu DCVG5K (Philips VG-5000)

Unread post by Phoenix » 12 Sep 2009, 21:24

The script has been added in 'UPDATE 00391 - ECC Small updates', closing...
Sebastiaan Ebeltjes | ECC Developer 2006-2016 | ECC Forum Admin | Phoenix Interactive WebMaster
[- ECC programs -]
eccUpdate, eccScriptSystem, GtkThemeSelect, DatFileUpdater (DFU), ImagePackCenter (IPC), eccDiagnostics, 3dGallery, iccImageInject
eccKameleonCode, eccCreateStartmenuShotcut, eccThirdPartyConfig (TPC), EmuMoviesDownloader (EMD), eccVideoPlayer
MobyGamesImporter (MGI), ECC Amiga GetGemusConfig.

Locked

Who is online

Users browsing this forum: No registered users and 1 guest