Jump to content
  • Announcement

    The HyperSpin 2 early access 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.

D-Fend Launch Issues


Tron0091

Recommended Posts

Posted

Hi all,

I have successfully got D-Fend smoothly running DosBox and all the games. I am now attempting to run through Hyperspin. I have tried to follow some of the similar related posts with no luck.:banghead:

Here is my .ini file and my ahk file which I have adopted from previous posts:

I have tried a few alternatives all with no luck:

- placing a blank text file in the rompath with the subfolder game name

- changing extension from lnk to zip and ziping the subfolder games

- hyperlaunch to false

I am sure there is something simple I am missing.

ini file

**************************************************************

[exe info]

path=C:\Program Files (x86)\D-Fend Reloaded\

rompath=C:\Users\michael\D-Fend Reloaded\VirtualHD\

userompath=true

exe=DFend.exe

romextension=lnk

parameters=

searchsubfolders=true

pcgame=true

winstate=normal

hyperlaunch=true

Per_Game_Modules=false

******************************************************************

ahk file

******************************************************************

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

; DosBox

; by Neil Kalman

; Based on MAME .143 by BBB & djvj

;

;

; Notes:

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

GUI_ID := FadeInStart()

txtPath := romPath . romName . ".txt" ; get the full path for the .txt file

realPath :=

configPath := 1

FileReadLine, realPath, %txtPath%, 1 ; get the full path of the game executable

FileReadLine, configPath, %txtPath%, 2 ; get the full path of the game dosbox config file if exists

if configPath = 1 ; if there isn't a config file

Run, %executable% %realPath% -exit -noconsole, %emuPath%, Hide UseErrorLevel

else ; if there is :-)

Run, %executable% %realPath% -exit -noconsole -conf %configPath%, %emuPath%, Hide UseErrorLevel

If(ErrorLevel != 0){

If (ErrorLevel = 1){

Error = Failed Validity

}Else If(ErrorLevel = 2){

Error = Missing Files

}Else If(ErrorLevel = 3){

Error = Fatal Error

}Else If(ErrorLevel = 4){

Error = Device Error

}Else If(ErrorLevel = 5){

Error = Game Does Not Exist

}Else If(ErrorLevel = 6){

Error = Invalid Config

}Else If(ErrorLevel = 7 || ErrorLevel = 8 || ErrorLevel = 9){

Error = Identification Error

}Else{

Error = Mame Error

}

MsgBox Mame Error - %Error%

}

WinWait, DOSBox

WinWaitActive, DOSBox

GUI_ID2 := FadeInExit()

Process, WaitClose, %executable%

GUI_ID4 := FadeOutExit()

WinActivate, Hyperspin

ExitApp

CloseProcess:

GUI_ID3 := FadeOutStart()

WinClose, DOSBox

Return

***************************************************************************

Posted

I have a Dfend.ahk that was with hyperlaunch. Set up all the stuff in hyperlaunch, saved all the dfend conf and prof files into the Dfend subfolder of Confs, and did the text file and .zip file like you have in my MS-DOS folder within my hyperspin ROMS directory; voila, everything works. Hopefully you just need to use the dfend module/emulator in hyperlaunch?

Archived

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

×
×
  • Create New...