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

Hi all,

Its the n00b again.

I have an issue that seems unique to the FBA emulator.

Outside of game ex I am able to open the emulator and press F5 to open the button map config.

Inside game EX I cant, the only key that works while FBA is running is Esc

I had a quick look on the forum but couldnt find anything.

Again thanks in advance for your continued support :)

[Emulator_11]

Enabled=True

System=Arcade

Category=Arcade

Emulator=FB Alpha

Version=0.2.97.07

Rating=

DownloadUrl=http://www.gamesdbase.com/setupwizard/emulators/download/FB%20Alpha.7z

RequiredFiles=

Website=http://www.barryharris.me.uk/

Info=FinalBurn Alpha is an arcade emulator for MC68000/Z80 based arcade games. It mostly plays Capcom games on the CPS-1 and CPS-2 boards as well as most of the Neo-Geo MVS arcade games and other miscellaneous hardware

TITLETEXT=FB Alpha

STARTPAGENAME=[Arcade] Arcade (FB Alpha)

StartPageLogo=FB Alpha

Command=fba.exe "[ROM]"

ROMFilter=

Database=

configFile=[Mapping Off] Exit (Process Close)

MAPFile=[APP]\Map Files\[Arcade] FB Alpha.map

RomPath=E:\Games\ROMs\Mame

SnapPath=E:\Games\emulated\mame\Snaps

TitlePath=E:\Games\emulated\mame\Titles

BoxPath=E:\Games\emulated\mame\Boxes

CartPath=E:\Games\emulated\mame\Cartridges

ManualPath=E:\Games\emulated\mame\Manuals

ControlPanelPath=E:\Games\emulated\mame\Controls

WorkingPath=E:\Games\emulated\fba

MapKeys=True

WaitBeforeKeys=

SendKeys=

ReplaceDash=False

ReplaceUnder=True

Capitals=False

RemoveBrackets=True

ShowDesktop=False

Debug=False

AlsoLaunch=E:\Games\Ultils\xpadder\xpadderfba.bat

OLDatZip=

LaunchBefore=

LaunchAfter=tskill.exe xpadder

ExcludedFiles=

CustomBackground=

PlayMusic=False

DontShowInfo=

PlaySelectionMusic=False

SelectionMusicFolder=

PCGame=False

GamesIn7Zips=False

PlayInScreenSaver=False

ShowMostPlayed=True

RandomMostPlayed=True

CDCheck=False

CDCheckFile=

RomsInFolders=

InstructionsPath=

TVAdPath=

MusicPath=

ImageNotFound=

UseDbName=

MergeSets=

CustomArtName1=

CustomArtPath1=

CustomArtName2=

CustomArtPath2=

CustomArtName3=

CustomArtPath3=

CustomArtName4=

CustomArtPath4=

CustomArtName5=

CustomArtPath5=

GameExtenderCustomArtPath=

GameExtenderConstants=

Regards

Posted

Hi all,

Its the n00b again.

I have an issue that seems unique to the FBA emulator.

Outside of game ex I am able to open the emulator and press F5 to open the button map config.

Inside game EX I cant, the only key that works while FBA is running is Esc

I had a quick look on the forum but couldnt find anything.

Again thanks in advance for your continued support :)

[Emulator_11]

Enabled=True

System=Arcade

Category=Arcade

Emulator=FB Alpha

Version=0.2.97.07

Rating=

DownloadUrl=http://www.gamesdbase.com/setupwizard/emulators/download/FB%20Alpha.7z

RequiredFiles=

Website=http://www.barryharris.me.uk/

Info=FinalBurn Alpha is an arcade emulator for MC68000/Z80 based arcade games. It mostly plays Capcom games on the CPS-1 and CPS-2 boards as well as most of the Neo-Geo MVS arcade games and other miscellaneous hardware

TITLETEXT=FB Alpha

STARTPAGENAME=[Arcade] Arcade (FB Alpha)

StartPageLogo=FB Alpha

Command=fba.exe "[ROM]"

ROMFilter=

Database=

configFile=[Mapping Off] Exit (Process Close)

MAPFile=[APP]\Map Files\[Arcade] FB Alpha.map

RomPath=E:\Games\ROMs\Mame

SnapPath=E:\Games\emulated\mame\Snaps

TitlePath=E:\Games\emulated\mame\Titles

BoxPath=E:\Games\emulated\mame\Boxes

CartPath=E:\Games\emulated\mame\Cartridges

ManualPath=E:\Games\emulated\mame\Manuals

ControlPanelPath=E:\Games\emulated\mame\Controls

WorkingPath=E:\Games\emulated\fba

MapKeys=True

WaitBeforeKeys=

SendKeys=

ReplaceDash=False

ReplaceUnder=True

Capitals=False

RemoveBrackets=True

ShowDesktop=False

Debug=False

AlsoLaunch=E:\Games\Ultils\xpadder\xpadderfba.bat

OLDatZip=

LaunchBefore=

LaunchAfter=tskill.exe xpadder

ExcludedFiles=

CustomBackground=

PlayMusic=False

DontShowInfo=

PlaySelectionMusic=False

SelectionMusicFolder=

PCGame=False

GamesIn7Zips=False

PlayInScreenSaver=False

ShowMostPlayed=True

RandomMostPlayed=True

CDCheck=False

CDCheckFile=

RomsInFolders=

InstructionsPath=

TVAdPath=

MusicPath=

ImageNotFound=

UseDbName=

MergeSets=

CustomArtName1=

CustomArtPath1=

CustomArtName2=

CustomArtPath2=

CustomArtName3=

CustomArtPath3=

CustomArtName4=

CustomArtPath4=

CustomArtName5=

CustomArtPath5=

GameExtenderCustomArtPath=

GameExtenderConstants=

Regards

Perhaps your xpadder profile is causing issues? Have you tested running the bat file and then running a game to see what results you get?

Posted

Thanks for the prompt response.

Yeah I just run the bat file then manually run fba and it works perfect (F5)

So far this .bat config works in other emulators so I don think the issue is there as its a copy/paste job (All I do is change the xpadder profile filename)

The thing I find odd is that Esc works (it is also mapped in my xpadder config) is F5 mapped to something that game EX uses? maybe a conflict somewhere?

Posted

Thanks for the prompt response.

Yeah I just run the bat file then manually run fba and it works perfect (F5)

So far this .bat config works in other emulators so I don think the issue is there as its a copy/paste job (All I do is change the xpadder profile filename)

The thing I find odd is that Esc works (it is also mapped in my xpadder config) is F5 mapped to something that game EX uses? maybe a conflict somewhere?

Not that I'm aware of. One thing that could maybe conflict is the use of an Advanced Config. It looks like it's using one of the standard ones but it's possible to have remapped something there. Try turning that off and see the results.

Posted

Hey fRequEnCy, could this be an issue similar to the one you helped me resolve a while back (regarding his AlsoLaunch parameter)?

[Resolved] 'Launch After' Watching Wrong Process?

Long thread, but fReq's last suggestion is what did the trick for me.

Very well could be since a bat file is being used but then I would expect the bat file not to run correctly which then the controls should still work. I just don't know in this case. LOL. Will take some troubleshooting. But thanks for that suggestion as that may be required for that bat file anyways.

Posted

Thanks for the help, I tried various scenarios and no luck (Esc still works but F5 does not)

I removed the "Also launch" command and made the

Launch before


start "" "E:\games\Ultils\xpadder\xpadder.bat"

changes, this however made no difference.

I disabled the advance emu config (Alt +F4) and still this changed nothing.

I swapped over the button maps in the xpadder profile (Key mapped to Esc that works with key mapped to F5 that dont work) that didnt change anything either.

I am super confused by this because this all works perfectly outside game ex.

Below is my .bat but there is nothing here that will affect my setup i am sure


@echo off

E:
cd games\Ultils\xpadder\
start "" xpadder.exe "E:\Games\Ultils\xpadder\fba" /M

@echo on

**UPDATE**

I just added more button maps for the xpadder config (Coin, start etc) and guess what.

They work in game EX

So there can only be to possibilities here for the F5 not working.

1 - there is a conflict somewhere for the F5 key

2 - in FBA when you press F5 a new window opens with the config options (Windows sees it as 1 window but there is 2), perhaps gameex is blocking the new window from openeing

I did try show desktop = true but that did not work.

I hope this helps you help me.

Thanks again for your help

Regards

Posted

My tests show that F5 does not work when running the emulator from fullscreen! Is this when it's not working for you? I tested from command-line as this is how GameEx would run it. When I press Alt+Enter and the emulator is windowed, then I'm able to Map Game Inputs.

Posted

Once again you sussed it :)

I just tested this and your right. in full screen mode setting the button maps is impossible.

bah.

Maybe the solution would be for me to make some sort of script that "when button XXX" is pressed Alt+Enter is sent to fba as well as F5.

The only issue I see is sending the Alt+Enter command again once the button is mapped.

I am trying to elimiate the keyboard in my setup and would like to do it all via gamepads, do you think this would be possible with AHK?

**EDIT**

I was thinking of having the ahk script run as part of the bat file. Something like


return::
send, {Altdown}{Enter}{Altup}
Sleep, 1000
send, {F5}

ESC::
{
Process, close, fba.exe
}

Basically when I press the return key, Alt+Enter gets sent followed by F5 a second later. When I exit the emulator the ahk is killed.

Thats what I am trying to achieve but my code skillz suck and it does not work, I think I have done a mistake somewhere there but cant seem to figure it out. Perhaps one of the masters can see the error of m ways :)

Posted

Well we have a few AHK scriptors here that may be able to help with your code. I myself am an AutoIt scriptor and haven't used AHK in years so am not much help there. Although I don't understand the whole point to all this. Why not just map your gamepads to the standard buttons that FBA uses and call it a day? I don't get why you want to remap the controls of each rom. Seems like too much unneeded work.

Posted

Thing is I have a lot of friends who use a variety of pads/sticks and to map a standard set for every combination would probably kill me, being able to map on the fly is the best solution for my circumstance.

Posted

o.k I sat down for a day and after a lot of stress and time I sussed it.

I know this is a simple feature but for me this allows me to use a wireless xbox 360 pad to control every function on my box. One of the biggest issues with having 40k + games over 30+ emulators is the button maps for the varying controllers, I have a lot of friends who I play with a lot (Especially on the MAME/FBA/SNES/Dreamcast/PS2 emus) and they all have different models of pads and sticks.

instead of trying to match a config system that fits all I thought it would be better to simply press a button on my wireless master device/remote and the config menu for ANY emulator opens.

So for FBA this is what I have done.

in advance config


Also Launch: E:\games\Ultils\xpadder\xpadder.bat

The .bat contains


@echo off

E:
cd games\Ultils\xpadder\
start "" xpadder.exe "E:\Games\Ultils\xpadder\fba" /M

c:
cd\
cd Program Files\AutoHotkey
start "" autohotkey.exe "E:\Games\Ultils\Scripts\fbaconfig.ahk"

@echo on

That opens my xpadder profile for the master wireless remote/pad and launches the autohotkey script that maps the commands to open the config window for this specific emulator.

contents of fbaconfig.ahk


m::
send, {Altdown}{Enter}{Altup}
sleep, 1000
send, {F5}
return


ESC::
Run, tskill autohotkey

Notice, pressing ESC will kill the ahk script, I also have in advance config


Launch After: tskill.exe xpadder

In my xpadder profile for this, ESC is mapped, so once I press the mapped button both xpadder and AHK is killed, putting everyhting back to normal.

This probably wont be of use to most but if it helps at least 1 person it was worth it :)

You can mark this as [RESOLVED].

Thanks again for your input.

Posted

Marked as [RESOLVED] as requested (something the OP can do as well)! Glad you got it all sorted out. Awesome that you put in the time and figured it out on your own. ;)

Guest
This topic is now closed to further replies.
×
×
  • Create New...