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

Recommended Posts

Posted

Ok so im trying to get xpadder to launch with my pc games and close when i exit them. I just use the same profile with each game so i dont need it to load different profiles or anything like that. Heres my config...

[Emulator_13]

Enabled=True

STARTPAGENAME=PC Games

TITLETEXT=PC Games

WorkingPath=C:\Documents and Settings\MES1\My Documents\PC Games Shortcuts

RomPath=C:\Documents and Settings\MES1\My Documents\PC Games Shortcuts

ROMFilter=*.lnk

Command=""[ROMPath]\[RomFile]""

LaunchBefore=C:\Program Files\Xpadder5-1\Xpadder.exe

LaunchAfter=C:\Program Files\Xpadder5-1\Xpadder.exe -c

lastgame=

When i launch a pc game in game ex the game loads but not xpadder?

Thanks alot anyone that can help!

Posted
Ok so im trying to get xpadder to launch with my pc games and close when i exit them. I just use the same profile with each game so i dont need it to load different profiles or anything like that. Heres my config...

[Emulator_13]

Enabled=True

STARTPAGENAME=PC Games

TITLETEXT=PC Games

WorkingPath=C:\Documents and Settings\MES1\My Documents\PC Games Shortcuts

RomPath=C:\Documents and Settings\MES1\My Documents\PC Games Shortcuts

ROMFilter=*.lnk

Command=""[ROMPath]\[RomFile]""

LaunchBefore=C:\Program Files\Xpadder5-1\Xpadder.exe

LaunchAfter=C:\Program Files\Xpadder5-1\Xpadder.exe -c

lastgame=

When i launch a pc game in game ex the game loads but not xpadder?

Thanks alot anyone that can help!

Try using your path in 'Launch Also' instead of 'Launch Before'. I know it's counter-intuitive but Launch Also seems to work better. Also, when you have a space in your path I think you need to use quotes before the executable. I launch mine from a batch file but it's similar, sample below.

@echo off

start /d "C:\Program Files\Xpadder" Xpadder.exe dcp2 dcp1 p1 p2

exit

The start /d part is for Vista but see where the quotes are? If you don't have a space in your path like you do between Program_Files the quotes aren't necessary.

Also note that you can tell Xpadder which profiles you want assigned to your joysticks by naming them in order after xpadder.exe. For example, in the above I have 4 joysticks hooked up to my machine and when I launch Xpadder I want it to assign the profile named dcp2 to joy1, dcp1 to joy2, p1 to joy3 and p2 to joy4.

Hope that helps.

Posted
Try using your path in 'Launch Also' instead of 'Launch Before'. I know it's counter-intuitive but Launch Also seems to work better. Also, when you have a space in your path I think you need to use quotes before the executable. I launch mine from a batch file but it's similar, sample below.

@echo off

start /d "C:\Program Files\Xpadder" Xpadder.exe dcp2 dcp1 p1 p2

exit

The start /d part is for Vista but see where the quotes are? If you don't have a space in your path like you do between Program_Files the quotes aren't necessary.

Also note that you can tell Xpadder which profiles you want assigned to your joysticks by naming them in order after xpadder.exe. For example, in the above I have 4 joysticks hooked up to my machine and when I launch Xpadder I want it to assign the profile named dcp2 to joy1, dcp1 to joy2, p1 to joy3 and p2 to joy4.

Hope that helps.

How do i do bat files? Just make a text and name it .bat? And where do i put that in gameex? In the launch also? And when i exit the pc game will this bat close xpadder also?

Posted

Add quotes... you have

LaunchBefore=C:\Program Files\Xpadder5-1\Xpadder.exe

LaunchAfter=C:\Program Files\Xpadder5-1\Xpadder.exe -c

make it

LaunchBefore="C:\Program Files\Xpadder5-1\Xpadder.exe"

LaunchAfter="C:\Program Files\Xpadder5-1\Xpadder.exe" -c

MMMM KAYYYYY

Actually DOS hates spaces...

Posted
Add quotes... you have

LaunchBefore=C:\Program Files\Xpadder5-1\Xpadder.exe

LaunchAfter=C:\Program Files\Xpadder5-1\Xpadder.exe -c

make it

LaunchBefore="C:\Program Files\Xpadder5-1\Xpadder.exe"

LaunchAfter="C:\Program Files\Xpadder5-1\Xpadder.exe" -c

MMMM KAYYYYY

Actually DOS hates spaces...

Ok that works but now it just loads up xpadder and does not load up the game. If i close xpadder its then opens the game? Oh and i deleted out the launch after line as that did not close xpadder it thought -c was a profile . And i now have it setup to launch the single profile that i want to use with all my pc games.

Posted
Ok that works but now it just loads up xpadder and does not load up the game. If i close xpadder its then opens the game? Oh and i deleted out the launch after line as that did not close xpadder it thought -c was a profile . And i now have it setup to launch the single profile that i want to use with all my pc games.

Try adding this

start /d "C:\Program Files\Xpadder5-1\Xpadder.exe"

Posted
Try adding this

start /d "C:\Program Files\Xpadder5-1\Xpadder.exe"

start /d "C:\Program Files\Xpadder5-1\Xpadder.exe" pcgames

Thats how i had it and instead of loading my xpadder profile "pcgames" it just gave me a error and said it couldnt find pcgames and xpadder did not load up. So i removed it "pcgames" and tryed it that way and then xpadder did not load at all. Without the start /d it will load up with my profile but like i said it dosent load up the game after that unless i close xpadder...

Posted
Try

cmd /c

cmd /c "C:\Program Files\Xpadder5-1\Xpadder.exe" pcgames

Just like before. Xpadder and my profile loads up then nothing happens unless i close xpadder then my game starts...

Posted
cmd /c "C:\Program Files\Xpadder5-1\Xpadder.exe" pcgames

Just like before. Xpadder and my profile loads up then nothing happens unless i close xpadder then my game starts...

Okay make a bat file with that command in it. Then make a shortcut (lnk) to that bat file.

run the SHORTCUT in the launch before using a full path

eg

"c:\my game path\myshourt cut.lnk"

Posted
Okay make a bat file with that command in it. Then make a shortcut (lnk) to that bat file.

run the SHORTCUT in the launch before using a full path

eg

"c:\my game path\myshourt cut.lnk"

Ok did all of that and this time it loaded xpadder with my proflie then nothing happened again. I closed xpadder and my game did not even load up, it just went back to gameex.

Posted
Ok did all of that and this time it loaded xpadder with my proflie then nothing happened again. I closed xpadder and my game did not even load up, it just went back to gameex.

Okay this is crazy

Can you export your config and I can take a look at the whole thing.

Posted
How do i go about doing that?

Use the "advanced Configuration" program. Keep clicking "next" until you you see the emulator/program, that you want to export (I think in your case, #13) click on that, and at the top is a button that says "export". Click on export, and save the file. Open the file, and copy and past the contents into your next post.

Posted
Ok did all of that and this time it loaded xpadder with my proflie then nothing happened again. I closed xpadder and my game did not even load up, it just went back to gameex.

I also had this problem. When you launch xpadder and a pc game from the same batchfile, the batchfile stops after executing the first line of code which launches xpadder.

If you run xpadder separately first, and then run a batchfile which launches an xpadderprofile together with the PC game, it will start normally.

I solved it by launching xpadder on gameex startup (advanced configuration -> Tweaks/Performance -> Launch on startup don't wait -> enter the following entry

C:\Emulation\Xpadder\xpadder.exe

Then you can launch PC games from a batch file, in which the first line of code launches the xpadder profile, and the second line runs the PC game .lnk.

Good luck,

Arjen

Posted
start /d "C:\Program Files\Xpadder5-1\Xpadder.exe" pcgames

Thats how i had it and instead of loading my xpadder profile "pcgames" it just gave me a error and said it couldnt find pcgames and xpadder did not load up. So i removed it "pcgames" and tryed it that way and then xpadder did not load at all. Without the start /d it will load up with my profile but like i said it dosent load up the game after that unless i close xpadder...

The .exe file has to be outside of the quotes, just the path to it should be in quotes. Make sure you're using the Launch Also instead of Launch Before. When I use Launch before, I have the same issue, it hangs up on Xpadder.

Posted
I also had this problem. When you launch xpadder and a pc game from the same batchfile, the batchfile stops after executing the first line of code which launches xpadder.

If you run xpadder separately first, and then run a batchfile which launches an xpadderprofile together with the PC game, it will start normally.

I solved it by launching xpadder on gameex startup (advanced configuration -> Tweaks/Performance -> Launch on startup don't wait -> enter the following entry

C:\Emulation\Xpadder\xpadder.exe

Then you can launch PC games from a batch file, in which the first line of code launches the xpadder profile, and the second line runs the PC game .lnk.

Good luck,

Arjen

Thanks but thats not what im looking for. That will make it so xpadder is always running with gameex and that will mess up all my controlls for my emulators that im not using xpadder for...

Posted
The .exe file has to be outside of the quotes, just the path to it should be in quotes. Make sure you're using the Launch Also instead of Launch Before. When I use Launch before, I have the same issue, it hangs up on Xpadder.

I tryed this and everytime i put anything in the also launch nothing happens. I wont launch xpadder at all?

Posted
Okay this is crazy

Can you export your config and I can take a look at the whole thing.

Well Brian this is from shaunopp's suggestion and thats why it dont have the launch before with the .bat link path, but here is my config

[Emulator_13]

Enabled=True

STARTPAGENAME=PC Games

TITLETEXT=PC Games

StartPageLogo=pcgameslogo

ROMFilter=*.lnk

RomPath=C:\Documents and Settings\MES1\My Documents\PC Games Shortcuts

SnapPath=C:\Documents and Settings\MES1\My Documents\PC Games Shortcuts\PC Games Snaps

TitlePath=

BoxPath=

CartPath=

ManualPath=

ControlPanelPath=

InstructionsPath=

WorkingPath=C:\Documents and Settings\MES1\My Documents\PC Games Shortcuts

MapKeys=

WaitBeforeKeys=

SendKeys=

ReplaceDash=

ReplaceUnder=

Capitals=

RemoveBrackets=

ShowDesktop=

Debug=

MAPFile=

AlsoLaunch="C:\Program Files\Xpadder5-1" Xpadder.exe pcgames

Command=""[ROMPath]\[RomFile]""

OLDatZip=

LaunchBefore=

LaunchAfter=

configFile=[Mapping On] Exit nullDC (Process Close)

ExcludedFiles=

CustomBackground=pc1.PNG

PlayMusic=

DontShowInfo=

PlaySelectionMusic=

SelectionMusicFolder=

PCGame=

DATABASE=

GamesIn7Zips=

PlayInScreenSaver=

ShowMostPlayed=

RandomMostPlayed=

CDCheck=

CDCheckFile=

[GENERAL]

DumbyValue=

Posted

Ok Brian yours worked! I needed to have 2 quotation marks around the path! Theres still one problem though. I need Xpadder to close when i exit my pc game. Right now it just stays open. Any ideas anyone??? Thanks alot guys!

[Emulator_13]

Enabled=True

STARTPAGENAME=PC Games

TITLETEXT=PC Games

StartPageLogo=pcgameslogo

ROMFilter=*.lnk

RomPath=C:\Documents and Settings\MES1\My Documents\PC Games Shortcuts

SnapPath=C:\Documents and Settings\MES1\My Documents\PC Games Shortcuts\PC Games Snaps

TitlePath=

BoxPath=

CartPath=

ManualPath=

ControlPanelPath=

InstructionsPath=

WorkingPath=C:\Documents and Settings\MES1\My Documents\PC Games Shortcuts

MapKeys=

WaitBeforeKeys=

SendKeys=

ReplaceDash=

ReplaceUnder=

Capitals=

RemoveBrackets=

ShowDesktop=

Debug=

MAPFile=

AlsoLaunch=

Command=""[ROMPath]\[RomFile]""

OLDatZip=

LaunchBefore=""C:\Program Files\GameEx\Bat files\xpad.lnk""

LaunchAfter=

configFile=[Mapping On] Exit nullDC (Process Close)

ExcludedFiles=

CustomBackground=pc1.PNG

PlayMusic=

DontShowInfo=

PlaySelectionMusic=

SelectionMusicFolder=

PCGame=

DATABASE=

GamesIn7Zips=

PlayInScreenSaver=

ShowMostPlayed=

RandomMostPlayed=

CDCheck=

CDCheckFile=

[GENERAL]

DumbyValue=

Posted
Thanks but thats not what im looking for. That will make it so xpadder is always running with gameex and that will mess up all my controlls for my emulators that im not using xpadder for...

Not necessarily.., I startup xpadder with a "blank" configuration file, with no buttons assigned.

When I have used a profile with a game, I reload this blank profile again via the "launch after" command.

But maybe this isn't what you are looking for ( I am aware that I don't always use the most efficient techniques, just as long as it does for me what's needed ;) )

Cheers,

Arjen

Posted
Not necessarily.., I startup xpadder with a "blank" configuration file, with no buttons assigned.

When I have used a profile with a game, I reload this blank profile again via the "launch after" command.

But maybe this isn't what you are looking for ( I am aware that I don't always use the most efficient techniques, just as long as it does for me what's needed ;) )

Cheers,

Arjen

But then i would have to make each of my pc games into its own emulator right?

Posted
But then i would have to make each of my pc games into its own emulator right?

Nope, I use one only one "emulator" for PC games.

I launch the PC games from a batchfile. The first line of the batchfile starts the appropriate xpadder profile, the second starts the .lnk.

The romfilter is *.bat and *.lnk (for those games who don't use an xpadder profile)

Does the job for me.

Regards,

Arjen

Posted
Nope, I use one only one "emulator" for PC games.

I launch the PC games from a batchfile. The first line of the batchfile starts the appropriate xpadder profile, the second starts the .lnk.

The romfilter is *.bat and *.lnk (for those games who don't use an xpadder profile)

Does the job for me.

Regards,

Arjen

ok so since all my pc games the same profile i need to make a .bat for each game right?

Posted
Nope, I use one only one "emulator" for PC games.

I launch the PC games from a batchfile. The first line of the batchfile starts the appropriate xpadder profile, the second starts the .lnk.

The romfilter is *.bat and *.lnk (for those games who don't use an xpadder profile)

Does the job for me.

Regards,

Arjen

Ok so i did this right, made a .bat file for the game GRID. It works, i loads up Xpadder with the pcgames profile i have and it loads up grid. Problem is when i exit the game xpadder stays open and untill i close it , it dosent return to game ex. I have xpadder to launch after with the profile of "blank" but that dosent load up either. gosh why is this such a pain!

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