View Full Version : Testing an executable
Hypnoziz
07-03-2011, 05:53 AM
I can't seem to get my test program to run in Hyperspin. I've tried everything. I started with a very simple AHK script and then resorted to bypassing Hyperlaunch altogether (since it's a PC executable), but I can't get any positive results. I tried creating a shortcut to the program and pointing the settings .ini to the .lnk shortcut of the program, but still no luck. At this point, I'm starting to wonder whether or not it's the executable itself. Everything is running from a submenu named "Extras". Here's what I've got so far:
Extras.ini
[exe info]
hyperlaunch= false
path=
rompath=Emulators\Extras\
pcgame=true
pcgameextension=exe
romextension=exe
userompath=true
pcgameparameters=
winstate= HIDDEN
searchsubfolders=true
exe=
parameters=
The program is placed in the designated folder and is named "hyperspintestfullscreen.exe". I've also got it listed in the XML database in the Extras folder. When I launch it from Hyperspin, however, it locks up Hyperspin until I alt+tab out of HS and back into it. The program itself runs in fullscreen and simply displays some text onscreen (it's just a test) when run outside of HS.
If you'd like to see the test program for yourself, I've uploaded it here:
http://www.mediafire.com/?3o9edu8qro578z5
Any help out there?
volumetric
07-03-2011, 06:21 AM
if you are launching from a shortcut, i think you will need to change your romextension from exe to lnk. Best way to run pc apps would be to set up a system with hyperlaunch disabled and pcgame = true. Then create a folder somewhere called pcgames or similar (mine is C:\hyperspin\emulators\pcgames\) make this folder your rom folder in hyperHQ, then place your shortcuts to the pc programs you are running in that folder. One thing that could trip you up, a shortcut called SF4.exe is still a link file (eg SF4.exe.lnk) so you may want to rename your shortcuts so there is no '.exe' (eg SF4.exe => SF4). The file will still be called SF4.lnk, you just wont be able to see the extension. This will limit confusion when putting databases together. Hope that helps.
Hypnoziz
07-03-2011, 06:37 AM
I'm actually attempting to launch directly from the executable. I'm not using shortcut files. I have hyperlaunch=false and pcgame=true (see above quote of my INI). Thanks for the file naming tip, however I'm familiar with file extension types. This program isn't actually a game, just a small program I whipped up to see if Hyperlaunch could run my compiled programs. They run just fine from Windows, it's just Hyperspin that won't run them. =(
chillinwater
07-03-2011, 08:17 AM
[exe info]
hyperlaunch= false
path=
rompath=Emulators\Extras\
pcgame=true
pcgameextension=exe
romextension=exe
userompath=true
pcgameparameters=
winstate= HIDDEN
searchsubfolders=true
exe=Where's the beef?
parameters=
Or I should say What's the beef?=exe file?
Hypnoziz
07-03-2011, 08:39 AM
The program is a stand-alone executable. If I input the actual name of the executable like so: "exe=hyperspintestfullscreen.exe", I still get the same result. My goal is just to get this program to run through Hyperspin. It doesn't have to be in a sub menu. It's perfectly fine if I could just get it to run off my Main Menu wheel.
And wait wait...I thought you didn't need to provide an exe in the Settings file as long as "pcgame=true" and "hyperlaunch=false"?
Hypnoziz
07-03-2011, 02:06 PM
I got it. It's finally working....YESSS!!! = And what a small oversight on my behalf...jeez.
So here's what happened:
Because I wasn't using Hyperlaunch to run the program, Hyperspin was feeding directly off this "Extras.ini" file for information about running my program. I had put in "Emulators\Extras\" as my rom path. Long story short, I needed to place the FULL directory for Hyperspin to find the game since it wasn't using Hyperlaunch (in which case, the shortened directory location would have been successful).
Thanks for the help guys. Hopefully someone else can learn from my mistake as well. Haha!
baddeolv
07-03-2011, 02:21 PM
Lol, I'm actually surprised chillinwater overlooked that. must be the surfer hair getting in the way of his vision...or possibly another factor...lol
Hypnoziz
07-03-2011, 05:34 PM
Well, sometimes you get so used to seeing the more advanced problems that you overlook the simple solutions. I'm guilty of it in this case too. =/
chillinwater
07-04-2011, 09:05 AM
Sheeeit , I did miss that.
BTW, I cant find my way out of a paper bag with advanced problems.
I only wish I could be right some of the time :D:D:D
Hypnoziz
07-04-2011, 11:06 AM
I was JUST viewing your other message and was gonna reply, but you took it out. Haha! Anyway, I was just gonna say, it's because I'm using "rompath", not the regular "path" variable. I assumed this would have Hyperspin search for the executable by using the rom name defined in the wheel's database file. My assumption was correct. And this time, I had HyperHQ create it and then I edited it.
[exe info]
path=
rompath=C:\Users\Hypnoziz\Hyperspin\Emulators\Extr as\
userompath=true
exe=
romextension=exe
parameters=
searchsubfolders=
pcgame=true
winstate=HIDDEN
hyperlaunch=false
EDIT: If you see a random space in the middle of the rompath variable, that's totally the forum's fault. There's no space there BEFORE I post it...weird.