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

@echo off

cd e:\xpad\xpadder_gamepad_profiler

start xpadder.exe

cd e:\xpad\xpadder_gamepad_profiler

start JB.xpadderprofiles

cd e:games\activistion\quantum of solace

start JB_launher_s

hello- xpadder opens then it says can't cant find jb.xpadderprofile and it cant find jb_launcher_s been trying all day to get it to work need some help i just got JB.xpadderprofiles to start now i need to get the game to start

this is what my bat file is now

@echo off

cd e:\xpad\xpadder_gamepad_profiler

start xpadder.exe

ping 1.1.1.1 -n 3 -w 1000> null

e:\xpad\xpadder_gamepad_profiler\JB.xpadderprofile

e:\games\activistion\quantum_of_solace\JB_launher_s.exe

i get no errors now but game dont start

Posted

@echo off

e:\xpad\xpadder_gamepad_profiler\xpadder.exe e:\xpad\xpadder_gamepad_profiler\JB

e:games\activistion\quantum of solace\JB_launher_s.exe

does that work?

only problem with this is that once these run, Gameex will see the cmd window close and kick back to fullscreen thinking the app is closed. I would look into ahk scripts. They can be kept running until the game closes so gameex won't take over your screen when the game starts.

Posted
  On 9/7/2009 at 4:05 AM, Brian Hoffman said:

Try this, unzip it and place in your xpadder working directory.

Then double click it.

dezblack thanks for the relay but that dont work i need a delay for JB profile to load and under score's to get pass quantum

brian no luck, error on JB.xpadderprofile and system cant find file

this is what i got now

@echo off

cd e:\xpad\xpadder_gamepad_profiler

start xpadder.exe

ping 1.1.1.1 -n 1 -w 1000> null

e:\xpad\xpadder_gamepad_profiler\JB.xpadderprofile

cd e:\games\activision\quantum_of_solace

start JB_Launcher_s

and it cant find JB_Luancher_s i tried to run it in the cmd prompt and it say's not n internal or external program or batch file

Posted

I used xpadder for awhile myself. I found the command to open it and load profiles was along these lines

xpadder.exe profile1 profile2

This would open xpadder, load profile1 for the first gamepad, and load profile2 for the 2nd gamepad. My profiles were in the same directory as xpadder.exe. The main problem I ran into was with longnames/spaces. I could not use

c:\program files\xpadder\xpadder.exe profile1 profile2

I had to use

c:\progra~1\xpadder\xpadder.exe profile1 profile2

You should not need the delay to open xpadder and then load a profile. It should open with the profile loaded that you want.

With this in mind, you may need to use this to open xpadder with your profile:

e:\xpad\xpadde~1\xpadder.exe JB

As far as launcing the program, I don't see why you would need to go into the directory and then launch it. You should be able to just give a full path to the executable and have it work:

e:\games\activision\quantu~1\JB_Launcher_s.exe

Posted

I think when you use a "start" command that you must specify the working path. If you don't, I believe the new process will use the default path specified in the system files. I could be wrong though...

Posted
  On 9/7/2009 at 4:30 PM, dezblack said:

I used xpadder for awhile myself. I found the command to open it and load profiles was along these lines

xpadder.exe profile1 profile2

This would open xpadder, load profile1 for the first gamepad, and load profile2 for the 2nd gamepad. My profiles were in the same directory as xpadder.exe. The main problem I ran into was with longnames/spaces. I could not use

c:\program files\xpadder\xpadder.exe profile1 profile2

I had to use

c:\progra~1\xpadder\xpadder.exe profile1 profile2

You should not need the delay to open xpadder and then load a profile. It should open with the profile loaded that you want.

With this in mind, you may need to use this to open xpadder with your profile:

e:\xpad\xpadde~1\xpadder.exe JB

As far as launcing the program, I don't see why you would need to go into the directory and then launch it. You should be able to just give a full path to the executable and have it work:

e:\games\activision\quantu~1\JB_Launcher_s.exe

dezblack thank's the xpad cmd line work fine still the game wont launch but no error this time, im going to try some other game's and see if i can get them to launch

just got it to work i read some where to put under score.s were there was a space that was killing me. had to put quotes

one more thing if u dont mind a cmd line to kill xpad when exiting the game thanks for the help

Posted
  On 9/7/2009 at 6:08 PM, dreamer said:

dezblack thank's the xpad cmd line work fine still the game wont launch but no error this time, im going to try some other game's and see if i can get them to launch

just got it to work i read some where to put under score.s were there was a space that was killing me. had to put quotes

one more thing if u dont mind a cmd line to kill xpad when exiting the game thanks for the help

Well that's not gonna be handled by a single bat file very easily. AHK would be able to do that for you however.

AHK can open your xpadder, run the app and then wait for the app to close then close xpadder and then end the script. Gameex sees the ahk script as the actual running app and will not cut back to gameex until the script has completed.

here's a sample script that runs a bat file (like the one you just wrote =)),sends an enter key to a launcher window which runs the app, waits for the app to close and then closes the script. You could very easily add a line to close xpadder as well. I just left xpadder running at all times and used scripts, or Gameex's run before/after commands to keep changing the profiles when needed.

#NoEnv

SendMode Input

run thotd.bat

winwait The House of The Dead Auto Run

send {ENTER}

Sleep, 4000

WinWaitClose, The House Of The Dead

return

ExitApp

Posted
  On 9/7/2009 at 11:26 PM, dezblack said:

Well that's not gonna be handled by a single bat file very easily. AHK would be able to do that for you however.

AHK can open your xpadder, run the app and then wait for the app to close then close xpadder and then end the script. Gameex sees the ahk script as the actual running app and will not cut back to gameex until the script has completed.

here's a sample script that runs a bat file (like the one you just wrote =)),sends an enter key to a launcher window which runs the app, waits for the app to close and then closes the script. You could very easily add a line to close xpadder as well. I just left xpadder running at all times and used scripts, or Gameex's run before/after commands to keep changing the profiles when needed.

#NoEnv

SendMode Input

run thotd.bat

winwait The House of The Dead Auto Run

send {ENTER}

Sleep, 4000

WinWaitClose, The House Of The Dead

return

ExitApp

i got it to work

@echo off

cd e:\xpad\xpadder_gamepad_profiler

start xpadder.exe

ping 1.1.1.1 -n 1 -w 1000> null

e:\xpad\xpadder_gamepad_profiler\JB.xpadderprofile

e:"\games\activision\quantum of solace\JB_Launcher_s"

start taskkill /f /im xpadder.exe

exit

it works in side of gameex so far

Dezblack i just learned how to write a bat file so when i look at the ahk script im just lost

thanks for your help

Posted

If you need to wait for a given time, you can use the sleep command. It's not available by default in XP, but it's a free power tool as I recall. The command is just "sleep <time>", so it's pretty easy to instantiate. I prefer it over pinging, but they both work. Btw, if you are going to use ping, you should ping your local host (127.0.0.1) rather than an outside system (http://www.ip-adress.com/whois/1.1.1.1).

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