Benvenuto Ospite,
per utilizzare il Forum ed avere accesso a tutte le sezioni e poter aprire un tuo Topic, rispondere nelle varie discussioni, mandare o ricevere Messaggi Privati devi seguire pochi passaggi:


Leggi il nostro Regolamento -> PREMI QUI <-
Segui il link su come Iscriversi -> PREMI QUI <-


Ricordati di aggiornare l'Avatar usando una immagine che ti distingua nel Forum

Hyperspin

Frontend per cabinati... chi, cosa, come!!!
Avatar utente
Solid Snake
Cab-maniaco
Cab-maniaco
Messaggi: 1053
Iscritto il: 16/04/2010, 0:18
Città: Roma

Re: Hyperspin

Messaggio da Solid Snake »

Per quanto riguarda l'msx invece ecoti la cartella : http://www.megaupload.com/?d=FVAPG0CI

ed in più ti allego il mio file ank completo :

Codice: Seleziona tutto


/**
* HyperLaunch Version 1.05
* Autohotkey script by BadBoyBill badboybill@hyperspin-fe.com
* CursorHide by Lazlo
* Integrated FreeDO wrapper by brian_hoffman
*
* If you are reading this and do not have autohotkey you can get it
* @ http://www.autohotkey.com/download/
* If you would like to modify this script and share it thats OK, but
* see if your modification is something that we would like to add
* to the official version.
*
* Refer to the autohotkey documentation for the keyoboard keylist
*
* If this script does not support your favorite emulator
* then please request support @ http://www.hyperspin-fe.com/forum
*
* :Supported emulators:
* :System: :Emulators:
*rca studio 2...........................mess.exe
*MSX...........................blueMSX
*wonder color...........................Oswan.exe
*wonder mono............................Oswan.exe
*neo geo cd.............................neoraine32.exe
*pcfx...................................pce.exe
*turbografx cd..........................pcfx.exe
*arcadia 2001...........................mess.exe
*aae....................................aae.exe
*creativision...........................mess.exe
*game boy color.........................visualboyadvance.exe
*game boy...............................visualboyadvance.exe
*sega sg1000............................Fusion.exe
*zx spectrum............................mess.exe
*vectrex................................mess.exe
*adventure vision.......................mess.exe
*famicom disk...........................nestopia.exe
*channel f..............................mess.exe
*astrocade..............................mess.exe
*gx4000.................................mess.exe
*super vision...........................mess.exe
*odissey................................mess.exe
*intellivision..........................nostalgia.exe
*colecovision...........................mess.exe
*Atomiswave.............................demul.exe
*atari jaguar...........................PT.exe
*CPS3...................................emulator.exe
*sega naomi.............................demul.exe
*Atari 7800.............................messpp.exe
*Atari 2600.............................messpp.exe
*Atari 5200.............................messpp.exe
*Atari Lynx.............................handy.exe
*Daphne.................................daphne.exe
*Future Pinball.........................Future Pinball.exe
*Gameboy Advance........................visualboyadvance.exe
*game  boy................................visualboyadvance.exe
*Gameboy Color..........................visualboyadvance.exe
*MAME...................................mame.exe
*Neo Geo................................mame.exe
*Neo Geo Pocket Color...................NeoPop-Win32.exe
*Nintendo 64............................project64.exe
*Nintendo Entertainment System..........nestopia.exe
*Panasonic 3DO..........................FreeDO.exe
*Sega 32X...............................Fusion.exe
*Sega CD................................Fusion.exe
*SEGA DREAMCAST................................nullDC_100b1_6.exe
*dreamcast..............................demul.exe
*Sega Game Gear.........................Fusion.exe
*Sega Genesis...........................Fusion.exe
*Sega Master System.....................Fusion.exe
*Sony Playstation.......................psxfin.exe
*Super Nintendo Entertainment System....zsnesw.exe
*TurboGrafx 16..........................Ootake.exe
*Zinc...................................zinc.exe
*JukeBox................................silverjuke.exe
*JukeBox................................SKJukebox.exe
*
*
*/

#SingleInstance force ;Prevent multiple instances
#InstallKeybdHook
SetTitleMatchMode 2

;------------------------------------------------------------------------------;
; MAIN SETTINGS ;
;------------------------------------------------------------------------------;

;[UNIVERSAL HOTKEYS] ;SEPERATE MULTIPLE KEYS WITH &(ampersand) up to 2 keys.
exitScriptKey = q & s ;Secret hotkey(s) to exit script if needed
;Not to be confused with exit emulator keys

exitEmulatorKey = Esc ;This key/key combo will close any emulators
;that do not have normal closing methods.

toggleCursorKey = t ;hotkey(s) to show or hide cursor if needed
;when hideCursor below is true

;[MOUSE CURSOR]
hideCursor = false ;Automatically hide cursor during script
;WARNING: Make sure ALL your emu's are running fine
;before setting this to true as a precaution.*

;[WINDOWS]
hideDesktop = true ;Attempts to hide desktop with black screen, might help
;on some emu's for hiding launching windows.

hideTaskbar = false ;Hide the windows taskbar when running emu's.
;WARNING: Make sure ALL your emu's are running fine
; before setting this to true as a precaution.*

daemontools = "C:\Programmi\DAEMON Tools Lite\DTLite" ;Hide the windows taskbar when running emu's.
;WARNING: Make sure ALL your emu's are running fine
; before setting this to true as a precaution.*

/*
*:If for some weird reason the script hangs follow these steps to get back to normal.
1. If an emulator hangs up or cant load your game then first try to exit the emu
by pressing your Emulator exit hotkey above.
2. If your emu exited but your mouse cursor is gone use your cursor toggle hotkey.
3. Next try to exit the script by pressing your Exit Script Hotkey above. This
will also bring back your cursor and taskbar is they are set to true.
*/







;*******************************************************************************
;* EDIT BELOW THIS POINT AT YOUR OWN RISK *
;*******************************************************************************

;------------------------------------------------------------------------------;
; GET PARAMATERS AND SET HOTKEYS ;
;------------------------------------------------------------------------------;

;CHECKING FOR 2 PARAMS, IF NOT THEN EXIT
if 0 < 2
{
MsgBox Usage: HyperLaunch.ahk/exe "System Name" "Rom Name"
ExitApp
}

systemName = %1%
romName = %2%

Hotkey, %exitScriptKey%, ExitScript
if (hideCursor = "true")
{
Hotkey, %toggleCursorKey%, ToggleCursor
SystemCursor("Off")
}

WinClose, cmd.exe
;------------------------------------------------------------------------------;
; GET AND CHECK PATHS ;
;------------------------------------------------------------------------------;
GoSub, CheckINI
IniRead, iniEmuPath, %A_ScriptDir%\Settings\%systemName%.ini, exe info, path
emuPath := GetFullName(iniEmuPath)
IniRead, iniRomPath, %A_ScriptDir%\Settings\%systemName%.ini, exe info, rompath
romPath := GetFullName(iniRomPath)
IniRead, executable, %A_ScriptDir%\Settings\%systemName%.ini, exe info, exe
IniRead, romExtensions, %A_ScriptDir%\Settings\%systemName%.ini, exe info, romextension

romExtension =
GoSub, CheckPaths

;------------------------------------------------------------------------------;
; RUN SYSTEM ;
;------------------------------------------------------------------------------;


;****************************rca studio 2***************************
if (systemName = "rca studio 2" && (executable = "mess.exe" || executable = "mess.exe"))
{ 
hideDesktop()
Hotkey, %exitEmulatorKey%, CloseProcess
RunWait, %executable% studio2 -cart "%romPath%%romName%%romExtension%" -skip_gameinfo -nowindow -nonewui, %emuPath%
}
;*************************************MSX******** ******************************
else if (systemName = "MSX" && executable = "blueMSX.exe")
{
hideDesktop()
Hotkey, %exitEmulatorKey%, CloseProcess
Runwait, %Executable% /rom1 "%romPath%%romName%%romExtension%" -auto -fullscreen, %EmuPath%, Hide UseErrorLevel
Process, waitClose, %executable%
exitapp
}
;****************************wonder color**************************
else if (systemName = "wonder color" && executable = "Oswan.exe")
{
hideDesktop()
Hotkey, %exitEmulatorKey%, CloseProcess
RunWait, "%EmuPath%%Executable%" -fs "%romPath%%romName%%romExtension%", Hide UseErrorLevel
}
;*****************************wonder mono**************************
else if (systemName = "wonder mono" && executable = "Oswan.exe")
{
hideDesktop()
Hotkey, %exitEmulatorKey%, CloseProcess
RunWait, "%EmuPath%%Executable%" -f "%romPath%%romName%%romExtension%", Hide UseErrorLevel
}
;******************************neo geo cd**************************
else if (systemName = "neo geo cd" && executable = "neoraine32.exe")
{
hideDesktop()
Hotkey, %exitEmulatorKey%, CloseProcess
RunWait, %emuPath%%Executable% "%romPath%%romName%%romExtension%" -nogui, Hide UseErrorLevel
Process, WaitClose, neoraine32.exe
}
;********************************pcfx******************************
else if (systemName = "pcfx" && executable = "pcfx.exe")
{
hideDesktop()
Hotkey, %exitEmulatorKey%, CloseProcess
RunWait, %DAEMONTOOLS% -mount 0`,"%romPath%%romName%%romExtension%"
RunWait, "%EmuPath%%Executable%" -cd,UseErrorLevel
}
;*********************************turbografx cd*********************
else if (systemName = "turbografx cd" && executable = "pce.exe")
{
hideDesktop()
Hotkey, %exitEmulatorKey%, CloseProcess 
RunWait, %DAEMONTOOLS% -mount 0`,"%romPath%%romName%%romExtension%"
RunWait, "%EmuPath%%Executable%" -cd,UseErrorLevel
}
;**********************************arcadia 2001********************
else if (systemName = "arcadia 2001" && (executable = "messui.exe" || executable = "mess.exe"))
{ 
hideDesktop()
Hotkey, %exitEmulatorKey%, CloseProcess
RunWait, %executable% arcadia -cart "%romPath%%romName%%romExtension%" -skip_gameinfo -nowindow -nonewui, %emuPath%
}
;***************************************aae************************
else if (systemName = "aae" && executable = "aae.exe")
{
hideDesktop()
Hotkey, %exitEmulatorKey%, CloseProcess
RunWait, %Executable% %romName%, %EmuPath%, Hide UseErrorLevel
}
;**********************************creativision********************
else if (systemName = "creativision" && (executable = "mess.exe" ))
{ 
hideDesktop()
Hotkey, %exitEmulatorKey%, CloseProcess
RunWait, %executable% crvision -cart  "%romPath%%romName%%romExtension%" -skip_gameinfo -nowindow -nonewui, %emuPath%
}
;********************************game boy color********************
else if (systemName = "game boy color" && executable = "visualboyadvance.exe")
{
hideDesktop()
Hotkey, %exitEmulatorKey%, CloseProcess
RunWait, "%emuPath%%executable%" "%romPath%%romName%%romExtension%", UseErrorLevel
}
;********************************game boy**************************
else if (systemName = "game boy" && executable = "visualboyadvance.exe")
{
hideDesktop()
Hotkey, %exitEmulatorKey%, CloseProcess
RunWait, "%emuPath%%executable%" "%romPath%%romName%%romExtension%", UseErrorLevel
}
;***********************************sega sg1000********************
else if (systemName = "sega sg1000" && executable = "Fusion.exe")
{
    hideDesktop()
    Hotkey, %exitEmulatorKey%, CloseProcess
    Run, %Executable% "%romPath%%romName%%romExtension%" -auto -sg -fullscreen, %EmuPath%, Hide UseErrorLevel
    Process, WaitClose, fusion.exe
}
;**********************************zx spectrum**********************
else if (systemName = "zx spectrum" && (executable = "mess.exe" ))
{ 
hideDesktop()
Hotkey, %exitEmulatorKey%, CloseProcess
RunWait, %executable% spectrum -cart  "%romPath%%romName%%romExtension%" -skip_gameinfo -nowindow -nonewui, %emuPath%
}
;**********************************vectrex**************************
else if (systemName = "vectrex" && (executable = "mess.exe" ))
{ 
hideDesktop()
Hotkey, %exitEmulatorKey%, CloseProcess
RunWait, %executable% vectrex -cart  "%romPath%%romName%%romExtension%" -skip_gameinfo -nowindow -nonewui, %emuPath%
}
;**********************************adventure vision*****************
else if (systemName = "adventure vision" && (executable = "messui.exe" || executable = "mess.exe"))
{ 
hideDesktop()
Hotkey, %exitEmulatorKey%, CloseProcess
RunWait, %executable% advision -cart "%romPath%%romName%%romExtension%" -skip_gameinfo -nowindow -nonewui, %emuPath%
}
;**********************************famicom disk*********************
else if (systemName = "famicom disk" && executable = "Nestopia.exe")
{
    Gui, Color, 000000
    Gui -Caption +ToolWindow +AlwaysOnTop
    Gui, Show, W%A_ScreenWidth% H%A_ScreenHeight%, BlackGui
    Hotkey, %exitEmulatorKey%, CloseProcess
    Run, %executable% "%romPath%%romName%%romExtension%", %emuPath%, UseErrorLevel
    Sleep, 2000
    Gui, destroy
    Process, waitClose, %executable%
    exitapp
}
;**********************************channel f*************************
else if (systemName = "channel f" && (executable = "messui.exe" || executable = "mess.exe"))
{ 
hideDesktop()
Hotkey, %exitEmulatorKey%, CloseProcess
RunWait, %executable% channelf -cart "%romPath%%romName%%romExtension%" -skip_gameinfo -nowindow -nonewui, %emuPath%
}
;**********************************astrocade*************************
else if (systemName = "astrocade" && (executable = "messui.exe" || executable = "mess.exe"))
{ 
hideDesktop()
Hotkey, %exitEmulatorKey%, CloseProcess
RunWait, %executable% astrocde -cart "%romPath%%romName%%romExtension%" -skip_gameinfo -nowindow -nonewui, %emuPath%
}
;**********************************gx4000****************************
else if (systemName = "gx4000" && (executable = "messui.exe" || executable = "mess.exe"))
{ 
hideDesktop()
Hotkey, %exitEmulatorKey%, CloseProcess
RunWait, %executable% gx4000 -cart "%romPath%%romName%%romExtension%" -skip_gameinfo -nowindow -nonewui, %emuPath%
}
;**********************************super vision**********************
else if (systemName = "super vision" && (executable = "messui.exe" || executable = "mess.exe"))
{ 
hideDesktop()
Hotkey, %exitEmulatorKey%, CloseProcess
RunWait, %executable% svision -cart "%romPath%%romName%%romExtension%" -skip_gameinfo -nowindow -nonewui, %emuPath%
}
;*************************************odissey*************************
else if (systemName = "odissey" && (executable = "messui.exe" || executable = "mess.exe"))
{
hideDesktop()
Hotkey, %exitEmulatorKey%, CloseProcess
RunWait, %executable% Odyssey2 -cart "%romPath%%romName%%romExtension%" -skip_gameinfo -nowindow -nonewui, %emuPath%
}
;**********************************intellivision**********************
else if (systemName = "intellivision" && executable = "nostalgia.exe")
{
hideDesktop()
Hotkey, %exitEmulatorKey%, CloseProcess
RunWait, %executable% "%romPath%%romName%%romExtension%", %emuPath%, UseErrorLevel
}
;**********************************colecovision***********************
else if (systemName = "Colecovision" && (executable = "messui.exe" || executable = "mess.exe"))
{ 
hideDesktop()
Hotkey, %exitEmulatorKey%, CloseProcess
RunWait, %executable% coleco -cart "%romPath%%romName%%romExtension%" -skip_gameinfo -nowindow -nonewui, %emuPath%
}
;***********************************Atomiswave*************************
;Required - Settings.ini:
; http://www.hyperspin-fe.com/forum/showp ... tcount=113
else if (systemName = "Atomiswave" && executable = "demul.exe")
{
hideDesktop()
Hotkey, %exitEmulatorKey%, CloseProcess
;Blockinput on

;\\\optional plain black screen\\\
;Gui +AlwaysOnTop -Caption +ToolWindow
;Gui, color, 0
;Gui Show, x0 y0 h%A_ScreenHeight% w%A_ScreenWidth%, HSHIDE

;\\\Please Wait Loading Screen change size,color,font,background color,what you want to say\\\
IniRead, Long_RomName, %emupath%settings.ini, %Romname%, Long_RomName
WinHide ahk_class Shell_TrayWnd
guiheight:=A_ScreenHeight/9*4
Gui, +toolwindow -Caption +AlwaysOnTop
Gui, Color, black
Gui, Font, S24 Cred, verdanna
Gui, Add, Text, y%guiheight% W%A_ScreenWidth% H%A_ScreenHeight% Center, Please Wait! Now Loading...`n %systemnane%`n`n"%Long_RomName%" ;"%romname%"
Gui, Show, W%A_ScreenWidth% H%A_ScreenHeight%,

IniRead, system, %emupath%settings.ini, %RomName%, System,
IniRead, Screen_Timeout, %emupath%settings.ini, %Romname%, Screen_Timeout
IniRead, LoadDecrypted, %emupath%settings.ini, %Romname%, LoadDecrypted

;\\\This section swaps out controls for different game types\\\
demul_controller_code = 16777216
demul_mouse_code = 131072
demul_keyboard_code = 1073741824
demul_lightgun_code = -2147483648
IniRead, controls, %emupath%settings.ini, %RomName%, controls, standard
IniRead, current_device, %emupath%demul.ini, PORTB, device, demul_controller_code
IniRead, current_controls, %emupath%padDemul.ini, CONTROL_TYPE, CONTROL_TYPE, standard
If(controls = "standard" && (current_device != demul_controller_code or current_controls != controls))
{
filecopy, %emupath%SFSTYLE_padDemul.ini, %emupath%padDemul.ini, 1
IniWrite, %demul_controller_code%, %emupath%demul.ini, PORTB, device
}
Else if(controls = "sfstyle" && (current_device != demul_controller_code or current_controls != controls))
{
filecopy, %emupath%SFSTYLE_padDemul.ini, %emupath%padDemul.ini, 1
IniWrite, %demul_controller_code%, %emupath%demul.ini, PORTB, device
}
Else if(controls = "ggxstyle" && (current_device != demul_controller_code or current_controls != controls))
{
filecopy, %emupath%SFSTYLE_padDemul.ini, %emupath%padDemul.ini, 1
IniWrite, %demul_controller_code%, %emupath%demul.ini, PORTB, device
}
Else if(controls = "reverse" && (current_device != demul_controller_code or current_controls != controls))
{
filecopy, %emupath%SFSTYLE_padDemul.ini, %emupath%padDemul.ini, 1
IniWrite, %demul_controller_code%, %emupath%demul.ini, PORTB, device
}
Else if(controls = "driving" && (current_device != demul_controller_code or current_controls != controls))
{
filecopy, %emupath%SFSTYLE_padDemul.ini, %emupath%padDemul.ini, 1
IniWrite, %demul_controller_code%, %emupath%demul.ini, PORTB, device
}
Else if(controls = "fps" && (current_device != demul_controller_code or current_controls != controls))
{
filecopy, %emupath%SFSTYLE_padDemul.ini, %emupath%padDemul.ini, 1
IniWrite, %demul_controller_code%, %emupath%demul.ini, PORTB, device
}
Else if(controls = "samba" && (current_device != demul_controller_code or current_controls != controls))
{
filecopy, %emupath%SFSTYLE_padDemul.ini, %emupath%padDemul.ini, 1
IniWrite, %demul_controller_code%, %emupath%demul.ini, PORTB, device
}
Else if(controls = "lightgun" && (current_device != demul_mouse_code or current_controls != controls))
{
filecopy, %emupath%SFSTYLE_padDemul.ini, %emupath%padDemul.ini, 1
IniWrite, %demul_mouse_code%, %emupath%demul.ini, PORTB, device
}
Else if(controls = "keyboard" && (current_device != demul_keyboard_code or current_controls != controls))
{
filecopy, %emupath%SFSTYLE_padDemul.ini, %emupath%padDemul.ini, 1
IniWrite, %demul_keyboard_code%, %emupath%demul.ini, PORTB, device
}

;\\\add sounds\\\
;sounds go in demul directory change to .mp3 if desired or specify a directory of sounds for "romname"
;soundplay, %A_ScriptDir%\%systemame%.wav
;soundplay, %A_ScriptDir%\%Romname%.wav
;soundplay, %A_ScriptDir%\%anyname%.wav

If (LoadDecrypted = "false")
{
Run, %emupath%%executable% -run=%system% -rom=%Romname%
sleep, %Screen_Timeout%
send, {ALTDOWN}{ENTER}{ALTUP} ; Go full Screen demul 56
Blockinput off
sleep, 1000
Gui Destroy
winactivate, DEMUL
Process, WaitClose, %executable%
}
else if (LoadDecrypted = "true")
{

Run, %emupath%%executable% -run=%system% -rom=%Romname%
send, {Down 2}
send, {ENTER}
send, {shiftdown}{Tab}{Shiftup}
send, {Enter}
sleep, 2000
clipboard=
clipboard=%A_ScriptDir%\%romName%
ClipWait
Sleep,100
Send,^v
Sleep,100
send, {ENTER}
sleep, %Screen_Timeout%
send, {ALTDOWN}{ENTER}{ALTUP} ; Go full Screen demul 56
Blockinput off
sleep, 1000
Gui Destroy
winwaitactive, DEMUL
Process, WaitClose, %executable%
}
}
;**********************************atari jaguar**********************
else if (systemName = "atari jaguar" && executable = "PT.exe")
{
hideDesktop()
Hotkey, %exitEmulatorKey%, CloseProcess
Run, "%EmuPath%%Executable%",,Hide UseErrorLevel
DetectHiddenWindows, on
sleep, 500
WinActivate, Project Tempest
WinWait, Project Tempest,
Send, {ALTDOWN}{ALTUP}fo
WinWait, Open ROM File,
IfWinNotActive, Open ROM File, , WinActivate, Open ROM File,
WinWaitActive, Open ROM File,
sleep, 500
clipboard=
clipboard=%romPath%%romName%%romExtension%
ClipWait
Sleep,100
Send,^v
Sleep,100
send, {ENTER}
WinWait, Project Tempest,
IfWinNotActive, Project Tempest, , WinActivate, Project Tempest,
WinWaitActive, Project Tempest,
Process, WaitClose, PT.exe
winactivate, hyperspin.exe
}
;***********************************CPS3****************************
else if (systemName = "CPS3")
{
if(executable = "emulator.exe" )
{
;hideDesktop()
Hotkey, %exitEmulatorKey%, CloseProcess, ExitScript
Run, %executable% %romName%, %emuPath%, Hide UseErrorLevel
DetectHiddenWindows, on
WinWait, Capcom Play System 3 Emulator
WinShow
Process, WaitClose, %executable%
}
}
;************************sega naomi***********************************************
else if (systemName = "sega naomi" && executable="naomi.exe")
{
hideDesktop()
Hotkey, %exitEmulatorKey%, CloseProcess
IniRead, Xram, %emupath%settings.ini, %RomName%, Xram, 2PH
IniRead, Region, %emupath%settings.ini, %RomName%, Region, 0
If (Xram = "1ph"){
filecopy, %emupath%1PH_xram.bin, %emupath%xram.bin, 1
IniWrite, %Region%, %emupath%NAOMI.ini, Settings, Region
}
Else if(Xram = "1pv"){
filecopy, %emupath%1PV_xram.bin, %emupath%xram.bin, 1
IniWrite, %Region%, %emupath%NAOMI.ini, Settings, Region
}
Else if(Xram = "2pv"){
filecopy, %emupath%2PV_xram.bin, %emupath%xram.bin, 1
IniWrite, %Region%, %emupath%NAOMI.ini, Settings, Region
}
Else{
filecopy, %emupath%2PH_xram.bin, %emupath%xram.bin, 1
IniWrite, %Region%, %emupath%NAOMI.ini, Settings, Region
}
Run, "%emupath%%executable%" "%romPath%%romName%%romExtension%", %emuPath%, Hide UseErrorLevel
Process, WaitClose, %executable%
}
;**********************************ATARI 7800**********************
else if (systemName = "Atari 7800" && (executable = "messpp.exe" || executable = "mess.exe"))
{
hideDesktop()
Hotkey, %exitEmulatorKey%, CloseProcess
RunWait, %executable% a7800 -cart "%romPath%%romName%%romExtension%" -skip_gameinfo -nowindow -nonewui, %emuPath%, Hide UseErrorLevel
}
;**********************************ATARI 2600**********************
else if (systemName = "Atari 2600" && (executable = "messpp.exe" || executable = "mess.exe"))
{
hideDesktop()
Hotkey, %exitEmulatorKey%, CloseProcess
RunWait, %executable% a2600 -cart "%romPath%%romName%%romExtension%" -skip_gameinfo -nowindow -nonewui, %emuPath%, Hide UseErrorLevel
}
;**********************************ATARI 5200**********************
else if (systemName = "Atari 5200" && (executable = "messpp.exe" || executable = "mess.exe"))
{
hideDesktop()
Hotkey, %exitEmulatorKey%, CloseProcess
RunWait, %executable% a5200 -cart "%romPath%%romName%%romExtension%" -skip_gameinfo -nowindow -nonewui, %emuPath%, Hide UseErrorLevel
}
;**********************************ATARI Lynx**********************
else if (systemName = "Atari Lynx" && executable = "handy.exe")
{
hideDesktop()
Hotkey, %exitEmulatorKey%, CloseProcess
RunWait, %executable% "%romPath%%romName%%romExtension%", %emuPath%, UseErrorLevel
}
;************************************DAPHNE*************************
else if (systemName = "Daphne" && executable = "daphne.exe"){
hideDesktop()
Hotkey, %exitEmulatorKey%, CloseProcess
daphneParams = vldp -fullscreen -x 640 -y 480 -nohwaccel -framefile
frameFilePath = %romPath%%romName%%romExtension%
RunWait, %executable% %romName% %daphneParams% %frameFilePath%, %emuPath%, UseErrorLevel
}
;********************************GAMEBOY ADVANCE********************
else if (systemName = "Gameboy Advance" && executable = "visualboyadvance.exe")
{
hideDesktop()
Hotkey, %exitEmulatorKey%, CloseProcess
RunWait, "%emuPath%%executable%" "%romPath%%romName%%romExtension%", UseErrorLevel
}
;********************************game  boy********** ******************
else if (systemName = "game  boy" && executable = "visualboyadvance.exe")
{
hideDesktop()
Hotkey, %exitEmulatorKey%, CloseProcess
RunWait, "%emuPath%%executable%" "%romPath%%romName%%romExtension%", UseErrorLevel
}
;********************************GAMEBOY COLOR************************
else if (systemName = "Gameboy Color" && executable = "visualboyadvance.exe")
{
hideDesktop()
Hotkey, %exitEmulatorKey%, CloseProcess
RunWait, "%emuPath%%executable%" "%romPath%%romName%%romExtension%", UseErrorLevel
}
;********************************Future Pinball************************
else if (systemName = "Future Pinball" && executable = "Future Pinball.exe")
{
hideDesktop()
Hotkey, %exitEmulatorKey%, CloseProcess
Runwait, "%emuPath%%executable%" /open "%romPath%%romName%%romExtension%" /play /exit %emuPath%, Hide UseErrorLevel
}
;*************************************MAME******************************
else if (systemName = "MAME" && executable = "mame.exe")
{
hideDesktop()
Hotkey, %exitEmulatorKey%, CloseProcess
Runwait, %executable% %romName%, %EmuPath%, Hide UseErrorLevel
Process, waitClose, %executable%
exitapp
}
;***********************************NEO GEO*****************************
else if (systemName = "Neo Geo" && executable = "mame.exe")
{
hideDesktop()
Hotkey, %exitEmulatorKey%, CloseProcess
RunWait, %executable% "%romName%", %emuPath%, Hide UseErrorLevel
}
;*****************************NEO GEO POCKET COLOR**********************
else if (systemName = "Neo Geo Pocket Color" && executable = "NeoPop-Win32.exe")
{
hideDesktop()
Hotkey, %exitEmulatorKey%, CloseProcess
RunWait, %executable% "%romPath%%romName%%romExtension%", %emuPath%, UseErrorLevel
}
;***********************************NINTENDO 64**************************
else if (systemName = "Nintendo 64" && executable = "Project64.exe")
{
hideDesktop()
Sleep, 2000
Hotkey, %exitEmulatorKey%, CloseProcess
RunWait, %executable% "%romPath%%romName%%romExtension%", %emuPath%, Hide UseErrorLevel
}
;****************************NINTENDO ENTERTAINMENT SYSTEM****************
else if (systemName = "Nintendo Entertainment System" && executable = "Nestopia.exe")
{
Gui, Color, 000000
Gui -Caption +ToolWindow +AlwaysOnTop
Gui, Show, W%A_ScreenWidth% H%A_ScreenHeight%, BlackGui
Hotkey, %exitEmulatorKey%, CloseProcess
Run, %executable% "%romPath%%romName%%romExtension%", %emuPath%, UseErrorLevel
Sleep, 2000
Gui, destroy
Process, waitClose, %executable%
exitapp
}
;***********************************Panasonic 3DO***********************
else if (systemName = "Panasonic 3DO" && executable = "FreeDO.exe")
{
hideDesktop()
Hotkey, %exitEmulatorKey%, CloseProcess
Run, "%EmuPath%%Executable%",,Hide UseErrorLevel
DetectHiddenWindows, on
WinShow, FreeDO Beta 1.6.2
WinWait, FreeDO Beta 1.6.2
ControlSend, , {F4}, FreeDO Beta 1.6.2
WinWaitActive, FreeDO Beta 1.6.2
SendInput, {ALTDOWN}f{ALTUP}{ENTER}
IfWinNotActive, Open, Common Places Host W
WinActivate, Open, Common Places Host W
WinWaitActive, Open, Common Places Host W
clipboard=
clipboard=%romPath%%romName%%romExtension%
ClipWait
Sleep,100
Send,^v
Sleep,100
send, {ENTER}
WinWait, FreeDO Beta 1.6.2
IfWinNotActive, FreeDO Beta 1.6.2, , WinActivate, FreeDO Beta 1.6.2,
WinWaitActive, FreeDO Beta 1.6.2,
SendInput, {ALTDOWN}c{ALTUP}{ENTER}{ENTER}
Process, WaitClose, FreeDO.exe
}
;***********************************SEGA 32X*************************
else if (systemName = "Sega 32X" && executable = "Fusion.exe")
{
hideDesktop()
Hotkey, %exitEmulatorKey%, CloseProcess
Run, %Executable% "%romPath%%romName%%romExtension%" -auto -32X -fullscreen, %EmuPath%, Hide UseErrorLevel
Process, WaitClose, fusion.exe
}
;***********************************SEGA CD**************************
else if (systemName = "Sega CD" && executable = "Fusion.exe")
{
hideDesktop()
Hotkey, %exitEmulatorKey%, CloseProcess
Run, %Executable% "%romPath%%romName%%romExtension%" -auto -scd -fullscreen, %EmuPath%, Hide UseErrorLevel
Process, WaitClose, %Executable%
exitapp
}
;*********************************SEGA DREAMCAST********************************

else if (systemName = "Sega Dreamcast" && executable = "nullDC_100b1_6.exe")
{
    hideDesktop()
    Run, %Executable% -config nulldc:Emulator.AutoStart=1 -config ImageReader:DefaultImage="%romPath%%romName%%romExtension%" -config ImageReader:loadDefaultImage=1 -config drkpvr:Fullscreen.Enabled=1, %EmuPath%, Hide UseErrorLevel
    Process, wait, %Executable%, 10
    Hotkey, %exitEmulatorKey%, CloseProcess
    Process, waitclose, %Executable%
}
;*****************************Dreamcast*********************************
else if (systemName = "Dreamcast" && executable = "demul.exe")
{
hideDesktop()
SetBatchLines -1
Hotkey, %exitEmulatorKey%, CloseProcess
 
;\\\optional plain black screen\\\
;Gui +AlwaysOnTop -Caption +ToolWindow 
;Gui, color, 0
;Gui Show, x0 y0 h%A_ScreenHeight% w%A_ScreenWidth%, HSHIDE 
 
;\\\Please Wait Loading Screen change size,color,font,background color,what you want to say\\\
IniRead, Long_RomName, %emupath%settings.ini, %Romname%, Long_RomName
;WinHide ahk_class Shell_TrayWnd
guiheight:=A_ScreenHeight/9*4
Gui, +toolwindow -Caption +AlwaysOnTop
Gui, Color, black
Gui, Font, S24 Cred, verdanna
Gui, Add, Text, y%guiheight% W%A_ScreenWidth% H%A_ScreenHeight% Center, Please Wait! Now Loading...`n %systemname%`n`n"%RomName%" ;"%romname%"
Gui, Show, W%A_ScreenWidth% H%A_ScreenHeight%,
 
;\\\add sounds\\\
;sounds go in demul directory change to .mp3 if desired or specify a directory of sounds for "romname"
;soundplay, %A_ScriptDir%\%systemame%.wav
;soundplay, %A_ScriptDir%\%Romname%.wav
;soundplay, %A_ScriptDir%\%anyname%.wav
if (romextension = ".cdi" || romextension = ".mds" || romextension = ".ccd" || romextension = ".nrg" || romextension = ".gdi" || romextension = ".cue" )
{
FileDelete, %emupath%gdrImage.ini
;FileCopy, %emupath%gdrImage_Restore.xml, %emupath%gdrImage.ini
sleep, 500
IniWrite, gdrImage.dll, %emupath%Demul.ini, plugins, gdr ;for images (cdi,mds,ccd,nrg,gdi,cue)
IniWrite, false, %emupath%gdrImage.ini, Main, openDialog
IniWrite, %romPath%%romname%%RomExtension%, %emupath%gdrImage.ini, Main, imagefilename
sleep, 250
Run, %emupath%%executable% ;-run=dreamcast -rom=%Romname%
sleep, 500
send, {lalt}{down}{enter}
sleep, 5000
;send, {F8} ;demul55
send, {ALTDOWN}{ENTER}{ALTUP} ;demul56 
Gui Destroy
Process, WaitClose, %executable%
WinActivate, HyperSpin
}
else if (romextension = ".chd")
{
FileDelete, %emupath%gdrCHD.ini
;FileCopy, %emupath%gdrCHD_Restore.xml, %emupath%gdrImage.ini
sleep, 500
IniWrite, false, %emupath%gdrCHD.ini, Main, openDialog
IniWrite, gdrCHD.dll, %emupath%Demul.ini, plugins, gdr ;for CHD
IniWrite, %romPath%%romname%%RomExtension%, %emupath%gdrCHD.ini, Main, imagefilename
sleep, 250
Run, %emupath%%executable% ;-run=dreamcast -rom=%Romname%
sleep, 500
send, {lalt}{down}{enter}
sleep, 5000
;send, {F8} ;demul55
send, {ALTDOWN}{ENTER}{ALTUP} ;demul56 
Gui Destroy
Process, WaitClose, %executable%
WinActivate, HyperSpin
}
}
;*********************************SEGA Game Gear********************************
else if (systemName = "Sega Game Gear" && executable = "Fusion.exe")
{
hideDesktop()
Hotkey, %exitEmulatorKey%, CloseProcess
Run, %Executable% "%romPath%%romName%%romExtension%" -auto -sms -fullscreen, %EmuPath%, Hide UseErrorLevel
Process, WaitClose, fusion.exe
}
;*********************************SEGA Genesis**********************************
else if (systemName = "Sega Genesis" && executable = "Fusion.exe")
{
hideDesktop()
Hotkey, %exitEmulatorKey%, CloseProcess
Run, %Executable% "%romPath%%romName%%romExtension%" -auto -gen -fullscreen, %EmuPath%, Hide UseErrorLevel
Process, WaitClose, fusion.exe
}
;*******************************SEGA Master System******************************
else if (systemName = "Sega Master System" && executable = "Fusion.exe")
{
hideDesktop()
Hotkey, %exitEmulatorKey%, CloseProcess
Run, %Executable% "%romPath%%romName%%romExtension%" -auto -sms -fullscreen, %EmuPath%, Hide UseErrorLevel
Process, WaitClose, fusion.exe
}
;***********************************SEGA MODEL 2*********************************
else if (systemName = "Sega Model 2")
{
if(executable = "emulator_multicpu.exe" || executable = "emulator.exe" )
{
;hideDesktop()
Hotkey, %exitEmulatorKey%, CloseProcess
Run, %executable% %romName%, %emuPath%, Hide UseErrorLevel
DetectHiddenWindows, on
WinWait, Model 2
WinShow
Process, WaitClose, %executable%
}
}
;***********************************Sega Naomi***********************************
else if (systemName = "sega naomi")
	{
hideDesktop()
Hotkey, %exitEmulatorKey%, CloseProcess
;Blockinput on
 
;\\\optional plain black screen\\\
;Gui +AlwaysOnTop -Caption +ToolWindow 
;Gui, color, 0
;Gui Show, x0 y0 h%A_ScreenHeight% w%A_ScreenWidth%, HSHIDE 
 
;\\\Please Wait Loading Screen change size,color,font,background color,what you want to say\\\
IniRead, Long_RomName, %emupath%settings.ini, %Romname%, Long_RomName
;WinHide ahk_class Shell_TrayWnd
guiheight:=A_ScreenHeight/9*4
Gui, +toolwindow -Caption +AlwaysOnTop
Gui, Color, black
Gui, Font, S24 Cred, verdanna
Gui, Add, Text, y%guiheight% W%A_ScreenWidth% H%A_ScreenHeight% Center, Please Wait! Now Loading...`n %systemname%`n`n"%Long_RomName%" ;"%romname%"
Gui, Show, W%A_ScreenWidth% H%A_ScreenHeight%,
 
IniRead, system, %emupath%settings.ini, %RomName%, System,
IniRead, Screen_Timeout, %emupath%settings.ini, %Romname%, Screen_Timeout
IniRead, LoadDecrypted, %emupath%settings.ini, %Romname%, LoadDecrypted
 
;\\\add sounds\\\
;sounds go in demul directory change to .mp3 if desired or specify a directory of sounds for "romname"
;soundplay, %A_ScriptDir%\%systemame%.wav
;soundplay, %A_ScriptDir%\%Romname%.wav
;soundplay, %A_ScriptDir%\%anyname%.wav
 
if (system = "Atomiswave" && LoadDecrypted = "false") 
{
Run, %emupath%%executable% -run=%system% -rom=%Romname%
sleep, %Screen_Timeout%
send, {ALTDOWN}{ENTER}{ALTUP} ; Go full Screen demul 56
Blockinput off
sleep, 1000
Gui Destroy 
winactivate, DEMUL
Process, WaitClose, %executable%
}
else if (system = "Atomiswave" && LoadDecrypted = "true") 
{
Run, %emupath%%executable% -run=%system% -rom=%Romname%
send, {Down 2}
send, {ENTER}
send, {shiftdown}{Tab}{Shiftup}
send, {Enter}
sleep, 2000
clipboard=
clipboard=%rompath%%romName%.bin
ClipWait
Sleep,100
Send,^v
Sleep,100
send, {ENTER}
sleep, %Screen_Timeout%
send, {ALTDOWN}{ENTER}{ALTUP} ; Go full Screen demul 56
Blockinput off
sleep, 1000
Gui Destroy
winwaitactive, DEMUL
Process, WaitClose, %executable%
}
Else if (system = "Naomi" && LoadDecrypted = "false") 
{
Run, %emupath%%executable% -run=%system% -rom=%Romname%
Sleep, %Screen_Timeout%
send, {ALTDOWN}{ENTER}{ALTUP} ; Go full Screen demul 56
Blockinput off
sleep, 1000
Gui Destroy 
winactivate, DEMUL
Process, WaitClose, %executable%
}
Else if (system = "Naomi" && LoadDecrypted = "true") 
{
Run, %emupath%%executable% -run=%system% -rom=%Romname%
clipboard=
clipboard=%rompath%%romName%.bin
ClipWait
Sleep,100
Send,^v
Sleep,100
send, {ENTER}
Sleep, %Screen_Timeout%
send, {ALTDOWN}{ENTER}{ALTUP} ; Go full Screen demul 56
Blockinput off
sleep, 1000
Gui Destroy 
winactivate, DEMUL
Process, WaitClose, %executable%
}
Else if (system = "Hikaru" && LoadDecrypted = "false") 
{
Run, %emupath%%executable% -run=%system% -rom=%Romname%
Sleep, %Screen_Timeout%
send, {ALTDOWN}{ENTER}{ALTUP} ; Go full Screen demul 56
Blockinput off
sleep, 1000
Gui Destroy 
winactivate, DEMUL
Process, WaitClose, %executable%
}
Else if (system = "Hikaru" && LoadDecrypted = "true") 
{
Run, %emupath%%executable% -run=%system% -rom=%Romname%
clipboard=
clipboard=%rompath%%romName%.bin
ClipWait
Sleep,100
Send,^v
Sleep,100
send, {ENTER}
Sleep, %Screen_Timeout%
send, {ALTDOWN}{ENTER}{ALTUP} ; Go full Screen demul 56
sleep, 1000
Blockinput off
Gui Destroy 
winactivate, DEMUL
Process, WaitClose, %executable%
}
}

;**********************************SEGA SATURN***********************************
else if (systemName = "Sega Saturn" && executable = "SSF.exe")
{
RunWait, %DAEMONTOOLS% -mount 0`,"%romPath%%romName%%romExtension%"
hideDesktop()
Hotkey, %exitEmulatorKey%, CloseProcess
Run, %executable% , %emuPath%, UseErrorLevel
}
;********************************Sony Playstation*******************************
else if (systemName = "Sony Playstation" && executable = "psxfin.exe")
{
psxParams = -f
Hotkey, %exitEmulatorKey%, CloseProcess
Run, %Executable% %psxParams% "%romPath%%romName%%romExtension%", %EmuPath%, Hide UseErrorLevel
DetectHiddenWindows, on
WinWait, ahk_class pSX
hideDesktop()
WinWaitClose, ahk_class pSX
}
;***********************Super Nintendo Entertainment System*********************
else if (systemName = "Super Nintendo Entertainment System" && executable = "zsnesw.exe")
{
hideDesktop()
SetKeyDelay, 250
Hotkey, %exitEmulatorKey%, CloseProcess
RunWait, %Executable% "%romPath%%romName%%romExtension%", %EmuPath%
}
;**********************************Turbo Duo***********************************
else if (systemName = "Turbo Duo" && executable = "pce.exe")
{
RunWait, %DAEMONTOOLS% -mount 0`,"%romPath%%romName%%romExtension%"
hideDesktop()
Hotkey, %exitEmulatorKey%, CloseProcess
Run, %executable% syscard3.pce , %emuPath%, UseErrorLevel
}
;**********************************TurboGrafx 16********************************
else if (systemName = "TurboGrafx 16" && executable = "Ootake.exe")
{
hideDesktop()
Hotkey, %exitEmulatorKey%, CloseProcess
RunWait, "%EmuPath%%Executable%" "%romPath%%romName%%romExtension%",,UseErrorLe vel
}
;***********************************JukeBox*************************************
else if (systemName = "Jukebox" && executable = "Silverjuke.exe")
{
hideDesktop()
Hotkey, %exitEmulatorKey%, CloseJuke
RunWait, %emuPath%%executable% --kiosk, Hide UseErrorLevel
}
else if (systemName = "Jukebox" && executable = "SKJukebox.exe")
{
hideDesktop()
Hotkey, %exitEmulatorKey%, CloseProcess
RunWait, %emuPath%%executable%, Hide UseErrorLevel
}
;***************************************Zinc************************************
else if (systemName = "Zinc" && executable = "zinc.exe")
{
hideDesktop()
Hotkey, %exitEmulatorKey%, CloseProcess
RunWait, %Executable% %romName%, %EmuPath%, Hide UseErrorLevel
}

else
{
MsgBox,48,Error,%systemName% is an invalid System Name or %executable% isnt supported yet,6
}
;------------------------------------------------------------------------------;
; WHEN EMULATOR FINISHES OR IF LAUNCH EXE FAILS ;
;------------------------------------------------------------------------------;
;************PROBABLY DO NOT NEED TO EDIT THIS AREA*************

if (ErrorLevel = "ERROR")
{
MsgBox,48,Error,Failed to run executable check your paths,6
}
Goto ExitScript ; Exits script and returns to frontend


;------------------------------------------------------------------------------;
; KILL COMMANDS ;
;------------------------------------------------------------------------------;
;************PROBABLY DO NOT NEED TO EDIT THIS AREA*************

/*
Most emu's can be closed with CloseProcess when using a 2 key combo, if not set a custom
close.
*/
CloseJuke:
RunWait, %emuPath%%executable% --execute="program.shutdown(30);", Hide UseErrorLevel
return

CloseProcess:
Hotkey, %exitScriptKey%, Off
Process, Close, %Executable%
Process, WaitClose, %Executable%
Gui, Color, 000000
Gui -Caption +ToolWindow +AlwaysOnTop
Gui, Show, W%A_ScreenWidth% H%A_ScreenHeight%, BlackGui
return

ExitScript:
Process, Exist, HyperSpin.exe
PID := errorLevel
if (PID)
{
WinActivate, ahk_pid %PID%
WinWaitActive, ahk_pid %PID%
Gui, destroy
if (hideCursor)
SystemCursor("On")
if (hideTaskbar)
WinShow ahk_class Shell_TrayWnd
ExitApp
}


OnExit, ExitScript
return








;------------------------------------------------------------------------------;
; REST OF SCRIPT ;
;------------------------------------------------------------------------------;
;************PROBABLY DO NOT NEED TO EDIT THIS AREA*************



SystemCursor(OnOff=1) ; INIT = "I","Init"; OFF = 0,"Off"; TOGGLE = -1,"T","Toggle"; ON = others
{
static AndMask, XorMask, $, h_cursor
,c0,c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13 ; system cursors
, b1,b2,b3,b4,b5,b6,b7,b8,b9,b10,b11,b12,b13 ; blank cursors
, h1,h2,h3,h4,h5,h6,h7,h8,h9,h10,h11,h12,h13 ; handles of default cursors
if (OnOff = "Init" or OnOff = "I" or $ = "") ; init when requested or at first call
{
$ = h ; active default cursors
VarSetCapacity( h_cursor,4444, 1 )
VarSetCapacity( AndMask, 32*4, 0xFF )
VarSetCapacity( XorMask, 32*4, 0 )
system_cursors = 32512,32513,32514,32515,32516,32642,32643,32644,32645,32646,32648,32649,32650
StringSplit c, system_cursors, `,
Loop %c0%
{
h_cursor := DllCall( "LoadCursor", "uint",0, "uint",c%A_Index% )
h%A_Index% := DllCall( "CopyImage", "uint",h_cursor, "uint",2, "int",0, "int",0, "uint",0 )
b%A_Index% := DllCall("CreateCursor","uint",0, "int",0, "int",0
, "int",32, "int",32, "uint",&AndMask, "uint",&XorMask )
}
}
if (OnOff = 0 or OnOff = "Off" or $ = "h" and (OnOff < 0 or OnOff = "Toggle" or OnOff = "T"))
$ = b ; use blank cursors
else
$ = h ; use the saved cursors

Loop %c0%
{
h_cursor := DllCall( "CopyImage", "uint",%$%%A_Index%, "uint",2, "int",0, "int",0, "uint",0 )
DllCall( "SetSystemCursor", "uint",h_cursor, "uint",c%A_Index% )
}
}
ToggleCursor:
SystemCursor("Toggle")
return

IniRead(Filename, Section, Key, Default = "") {
FileRead, text, *t %Filename%
text = `n%text%`n
StringTrimLeft, text, text, InStr(text, "`n[" . Section . "]`n")
Loop, 8 {
sp := sp . " "
StringReplace, text, text, %Key%%sp%=, %Key%=
If ErrorLevel
Break
}
start := InStr(text, "`n" . Key . "=")
If !start
Return, Default
start += StrLen(Key) + 2
StringMid, Value, text, start, InStr(text, "`n", false, start) - start
Return, Value
}

;Get Full Path from Relative Path
GetFullName( fn ) {
static buf, i
if !i
i := VarSetCapacity(buf, 512)
DllCall("GetFullPathNameA", "str", fn, "uint", 512, "str", buf, "str*", 0)
return buf
}

hideDesktop(){
;WinHide ahk_class Shell_TrayWnd
;Gui, +toolwindow
;Gui, -Caption
;Gui, Color, black
;Gui, show, +toolwindow Maximize
Gui, Color, 000000
Gui -Caption +ToolWindow
Gui, Show, W%A_ScreenWidth% H%A_ScreenHeight%, BlackScreen

}

CheckINI:
IfNotExist, %A_ScriptDir%\HyperSpin.exe
{
MsgBox,48,Error, Must be in same directory as HyperSpin.exe,6
Goto ExitScript
}
IfNotExist, %A_ScriptDir%\Settings\%systemName%.ini
{
MsgBox,48,Error,Cannot Find %A_ScriptDir%\Settings\%systemName%.ini,6
Goto ExitScript
}
return

CheckPaths:
romFound =
StringRight, emuPathBackSlash, EmuPath, 1
StringRight, romPathBackSlash, RomPath, 1

If (emuPathBackSlash != "\" || romPathBackSlash != "\")
{
MsgBox,48,Error, Make sure your paths contains a backslash on the end ,6
Goto ExitScript
}
If (executable = "")
{
MsgBox,48,Error, Missing executable in %systemName%.ini ,6
Goto ExitScript
}
If (romPath = "")
{
MsgBox,48,Error, Missing rom path in %systemName%.ini ,6
Goto ExitScript
}
If (emuPath = "")
{
MsgBox,48,Error, Missing emulator path in %systemName%.ini ,6
Goto ExitScript
}
IfNotExist, %EmuPath%%Executable%
{
MsgBox,48,Error,Cannot Find %EmuPath%%Executable%,6
Goto ExitScript
}
if(systemName != "zinc")
{
If (romExtensions = "")
{
MsgBox,48,Error, Missing rom extension in %systemName%.ini ,6
Goto ExitScript
}
Loop, parse, romExtensions, `,
{
inputVar = %A_LoopField%
StringLeft, charToCheck, inputVar, 1
If(charToCheck = ".")
{
MsgBox,48,Error, Make sure your rom extensions do not contain a ".",6
Goto ExitScript
}
IfExist %RomPath%%RomName%.%A_LoopField%
{
romExtension = .%A_LoopField%
romFound = true
break
}else{
IfExist %RomPath%%RomName%\%RomName%.%A_LoopField%
{
RomPath = %RomPath%%RomName%\
MsgBox %RomPath%
romExtension = .%A_LoopField%
romFound = true
break
}else{
romFound = false
}
}
}
}
if (romFound = "false")
{
if(systemName != "daphne"){
MsgBox,48,Error,Cannot find Rom - %RomPath%%RomName% with any provided extension,6
Goto ExitScript
}else{
MsgBox,48,Error,Cannot find Daphne framefile - %RomPath%%RomName% with any provided extension,6
Goto ExitScript
}
}
return
Project Cocktail Cab Ikea: viewtopic.php?f=21&t=5726

Immagine
1°Cosmo gang the video: 1.879.510
1°Black Tiger: 211.250
Recods: Cosmo gang the video: 3.262.570
Avatar utente
poiu

Gold Medal Silver Medal
Nostalgico
Nostalgico
Messaggi: 392
Iscritto il: 03/02/2010, 1:31
Medaglie: 8
Città: prato
Grazie Ricevuti: 3 volte

Re: Hyperspin

Messaggio da poiu »

ma non ho capito bene il kega ti funziona?
comunque adesso guardo io (con calma) visto che ho il tuo ahk che problemi ci sono
Toccatemi tutto ma no i miei BEWITH
Avatar utente
poiu

Gold Medal Silver Medal
Nostalgico
Nostalgico
Messaggi: 392
Iscritto il: 03/02/2010, 1:31
Medaglie: 8
Città: prato
Grazie Ricevuti: 3 volte

Re: Hyperspin

Messaggio da poiu »

solid mi mandi anche un paio di rom per favore
ed anche il file ahk (non compilato) nel 7Z che mi hai mandato non c'è
Toccatemi tutto ma no i miei BEWITH
Avatar utente
Supermax
Affezionato
Affezionato
Messaggi: 131
Iscritto il: 03/07/2009, 16:08
Città: SYS
Località: SYS:Prefs/

Re: Hyperspin

Messaggio da Supermax »

poiu ha scritto:hooooo ora ho capito..
per mettere il tema dell'emulatore fai così
vai nal sito di hyperspin li trovi dei temi (se poi non ti piace lo modifichi però ti serve per fare pratica)...
ne scarichi uno e lo metti in media/nome dell'emulatore/themes..
tutti i temi dell'emulatori vanno nominati default mentre quelli dei giochi devano avere il solito nome della rom...
mentre le immagini dei nomi sulla ruota devi trovare le immagini in PNG e metterle in media/nome dell'emulatore/images/whell e queste le devi nominare con il nome della rom...
per quanto riguarda hyper theme ti consiglio di scaricarti un tema e poi tramite hyper theme aprirlo come se lo volessi modificare,e incominci a fare pratica...
non è complicato poi se hai dei problemi quando posso aiuto volentieri visto che mi sono specializzato in hyperspin

si hai ragione, una volta che si sa come fare e dove andare a toccare non è complicato aggiungere i temi, è un'pò lunghina xchè i giochi sono tanti e se aggiungi che vuiìoi fare le cose per bene e non alla carlona le ore si moltiplicano ad un livello esponeziale, comunque in qualsiasi modo lo giri questo è!

Stasera provo poi ti sapro dire cosa mi è uscito, male che vada ti porrò le mie perplessitudini!

Grazie @poiu! il tuo supporto è una vera manna dal cielo <-thumbup->
"E il mare concederà ad ogni uomo nuove speranze come il sonno porta i sogni ". Cristoforo Colombo
Linux & Amiga O.S.4.1. Forever
Avatar utente
poiu

Gold Medal Silver Medal
Nostalgico
Nostalgico
Messaggi: 392
Iscritto il: 03/02/2010, 1:31
Medaglie: 8
Città: prato
Grazie Ricevuti: 3 volte

Re: Hyperspin

Messaggio da poiu »

questo è il mio hyperspin da notare i temi...
nelle console casalinghe ho messo pure le png delle cart e dei box (tramite le cartelle art) il video è vecchiotto adesso è ancora migliorato....
http://www.youtube.com/watch?v=zvQVo1f4oJM
tra quanto mi fate santo?
hehehehe :rofl2:
Toccatemi tutto ma no i miei BEWITH
Avatar utente
Supermax
Affezionato
Affezionato
Messaggi: 131
Iscritto il: 03/07/2009, 16:08
Città: SYS
Località: SYS:Prefs/

Re: Hyperspin

Messaggio da Supermax »

santo subito saltando la beatificazione a piepari <-clap-> <-clap-> <-clap->

Ma quanti sistemi emuli?
"E il mare concederà ad ogni uomo nuove speranze come il sonno porta i sogni ". Cristoforo Colombo
Linux & Amiga O.S.4.1. Forever
Avatar utente
Supermax
Affezionato
Affezionato
Messaggi: 131
Iscritto il: 03/07/2009, 16:08
Città: SYS
Località: SYS:Prefs/

Re: Hyperspin

Messaggio da Supermax »

è facile trovare le copertine e i PNG. delle cassette dei giochi?

Si possono scaricare da internet facendo una semplice ricerca mirata nelle immagini e scaricare il file, almassimo si modifica l'estensione in PNG.

X il sistema odessey 2 la cartuccia cade nella consol (grande <-thumbup-> ), come fai ad impostare cartuccia per cartuccia , nel senso tu avrai sicuramente le immagini delle cartucce nella cartella media/emulatore/theme, correggimi se sbaglio, per fare muovere la cartuccia hai dovuto fare il tema, dare un limite alla corsa della cartuccia e così via?
"E il mare concederà ad ogni uomo nuove speranze come il sonno porta i sogni ". Cristoforo Colombo
Linux & Amiga O.S.4.1. Forever
Avatar utente
poiu

Gold Medal Silver Medal
Nostalgico
Nostalgico
Messaggi: 392
Iscritto il: 03/02/2010, 1:31
Medaglie: 8
Città: prato
Grazie Ricevuti: 3 volte

Re: Hyperspin

Messaggio da poiu »

emulo + di 60 sistemi, ed ho migliorato qualcosa qua e la...
per il tema odissey hai capito perfettamente il sistema...
tutti i png ed altro ancora lo si trova nell'ftp di hyperspin...
praticamente fai una donazione ad huperspin nel loro sito tramite pay pal non ricordo quanto ma non era una grande cifra (che poi se li meritano tutti) e loro ti danno la pass e user del loro ftp dove li trovi tutto il materiale che ti serve....
poi se non ti basta te lo fai da te e magari lo metti nel loro ftp
Toccatemi tutto ma no i miei BEWITH
Avatar utente
Solid Snake
Cab-maniaco
Cab-maniaco
Messaggi: 1053
Iscritto il: 16/04/2010, 0:18
Città: Roma

Re: Hyperspin

Messaggio da Solid Snake »

poiu ha scritto:ma non ho capito bene il kega ti funziona?
comunque adesso guardo io (con calma) visto che ho il tuo ahk che problemi ci sono
Il kega mi funge ma il testo esc equivale a metterlo in finestra o a schermo intero e non ad uscire dall'emulatore e ritornare nella sua ruota della scelta dei titoli :(

adesso ti mando l'ank non compilato e le altre cose :-D
Project Cocktail Cab Ikea: viewtopic.php?f=21&t=5726

Immagine
1°Cosmo gang the video: 1.879.510
1°Black Tiger: 211.250
Recods: Cosmo gang the video: 3.262.570
Avatar utente
Supermax
Affezionato
Affezionato
Messaggi: 131
Iscritto il: 03/07/2009, 16:08
Città: SYS
Località: SYS:Prefs/

Re: Hyperspin

Messaggio da Supermax »

@poiu, mi potresti gentilmente postare i nomi dei sistemi che riesci a emulare? ho provato a srizzare le meningi ma mi vengono in mente solo i + conoscuti, almeno so + o - cosa posso fare!
se mi puoi fare questo favore ti ringrazzio!
"E il mare concederà ad ogni uomo nuove speranze come il sonno porta i sogni ". Cristoforo Colombo
Linux & Amiga O.S.4.1. Forever
Avatar utente
poiu

Gold Medal Silver Medal
Nostalgico
Nostalgico
Messaggi: 392
Iscritto il: 03/02/2010, 1:31
Medaglie: 8
Città: prato
Grazie Ricevuti: 3 volte

Re: Hyperspin

Messaggio da poiu »

Supermax ha scritto:@poiu, mi potresti gentilmente postare i nomi dei sistemi che riesci a emulare? ho provato a srizzare le meningi ma mi vengono in mente solo i + conoscuti, almeno so + o - cosa posso fare!
se mi puoi fare questo favore ti ringrazzio!
preso da mio ahk

* :Supported emulators:
* :System: :Emulators:
*rca studio 2...........................mess.exe
*wonder color...........................Oswan.exe
*wonder mono............................Oswan.exe
*neo geo cd.............................neoraine32.exe
*pcfx...................................pce.exe
*turbografx cd..........................pcfx.exe
*arcadia 2001...........................mess.exe
*aae....................................aae.exe
*creativision...........................mess.exe
*game boy color.........................visualboyadvance.exe
*game boy...............................visualboyadvance.exe
*sega sg1000............................Fusion.exe
*zx spectrum............................mess.exe
*vectrex................................mess.exe
*adventure vision.......................mess.exe
*famicom disk...........................nestopia.exe
*channel f..............................mess.exe
*astrocade..............................mess.exe
*gx4000.................................mess.exe
*super vision...........................mess.exe
*odissey................................mess.exe
*intellivision..........................nostalgia.exe
*colecovision...........................mess.exe
*Atomiswave.............................demul.exe
*atari jaguar...........................PT.exe
*CPS3...................................emulator.exe
*sega naomi.............................naomi.exe
*Atari 7800.............................messpp.exe
*Atari 2600.............................messpp.exe
*Atari 5200.............................messpp.exe
*Atari Lynx.............................handy.exe
*Daphne.................................daphne.exe
*Future Pinball.........................Future Pinball.exe
*Gameboy Advance........................visualboyadvance.exe
*game boy................................visualboyadvance.exe
*Gameboy Color..........................visualboyadvance.exe
*MAME...................................mame.exe
*Neo Geo................................mame.exe
*Neo Geo Pocket Color...................NeoPop-Win32.exe
*Nintendo 64............................project64.exe
*Nintendo Entertainment System..........nestopia.exe
*Panasonic 3DO..........................FreeDO.exe
*Sega 32X...............................fusion.exe
*Sega CD................................fusion.exe
*dreamcast..............................nullDC_100b1_6.exe
*Sega Game Gear.........................fusion.exe
*Sega Genesis...........................fusion.exe
*Sega Master System.....................fusion.exe
*Sony Playstation.......................psxfin.exe
*Super Nintendo Entertainment System....zsnesw.exe
*TurboGrafx 16..........................Ootake.exe
*Zinc...................................zinc.exe
*JukeBox................................silverjuke.exe
*JukeBox................................SKJukebox.exe

poi ci sono gli exe tipo american laser game scumm ecc.
non sono presenti nel ahk (non ci devano essere)
Toccatemi tutto ma no i miei BEWITH
Avatar utente
poiu

Gold Medal Silver Medal
Nostalgico
Nostalgico
Messaggi: 392
Iscritto il: 03/02/2010, 1:31
Medaglie: 8
Città: prato
Grazie Ricevuti: 3 volte

Re: Hyperspin

Messaggio da poiu »

Solid Snake ha scritto:
poiu ha scritto:ma non ho capito bene il kega ti funziona?
comunque adesso guardo io (con calma) visto che ho il tuo ahk che problemi ci sono
Il kega mi funge ma il testo esc equivale a metterlo in finestra o a schermo intero e non ad uscire dall'emulatore e ritornare nella sua ruota della scelta dei titoli :(

adesso ti mando l'ank non compilato e le altre cose :-D
ho cominciato a fare qualcosa intanto prova a prendere questo rar...
trovi l'hyperlaunch e lo sostituisci con quello che hai,il tuo mettilo da una parte al sicuro...
poi disinstalli il tuo auto hot key (da versione a versione cambia) e metti questo che trovi nel rar...
e prova a lanciare il kega ti dovrebbe andare,per l'msx non ho ancora guardato (una cosa per volta)
fammi sapere
http://www.megaupload.com/?d=SOQEQLC2
Toccatemi tutto ma no i miei BEWITH
Avatar utente
Supermax
Affezionato
Affezionato
Messaggi: 131
Iscritto il: 03/07/2009, 16:08
Città: SYS
Località: SYS:Prefs/

Re: Hyperspin

Messaggio da Supermax »

Mi accade una cosa molto strana!

Ho scaricato tempo indietro un torrent per Hyperspin da un pc che ho in in ditta, poi ho preso il file e l'ho portato in quello di casa lasciando la cpia del file anche in ditta. Ora, quello a casa non mi fa vedere le preview dei sistemi, manca proprrio la cornice e in certi solo il vide, nella ruota mentre quello ne pc della ditta va bene.
Premetto che in quello a casa ho una vrsione di Hyperspin installata precedentemente, mentre il file in questione è un exe "volante"


Cosa può essere?
"E il mare concederà ad ogni uomo nuove speranze come il sonno porta i sogni ". Cristoforo Colombo
Linux & Amiga O.S.4.1. Forever
Avatar utente
poiu

Gold Medal Silver Medal
Nostalgico
Nostalgico
Messaggi: 392
Iscritto il: 03/02/2010, 1:31
Medaglie: 8
Città: prato
Grazie Ricevuti: 3 volte

Re: Hyperspin

Messaggio da poiu »

sicuramente è una versione vecchia ed in + mal configurata
Toccatemi tutto ma no i miei BEWITH
Avatar utente
Supermax
Affezionato
Affezionato
Messaggi: 131
Iscritto il: 03/07/2009, 16:08
Città: SYS
Località: SYS:Prefs/

Re: Hyperspin

Messaggio da Supermax »

il fatto è che il file che apro è il medesimo solo che a casa nente preview e in ditta si!

può essere che l'Hyperspin installato configura anche quello in exe "volante"?
"E il mare concederà ad ogni uomo nuove speranze come il sonno porta i sogni ". Cristoforo Colombo
Linux & Amiga O.S.4.1. Forever
Avatar utente
Supermax
Affezionato
Affezionato
Messaggi: 131
Iscritto il: 03/07/2009, 16:08
Città: SYS
Località: SYS:Prefs/

Re: Hyperspin

Messaggio da Supermax »

ho cancellato la versione che avevo installato all'inizio (una ver. vecchia 0.8.0) che tra l'altro non era un exe eseguibile ma era proprio installata tramite installer, io non ne ho + trovate di versioni da installare che si installavano in c:\,

comunque ora le preview si vedono, si vede che qualche parametro di configurazione andava a disturbare anche quella!
"E il mare concederà ad ogni uomo nuove speranze come il sonno porta i sogni ". Cristoforo Colombo
Linux & Amiga O.S.4.1. Forever
Avatar utente
poiu

Gold Medal Silver Medal
Nostalgico
Nostalgico
Messaggi: 392
Iscritto il: 03/02/2010, 1:31
Medaglie: 8
Città: prato
Grazie Ricevuti: 3 volte

Re: Hyperspin

Messaggio da poiu »

Supermax ha scritto:ho cancellato la versione che avevo installato all'inizio (una ver. vecchia 0.8.0) che tra l'altro non era un exe eseguibile ma era proprio installata tramite installer, io non ne ho + trovate di versioni da installare che si installavano in c:\,

comunque ora le preview si vedono, si vede che qualche parametro di configurazione andava a disturbare anche quella!
vai al sito di hyperspin ti registri (gratis) e scarichi il front + di 300mb poi ti scarichi l'aggiornamento e lo scompattidentr la cartella di hyperspin ti chiederà di sostituire dei file digli di si e hai fatto...
cosa importante hyperspin non ha bisogno di installazione ma la cartella la devi mettere in c:
Toccatemi tutto ma no i miei BEWITH
Avatar utente
marvinrave
Affezionato
Affezionato
Messaggi: 185
Iscritto il: 29/03/2011, 19:05
Città: Pioltello

Re: Hyperspin

Messaggio da marvinrave »

Ciao ragazzi, ho quasi ultimato il mio secondo minicab,
il primo l avevo realizzato utilizzando come front end il maximus arcade,

questo invece ( processore p4 intel 3,0 ghz e 2 gb di ram ) vorrei realizzarlo con hyperspin solo che non sono molto pratico di questo
front end e non vorrei perderci 30 anni per capire come funziona e aggiornare tutte le rom con gli emulatori ecc....

detto questo appunto stavo cercando qualcuno in zona milano che cel ha già ( magari già configurato ) che ha voglia di mettersi con me un pomeriggio/weekend/serata
e programmare il nuovo cabinet.


Fatemi Sapere :-)
Ciao :D
Avatar utente
poiu

Gold Medal Silver Medal
Nostalgico
Nostalgico
Messaggi: 392
Iscritto il: 03/02/2010, 1:31
Medaglie: 8
Città: prato
Grazie Ricevuti: 3 volte

Re: Hyperspin

Messaggio da poiu »

bhe non è una cosa veloce come pensi, comunque se leggi tutto piano piano ci arrivi..
non è difficile come sembra
Toccatemi tutto ma no i miei BEWITH
Avatar utente
marvinrave
Affezionato
Affezionato
Messaggi: 185
Iscritto il: 29/03/2011, 19:05
Città: Pioltello

Re: Hyperspin

Messaggio da marvinrave »

poiu ha scritto:bhe non è una cosa veloce come pensi, comunque se leggi tutto piano piano ci arrivi..
non è difficile come sembra


no ma arrivarci ci sono e saprei come fare, ma non ho voglia :D
so che se qualcuno cel ha gia settato mi eviterei un milione di ore perse a
scaricare settare trovare i video configurare ecc ecc <-whistling->
Rispondi

Torna a “Frontend”