Sunday, June 28, 2009

Playing Left 4 Dead with a PS3 controller or a PS2 Controller YAY!!

Now, i don't know about you but, left 4 dead is an awesome game. A really good friend of mine showed me the game and i thought it was quite pwn. Now, i like many in this world have a PS3, and therefore i have a PS3 controller (weird right? i know O_O), and i use my PS3 controller on my computer to play games on my emulators and what not. Its so awesome how you can do that, trust me, I KNOW. Now this post isn't meant to be some kind of guide, and i'm not gonna make you go through so much stuff to get it working, becuase i hate that kind of stuff. So, now i'm going to shut my yap, and i'm gonna show you HOW, with all the work i did, and how to edit some stuff if you'd like :) the easy way, cuz thats just how i roll. My steps are long becuase i hate how some people have like 20 billion steps, that sh*t gets confusing :(

1.) Now first off, in order for your computer to recognize the PS3 controller you'll need a driver, for those who already have it, skip this step. You'll need to click here and then click Download towards the bottom to, well, download the driver. Open it using whatever you use to extract .rar or .zip archives with like, 7zip, or winrar, or winzip lol, and then extract all 3 of those files to a folder, whatever that folder is called i don't care, just make one.

2.)Now run the "libusb-win32-filter-bin-0.1.10.1.exe" file to install the necessarry drivers for the controller. (don't worry this wont hurt your computer, and if you want to install it, it's set up as a program, a VERY small one) After you have installed it, connect your PS3 controller to your pc using the USB to MiniUSB cable you have, and you'll see the lights turn on, all four of em.

3.)Now inside the folder where you extracted the contents of your download, click the "ps3sixaxis_en.exe" file, and then a command prompt window will show up for like a millisecond, and then go away. Don't trip about it, it's just doing its thing. Now after that press the PS button on the controller and then VIOLA!!! You're good to go to experience awesome and total 1337-ness.
-To test to see if your controller actually works you must go into control panel and in...
  • Windows XP (using classic view which ROX) = you must click on game controllers and then you'll see what says "Playstation Controller" now click that and then click on properties and then you'll see a bunch of numbered red dots, when you press a button on the controller they'll light up, if they do you're good, if they don't, don't kill yourself, just press the PS button again, and WHAM!!!
  • Windows Nazi (i mean vista) = click the Hardware category, and then go to game controllers and do the same as in Windows XP.
  • Windows 7 = In control panel click on Hardware and Sound, then click on Devices and Printers and there should be an icon of a game controller, and the name of the icon should say Playstaion 3 controller. Now right click it and then click on properties and BAM! Press the buttons and the red dots will light up!
Now assuming that you own Left 4 Dead already, here's the tricky part. But don't trip chocolate chip, its not hard at all, it'll be easy to understand once you're done reading :) Ok now on to step 4...

4.) Find where you have L4D installed on your pc...it should be like C:Program Files/left4dead or whatever by default. Anyways in the Left 4 Dead folder, there's another folder called........left4dead, and in there, theres a folder called cfg, and in THAT folder, theres a file called, "360Controller". Its a CFG file (config) and you can open it with notepad and or wordpad. Now when you open up the file, you'll see that the file consists of a bunch of giberish. Before you do the next step, copy and paste this file to make a backup, in the rare case you mess up.

5.) Now that you're ready, brace yourself because of the major code-age:........


unbindall // Prevent mouse/keyboard control when gamepad is in use (to prevent autoaim exploit)

joystick 1
joy_advanced "1" // use advanced joystick options (allows for multiple axes)

joy_name "L4D Xbox360 Joystick Configuration"
joy_advaxisx 3 // z-axis controls GAME_AXIS_SIDE (strafing left and right)
joy_advaxisy 1 // r-axis controls GAME_AXIS_FORWARD (move forward and back)
joy_advaxisz 4 // z-axis is treated like a button
joy_advaxisr 2 // x-axis controls GAME_AXIS_PITCH (look up and down)
joy_advaxisu 0 // y-axis controls GAME_AXIS_YAW (look left and right)
joy_advaxisv 0 // v-axis is unused

joy_forwardsensitivity -1.0 // movement sensitivity
joy_sidesensitivity 1.0
joy_forwardthreshold 0.1 // movement dead zone settings
joy_sidethreshold 0.1
joy_pitchsensitivity 1.0 // look sensitivity
joy_yawsensitivity -1.5
joy_pitchthreshold 0.0 // look dead zone settings
joy_yawthreshold 0.0

joy_inverty2 0

joy_variable_frametime 1
joy_autoaimdampenrange 0.85
joy_autoaimdampen 0.5
joy_lowend 0.65
joy_lowmap 0.15
joy_accelscale 3.0
joy_accelmax 4.0
joy_response_move 5
joy_response_look 1
joy_autoaimdampen 0.3
joy_autoaimdampenrange 0.85
joyadvancedupdate // advanced joystick update allows for analog control of move and look

// Alternate control 2
cmd2 bind "0" "slot10"
cmd2 bind "1" "slot1"
cmd2 bind "2" "slot2"
cmd2 bind "3" "slot3"
cmd2 bind "4" "slot4"
cmd2 bind "5" "slot5"
cmd2 bind "6" "slot6"
cmd2 bind "7" "slot7"
cmd2 bind "8" "slot8"
cmd2 bind "9" "slot9"
cmd2 bind "a" "+moveleft"
cmd2 bind "c" "+voicerecord"
cmd2 bind "d" "+moveright"
cmd2 bind "e" "+use"
cmd2 bind "f" "impulse 100"
cmd2 bind "h" "motd"
cmd2 bind "m" "chooseteam"
cmd2 bind "q" "lastinv"
cmd2 bind "r" "+reload"
cmd2 bind "s" "+back"
cmd2 bind "t" "impulse 201"
cmd2 bind "u" "messagemode2"
cmd2 bind "w" "+forward"
cmd2 bind "x" "+mouse_menu QA"
cmd2 bind "y" "messagemode"
cmd2 bind "z" "+mouse_menu Orders"
cmd2 bind "`" "toggleconsole"
cmd2 bind "SPACE" "+jump"
cmd2 bind "TAB" "+showscores"
cmd2 bind "ESCAPE" "cancelselect"
cmd2 bind "SHIFT" "+speed"
cmd2 bind "CTRL" "+duck"
cmd2 bind "F1" "Vote Yes"
cmd2 bind "F2" "Vote No"
cmd2 bind "F5" "jpeg"
cmd2 bind "MOUSE1" "+attack"
cmd2 bind "MOUSE2" "+attack2"
cmd2 bind "MOUSE3" "+zoom"
cmd2 bind "MWHEELUP" "invprev"
cmd2 bind "MWHEELDOWN" "invnext"



// controller1 bindings
+jlook // Enable joystick look
bind "JOY1" "+use" // (select) - Shows everybody's scores
bind "JOY2" "+speed" // (L3) - Walk
bind "JOY3" "+attack2" // (R3) - Zoom with scope
bind "JOY4" "pause" // (start) - Pause
bind "JOY5" "impulse 201" // (DPad Up) - Spray Tag
bind "JOY6" "slot5" // (DPad Left) - Pills
bind "JOY7" "impulse 100" // (DPad Down) - Toggle flashlight
bind "JOY8" "slot4" // (DPad Right) - Health
bind "JOY9" "toggle_duck" // (L2) - Melee
bind "JOY10" "" // (R2) - Attack main weapon
bind "JOY11" "+zoom" // (L1) - Previous in inventory
bind "JOY12" "+attack" // (R1) - Next in inventory
bind "JOY13" "invprev" // (Triangle) - Use
bind "JOY14" "invnext" // (O) - Duck
bind "JOY15" "+jump;+menuAccept" // (X) button - Jump
bind "JOY16" "+reload" // ([]) button - Reload




// controller2 bindings
cmd2 +jlook // Enable joystick look
cmd2 bind "JOY1" "+showscores" // (select) - Shows everybody's scores
cmd2 bind "JOY2" "+speed" // (L3) - Walk
cmd2 bind "JOY3" "+zoom" // (R3) - Zoom with scope
cmd2 bind "JOY4" "pause" // (start) - Pause
cmd2 bind "JOY5" "impulse 201" // (DPad Up) - Spray Tag
cmd2 bind "JOY6" "slot5" // (DPad Left) - Pills
cmd2 bind "JOY7" "impulse 100" // (DPad Down) - Toggle flashlight
cmd2 bind "JOY8" "slot4" // (DPad Right) - Health
cmd2 bind "JOY9" "+attack2" // (L2) - Melee
cmd2 bind "JOY10" "+attack" // (R2) - Attack main weapon
cmd2 bind "JOY11" "invprev" // (L1) - Previous in inventory
cmd2 bind "JOY12" "invnext" // (R1) - Next in inventory
cmd2 bind "JOY13" "+use" // (Triangle) - Use
cmd2 bind "JOY14" "toggle_duck" // (O) - Duck
cmd2 bind "JOY15" "+jump;+menuAccept" // (X) button - Jump
cmd2 bind "JOY16" "+reload" // ([]) button - Reload




Ok...now copy and paste all this insane code, and paste it into the file...overwriting whatever that was inside. Now, what i made red.....DO NOT FREAKING EDIT THISSSSS!!!!!!!ASDF#$!)(#*$!(#*$!)@#$!@ If you do you might get a disease, i mean it >:( now with what was bolded/italicised in the middle, is kinda like the Legend on a map, it'll show you what the commands mean, and what you need to put so you can edit your keys. The reason i mention this is becuase you can't edit your control scheme in left 4 dead itself, rather you're supposed to edit them in here, so you'll need to turn up your volumes and listen (err....read) what i'm saying.

6.) Ok now, where it says "// controller1 bindings" this is YOUR controller, and under this is where you edit the keys and stuff. So if you've never worked with codes and shtuff before, trust me its really simple...K? Now i'm going to give you an example and then you can hopefully take it from there, cuz its THAT simple. Ok now....this code is copied from my file i have on my computer, my control scheme is very similair to that of Call of Booty4, and sorta Killzone, cuz those are the best schemes ever besides Gaylo2. Now for me, when i want to melee zombie scum out of my personal space, i like to press the right thumbstick...therefore the code is...
bind "JOY3" "+attack2" // (R3) - Zoom with scope. You see the +attack2? thats the command line that the game reads to make R3(the click on the right thumbstick) Now the "+attack2" command line is right where it says, "(R3) - Zoom with scope," don't worry about where it says Zoom with scope, becuase that doesn't matter, i just don't wanna erase it, just in case you wanna remember where things were, or i haven't deleted it because i'm afraid that the game might actually use that as a command line, but enough with my nerd chat...rofl.

7.) OK now, how to edit the button mapping, lets say that you wanted the R3 button to be, i don't know, reload...now, on the "Legend" find where it says something about reload...hmm who knows it may be +reload? well then all you have to do, is erase the +attack2 and inside the quotations(you MUST keep them!) and replace it with.......you guessed it! "+reload." and thats it. just continue for all the other ones. Now where it says slot##, i really don't know what thats for becuase i really haven't begun to test it, but as soon as i figure it out, i'll edit, or you can too, to help others in need.

8.) Ok now for the last step! We're almost there! Now all you have to do is SAVE the newly edited CFG file of yours. Don't name it anything else, just press CTRL+S and you're good. After that, in L4D, go to options and then go to Keyboard/Mouse, and where it says, allow developer console or whatever, enable it. After you have enabled it, press the `/~ key located next to the number 1 key on your keyboard. That'll open up a little window which allows you to make game commands, which is pretty pwn. After it comes up, type in, "exec 360controller" and then press enter. The console will already recognize that you want to execute the file, so right when you type in exec 3.....it'll already be in the drop down menu, so that makes it easier. And now after that, play the game with the PS3 controller! and Happy testing! Another kewl thing with the console, is changing your name, which alot of people dont know, just type in "name 'name here'" and bam! you're in game name has changed!

Well now that you have read this i hope that you can successfully play left 4 dead, comfortably since i bet that you're reading this becuase no other site out there fully explains. Other assholes out there, just say "ROFLYOUR NOT KEWL! PLAY WITH MOUSE AND KEYBOARD YOU TARD!! ROFLLMAO2!@$%" instead of answering your question. The code i used was actually from some other source, which i forgot where i got it, but whereever i found the code, it never worked, so i thought to tweak it out myself. Now its your job to tweak out your own scheme. :) happy Left4Deading! Please comment if you can!

4 comments:

  1. wow dude my controller is abit fucked up so it doesnt stay steady but thanks man your awesome, it works

    ReplyDelete
  2. haha no problem, extremely late response cuz i dont do this often but glad to see it worked haha. Cheerz!

    ReplyDelete
  3. Thanks dude, perfect on L4D, but this doesn't work in L4D2, do you know a way to fix this?

    ReplyDelete
  4. WORKS PERFECTLY! 100% WORKS! THANKS!

    ReplyDelete