Jump to content

Welcome to our forums!

Sign In or Register to gain full access to our forums. By registering with us, you'll be able to discuss, share and private message with other members of our community.

Photo

How to use your controllers with Project Zomboid


  • Please log in to reply
36 replies to this topic

#1 Kevlar_29

Kevlar_29

    Took a Bullet to the Vest

  • Members
  • PipPipPip
  • 82 posts

Posted 24 July 2013 - 11:54 PM

Figured I'd add this to the new forums, nice treat to see after coming back from 3 weeks holidays. Good job guys :)

I'm well aware all of this can be found googling, but it's easier just to have it here in one easy to find post. I've been updating this when people have made suggestions or found something wrong with it, so if you think I should change anything just let me know.


XBox 360 Controllers [Wired/Wireless]
[Wired]
This controller is probably the easiest to set up and use for PC and more than likely PZ. If you have one of these, chances are you've used it already with your PC, but if not here you go.

1. Firstly, you're going to want to install the drivers for the wired controller. The best way to do this would be with the installation disc that came with the controller however if it didn't come with one you can download it here
2. Next plug the controller in, go to start>run (or windows key+r) and type 'joy.cpl' without the quote marks. If you installed it all and connected it right, then you pressing any buttons should pop up here.

[Wireless]
For this, you're going to need an XBox 360 Wireless Controller USB receiver, you can pick these up online, I'm not sure whether GameStop still stocks them. Microsoft's site that sells them is broken so don't even bother. With this, you can connect up to 4 controllers however making it quite handy

1.  To use the wireless receiver, you'll need to install the drivers again, this one is slightly easier as its plug-and-play, meaning it could be as easy as just hitting 'Install the software automatically'. If the new hardware wizard popped up, then you're good to go. If not, install the drivers manually from here.
2.  Now, it's time to connect the controller, turn the controller on using the guide button, press the sync button on both the controller and the receiver. (The sync button on the controller is on the top of the controller beside the left button.
3.  The lights will stop flashing when it's connected and you can use it the same way as the wired controller.

PS3 Controllers
This is a little bit trickier as there's no built in support on windows for PS3 controllers, however, it's nothing any of you using the test builds can't handle ;)

To do this, you're going to need to download and install the drivers/config software from here (if you have any trouble, mirror here ). Just download and extract. (I've been told MotionJoy is a little.. dodgy, so I've updated this to use XInput Wrapper instead. Thanks EMPdrift for the heads up. For those you who already have MotionJoy, your best bet is switching to MotionJoy's offline and less malwarey client found here)

 

[Installation and use]
Firstly, make sure you have all the requirements for running this software, I know it's a bit hefty but it's worth it.

Spoiler


1.  Connect your controller firstly (and bluetooth dongle now if you're going to need it later) and let Windows install its default drivers. Extract the software you downloaded using 7zip or another archive tool.
2.  Create a folder where you want the controller driver service to run from (your best bet is to create it in C:\Controller Service or something similar, this solves any access rights issues) and then copy the contents of the 'ScpServer/bin' directory from the extracted files to your created folder.[/size]]
3.  Now, load up 'ScpDriver.exe' in your created folder (if you're using Vista/XP, make sure to check the 'Force Install' checkbox, 7/8 don't need to worry. If you're not going to be using bluetooth then uncheck the 'Bluetooth Driver' checkbox) and hit install, allow any driver install requests that may pop up.
4.  That's it for the installation aspect, to check if your service is running correctly, go to the folder you made in part 3 and load up 'ScpMonitor.exe'. This will tell you when and if you're controllers are connected.

Because these drivers and service emulate a 360 controller connection, you shouldn't have to edit any config! Makes things easy :)

[Using your PS3 controller via Bluetooth]
If you're using a laptop that has built in bluetooth, or you have a bluetooth adapter for your PC, or something like that, then you'll be able to use your PS3 controller wirelessly, especially handy for those using it with their TV's or who only have a small mini-USB cable.

[Pairing it with your PC]
1.  Making sure the controller service is running, plug in the controller via USB and it will be automatically paired with your PC.
2.  Disconnect from USB and connect the controller as you would normally, however disconnect by holding R1+L1+PS for 2 seconds.

I was going to add Wii controllers but I decided it's probably not very.. feasible.. considering the amount of buttons, or lack thereof (and lack of dual thumbsticks). If you've any ideas for more controllers let me know and I'll add 'em to the list. Also, any changes or corrections or criticism... let me know!

As for generic gamepads, the range is too broad to just give one guide, I'll do a quick guide on the config files in a bit just to give a heads up to people with issues on that front.


  • RobertJohnson, Tango and shunthunder like this

I can't think of a signature.. I'm not very creative.
Go check out my controller thread if you need help with that.


#2 Rathlord

Rathlord

    "The Expert"

  • PZ Support Team
  • PipPipPip
  • 4735 posts

Posted 25 July 2013 - 12:08 AM

Thanks Kevlar! I was waiting to see if you moved it before I did it.


"You owe us an ending!"
 
'I owe you nothing. I am a dungeon master. I create a boundless world, and I bind it by rules. Too heavy for a bridge? It breaks. Get hit? Take damage. Spend an hour outside someone's front door, fighting over who gets to kill him? He leaves through the back.'

#3 Kevlar_29

Kevlar_29

    Took a Bullet to the Vest

  • Members
  • PipPipPip
  • 82 posts

Posted 25 July 2013 - 12:12 AM

No bother :)

Offtopic


I can't think of a signature.. I'm not very creative.
Go check out my controller thread if you need help with that.


#4 Rathlord

Rathlord

    "The Expert"

  • PZ Support Team
  • PipPipPip
  • 4735 posts

Posted 25 July 2013 - 12:13 AM

I'm enjoying the new forums, yes  :shock:


"You owe us an ending!"
 
'I owe you nothing. I am a dungeon master. I create a boundless world, and I bind it by rules. Too heavy for a bridge? It breaks. Get hit? Take damage. Spend an hour outside someone's front door, fighting over who gets to kill him? He leaves through the back.'

#5 EnigmaGrey

EnigmaGrey

    Nullified

  • PZ Support Team
  • PipPipPip
  • 4018 posts

Posted 25 July 2013 - 12:25 AM

I'm enjoying the new forums, yes  :shock:

Do you think we'll ever go back to our normal average post count, or will we stick to 90+ posts a day?



#6 Kevlar_29

Kevlar_29

    Took a Bullet to the Vest

  • Members
  • PipPipPip
  • 82 posts

Posted 25 July 2013 - 12:32 AM

I don't think you're going to stop posting until you've posted so much more than anyone else that no one will even try bother catching up. Try make sense of that! Yeah!


  • Rathlord likes this

I can't think of a signature.. I'm not very creative.
Go check out my controller thread if you need help with that.


#7 Rathlord

Rathlord

    "The Expert"

  • PZ Support Team
  • PipPipPip
  • 4735 posts

Posted 25 July 2013 - 12:34 AM

That sounds like a plan.


"You owe us an ending!"
 
'I owe you nothing. I am a dungeon master. I create a boundless world, and I bind it by rules. Too heavy for a bridge? It breaks. Get hit? Take damage. Spend an hour outside someone's front door, fighting over who gets to kill him? He leaves through the back.'

#8 Kevlar_29

Kevlar_29

    Took a Bullet to the Vest

  • Members
  • PipPipPip
  • 82 posts

Posted 25 July 2013 - 12:39 AM

That was always the plan. And I'm too late  :cry:


I can't think of a signature.. I'm not very creative.
Go check out my controller thread if you need help with that.


#9 EnigmaGrey

EnigmaGrey

    Nullified

  • PZ Support Team
  • PipPipPip
  • 4018 posts

Posted 25 July 2013 - 12:51 AM

And I have a plan.



#10 EreWeGo

EreWeGo

    Just Relax. Just Relax. Breathe.

  • Members
  • PipPipPip
  • 365 posts

Posted 25 July 2013 - 02:32 AM

And I have a plan.

........a sly and cunning plan my Lord?  :-D



#11 Rathlord

Rathlord

    "The Expert"

  • PZ Support Team
  • PipPipPip
  • 4735 posts

Posted 25 July 2013 - 02:37 AM

........a sly and cunning plan my Lord?  :-D

Huh, what?


"You owe us an ending!"
 
'I owe you nothing. I am a dungeon master. I create a boundless world, and I bind it by rules. Too heavy for a bridge? It breaks. Get hit? Take damage. Spend an hour outside someone's front door, fighting over who gets to kill him? He leaves through the back.'

#12 EnigmaGrey

EnigmaGrey

    Nullified

  • PZ Support Team
  • PipPipPip
  • 4018 posts

Posted 25 July 2013 - 02:56 AM

........a sly and cunning plan my Lord?  :-D

All shall be revealed.



#13 Deathscreton

Deathscreton

    Member

  • Members
  • PipPip
  • 12 posts

Posted 29 July 2013 - 05:17 PM

I have a bit of an issue that's been bugging the ever living hell out of me.

 

After scouring the last forum before the reset and move, I ran through the entire thread trying everything two or three times, but it's either my lack of wit or my lack of *nix knowledge that is leaving me dry. I have Ubuntu Raring (13.04) and I can play PZ just fine with my keyboard and mouse. I hook up my controller and attempt to play. Computer sees it, great. PZ recognizes button presses, awesome sauce. 

 

Move my right stick to the left? My character starts shoving air. Now I'd love to blame his actions on his sudden stupidity based upon the fact that he's in a kitchen and walking into a stove every time I press up on my left analog stick, but I can't help but to feel this is a user error somewhere. All the face buttons work (not counting start which makes my character walk south if I hold it) just fine. So I know the Joysticksetup.lua is partially correct in some terms, but I can't seem to figure out where the issue is. 3:

 

If anyone who has a *nix OS can help me out much appreciation. 

 

TLDR: Analogs aren't working correctly. Left goes left, up does nothing, down does nothing, right moves right. Left triggers turns my character around so long as I push it. Right analog stick shoves if I push it to the left.



#14 Kevlar_29

Kevlar_29

    Took a Bullet to the Vest

  • Members
  • PipPipPip
  • 82 posts

Posted 29 July 2013 - 05:27 PM

What controller are you using?


I can't think of a signature.. I'm not very creative.
Go check out my controller thread if you need help with that.


#15 Deathscreton

Deathscreton

    Member

  • Members
  • PipPip
  • 12 posts

Posted 29 July 2013 - 11:14 PM

A 360 controller. Technically it's a gamestop stamped one. 



#16 Rathlord

Rathlord

    "The Expert"

  • PZ Support Team
  • PipPipPip
  • 4735 posts

Posted 29 July 2013 - 11:24 PM

Death that's currently a known bug for all Unix based systems, same on OS X. In the config file you can fix the analogue sticks to be right but all the rest is completely borked. At some time in the future I'll be helping RJ figure it out. Might give you a call if we're having trouble pinning down the exact problem.


  • PombeGeek likes this
"You owe us an ending!"
 
'I owe you nothing. I am a dungeon master. I create a boundless world, and I bind it by rules. Too heavy for a bridge? It breaks. Get hit? Take damage. Spend an hour outside someone's front door, fighting over who gets to kill him? He leaves through the back.'

#17 Deathscreton

Deathscreton

    Member

  • Members
  • PipPip
  • 12 posts

Posted 30 July 2013 - 02:31 AM

Sure man. Anything I can do to help peeps. :3



#18 Paton

Paton

    Member

  • Members
  • PipPip
  • 11 posts

Posted 11 August 2013 - 09:10 AM

awesome, I just fixed my swapped Analogue sticks, left now moves and right aims (it was vice versa before) though the left analogue stick shoots randomly, and no face buttons do the shooting.
Dont have a ps3 or Xbox controller (its a powerwave dual analogue) so I'd be keen as to play some co-op with my boys



#19 RaveSavager

RaveSavager

    Newbie

  • Members
  • Pip
  • 1 posts

Posted 04 September 2013 - 10:50 PM

Sadly i don't have a playstation or xbox 360 controller, you said a wii mote wont work due to the lack of buttons, but do you think a classic controller pro would work with project zomboid? (I've been trying to find a tutorial everywhere)



#20 harakka

harakka

    Technical Support Advisor, Third Order

  • Members
  • PipPipPip
  • 1223 posts

Posted 04 September 2013 - 11:03 PM

Any controller that is recognized by Windows as an USB game controller is fine. If it works for you in other games you're probably good to go, but you can also check from Windows' control panel. Type 'game' into the control panel search field, the first option that shows up should be "Set up USB game controllers". Click on that. If your controller shows up in the list, it should work.

 

Edit: ah right, didn't realize you were talking about a Wii accessory. I have no clue about whether those work with Windows in any official capacity, sorry.


Win7 64bit, Phenom II 965, 8GB, HD6870 1GB
My other signature is in another freight train.