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

Crap. That second bat was supposed to be E: not F: so change that. Lol!

Posted

Got it.thank you buddy!

Now i can play this game that is supposed to be a masterpiece,it better be after today. :)

not now though im off to bed! thanks again Adultery!

Posted

Sorry it's late and my old eyes don't see so well these days. Lol!

Posted

Maybe try creating a blank profile and using the launch bat to change it to the blank one in "launch after"?

Mine runs a blank profile when it isn't being used. I load a blank profile up when GameEx starts and run the close process when Game Ex quits. Stuff that doesn't use it doesn't change it.

Posted

the problem was I had the launch after named Mafia (2) cause it was in the same folder as the also launch bat

no problems now!

Posted

So it's working now? Sweet!

Posted

Great. Glad I could help. :)

Posted
  On 9/12/2011 at 4:43 AM, Adultery said:

Okay, try this:

In the Also Launch field, use this:

::Launch Xpadder (Mafia Profile)
:BEGIN
@echo off
::Browse to the directory
E:
cd "E:\Emulation\tools\Xpadder\"
::Begin Xpadder and Minimize the Window
start "" xpadder.exe "Mafia" /M
:END
::EoF

And in the launch after here's your close Xpadder bat:

::Close Xpadder
:BEGIN
@echo off
::Browse to the directory
E:
cd "E:\Emulation\tools\Xpadder\"
::Close Xpadder
start "" xpadder.exe /C
:END
::EoF

Create a TXT file exactly like this one and save it (best to write it out this way instead of copy/pasting it). Change the file extension to .bat

This can be trimmed way down. Using the /d switch for cd command will change to E: first so can eliminate that. Also the labels are serving no purpose here as nothing is being redirected to them.

So for instance:

::Launch Xpadder (Mafia Profile)
@echo off
::Browse to the directory
cd /D "E:\Emulation\tools\Xpadder\"
::Begin Xpadder and Minimize the Window
start "" xpadder.exe "Mafia" /M

Helps clean up a little bit and I would get use to doing it this way. It does work the way you posted but again has unneeded code in it.

I also didn't see much difference between this and my post from way earlier except for the @echo off and the comments which wouldn't have made it not work. ;)

Posted

I know this is already resolved, but I wanted to point out my approach for XPadder. I have a blank profile and one for each system I want to use XPadder with. For each system, I use the launch before to change the profile to the appropriate one (sometimes just my blank one for completeness). I also use a launch on close command that switches back to the GameEx profile. I've found that XPadder doesn't always do exactly what I want when I want with the command line stuff. As a result, the easiest thing to do is simply load it at startup and switch profiles on the fly.

This also works really nicely with my system since I have the CP and 2 Logitech rumblepads. If I were to use the CL to launch XPadder, I've found that things get out of order for some reason. As a result, the CP sometimes would be assigned the rumblepad layout. Obviously, that won't work right. I would prefer to have XPadder only loaded when needed since I hate extraneous overhead, but this works correctly and reliably, so it's what I do.

Posted

You think that's complicated you should see my Windows games bat! LOL

I use labels in my template for batch files because in some instances I use them for choices in more complex situations. Youre right though, in this case theyre not needed.

Posted
  On 9/12/2011 at 2:55 PM, bkenobi said:

I know this is already resolved, but I wanted to point out my approach for XPadder. I have a blank profile and one for each system I want to use XPadder with. For each system, I use the launch before to change the profile to the appropriate one (sometimes just my blank one for completeness). I also use a launch on close command that switches back to the GameEx profile. I've found that XPadder doesn't always do exactly what I want when I want with the command line stuff. As a result, the easiest thing to do is simply load it at startup and switch profiles on the fly.

This also works really nicely with my system since I have the CP and 2 Logitech rumblepads. If I were to use the CL to launch XPadder, I've found that things get out of order for some reason. As a result, the CP sometimes would be assigned the rumblepad layout. Obviously, that won't work right. I would prefer to have XPadder only loaded when needed since I hate extraneous overhead, but this works correctly and reliably, so it's what I do.

See the thing is I use xpadder very rarely.In fact,Mafia is the only game I have had the need to use it for since it is a 2002 game and was made for k\m.But k\m is only good if you have a monitor a few feet in front of you,and since I play games on a 50 inch LCD,using a k\m,even a wireless one just doesnt work. :)

I do appreciate the suggestion and will keep it in mind for future reference :)

Thank you to all who chimed in on the topic to help me out,this is why GameEX has the absolute BEST forum on the interwebz... :D

Posted

It's the same for me bknobi, but I use xpadder to map my GameEx controls too instead of just loading a blank profile on startup or mapping the joystick in Gameex. I use a blank profile for emus that don't use xpadder, but prefer to leave the emus controls at default keyboard settings instead of mapping joysticks.

I don't do any command line stuff in Gameex launch before, after, or also launch. Gameex is picky and bat files do the job right every time.

Posted

My GameEx profile is actually used to map both players to the same keyboard inputs so either player can pick games. If I remember correctly, I primarily use the blank profiles for the game pads when they aren't used and a blank profile for the CP when they are used.

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