Jump to content

All my products and services are free. All my costs are met by donations I receive from my users. If you enjoy using any of my products, please donate to support me. My bare hosting costs are currently not met so please consider donating by either clicking this text or the Patreon link on the right.

Patreon

Recommended Posts

Posted

I am having trouble getting bsnes to launch correctly. When I launch a game, focus returns to gameex but I can still hear the emulator running in the background. I can quit gameex and bsnes is still running. It seems that gameex is not recognizing that the emulator launched.

Any ideas?

[Emulator_2]
Enabled=True
System=Nintendo SNES
Category=Console
Emulator=BSNES
Version=0.057
Rating=
DownloadUrl=http://www.gamesdbase.com/setupwizard/emulators/download/bsnes.7z
RequiredFiles=
Website=http://byuu.org/bsnes/
Info=Super Nintendo that claims to be 100 percent accurate.
TITLETEXT=Nintendo SNES
STARTPAGENAME=Nintendo SNES
StartPageLogo=Nintendo SNES
Command=bsnes.exe "[ROMPATH]\[ROMFILE]"
ROMFilter=
Database=[Console] Nintendo SNES
configFile=[Mapping Off] Exit (Process Close)
MAPFile=
RomPath=C:\Emulators\Nintendo SNES\Roms
SnapPath=C:\Emulators\Nintendo SNES\Snaps
TitlePath=C:\Emulators\Nintendo SNES\Titles
BoxPath=C:\Emulators\Nintendo SNES\Boxes
CartPath=C:\Emulators\Nintendo SNES\Cartridges
ManualPath=C:\Emulators\Nintendo SNES\Manuals
ControlPanelPath=C:\Emulators\Nintendo SNES\Controls
WorkingPath=C:\Emulators\Nintendo SNES
MapKeys=True
WaitBeforeKeys=
SendKeys=
ReplaceDash=False
ReplaceUnder=True
Capitals=False
RemoveBrackets=True
ShowDesktop=True
Debug=False
AlsoLaunch=
OLDatZip=
LaunchBefore=
LaunchAfter=
ExcludedFiles=
CustomBackground=
PlayMusic=False
DontShowInfo=
PlaySelectionMusic=False
SelectionMusicFolder=
PCGame=False
GamesIn7Zips=False
PlayInScreenSaver=False
ShowMostPlayed=True
RandomMostPlayed=True
CDCheck=False
CDCheckFile=
RomsInFolders=
InstructionsPath=
UseDbName=
MergeSets=
CustomArtName1=
CustomArtPath1=
CustomArtName2=
CustomArtPath2=
CustomArtName3=
CustomArtPath3=

Posted

The "runitgame.bat" file works properly outside of gameex. I have tried to launch in windowed and fullscreen with the same result. Gameex loads the correct game, it will display for a second, and then returns to gameex. The emulator continues to run in the background.

Posted

Just a shot in the dark here, as I don't use bsnes, but try changing the ShowDesktop to False.

Posted

Tried ShowDesktop - False, nothing changed. Any other thoughts? I'd sure like to get bsnes working in gameex. I find it to be the most accurate snes emulator for both visuals and sound by far. It would be tough for me to go back to zsnes or snes9x.

Thanks for the reply

Posted

Tried ShowDesktop - False, nothing changed. Any other thoughts? I'd sure like to get bsnes working in gameex. I find it to be the most accurate snes emulator for both visuals and sound by far. It would be tough for me to go back to zsnes or snes9x.

Thanks for the reply

ShowDesktop will need to be set to True for this emulator because of it's design. As for it not keeping focus, it's also because of the way the emulator is designed. To show you what's going on, run the emulator and then start task manager. You'll notice that bsnes.exe is not in the process list. Instead the profile dll will be in the process list (i.e. bsnes-accuracy.dll, bsnes-compatibility.dll, or bsnes-performance.dll) depending on which profile you're using. So since GameEx doesn't see bsnes.exe it thinks it closed which is why it takes back focus. I thought maybe an advanced config might work but I'm not sure it works with dll files. I tested and it wouldn't work. I'll have to verify that from Tom. Only other solution would be to create a wrapper for this emulator.

Posted

Awesome explanation! You were right about the bsnes-performance.dll in the process list. I read on the bsnes forums that you can rename bsnes-performance.dll to bsnes-performance.exe and run it directly in performance mode. When you do this it shows up as bsnes-performance.exe in the process list. I did this and used the commandline

bsnes-performance.exe "[ROMPATH]\[ROMFILE]"

Like you said, I had to switch

ShowDesktop=True

Everything works perfectly now!

Anyways, thanks for your help fRequEnCy. Much appreciated.

Posted (edited)

Awesome explanation! You were right about the bsnes-performance.dll in the process list. I read on the bsnes forums that you can rename bsnes-performance.dll to bsnes-performance.exe and run it directly in performance mode. When you do this it shows up as bsnes-performance.exe in the process list. I did this and used the commandline

bsnes-performance.exe "[ROMPATH]\[ROMFILE]"

Like you said, I had to switch

ShowDesktop=True

Everything works perfectly now!

Anyways, thanks for your help fRequEnCy. Much appreciated.

Good deal. Glad you got it sorted out. Thanks for the fix for other users. I didn't have time to look more into it. But at least we narrowed it down to why it wasn't working at first.

Edited by Draco1962
This thread is now closed. If the problem re-occurs, please start a new thread.
Guest
This topic is now closed to further replies.
×
×
  • Create New...