Jump to content

Aimtrak and PCSX2


startreker

Recommended Posts

Posted

I'm trying to configure my aimtrak to work with the Playstation 2 emulator PCSX2 (haven't tried the other PS2 emulator yet) and having some problems. I was able to get the gun firing piece working by using the nuvee plugin but I can't get the left or right buttons mapped to the A and B of the controller. I also tried having it setup so I could use either my keyboard or the xbox 360 controller press the buttons so I can get past calibration screen. Any help with this issue would be great.

Trying a few things out, I also attempted to see if I could put the aimtrak into guncon mode but I couldn't get the guncon drivers I found to work with it and Windows 7 x64. I played a couple of them on the PS2 itself but the guncon2 emulation on the PS2 itself only works on certain games. I figured if I could get it to work in PCSX2 it will work on all of them. Thanks in advance for any help.

Posted

I got the gun to work with the nuvee plugin but I can't seem to get the "A" button pressed at calibration time to confirmation calibration and move on with the game. I was able to get the gun to work in guncon mode and for some reason it doesn't work in mouse mode. I'm not able to get the buttons on the gun to work as A and B respectively. I tried to set it up where I could use the keyboard or the xbox 360 controller to do the A press to confirm calibration and didn't have any luck with either. Thanks in advnce for your help.

Update after trying quite a few things more I found that shooting off-screen while in calibration mode caused it to move on. Funny thing though that once I started a game and got into the game piece I'm not able to shoot off screen to reload. Any help with that would be greatly appreciated because without reloading you can't play the games long.

Posted
I got the gun to work with the nuvee plugin but I can't seem to get the "A" button pressed at calibration time to confirmation calibration and move on with the game. I was able to get the gun to work in guncon mode and for some reason it doesn't work in mouse mode. I'm not able to get the buttons on the gun to work as A and B respectively. I tried to set it up where I could use the keyboard or the xbox 360 controller to do the A press to confirm calibration and didn't have any luck with either. Thanks in advnce for your help.

Update after trying quite a few things more I found that shooting off-screen while in calibration mode caused it to move on. Funny thing though that once I started a game and got into the game piece I'm not able to shoot off screen to reload. Any help with that would be greatly appreciated because without reloading you can't play the games long.

I posted about this a while back....when I was finalizing the last bit of games to add to my cab I tried to get the Time Crisis games to work with my Aimtraks. The same thing the a/b buttons I could not get them to work on the Aimtraks, and the way Nuvee is made Shalma did not add the option to have joy buttons when emulating guncon's with mice. (How our secondary buttons are coded in the Aimtrak Utility) . I wasted a week fighting with Nuvee and all sorts of workarounds....save yourself the headache.

The Aimtraks cannot go into Guncon mode either on a PS2 emulator according to the guys over at arcadeguns.com (they made my guns), only on a real ps2. If we were able to get them into Guncon mode on PC this would probably work but I don't think it's possible. I think I asked Andy about this over at Ultimarc as well and he said it's not possible as of right now.

I am......Machine

Posted

Thanks for your knowledge on what you have done. I was taking a peek at the source code and found out where they programmed in the code that assigns the WSAD to the keyboard when you click the checkbox. I modified it to add the spacebar key as A and the R key as B (I'm probably going to change that key soon but it was really just for testing). I popped it through the compiler and eurkea I can know use the spacebar as my "A" key. Which is great because I know have an old keyboard on the ground and press that with my foot just like the pedal.

I found out through trial and error that you can reload just by point towards the corner of the screen (instead of shooting off screen) and it works pretty well. In order to get the plugin to work properly with my aimtrak I had to config port 1 as guncon2. Then go under config and click acquire and click through the button clicks and have it find my gun. Then I clicked the checkbox for Use keyboard as D-Pad(WSAD). On my modified code it has the controller buttons mapped out to: w=up, a=left, s=down, d=right, q=start, e=select, f=C button, spacebar= A button, r= B button. I don't know if others will have this issue but under the main plugin page I had to select swap lightgun players 1-2 to get my lightgun to show up as player 1 for some reason but others might not be affected the same way. Also as a note I have the HID Mouse Input as RawInput, that really seemed like the best so far for me. I'm honestly not sure if I can post a link to a file that I can upload somewhere or not so if others are interested feel free to PM me. I turned on usb debugging and am currently looking at the log file to see if I can decipher what code entry has to be provided in order to get the buttons on the aimtrak to actually work with the game but at least with the A and B buttons mapped to the keyboard and the reloading issue figured out it is a working solution.

I also found that for most games I had to go under config on my guncon2 and under alignment choose the custom alignment to go with the game I am playing. I see that not all of the games are there though so I'm not sure how difficult it is to make my own alignments or if someone has a list of additional alignments that I can have.

Update: I have been having a lot of luck getting this working. Under the config page I set the checkbox for mouse calibration hack and that really helped clear up my calibration issues on Time Crisis 2 and 3. Overall it is proving to be a great method to keep on. I also forgot to mention that I have reload set to semi. I haven't played around enough with that setting to see if it makes much difference. When it is all said and done it might be best to just provide screenshots of my config.

Posted

I spent some more time on this working towards perfection. I talked with Andy from aimtrak and was hoping to get the code for the buttons so I code them directly into the controller. In talking with him and going back and forth through quite a few e-mails I found out that the topgun drivers will work work with aimtraks that are started in guncon2 mode. True enough I held down the two buttons and powered up my gun. I went into device manager and installed the topgun drivers for the unknown device in device manager and bamb it looked like it took the drivers. I went into PSXC2 and fired up Time Crisis 3 and it attempted to use the buttons. At first things didn't look any better because the left button didn't work but I tried the right button and it worked how it is supposed to work! I was able to play time crisis 3 with the right button. I'm not aware of any games that really need both buttons to play so that really shouldn't be a big deal but for those wanting a method to use at least one button on the aimtrak you have it.

If you are running x64 like me you will have to disable the driver signing check for it to work.

Update I also found that it with it now running in guncon mode it works perfectly so far with pcxsr with nuvee plugin that I have. So now I can knock PSX and PS2 off my list.

Posted

When changing the aimtrak drivers, does it cause any other systems not to work with the aimtraks such as mame, sega model 2, atomiswave and naomi?

I have a few systems working with my aimtraks and don't want to mess those up while trying to get Pcsx2 to work. I spent a good few hours tonight trying to get something working re aimtraks and pcsx2, got no where lol, not even aiming let alone firing. I'll read through this thread when I attempt it again tomorrow.

sig2.png?raw=1sig.jpg?raw=1

 

Posted

Sorry just seeing you first question here. The top gun drivers are meant for when you load the aimtrak up in guncon mode. To do that you have to unplug the aimtrak, hold down the front two buttons and plug back in the aimtrak. You should be able to let go of the buttons fairly quickly. Then go into your device manager and you should see an unknown device with a yellow question mark. Right click that and use the topgun drivers to load it. After that just follow my settings for compatibility and it should work great with the right button. I talked with Andy and let him know that it only worked with the right button and not left but he didn't know why that was the case. Once you get the topgun mode working it works great for both PCSX2 and PCSXR-lightgun.

Attached are two screenshots that should help you see how I have it configured. Don't forget to click the acquire button and click on the window with your aimtrak trigger to have it comfirm it has your ID. It all works like a champ and the great thing is that it works independent of all your standard aimtrak settings because it goes into guncon mode post-86342-142870593796_thumb.png Also just as a heads up reloading works great but instead of shooting offscreen you just shoot towards the sides.

post-86342-142870593792_thumb.png

Posted

Thanks for taking the time to post pics of your config. I followed your guide from the byoac forum, have my guns working now :)

Thank you

Time crisis 2 won't load at all with the nuvee plugin selected, how did you go on ?

I have vampire night working but the crosshair isn't visible, also I have to aim up and to the left on the calibration screen otherwise the sight won't travel to right or bottom of the screen.

Virtua cop elite edition, I can't get past the "press start button" screen.

I'd be interested to hear what games you have tested and any annoyances you have come across.

Cheers

sig2.png?raw=1sig.jpg?raw=1

 

Posted

I found you have to set the controls to unplugged in the lilypad controller plugin config, then use the Q key to start. As far as shoot off screen to reload, I find I have to shoot right at the inner edge of the screen for it to register.

sig2.png?raw=1sig.jpg?raw=1

 

Posted

Glad to help and provide insight for others to enjoy as I do. I have slowed down in my RL setup because I have been spending so much time playing both PS2 and PS1 lightgun games and was surprised at how little interest I was getting from the rest of the aimtrak fans when I figured out how to make it work. It really took a lot of playing around and getting creative but it was worth it for this big library of games to be added.

To answer your question about calibration look at my first photo and you will see there is a drop down at the buttom corner. If you ever find yourself far off just grab the game you plan on playing from the drop down and select that before kicking off the game. I don't know if djvj or anyone else could work those script values into hyperlaunch but for the calibration modifications don't play well with hyperspin/launch as you have to make the calibration change before launching the game.

As far making Time Crisis 2 and 3 work you have to go under config and emulator and select enable speed hacks and set the bar over to three (if I remember correctly Time Crisis 2 works with EE 2 but I just moved it to three to play both of them). Unforantely the cut scenes run kind of hard but the game itself is fairly responsive which is what really matters.post-86342-14287059384_thumb.png

If you find and download the nuvee plugin collection he also provides a version of pxsxr specifically for lightgun compatablitity that you can load up with his guncon plugin for that. I found out the hard way that it will run decently well but you really want PSX - SCPH1001.BIN in your BIOS folder and selected in the emulator for it to have the best chance of loading the games.

If you download his plugin pack you will also see a folder titled ps1 - guncon conversions. Inside he has a lot of fixes for games that you couldn't originally play with a guncon on the PS1. So you can use that to patch crypt killer, die hard trilogy, lethal enforcers, project horned owl. Be warned with Policenauts and Rebel Assault 2 they are primairly controller games. Nuvee modified them to play with the guncon but there are only certain times and/or levels where it works and for those two games he expects you have a controller in port one and guncon in port two.

The problem I had with that and my eventual custom wheel in hyperspin is that the controller config but me the registry somewhere because if I have two separate copies of the emulator, one with the guncon in port one and another with the guncon in port two whichever way I leave the setting last the other one shows up with. It isn't a big deal though because I probably won't include Rebel Assault and Policenauts in my custom wheel as they aren't pure light gun games. With rebel assault the only lightgun compatible stages he had were 2,11,12. Also as another helpful hint when you go to convert Policnauts (if you do) you have to apply the english patch before you attempt to run the guncon patch. Also I haven't really tried to skip forward in rebel assault as I wasn't too worried about it but the message I got back from the patcher made me assume that although disc two of rebel assault was booting it probably wasn't going to work as the patcher didn't seem too happy but I not really have plans to add it to my main collection unless someone finds a way to direct launch levels 2, 11 and 12 directly from hyperspin.

That being said I haven't minted every last game on both systems but I have been able to play pretty much all of games on both systems with the aimtrak in light gun mode. The only disadvantage of course being the msyterous reason for the left button not working between Nuvee, the top gun drivers, and the aimtrak in guncon mode.

I believe the only non-playable PSX light guns that I have come across (because they were built for the justifier/hyperblaster and it doesn't appear as far as I can find that nuvee got to releasing fixes for them) are Area 51 (which is all over MAME anyways) and snatcher (which is kind of sad loss as I haven't see any other aimtrak compatible method of playing snatcher).

I will also attach a few screenshots of my PSXR-lightgun configuration to help you when you get there. Just as a reminder if you find the finalized pack of nuvee files the emulator and PS1 conversions for the above mentioned games are all in that pack. I just run the .exe and haven't been running the batch file which was supposed to enable cheats in order to jump forward in games like rebel assault. PCSXR has the same issue where the left button doesn't work so I would highly recommend that you set the right button to B as that is usually the crotch or alternative fire button. All that you wind up losing is the ability to pause on the gun itself (hyperpause should work but I haven't gotten far enough along to test).

post-86342-142870594095_thumb.png

post-86342-142870594087_thumb.png

post-86342-142870594091_thumb.png

Posted

Just saw your most recent post, yeah the default plugin has this configuration for keys when you press click the send WSAD to keyboard checkbox: w=up, a=left, s=down, d=right, q=start, e=select, f=C button. I have worked with his source code and recompiled a modified dll that makes the spacebar= A button and r = B button. I found it works well for Time Crisis 2 and 3 because I can have an old keyboard on the ground and press down on the spacebar ke with my foot like the original foot pedal. Let me know if you are interested and I send you a link in PM. The keyboard re-mapping doesn't work on PS1 because he didn't include a keyboard re-direct on that plugin but so far I have had success with everything PS1 wise by have the right button assigned to B so I haven't really spent much time in the source looking to change it.

Update: Funny I would say that about the B button and not having an issue. I ran into an issue with Extreme Ghostbusters. I needs both the A and B buttons pressed to start the game. Putting a controller in port two to press the start button doesn't seem to work either. I'm not sure how worried I am about it right now but in order to get this working either the keyboard redirect piece has to be implemented or the left button has to work in guncon mode.

Posted

Testing out Vampire Night I personally found his correction for Endgame to be the closes for me. I would make sure for the cursor disappearing that you have the checkbox for enable mouse calibration hack enabled so you will know where you are pointed. You can always change the icon to look like a gun scope (I plan on doing that shortly). The great thing about the corrections list is that is a .ini so when I get closer to minting everything for my collection there are some values for each game so if the shot for you is far and to the left you can modify the values in the ini either manually or by clicking the E button on the plugin and change them so the work flawlessly for you. On the PS1 side I really wasn't having issues with calibration too much but I did notice in my initial playings with PS2 that sometimes a correction for a different game then I was playing worked better than the one he had. I will eventually fix all that for myself and if it helps others I can post it here also.

update:Let me know btw if your left button works. I have been trying everything and it works perfectly in other games in its standard mode but in guncon mode it doesn't want to work with nuvee for me. I might get lucky and it turns out someone with a different firmware for aimtrak has a working left button and we can get Andy to provide a patch to fix it. If not I will just have to look at the source code and see what I can do when I get around to it.

Posted

I realised today that installing the top gun drivers had caused my aimtrak to stop working with demul. For anybody reading this with the same problem just unplug your aimtrak and then plug it back in. It will now work as before for both Pcsx2 and demul.

sig2.png?raw=1sig.jpg?raw=1

 

Posted

Correct it should only effect it while it is guncon mode. Basically you hold down both buttons to enter guncon on plug-in and then if you just plug it back in without the buttons it goes back to your old config.

  • 2 months later...
Posted

Just found this thread. Great work startreker! I gave up on aimtrak on PCSX2 after more than few waisted hours. Looking forward to giving this a crack. A couple of questions first though if you don't mind. Did you manage to get 2 players working on TC2 & TC3? Also do your game settings need to be recalibrated everytime you start from your HS wheel or do they save? I understand you need to have the nuvee PCSX2 install separate from any other PCSX2 install you may (or may not) have.

Thanks for all your work on this, absolutely amazing :adore:

Posted
Just found this thread. Great work startreker! I gave up on aimtrak on PCSX2 after more than few waisted hours. Looking forward to giving this a crack. A couple of questions first though if you don't mind. Did you manage to get 2 players working on TC2 & TC3? Also do your game settings need to be recalibrated everytime you start from your HS wheel or do they save? I understand you need to have the nuvee PCSX2 install separate from any other PCSX2 install you may (or may not) have.

Thanks for all your work on this, absolutely amazing :adore:

The key way to make your life easier with the PS2 is to run each game manually that you want to play and work with the corrective information in the .ini file that nuvee created and try to find the one that works closest to your setup (sometimes I found a random game that didn't match the name which worked better than his recommended settings) and copy those under the game name header, then you can directly modify and tweak the axis settings until they are perfect as you can get. Then just rinse and repeat.

In hyperlaunch you can setup per game launch commands and inside there you just have to add the extra command line text for nuvee and the name of the entry you want it to launch.

From everything I see in the Nuvee plugin it appears to support two light guns but with how expensive the aimtrak guns and the limited support of two guns in other emulators I haven't gotten a second one yet.

Even beyond all that I will admit is isn't perfect. You have to reload by shooting the right side of the screen but all in all it still a great setup and I really enjoy have the PS2 games. If you like my PS2 setup with light guns you should check out my custom light gun wheel you can pick up from the FTP site: http://www.hyperspin-fe.com/forum/showthread.php?26720-Looking-at-Building-Custom-Aimtrak-Wheel-for-myself&highlight=aimtrak .

Hmmm. Didn't see this thread myself. :)

Nice work bro.

Glad others are excited. This system with light guns is a real work of passion since it is a pain to setup but hey at least it is possible and the PS2 really was the last good light gun console. The Wii itself has some good games but I'll have to grab the emulator and see if I can use the aimtrak in any way to emulate the wiimote with a few of their light gun games.

Posted

The gun game wheel is ready to go. I plan on adding additional systems later. I have a good few other systems I'm looking to add but I added most of the good ones. I'm willing to give the aimtrak a try on the Wii emulator eventually to see if it is worth it. I don't know if it can use mouse input in a way that is compatible with it.

Posted
The gun game wheel is ready to go. I plan on adding additional systems later. I have a good few other systems I'm looking to add but I added most of the good ones. I'm willing to give the aimtrak a try on the Wii emulator eventually to see if it is worth it. I don't know if it can use mouse input in a way that is compatible with it.

You have a working gun game wheel for multiple emulators???

If so please turn your back for a moment while I just clone your Hyperspin folder. ;)

Posted
You have a working gun game wheel for multiple emulators???

If so please turn your back for a moment while I just clone your Hyperspin folder. ;)

Yup, check out the thread link above (and jump to the last page) and you can grab my Gun Games wheel from the FTP site under my name. I also have the videos on emumovies FTP. Any help you can provide to find missing wheel images or videos are greatly appreciated.

Archived

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

×
×
  • Create New...