Jump to content
  • Announcement

    The HyperSpin 2 beta is here!

    We’re starting the first public testing phase with Platinum Members to keep the scope manageable while we test the current feature set and begin to add more. In the future, we’ll provide a version for basic members as well.  On behalf of the entire HyperSpin team, we look forward to another exciting adventure with our community.

I have many noob problems some please help!!!!!!


mustangmatt

Recommended Posts

Posted

Hello to everyone I'm new to the whole hyperspin and don't have anything bad to say about it with this being said on to what i need help with.

On the MAME wheel how do i get rid of duplicate games? Also when i get rid of these said duplicate games, will the themes that i have still

be on the wheel? Or will i have to re-do the themes?

I also have problems with NESTOPIA i downloaded the newest version placed it in the emulator file, made its own ROM directory but it will not play games. ...I

I have watched viedos on youtube and this website on setting up NESTOPIA yet i still cant get it to work. Is there something i have to do with hyperlaunch?

If so can someone post the link for hyperlaunch.

Posted

ok romlister is how to get rid of duplicates and only roms u have it is a nifty little tool for mame now my mame wheel is beautiful :)

now on to my nestopia prob i get a error message saying could not find rom in any path extensions i have tried everything this is how it is setup

F:\hyperspin\Emulators\Nestopia\nestopia.exe

F:\hyperspin\emulators\Romfiles\Nintendo

also it is nestopia 1.40 any help

not sure but could it be something with ahk file? pls help

Posted

06:30:02 PM | HyperSpin Started

06:30:02 PM | Going FullScreen

06:30:02 PM | Checking for updates

06:30:02 PM | Update Check Complete

06:30:02 PM | Startup program unavailable

06:30:02 PM | Playing intro video

06:30:03 PM | Error intializing joysticks

06:30:03 PM | Menu Mode is multi

06:30:03 PM | Loading Main Menu.xml

06:30:03 PM | Main Menu.xml successfully loaded

06:30:04 PM | Main Menu wheel loaded successfully

06:30:09 PM | Loading Nintendo Entertainment System.xml

06:30:10 PM | Main Menu.xml successfully loaded

06:30:10 PM | Nintendo Entertainment System wheel loaded successfully

06:30:13 PM | Launching Game

06:30:13 PM | Running HyperLaunch.exe

06:30:13 PM | Command Line is: HyperLaunch.exe "Nintendo Entertainment System" "1943 - The Battle of Midway (USA)"

06:30:17 PM | Launching Game

06:30:17 PM | Running HyperLaunch.exe

06:30:17 PM | Command Line is: HyperLaunch.exe "Nintendo Entertainment System" "1943 - The Battle of Midway (USA)"

06:30:25 PM | Loading Main Menu.xml

06:30:25 PM | Main Menu.xml successfully loaded

06:30:25 PM | Main Menu wheel loaded successfully

06:30:28 PM | Exit program unavailable

06:30:28 PM | Quiting Hyperspin

06:30:28 PM | Bye!

Posted

*/

#SingleInstance force ;Prevent multiple instances

#WinActivateForce

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 = true ;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 = true ;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%

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 ;

;------------------------------------------------------------------------------;

;***********************************ADD-ONS*********************************

Loop, Addons\*.*,2

{

addonpath = %A_LoopFileFullPath%

Loop, %addonpath%\*.exe

{

Run, %A_LoopFileName% "%systemname%" "%romname%" %emupath% %executable% "%A_ScriptDir%", %A_LoopFileDir% ;passing parameters too

}

}

;************OTHER*****************

hideDesktop()

Hotkey, %exitEmulatorKey%, CloseProcess

;***********************************SEGA MODEL 2*********************************

if (systemName = "Sega Model 2")

{

if(executable = "emulator_multicpu.exe" || executable = "emulator.exe" )

{

Run, %executable% %romName%, %emuPath%, Hide UseErrorLevel

DetectHiddenWindows, on

WinWait, Model 2

WinShow

}

}

;***************************************************************

;Older Atomiswave

;Older Sega Naomi

;Required - Settings.ini: http://www.hyperspin-fe.com/forum/sh...5&postcount=54

else if (executable = "awdemul.exe")

{

Blockinput on

SetDefaultMouseSpeed, 0

MouseGetPos X, Y

MouseMove %A_ScreenWidth%,-%A_ScreenHeight%

Gui +AlwaysOnTop -Caption +ToolWindow

Gui, color, 0

Gui Show, x0 y0 h%A_ScreenHeight% w%A_ScreenWidth%, HSHIDE

IniRead, num_down, %emupath%settings.ini, %RomName%, Down_Count, 0

IniRead, system, %emupath%settings.ini, %RomName%, System, Atomiswave

Run, "%emupath%%executable%", Hide UseErrorLevel

winactivate %executable%

sleep, 1000 ; wait a moment for emulator to load

send, {AltDown}{AltUP}

send, {down}

sleep, 500

if (system = "Atomiswave")

{

send, {Down}

send, {Down}

send, {ENTER}

send, {DOWN %num_down%} ; send down keystroke to select rom

send, {ALTDOWN}{ENTER}{ALTUP}

send, {ENTER}

sleep, 10000 ; sleep for 10 seconds before pressing f8 key

send, {F8} ; Go full Screen

sleep, 1000

Gui Destroy

SetDefaultMouseSpeed, 2

Blockinput off

}

Else if (system = "Naomi")

{

send, {Down}

send, {ENTER}

send, {DOWN %num_down%} ; send down keystroke to select rom

send, {ALTDOWN}{ENTER}{ALTUP}

send, {ENTER}

sleep, 10000 ; sleep for 10 seconds before pressing f8 key

send, {F8} ; Go full Screen

sleep, 1000

Gui Destroy

SetDefaultMouseSpeed, 2

Blockinput off

}

}

;***************************************************************

;Sega Naomi Demul 0.5.5

;Atomiswave

;Required - Settings.ini: http://www.hyperspin-fe.com/forum/sh...5&postcount=54

else if (executable = "demul.exe")

{

Blockinput on

SetDefaultMouseSpeed, 0

MouseGetPos X, Y

MouseMove %A_ScreenWidth%,-%A_ScreenHeight%

Gui +AlwaysOnTop -Caption +ToolWindow

Gui, color, 0

Gui Show, x0 y0 h%A_ScreenHeight% w%A_ScreenWidth%, HSHIDE

IniRead, num_down, %emupath%settings.ini, %RomName%, Down_Count, 0

IniRead, system, %emupath%settings.ini, %RomName%, System, Atomiswave

Run, "%emupath%%executable%", Hide UseErrorLevel

winactivate %executable%

sleep, 1000 ; wait a moment for emulator to load

send, {AltDown}{AltUP}

send, {down}

sleep, 500

if (system = "Atomiswave")

{

send, {Down}

send, {Down}

send, {ENTER}

send, {DOWN %num_down%} ; send down keystroke to select rom

send, {ALTDOWN}{ENTER}{ALTUP}

send, {ENTER}

sleep, 10000 ; sleep for 10 seconds before pressing f8 key

send, {F8} ; Go full Screen

sleep, 1000

Gui Destroy

SetDefaultMouseSpeed, 2

Blockinput off

}

if (system = "Atomiswave Load Decrypted")

{

send, {Down}

send, {Down}

send, {ENTER}

send, {DOWN %num_down%} ; send down keystroke to select rom

send, {ALTDOWN}{ENTER}{ALTUP}

send, {ENTER}

sleep, 10000 ; sleep for 10 seconds before pressing f8 key

send, {F8} ; Go full Screen

sleep, 1000

Gui Destroy

Blockinput off

}

Else if (system = "Naomi")

{

send, {Down}

send, {ENTER}

send, {DOWN %num_down%} ; send down keystroke to select rom

send, {ALTDOWN}{ENTER}{ALTUP}

send, {ENTER}

sleep, 10000 ; sleep for 10 seconds before pressing f8 key

send, {F8} ; Go full Screen

sleep, 1000

Gui Destroy

SetDefaultMouseSpeed, 2

Blockinput off

}

Else if (system = "Naomi Load Decrypted")

{

send, {Down}

send, {ENTER}

send, {Tab}

send, {Tab}

send, {Tab}

send, {ENTER}

send, {shiftdown}{Tab}{Shiftup}

send, {shiftdown}{Tab}{Shiftup}

send, {DOWN %num_down%} ; send down keystroke to select rom

send, {ENTER}

sleep, 10000 ; sleep for 10 seconds before pressing f8 key

send, {F8} ; Go full Screen

sleep, 1000

Gui Destroy

SetDefaultMouseSpeed, 2

Blockinput off

}

Else if (system = "Hikaru")

{

send, {Down}

send, {Down}

send, {Down}

send, {ENTER}

send, {Tab}

send, {Tab}

send, {Tab}

send, {ENTER}

send, {shiftdown}{Tab}{Shiftup}

send, {shiftdown}{Tab}{Shiftup}

send, {DOWN %num_down%} ; send down keystroke to select rom

send, {ENTER}

sleep, 10000 ; sleep for 10 seconds before pressing f8 key

send, {F8} ; Go full Screen

sleep, 1000

Gui Destroy

SetDefaultMouseSpeed, 2

Blockinput off

}

Else if (system = "Hikaru Load Decrypted")

{

send, {Down}

send, {Down}

send, {Down}

send, {ENTER}

send, {Tab}

send, {Tab}

send, {Tab}

send, {ENTER}

send, {shiftdown}{Tab}{Shiftup}

send, {shiftdown}{Tab}{Shiftup}

send, {DOWN %num_down%} ; send down keystroke to select rom

send, {ENTER}

sleep, 10000 ; sleep for 10 seconds before pressing f8 key

send, {F8} ; Go full Screen

sleep, 1000

Gui Destroy

SetDefaultMouseSpeed, 2

Blockinput off

}

}

;**************************************************************

;ScummVM

;Required - ScummVMLauncher.exe: http://www.hyperspin-fe.com/forum/sh...1&postcount=31

else if (executable = "ScummVMLauncher.exe")

{

Gui +AlwaysOnTop -Caption +ToolWindow

Gui, color, 0

Gui Show, x0 y0 h%A_ScreenHeight% w%A_ScreenWidth%, HSHIDE

Run, %emupath%%executable%

Runwait, %rompath%%romname%%romextension%

sleep, 2000

Gui Destroy

}

;*************************************WinKawaks**********************

;Required - Settings.ini: http://www.hyperspin-fe.com/forum/sh...21&postcount=4

else if (executable = "Winkawaks.exe")

{

Blockinput on

SetDefaultMouseSpeed, 0

MouseGetPos X, Y

MouseMove %A_ScreenWidth%,-%A_ScreenHeight%

Gui +AlwaysOnTop -Caption +ToolWindow

Gui, color, 0

Gui Show, x0 y0 h%A_ScreenHeight% w%A_ScreenWidth%, HSHIDE

IniRead, num_down, %emupath%settings.ini, %RomName%, Down_Count, 0

IniRead, system, %emupath%settings.ini, %RomName%, System, kawaks

Run, "%emupath%%executable%", Hide UseErrorLevel

winactivate %executable%

sleep, 1000 ; wait a moment for emulator to load

send, {AltDown}{AltUP}

send, {down}

sleep, 500

if (system = "kawaks")

{

send, {ENTER}

send, {DOWN %num_down%} ; send down keystroke to select rom

;send, {ALTDOWN}{ENTER}{ALTUP}

send, {ENTER}

sleep, 1000 ; sleep for 1 seconds before pressing alt-enter key

send, {ALTDOWN}{ENTER}{ALTUP} ; Go full Screen

sleep, 2500 ; sleep 2.5 seconds before blackscreen disappears

Gui Destroy ; kill the blackscreen

SetDefaultMouseSpeed, 2

Blockinput off

}

if (system = "CPS-1")

{

send, {ENTER}

send, {DOWN %num_down%} ; send down keystroke to select rom

;send, {ALTDOWN}{ENTER}{ALTUP}

send, {ENTER}

sleep, 1000 ; sleep for 1 seconds before pressing alt-enter key

send, {ALTDOWN}{ENTER}{ALTUP} ; Go full Screen

sleep, 2500 ; sleep 2.5 seconds before blackscreen disappears

Gui Destroy ; kill the blackscreen

SetDefaultMouseSpeed, 2

Blockinput off

}

if (system = "CPS-2")

{

send, {ENTER}

send, {DOWN %num_down%} ; send down keystroke to select rom

;send, {ALTDOWN}{ENTER}{ALTUP}

send, {ENTER}

sleep, 1000 ; sleep for 1 seconds before pressing alt-enter key

send, {ALTDOWN}{ENTER}{ALTUP} ; Go full Screen

sleep, 2500 ; sleep 2.5 seconds before blackscreen disappears

Gui Destroy ; kill the blackscreen

SetDefaultMouseSpeed, 2

Blockinput off

}

}

;********************************************************************

;SEGA Naomi - Makaron

else if (executable = "naomi.exe")

{

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

}

;******************************************************

;Touhou

else if (executable = "touhou.exe") ;just make a dummy file with this name

{

Run, %emupath%%executable%

Process, Close, %executable%

Runwait, %rompath%%romname%%romextension%

}

;********************************************************************

;PC Engine

;Turbo Duo

else if (executable = "pce.exe")

{

RunWait, %DAEMONTOOLS% -mount 0`,"%romPath%%romName%%romExtension%"

RunWait,%emuPath%%executable% syscard3.pce ,UseErrorLevel

Run, %DAEMONTOOLS% -unmount 0,UseErrorLevel

}

;******************************************************************

;AAE

else if (executable = "aae.exe")

{

Run, %executable% "%romName%", %emuPath%, Hide UseErrorLevel

}

;********************************************

;N64

else if (executable = "mupen64.exe")

{

Run, %Executable% -f -nogui -g "%romPath%%romName%%romExtension%", %EmuPath%, Hide UseErrorLevel

}

;*****************************************************************

;Jukebox systems

else if (executable = "Silverjuke.exe")

{

Hotkey, %exitEmulatorKey%, CloseJuke

Run, %emuPath%%executable% --kiosk, Hide UseErrorLevel

}

else if (executable = "SKJukebox.exe")

{

Run, %emuPath%%executable%, Hide UseErrorLevel

}

;********************************************************************

;MSX2

else if (executable = "blueMSX.exe")

{

Run, %Executable% "%romPath%%romName%%romExtension%" -auto -fullscreen, %EmuPath%, Hide UseErrorLevel

}

;*****************************************************************

;NEC PC-98

else if (executable = "anex86.exe")

{

Run, "%EmuPath%%Executable%",,Hide UseErrorLevel

sleep,100

SendInput, {tab 11}

sleep,100

clipboard=

clipboard=%romPath%%romName%%romExtension%

ClipWait

Sleep,100

Send,^v

Sleep,100

send, {tab 8}

send, {enter}

}

;********************************************************************

;SAM COUPE

else if (executable = "SimCoupe.exe")

{

Run, %executable% -disk"%romName%", %emuPath%, Hide UseErrorLevel

}

;*********************************************************************

;Commodore Amiga

else if (executable = "winuaeloader.exe")

{

Run, %Executable% -mode whdload -game"%romPath%%romName%%romExtension%" , %EmuPath%, Hide UseErrorLevel

}

;*******************************************************************

;Commodore CD32

else if (executable = "winuae.exe")

{

RunWait, %DAEMONTOOLS% -mount 0`,"%romPath%%romName%%romExtension%"

cd32params = -f "C:\HyperSpin\Emulators\Commodore CD32\Configurations\cd32.uae" -s use_gui=no -s gfx_fullscreen_amiga=true

RunWait,%emuPath%%executable% %cd32params% ,UseErrorLevel

Run, %DAEMONTOOLS% -unmount 0,UseErrorLevel

}

;************************************************************

;Fujitsu FM

else if (executable = "Unz.exe")

{

RunWait, %DAEMONTOOLS%-mount0`,"%romPath%%romName%%romExtension%"

RunWait,%emuPath%%executable% -fs,UseErrorLevel

Run, %DAEMONTOOLS% -unmount 0,UseErrorLevel

}

;*********************************************************************

;PC Engine FX

else if (executable = "pcfx.exe")

{

RunWait, %DAEMONTOOLS% -mount 0`,"%romPath%%romName%%romExtension%"

Run,%emuPath%%executable% -cd,UseErrorLevel

}

;***************************************************************

;Sony Playstation 2

else if (executable = "pcsx2.exe")

{

Run, %Executable% "%romPath%%romName%%romExtension%", %EmuPath%, Hide UseErrorLevel

sleep, 1000

send, {alt down}{enter}{alt up}

}

;*********************************************************************

;SEGA SATURN

else if (executable = "SSF.exe")

{

RunWait, %DAEMONTOOLS% -mount 0`,"%romPath%%romName%%romExtension%"

Run, %executable% , %emuPath%, UseErrorLevel

}

;**********************************************************************

;Nintendo Gamecube

;NINTENDO WII

else if (executable = "Dolphin.exe")

{

Run, %executable% -e "%romPath%%romName%%romExtension%", %emuPath%, UseErrorLevel

}

;*********************************************************************

;Wonderswan

;Wonderswan Color

else if (executable = "Oswan.exe")

{

Run, "%EmuPath%%Executable%" -fs "%romPath%%romName%%romExtension%", Hide UseErrorLevel

}

;********************************************************************

;Nintendo DS

else if (executable = "NO$GBA_u2.exe")

{

Run, %Executable% "%romPath%%romName%%romExtension%" -auto -sms -fullscreen, %EmuPath%, Hide UseErrorLevel

}

;**********************************************************************

;ATARI ST

else if (executable = "Steem.exe")

{

Run, "C:\HyperSpin\Emulators\Atari ST\strun.bat"

Run, %Executable% "%romPath%%romName%%romExtension%"FULLSCREEN NONOTIFYINIT, %EmuPath%, Hide UseErrorLevel

}

;*********************************************************************

;ATARI Jaguar - Project Tempest Emulator

else if (executable = "PT.exe")

{

Run, "%EmuPath%%Executable%",,Hide UseErrorLevel

DetectHiddenWindows, on

WinShow, Project Tempest

WinWait, Project Tempest

WinWaitActive, Project Tempest

SendInput, {ALTDOWN}f{ALTUP}{ENTER}

IfWinNotActive, Open ROM File, Common Places Host W

WinActivate, Open ROM File, Common Places Host W

WinWaitActive, Open ROM File, Common Places Host W

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,

}

;********************************************************************

;Colecovision

else if (systemName = "Colecovision" && (executable = "messpp.exe" || executable = "mess.exe"))

{

Run, %executable% coleco -cart "%romPath%%romName%%romExtension%" -skip_gameinfo -nowindow -nonewui, %emuPath%, Hide UseErrorLevel

}

;****************************************************************

;FUTURE PINBALL

else if (executable = "Future Pinball.exe")

{

Run, %executable% /open "%romPath%%romName%%romExtension%" /play /exit, %emuPath%, UseErrorLevel

}

;*****************************************************************

;PC Games

else if (executable = "PCLauncher.exe" ) ;just make a dummy file with this name

{

Run, %rompath%%romname%%romextension%

}

;*****************************************************************

;SEGA DREAMCAST

else if (executable = "nullDC.exe")

{

AlternateClose = true

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

}

;***************************************************************

;Sony Playstation

else if (executable = "epsxe.exe")

{

AlternateClose = true

Run, %Executable% -nogui -loadbin "%romPath%%romName%%romExtension%", %EmuPath%, Hide UseErrorLevel

}

;*****************************************************************

;DOS GAMES (& applications)

else if (executable = "dosbox.exe")

{

Loop, %rompath%%romname%%romextension%

dosboxexe = %A_LoopFileShortPath%

stringleft, driveletter, rompath, 1

Run, %executable% -c "mount %driveletter% %driveletter%:\" -c "%dosboxexe%" , %emuPath%, Hide UseErrorLevel

}

;********************************************************************

;SEGA SATURN

else if (executable = "yabause.exe")

{

Run, %Executable% -f -i "%romPath%%romName%%romExtension%", %EmuPath%, Hide UseErrorLevel

}

;*******************************************************************

;ATARI 5200

else if (systemName = "Atari 5200" && (executable = "messpp.exe"|| executable = "mess.exe"))

{

Run, %executable% a5200 -cart "%romPath%%romName%%romExtension%" -skip_gameinfo -nowindow -nonewui, %emuPath%, Hide UseErrorLevel

}

;*******************************************************************

;DAPHNE

else if (executable = "daphne.exe")

{

daphneParams = vldp -fullscreen -x 640 -y 480 -nohwaccel -framefile

frameFilePath = %romPath%%romName%%romExtension%

Run, %executable% %romName% %daphneParams% %frameFilePath%, %emuPath%, UseErrorLevel

}

;******************************************************************

;Panasonic 3DO - freedo version 2

;http://www.hyperspin-fe.com/forum/showthread.php?p=71530

else if (executable = "FreeDO2.exe")

{

SetWorkingDir, %emuPath%

Hotkey, %exitEmulatorKey%, CloseProcess

Gui +AlwaysOnTop -Caption +ToolWindow

Gui, color, 0

Gui Show, x0 y0 h%A_ScreenHeight% w%A_ScreenWidth%,

FileDelete, %emupath%config.xml

FileCopy, %emupath%restore.xml, %emupath%config.xml

Run, "%EmuPath%%Executable%", Hide UseErrorLevel

sleep, 500

WinWait, FreeDO v.2.1 Alpha ~ FPS 60`, INTFPS 60,

IfWinNotActive, FreeDO v.2.1 Alpha ~ FPS 60`, INTFPS 60, , WinActivate, FreeDO v.2.1 Alpha ~ FPS 60`, INTFPS 60,

WinWaitActive, FreeDO v.2.1 Alpha ~ FPS 60`, INTFPS 60,

Send, {ALTDOWN}{ALTUP}{up}{ENTER} ;{ENTER}

WinWait, Open,

IfWinNotActive, Open, , WinActivate, Open,

WinWaitActive, Open,

sleep, 500

clipboard=

clipboard=%romPath%%romName%%romExtension%

ClipWait

Sleep,100

Send,^v

Sleep,100

send, {ENTER}

Sleep, 100

send, {F11}

sleep,500

send, {F9}

sleep, 2000

Gui Destroy

Process, WaitClose, %executable%

WinActivate, HyperSpin

}

;******************************************************************

;Panasonic 3DO - freedo version 1

else if (executable = "FreeDO.exe")

{

Run, "%EmuPath%%Executable%",,Hide UseErrorLevel

DetectHiddenWindows, on

WinShow, FreeDO

WinWait, FreeDO

ControlSend, , {F4}, FreeDO

WinWaitActive, FreeDO

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

IfWinNotActive, FreeDO, , WinActivate, FreeDO,

WinWaitActive, FreeDO,

SendInput, {ALTDOWN}c{ALTUP}{ENTER}{ENTER}

}

;*************************************************************

;SEGA Master System

;Sega Genesis

;Sega Game Gear

;Sega CD

;Sega 32X

else if (executable = "Fusion.exe")

{

if systemname = "Sega Master System"

{

Fparams = -sms

}

if systemName = "Sega 32X"

{

Fparams = -32X

}

if systemName = "Sega CD"

{

Fparams = -scd

}

if systemName = "Sega Game Gear"

{

Fparams = -sms

}

if systemName = "Sega Genesis"

{

Fparams = -gen

}

Run, %Executable% "%romPath%%romName%%romExtension%" -auto "%Fparams%" -fullscreen, %EmuPath%, Hide UseErrorLevel

}

;********************************************************************

;CPS3 CAPCOM PLAY SYSTEM 3

else if(executable = "emulator.exe" )

{

Run, %executable% %romName%, %emuPath%, Hide UseErrorLevel

DetectHiddenWindows, on

WinWait, Capcom Play System 3 Emulator

WinShow

}

;***************************************************************

;Sony Playstation

;enhanced for multiple discs by travis stickel - firefoxian

;just put all roms with the same extension in one folder

;the first rom should just have the title

;the rest should be the title then " CD2", " CD3", ETC.

;like Lunar.bin, Lunar CD2.bin, Lunar CD3.bin and so on.

;then you have the hotkeys 1 - 5 to switch back an forth when the game requests!

else if (executable = "psxfin.exe")

{

Run, %Executable% -f "%romPath%%romName%%romExtension%", %EmuPath%, Hide UseErrorLevel

Hotkey, 1, Disc1

Hotkey, 2, Disc2

Hotkey, 3, Disc3

Hotkey, 4, Disc4

Hotkey, 5, Disc5

Process, WaitClose, %executable%

Disc1:

disc =

gosub, ChangePsxDisc

Return

Disc2:

disc := " CD2"

gosub, ChangePsxDisc

Return

Disc3:

disc := " CD3"

gosub, ChangePsxDisc

Return

Disc4:

disc := " CD4"

gosub, ChangePsxDisc

Return

Disc5:

disc := " CD5"

gosub, ChangePsxDisc

Return

ChangePsxDisc:

IfExist, %romPath%%romName%\%RomName%%disc%%extensiononly%

{

Process, Exist, %Executable%

SendInput, {ALTDOWN}{ENTER}{ALTUP}

WinWaitActive, ahk_pid %Errorlevel%

Send, !f{ENTER}

clipboard=%romPath%%romName%\%RomName%%disc%%extensiononly%

Clipwait

Sleep,3000

Send,^v

Sleep,100

Send, {ENTER}

WinWaitActive, ahk_pid %Errorlevel%

SendInput, {ALTDOWN}{ENTER}{ALTUP}

}

Return

}

;********************************************

;Super Nintendo Entertainment System

else if (executable = "zsnesw.exe")

{

SetKeyDelay, 250

Run, %Executable% "%romPath%%romName%%romExtension%", %EmuPath%, Hide UseErrorLevel

}

;******************************************************************

;TurboGrafx 16 (PC-FX, PC Engine FX )

;Gameboy (Color)

;GameBoy Advance

;SuperGrafx

;Neo Geo Pocket (Color)

;WonderSwan (Color)

;NES

;Atari Lynx

else if (executable = "mednafen.exe")

{

Run, "%EmuPath%%Executable%" "%romPath%%romName%%romExtension%" -fs 1,, UseErrorLevel

}

;********************************************************************

;Zinc

else if (executable = "zinc.exe")

{

Run, %Executable% %romName%, %EmuPath%, Hide UseErrorLevel

}

;********************FAILSAFE************************

;LIST OF EMULATORS THAT WORK WITH THIS SCRIPT:

;NEORAINE32.EXE - NEO GEO CD, HANDY - ATARI LYNX, BGB - GAMEBOY, GAMBETTE_QT.EXE - GAME BOY, FCEUX - NES, NESTERJ - NES, ROCKNES - NES, VIRTUANES - NES, MEKAW - MULTIPLE SEGA SYSTEMS, VBSMS+ - MULTIPLE SEGA SYSTEMS, BSNES - SNES, SNES9K (2 VERSIONS)- SNES, SNEESW - SNES, NOSTALGIA - INTELLIVISION, OOTAKE - TURBOGRAFX 16, BLISS - INTELLIVISION, STELLA - ATARI 2600, MAME - ARCADE, MAMEUI32 & MAMEUI64 - ARCADE, JNES - NES, SNES9X - SNES, VISUALBOYADVANCE - GAMEBOY & ADVANCE, NEOPOP - NEO GEO POCKET COLOR, PROJECT64 - N64, FREEDOWRAPPER - 3DO

else if (0=0)

{

Run, %Executable% "%romPath%%romName%%romExtension%", %EmuPath%, Hide UseErrorLevel

;fix for programs that dont use actual full screen mode

if (executable = "visualboyadvance.exe")

{

Sleep 2000

Process, Exist, %Executable%

WinSet, AlwaysOnTop, On, ahk_pid %Errorlevel%

WinSet, Top,, ahk_pid %Errorlevel%

WinActivate, ahk_pid %Errorlevel%

}

}

else

{

MsgBox,48,Error,%systemName% is an invalid System Name or %executable% isnt supported yet - possible complete failure,6

}

Process, Wait, lllll.exe

;------------------------------------------------------------------------------;

; 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.

*/

CloseProcess:

WinShow, BlackScreen

Process, Exist, %Executable%

;for emus that won't close normally

if AlternateClose = true

ControlSend, , {Esc}, %Errorlevel%

; Process, Close, %Executable%

DetectHiddenWindows, on

WinHide, ahk_pid %Errorlevel%

WinKill, ahk_pid %Errorlevel%

Sleep 6000

Process, WaitClose, %Executable%

Loop, Addons\*.*,2 ;close running addons

{

addonpath = %A_LoopFileFullPath%

Loop, %addonpath%\*.exe

{

Process, Exist, %A_LoopFileName%

Winclose, ahk_pid %Errorlevel%

}

}

Goto ExitScript

Return

ExitScript:

SystemCursor("On")

Process, Exist, Hyperspin.exe

WinShow, ahk_pid %Errorlevel%

WinActivate, ahk_pid %Errorlevel%

WinWaitActive, ahk_pid %Errorlevel%

;Process, Exist, Hyperspin.exe

;WinSet, AlwaysOnTop, On, ahk_pid %Errorlevel%

;WinActivate, ahk_pid %Errorlevel%

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

}

;CREATE BLACK BACKGROUND w/please wait

hideDesktop(){

Gui, Destroy

WinHide ahk_class Shell_TrayWnd

guiheight:=A_ScreenHeight/9*4

Gui, +toolwindow -Caption +AlwaysOnTop

Gui, Color, black

Gui, Font, S40 CWhite Underline, Verdana

Gui, Add, Text, y%guiheight% W%A_ScreenWidth% H%A_ScreenHeight% Center, Please Wait

Gui, Show, Maximize, BlackScreen

Process, Exist, Hyperspin.exe

Winhide, ahk_pid %Errorlevel%

Sleep 2000

}

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%

{

romExtension = \%RomName%.%A_LoopField%

romFound = true

break

}else{

romFound = false

}

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

Posted

there should be a hyperlaunch.log file.

that ahk is the old version of hyperlaunch. I don't have any experience with that (its not really supported anymore). u could update to the latest one. found in the hyperlaunch part of the forums (on my phone, otherwise would get link for u) the new version is a lot easier to setup then the old.

otherwise someone else that's more familiar with the old hyperlaunch might beable to help.

Posted
no i will get the new one give me a sec to go find it

take your time and read through the first post of the thread. if you follow the instructions and set it correctly.

Posted
okay i found it hyperlaunch 2.24 and i also need autohotkey L it said to uninstall the old one so let me do that i be right back

it should be hyperlaunch version 2.25c

Posted
07:56:58 PM |  HyperLaunch v2.25c
07:56:58 PM |  System Specs:
	HyperSpin Dir: F:\Hyperspin
	OS: WIN_7
	OS Language: 0409
	OS Admin Status: No
	Monitor #1 (\\.\DISPLAY1): 1920x1080 (1920x1040 work)
	HyperSpin Res: 1920x1080
	AHK Version: 1.1.07.03
07:56:58 PM |  HyperLaunch received "Nintendo Entertainment System" and "1943 - The Battle of Midway (USA)"
07:56:58 PM |  INI Keys read
07:56:58 PM |  Checking paths
07:57:04 PM |  Cannot find Rom - F:\Hyperspin\Emulators\Romfiles\Nintendo\1943 - The Battle of Midway (USA) with any provided extension

Posted

thats it right?

and my mame still works fine i had to get its module

now i have a new question how do i make a exit key for mame it would not let me exit and bbb also said to setup a exit button because it didnt have one

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...