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 becoming a contibuting member by either clicking this text or the Patreon link on the right.

Patreon

If neither of those of work for you, you can donate any amount by clicking here.

Recommended Posts

Posted

Hi All,

first post here but i guess not my last as the finalisation of my gameex-configuration is nearing its completion. Everything seems to be working great now (lots of emus and video that is), but i have an unresolved issue with both MAME as the external application StreetFighter IV. They work fine, but unlike with the other emulators it is impossible to exit via the 2players+2playerCoin option on my X-arcade. With the escape-button however, i can quit mame and(..in all fairness come to think of it..i don't know about streetfighter(got to check that out)) return to gameex smoothly. Anyone have an idea why that may be? ....i don't :(

any input, even if you're just guessing, is greatly appreciated! Thanks in advance,

cheers,

Posted

I'm not sure what this means:

  Quote
but i have an unresolved issue with both MAME as the external application StreetFighter IV

Have you only tried this one game in Mame? If that's the case, then you need to setup Mame to work with the X-arcade controller. One way to do this is to use the xarcade ctrlr file that comes with Mame. You will need to edit the mame.ini file. You will be looking for this section:

#

# CORE INPUT OPTIONS

#

coin_lockout 1

ctrlr xarcade

Just set it as I have shown, and it should work. Of course, that's just a guess.

Posted
  On 1/27/2010 at 12:16 PM, Tempest said:

I'm not sure what this means:

Have you only tried this one game in Mame? If that's the case, then you need to setup Mame to work with the X-arcade controller. One way to do this is to use the xarcade ctrlr file that comes with Mame. You will need to edit the mame.ini file. You will be looking for this section:

#

# CORE INPUT OPTIONS

#

coin_lockout 1

ctrlr xarcade

Just set it as I have shown, and it should work. Of course, that's just a guess.

hi tx for your input, and to answer your question i have tried several games and the x-arcade controller works perfectly with MAME, it's only the exiting matter that i can't grasp. However, i'm not sure if i'm right, but the 2P+2PCoin buttoncombination to exit an emulator back into game-ex is configured and controlled by game-ex yes?, not MAME i think since all emulators are exited this way and i didn't program them to....?

Posted

Do you have Mame set up as an emulator, or setup in GameEx using the 'Basic Mame Settings' Page?

If you set it up using the 'Basic Mame Settings' page, then you will need to configure the controls in Mame. If everything is working correctly, except for the exiting, then do the following.

Run Mame

Press the {Tab} key. (Mames UI Menu comes up with 'Input (general)' highlighted)

Press {Enter} ('User Interface' is highlighted)

Press {Enter}

Use the up and down arrows to scroll down to 'UI Cancel' (You can click on it with your mouse)

Press {Enter}

Press {Escape} The UI cancel is set to 'None'

Press {Enter}

Press {Escape} The UI cancel is set to 'Esc'

Press {Enter}

Press the two buttons 2P+2PCoin at the same time

You should now be able to use {Escape}, or your two button combo to exit out of the Mame Menu, and Mame.

Posted

Weird....i tried what you said what indeed seemed the most logical solution, but oddly enough i found the UICancel programmed to Both ESC and Kbd2Kbd4(the desired buttons). Then i figured to remap them for the hell of it, and strangely enough both Kbd2 and Kbd4 were "disabled"(not working). Both via the tankstick as a regular keyboard wich under normal circumstances would lead me to conclude my keyboard is broken if it weren't for the case both buttons work just fine outside MAME and on every other emulator... I'm really puzzled :?

Posted

Try running notepad, and seeing if the buttons produce 2 and 4 when pressed.

Edit: You say they work outside of Mame, so maybe you tried that already?

Posted

Have you tried running Mame on its own? If not, Run mame from GameEx, start a game in Mame, then Exit GameEx. Then, go to start menu\All Programs\GameEx\Run Last Game, and click on the icon which will start the same game in Mame without Gameex. See if the keys respond in Mame.

Posted
  On 1/27/2010 at 10:01 PM, Tempest said:

Have you tried running Mame on its own? If not, Run mame from GameEx, start a game in Mame, then Exit GameEx. Then, go to start menu\All Programs\GameEx\Run Last Game, and click on the icon which will start the same game in Mame without Gameex. See if the keys respond in Mame.

There is a setting in MAME.ini for multiple keyboard, I have a feeling with his keyboard and xarcade both plugged in MAME is only looking at one of them.

Tempest is right about UIcancel being the section you need to modify to exit mame using a button or button combo.

Exiting SFIV is anoter story, how are you launching it?

You can create a MAME.ini if you do not have one by running MAME.exe -cc at a command prompt within your mame directory.

Posted
  On 1/27/2010 at 11:57 PM, Brian Hoffman said:

There is a setting in MAME.ini for multiple keyboard, I have a feeling with his keyboard and xarcade both plugged in MAME is only looking at one of them.

Tempest is right about UIcancel being the section you need to modify to exit mame using a button or button combo.

Exiting SFIV is anoter story, how are you launching it?

You can create a MAME.ini if you do not have one by running MAME.exe -cc at a command prompt within your mame directory.

first @tempest, i tried running from MAME directly (i use MAMEUI64 however), and the same problem...like Kbd2 and Kbd4 don't exits, so at least its 100% sure a MAME related problem. After i couldn't input them anymore via keyboard i manually re-entered them in the .ini file..no results

@Brian (thanks for joining in the assistance :) )

Weird.... i'm setting up the 'multiple keyboard' through the UI of 'default game options' in MAMEUI64 and oddly enough i can use both keyboards (i have one attached at my desk and one(+X-Arcade wich seems to be linked inbetween the keyboard and the PS/2 port)) when i have 'multiple keyboards' turned off, and only my keyboard/X-arcade combo when it's turned on. Also no response from my keyboard at my desk by the way in regards to the Kbd2 and Kbd4 buttons, every other button works fine ... :?

I tried installing a fresh copy from MAMEUI64...problem persists

I have a plan B, and that is to use different keys as the X-Arcade allows various programming modes from keys to its buttons, buttt i guess i'm no different as all other emugeeks in wanting a pretty seemless experience with as little hassle as possible...so there is a plan B, but it is written with capital B if you allow me to be so whiny about it :)

As for StreetFighter IV, its a game purchased through Steam so i use the steam.exe with commandline "-applaunch 21660" and it loads up. Not as smoothly as two days ago, since i fiddled around a bit with AHK and 'Wait Before Keys Sent' in the configmenu to skip the launcher automatically with ShowDesktop turned off, but somehow that didn't work and i'm getting some troubles since then even though i put every setting back the way it was. So i'm struggling with that one, but i will fool around a bit more before again having to ask for help...again :)

I figured the problem would be solved after i turned Map Keys on since that seemed the logical problem, but somehow that didn't work either. So i'm still trying to find out how to exit from SF4 with Kbd2Kbd4 (plan A) or Escape (plan Aish).

I hope i gave all the info needed for future assistance(if willing of course), but i'll keep trying finding ways myself too and keep updates. First off i'm gonna try a different MAME-client and see if that works...

Posted

...okay quick update, tried installing the raw mame64 from mamedev and same problem...u can't think this stuff up lol, just so you know my keyboard isn't broken ..222222224444444444 :)

edit: 32bit, no different

Posted
  On 1/28/2010 at 5:12 PM, Drakendoder said:

...okay quick update, tried installing the raw mame64 from mamedev and same problem...u can't think this stuff up lol, just so you know my keyboard isn't broken ..222222224444444444 :)

edit: 32bit, no different

Are you by any chance mapping the keyboard and trying to play with the XArcade stick? If so, you are mapping your keyboard to what MAME is looking for but then trying to use the stick (a second keyboard) to play. MAME isn't looking for it, so it won't respond...maybe?

Posted

To see what out what you mean exactly...

you mean the UI config can list a key as 1 Kbd 3 (meaning keyboard 1, input 3) when X-Arcadestick would be 2 Kbd 3 right? If that is what you mean, i can clarify: i can't even give Kbd2 or Kbd4 as an input in the UI, not from any keyboard nor the X-Arcade. It just doesn't respond whatsoever, let alone that its listed but i'm unable to use it. The only way i can list it is by manually entering it in the cfg or ini-file (one of the two, don't remember), and i can view it in the UI...but i'm not able to quit on any keyboard, nor fire up a 2nd player (wich is also kbd 2)

Posted

update on street fighter IV,

i made a new external application, and with map keys on i'm able to shift back to game-ex now (as far as i know i tried the exact same thing before but then it didn't work so whatever lol) but it only works as a ALT-TAB function in the way it doesn't close streetfighter IV, it's just windowed but shifts focus to a FullScreen Game-ex. But whenever i start another game up briefly the sound of the intro blasts through the speaker just before the emulator is made active. I'm gonna google a bit for an AHK-script for this that can hopefully bypass the launcher screen as well. I'll give updates...

Posted

hmmm..i think i got a script that if tweaked about could work, unfortunately i know next to nothing about AHK after using it for less than a week now..

#NoEnv

SendMode Input

SetWorkingDir %A_ScriptDir%

Blockinput on

SetBatchLines -1

Gui +AlwaysOnTop -Caption +ToolWindow

Gui Color, 0

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

Run, SF4Launcher.exe, , Max

WinWait, STREET FIGHTER IV LAUNCHER

IfWinNotActive, STREET FIGHTER IV LAUNCHER

WinWaitActive, STREET FIGHTER IV LAUNCHER

Send, {enter}

Blockinput off

Process, WaitClose, StreetFighterIV.exe

return

ESC::

Process, Close, StreetFighterIV.exe

ExitAPP

return

Since i run steam, i guess maybe it should be altered into this?

#NoEnv

SendMode Input

SetWorkingDir %A_ScriptDir%

Blockinput on

SetBatchLines -1

Gui +AlwaysOnTop -Caption +ToolWindow

Gui Color, 0

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

Run, Steam.exe -app21660, , Max

WinWait, STREET FIGHTER IV LAUNCHER

IfWinNotActive, STREET FIGHTER IV LAUNCHER

WinWaitActive, STREET FIGHTER IV LAUNCHER

Send, {enter}

Blockinput off

Process, WaitClose, StreetFighterIV.exe

return

24::

Process, Close, StreetFighterIV.exe

sleep 1000

Process, Close, Steam.exe

ESC::

Process, Close, StreetFighterIV.exe

sleep 1000

Process, Close, Steam.exe

ExitAPP

return

???

Posted

alright! finally some progress, i think all SF4 problems are pretty much solved with this tweaked script

#NoEnv

SendMode Input

SetWorkingDir %A_ScriptDir%

Run, Steam.exe -applaunch 21660

WinWait, STREET FIGHTER IV LAUNCHER

IfWinNotActive, STREET FIGHTER IV LAUNCHER

WinWaitActive, STREET FIGHTER IV LAUNCHER

sleep 1000

Send, {enter}

return

ESC::

Process, Close, StreetFighterIV.exe

ExitAPP

return

this seems to work flawlessly :) :) :)

i probably gonna have to find a way to exit with the x-arcade as well, but this is all mapped through some program (joy2keyish, only other way around i guess) since campcom lacked twoplayer support with keyboard only but i'll work that out later so i don't foresee a problem with that. COOL!

Posted

Regarding Mame - I missed the fact that you were trying to use both keyboards at once. Are you using -multikeyboard in your command line?

Posted
  On 1/28/2010 at 10:55 PM, Tempest said:

If you want to exit the program using the keys 2 and 4, replace ESC:: with ~2 & ~4::

thanks, that worked :)

i tried the multiplekeyboards thingy, but as you can read above that didn't give the desired results. Today i tried making an AHK-script for this problem by reassigning 2 en 4 to respectively 'h' and 'b' whom are not used by the X-arcade, and inputting h and b into MAME:

#NoEnv

SendMode Input

SetWorkingDir %A_ScriptDir%

2:: Send {h}

4:: Send {b}

~2 & ~4::

Process, Close, MAMEUI64.exe

exitAPP

return

ESC::

Process, Close, MAMEUI64.exe

exitAPP

return

except for the exiting part that didn't work either. Strangely when i opened up a new textfile to see if 2 and 4 responded to h and b accordingly, 2 kept coming out as '2h' where 4 gave me a nice single b. I don't know why. So knowing the 4 at least worked properly i tried using that as the 2 player-button...and failed. Pressing b on the keyboard worked perfectly. Mame doesn't like ahk as it seems :(

i gladly take more advice, but feel free to call it a day with this problem...god knows im fed up with it :)

Posted

You are correct, you can't use AHK with Mame, unless you compile your own custom version of Mame.

I don't mind pursing this, if you don't. I'm curious as to what's going on. If you want to continue, Zip up and post your GameEx.ini, Mame.ini, and Mame\cfg\default.cfg. If you are using a ctrlr file, include that too. (Make sure that everything is setup as you think it should be.)

So far as the 2h thing goes, it's because one hotkey is firing another. In the line I gave you, ~2 & ~4:: the ~ symbol means that in addition to whatever you assign the key to, the 2 key is sent as well. The reason I did it that way, was because I thought that you would want keep the original purpose of the buttons (P2 Start, P2 Credit), in addition to the combination. So when you press 2, AHK passes the 2, and that 2 fires the hotkey 2::Send h. Does that make sense?

Posted
  On 1/29/2010 at 7:39 PM, Tempest said:

You are correct, you can't use AHK with Mame, unless you compile your own custom version of Mame.

I don't mind pursing this, if you don't. I'm curious as to what's going on. If you want to continue, Zip up and post your GameEx.ini, Mame.ini, and Mame\cfg\default.cfg. If you are using a ctrlr file, include that too. (Make sure that everything is setup as you think it should be.)

So far as the 2h thing goes, it's because one hotkey is firing another. In the line I gave you, ~2 & ~4:: the ~ symbol means that in addition to whatever you assign the key to, the 2 key is sent as well. The reason I did it that way, was because I thought that you would want keep the original purpose of the buttons (P2 Start, P2 Credit), in addition to the combination. So when you press 2, AHK passes the 2, and that 2 fires the hotkey 2::Send h. Does that make sense?

hey tempest, thanks for sticking around! :) thanks also for the tips with AHK, i'm new with it and honestly not really interested in it anymore beyond getting my emulators running. So i try to cut corners with a copy-paste mentality without really knowing what each individual sign means. But thats hardly the way to go in any aspect of life, and this isn't an exception lol

attached is the configs.zip with the files you requested. mame.ini is mamext.ini though since i use mamext64 now, i figured these were identical in its purpose? To avoid confusion if some directories are mentioned in the configs, the files are still located in a MAMEUI64 folder. I run 64-bit Windows 7 if that helps. I hope you can find something, because honestly i am clueless at this point. No more tricks up this sleeve :(

configs.zip

Posted

The MameXt.ini contains settings for the GUI MameXt. In the mamext folder there should be a mame.ini file. It's been awhile since I used anything other than just plain Mame, but the Mame.ini file might be in the MameXt\Ini folder.

Posted

IMPORTANT UPDATE:

the problem must be outside MAME, since StreetFighter IV has the same issue. Somehow i couldn't fire up a second player anymore unlike a while ago, and was working on that till i tried reassigning the 2 to a 5 as the 2playerStart Button. It worked again, so now i am really puzzled what the f is going on. Of course i tried 4 as well, and it didn't work either. Mind you, SF4 worked handsomely at least untill 3 weeks ago when i played it (didn't play again untill this week). that 22222 and 44444 work is without a doubt. I'm kinda inclined to think some random windowsupdate has created this crazy bug, because my PC is virusfree as far as AVG knows. If you want to, we keep on trying but otherwise i think i'm just best off reassigning all my emulators to a 2nd program mode, i just wouldn't know if its possible to reassigning game-ex the same way?

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