Jump to content
  • Announcement

    The HyperSpin 2 early access beta is here!

    We’re starting the first public testing phase with Platinum Members to keep the scope manageable while we test the current feature set and begin to add more. In the future, we’ll provide a version for basic members as well.  On behalf of the entire HyperSpin team, we look forward to another exciting adventure with our community.

How to use Xpadder with Hyperspin


dustind900

Recommended Posts

Posted

Ok it took me forever to figure this out. Couldn't find much in the forums. In my opinion the easiest way to use xpadder is to place the xpadder.exe in the folder of every emulator you want it use it with (not many need it). Make sure xpadder.exe is in the root folder of your emulator. Open each xpadder.exe and create profiles that match the control settings you want to use for that system. Once you are done with that create a shortcut to xpadder.exe in the same folder. Dont be fooled when you make the shortcut it will show xpadder.exe but the actual file is xpadder.exe.lnk. Rename the file to xpadderExit.lnk Now right click on the shortcut and go to properties. Click the shortcut tab and edit the target to show -

"DriveLetter:\Hyperspin\Emulators\Atari Jaguar\Project Tempest 0.95\Xpadder.exe" /C. (whatever path you use)

The "" and the /C are necessary. Click apply then ok. Now you need to edit your Hyperlaunch.ahk. Right click and open HyperLaunch.ahk with notepad or notepad++ either will work. Here is an example of what it should look like -

;**********************************ATARI JAGUAR***********************************

else if (systemName = "Atari Jaguar" && executable = "PT.exe")

{

hideDesktop()

Hotkey, %exitEmulatorKey%, CloseProcess

Run, "%EmuPath%%Executable%",,Hide UseErrorLevel

Run, "%EmuPath%Xpadder.exe"

DetectHiddenWindows, on

sleep, 500

WinActivate, Project Tempest

WinWait, Project Tempest,

Send, {ALTDOWN}{ALTUP}fo

WinWait, Open ROM File,

IfWinNotActive, Open ROM File, , WinActivate, Open ROM File,

WinWaitActive, Open ROM File,

sleep, 500

clipboard=

clipboard=%romPath%%romName%%romExtension%

ClipWait

Sleep,100

Send,^v

Sleep,100

send, {ENTER}

WinWait, Project Tempest,

IfWinNotActive, Project Tempest, , WinActivate, Project Tempest,

WinWaitActive, Project Tempest,

Process, WaitClose, PT.exe

Run, "%EmuPath%XpadderExit.lnk"

WinActivate, HyperSpin

}

Put this line directly under the line that launches your emulator -

Run, "%EmuPath%Xpadder.exe"

Put this line under the line that closes your emulator -

Run, "%EmuPath%XpadderExit.lnk"

And it usually helps to add - WinActivate, HyperSpin - to the end

Just trying to do - Process, Close, xpadder.exe - wont work because it doesnt close xpadder properly. Last thing is to save the hyperlaunch.ahk then right click on it and compile (only works with AutoHotkey installed).

Well i know this is probably all jumbled (i was never good at writing) but if you look at the example and follow what i said it should work perfect. Make sure to do this individually with all emulators you want to use xpadder with

  • 1 year later...
Posted

errrr, why not just one xpadder profile across the board for all emulators, and have xpadder boot with with windows? That is what I'm doing and I have no problem at all.

Posted
lol errrrrr because I want to run just one emu with it.

What would it matter? just don't pick up the controller...this script seems pretty redundant. i use xpadder for 3 emus only, the rest of my emus run off the arcade control panel. xpadder starts with windows and i never even know its there, why would you need to keep opening it and exiting it?

Posted

Instead of copying exe to every folder create xpadderprofiles so it loads blank on exit.

Run, "%EmuPath%profile1.xpadderprofile"

Run, "%EmuPath%Blank.xpadderprofile"

works for me , cheers

Posted

I have a question, I have 29 of my 30 systems running great with xpadder, however, I found out ssf.exe for saturn you cannot change the keyboard default buttons for ssf..from what I read, if this true...how can I incorporate an independent xpadder profile that is setup just for ssf? is this possible?, or do I need to change the other 29 systems to just match the un fudgable ssf default keys and say F it?

Please let me know someone if you have any ideas :)

Posted

horseyhorsey - you are making it harder then it has to be. have fun with that.

sparky1821 - my version of SSF has a redefine controls option right in the menu. SSF 0.12 beta R3 was released Jan 12th and works with the hyperlaunch 2.0 ssf module.

Posted

If you guys are able to make use of xpadder w/o it being incorporated into hyperlaunch itself, what good would it do if it was? How would that make your life easier?

Posted
If you guys are able to make use of xpadder w/o it being incorporated into hyperlaunch itself, what good would it do if it was? How would that make your life easier?

The only time I've needed to incorporate Xpadder in my modules is when I need to switch profiles on the fly. Even then, you don't really NEED to switch profiles. I was just doing it the lazy way because I didn't want to remap my buttons since some weren't compatible layouts for certain emulators.

Posted

you can switch profiles without scripting

you just program xpadder - when one exe is active use one profile, otherwise use other profile

Posted

So basically those who asked to incorporate xpadder into hyperlaunch just don't understand how to use xpadder or too lazy to set it up?

I think there were the few cases where someone wants different profiles for the same emulator, which might be a different story.

Posted
horseyhorsey - you are making it harder then it has to be. have fun with that.

Sorry mate I dunno what you're on about or what your problem is with how I go about my config.

Even if I want to just run one emulator with xpadder all I have to do is create mapping in the emus directory with a blank profile and add them 2 lines of code into whatever the emulator ahk is. When "x" emulator opens mapping it defaults to blank mapping on exit. Which takes all of a couple of minutes. How hard is that?

Posted
So basically those who asked to incorporate xpadder into hyperlaunch just don't understand how to use xpadder or too lazy to set it up?

I think there were the few cases where someone wants different profiles for the same emulator, which might be a different story.

yup, that could be a good reason to write it in ahk - for example spectrum games - when every game has different keys

for me going strictly to ahk and loading and unloading xpadder with each emu is not even an option - cause i need it in hyperspin menus also

i have 4 gamepads and they are all mapped to up and down arrows for scrolling through games - hyperspin config supports only 2 gamepads, and even on that two for some reason pad buttons don't work for up and down

Posted
yup, that could be a good reason to write it in ahk - for example spectrum games - when every game has different keys

Pretty much , you got it. Speccy , Amstrad, Atari ST , Vic20 , Amiga & Pinball.

My version of xpadder doesn't seem to have any option to do that is why I havn't seen that, but does that way even know when you've finished with said profile? Exit emulator back into hyperspin and xpadder knows i've closed it?

Either way this is more than good enough for me. For not only the fact my mappings are stored inside the emus directory rather than say my documents and if I happen to switch comp/system , saves alot of grief. Easier to migrate.

for me going strictly to ahk and loading and unloading xpadder with each emu is not even an option - cause i need it in hyperspin menus also

Well you have your hyperspin profile as default on loading windows. Exit emu loads that default.

Doesn't matter though I wasn't even trying to say whats better or whats not. It's a personal preference and I'm happy with what I have now.

Posted
Chill djvj! Chill!

A lot of people come here with questions and don't know every workaround.

This isnt a work around, its redundant just setup xpadder as blur and yourself said. This script only makes since to use as a per game method as dj said. For the record, I dont think he was getting very uppity at all, not sure why he needs to chill, I think he is just trying to understand the reason for the script so he could help out

Sent from my LS670 using Tapatalk

Posted

My reason for incorporating xpadder into the modules is because I use different controllers on my system. A hard wired set of snes controllers and the wireless xbox controllers, mostly. Xpadder recognizes which contoller I have plugged in at the time and runs the appropriate profile. As for using it to control the HS menu, instead of exiting xpadder when an emulator closes I just load a profile with the HSmenu keys bound. Works great and I can swap controllers on the fly. Took 10mins to set up 15 or so systems and its rigged to work with my snes,n64,psx,and xbox controllers and I never have to worry about it.

All this might be redundant on a cabinet where the control panel is the only input device. But on my snesPC I use several different controllers and it works seamlessly.

Posted
you can switch profiles without scripting

you just program xpadder - when one exe is active use one profile, otherwise use other profile

Ok cool, it sounds like the solution I need, but how do I do this?, bear with me, I've only been working with xpadder for a week or so

So I guess what I'm saying is...my "profile 2" on xpadder is specific to ssf...how do I get that profile to fire up right when ssf launches?

Thanks

Posted

In the xpadder settings there's an option called autoprofile. Choose your profile then assign an exe to "watch". Every time you launch the selected exe that profile will be loaded. If u need xpadder to revert to another profile on exit then u can just add that to your .ahk right underneath the code that exits your emulator.

edit:

Just noticed it looks like you can just choose a default profile that xpadder will revert to once you close the exe.

hope that helps

Posted

I don't have a version with that in but it doesn't matter now.

It would of been easier for someone to mention it in the first place instead of asking questions and let me try to work a way around it. Seems to be how it works around here.

Posted

That's typically how you troubleshoot things horsey. In order to get help properly, the person helping you has to know exactly what you are doing and what you are trying to do. If you want erroneous advice, then you have a better chance of getting it when someone who is helping you who didn't ask many questions before giving said advice.

Posted

It would of been easier for someone to mention it in the first place instead of asking questions and let me try to work a way around it. Seems to be how it works around here.

When I asked why you weren't using a universal profile it was because I was suggesting it might be easier, not criticizing your method. That is considered help. Instead you responded like an ass. So you get what you give.

  • 1 year later...
Posted
What would it matter? just don't pick up the controller...this script seems pretty redundant. i use xpadder for 3 emus only, the rest of my emus run off the arcade control panel. xpadder starts with windows and i never even know its there, why would you need to keep opening it and exiting it?

Have you thought about what would happen if you configured it to control the stylus of DeSmuME?

  • 3 months later...
Posted

Hey can anyone help me with this please?

So i want to use xpadder (with 360 controller). I have setup a Hyperspin profile which works fine.

I have also created a mame profile that, if i edit in HLHQ has all my buttons mapped out correctly (it also tests fine). However when i load mame from HS it isnt loading my mame xpadder profile. If i do a button config mame is just seeing my joystick as a joystick and not as xpadder.

If i exit mame, my programmed escape key still works, however if i map a key in mame it is not the same as xpadder. For instance button A on controller is set to keyboard Return. So in mame i would expect button A to come up as Return, but it comes up as Joy Button 1 (or whatever number).

I know a lot of people like to use one default xpadder profile but i would like individual profiles as i would like to map the mouse for amiga emulation.

Any help please?

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...