Go Back   Steam Users' Forums > Steam Game Discussions > M - P > Portal 2
Register FAQ Today's Posts Search

Reply
Click here to go to the first staff post in this thread.  
Thread Tools Display Modes
Old 01-29-2013, 03:13 AM   #676
Strontium
 
Join Date: Jan 2013
Reputation: 0
Posts: 4
Worked! Thanks pigosso, I really appreciate you taking the time to help me out

All the best!

Stront.
Strontium is offline   Reply With Quote
Old 01-29-2013, 06:41 AM   #677
Akion
 
 
 
Join Date: Jan 2013
Reputation: 3
Posts: 1
Hello all!

First, I'd like to thank everybody in this thread, you've helped me a lot sorting out tiny issues with splitscreen coop play in Portal 2! Also, as a sign of my gratitude, let me share my experiences, and clear up some stuff, because even after following the first post, you might encounter some issues, and while almost all the solution is already posted, you might have to search for it.

So, here are my additions:

Issue #1:
I'm not using an xbox 360 controller, but I use x360ce to emulate it's XInput calls to DirectInput calls. However, I can't get it to map Player2 to the controller!

Solution:
The latest versions of x360ce can download and generate the apropriate ini files for your controller. However, it most likely will map it to Player1. The solution s very simple. The ini file will look like this:

Code:
[Mappings]
PAD1=IG_26d290e03a0b11e08001444553540000
PAD2=
PAD3=
PAD4=
That very long string is the ID of the controller (later in the ini files you'll see how it's mapped out). Simply cut the ID string from PAD1 and paste it to PAD2.

Code:
[Mappings]
PAD1=
PAD2=IG_26d290e03a0b11e08001444553540000
PAD3=
PAD4=
As you've guessed, the ini file can contain other controllers too that are currently connected to your computer, and you've previously configured with x360ce, so make sure you copy the right ID string!

Issue #2:
I've set up the controller as above for Player 2, however the controls of the looking axis are all foobar, eg. left joystick up shoots a portal, shoulder is looking left right etc.

Solution:
Odd, but you need the xinput.dll and the ini file in TWO locations at once! Make sure you copy these two files to both:

Code:
Steam\steamapps\common\Portal 2\
Steam\steamapps\common\Portal 2\bin\
Issue #3:
How to play PeTI maps (aka workshop maps) in local play split-screen?

Solution:
This is a bit tideous job, with a few things to keep in mind, but it's totally possible to do!
First of all, you need to download the PeTI coop maps ONE BY ONE from the workshop, with hitting the button "Subscribe". Make sure to wait at least a minute or so between each subscription, and try to write down the time you hit the button to somewhere! This will be very crucial to tell which map is which!

The maps will be downloaded first to:
Code:
Steam\userdata\YOURSTEAMID\ugc\referenced\RANDOMNUMBER\mymaps
(Actually, I'm not 100% sure about this part, because I have steam could enabled, it should download it directly inside Portal2, but it downloads for me there. Could somebody please test it with cloud disabled?)

There you'll find a file with a name of a random number, and with extension "bsp". That is the actual map file you need.
Look at the date of it's creation! Remember when I told you to take a note of the time when you subscribed to a map? Yep, you'll need it for this step. Look at your note to locate the map yo u want to play!

Copy the map, and paste it into:

Code:
Steam\steamapps\common\Portal 2\portal2\maps\
and rename it to:

Code:
mp_coop_local_thenameofthemap
The most crucial part is the "mp_coop_" of the name. Oddly enough, without this naming convention you won't be able to start the map in splitscreen mode! I strongly suggest you to use the "local_" part too, this is only to tell that it isn't part of the normal game, so later if you want to delete 3rd party maps, it's easier to identify.
To play the map, just launch the game, enter to developer console, and type:

Code:
ss_map mp_coop_local_thenameofthemap
hit enter, and good luck have fun playing!
(One problem remains still though, that when you completed the map, it won't load the next one, but this is only a minor problem. I'm working on a solution to make a "maplist" of sort, that loads the nex tet chamber automatically when you complete to current one.)

Issue #4:
I've enabled and bound the developer console to a button on a non-US keyboard, but I can only open it in the first screen on the menu.

Solution
My experiences tell that on a non-US keyboard you need to bind to console to one of the "F" function keys. I used F11, and it works like charm.

That's all, I hope I could help, if you encounter problems with splitscreen coop!
Akion is offline   Reply With Quote
Old 01-29-2013, 07:50 AM   #678
pigosso
 
 
 
Join Date: Nov 2010
Reputation: 59
Posts: 463
Quote:
Originally Posted by Akion View Post
Issue #2:
I've set up the controller as above for Player 2, however the controls of the looking axis are all foobar, eg. left joystick up shoots a portal, shoulder is looking left right etc.

Solution:
Odd, but you need the xinput.dll and the ini file in TWO locations at once! Make sure you copy these two files to both:

Code:
Steam\steamapps\common\Portal 2\
Steam\steamapps\common\Portal 2\bin\
REALLY nice tutorial

btw it's not needed to put 2 time the same dll
i was used to rename or delete the one in .\bin folder, and put modified one in .\ folder
pigosso is offline   Reply With Quote
Old 02-01-2013, 05:46 PM   #679
SasakrCZ
 
 
 
Join Date: Nov 2010
Reputation: 2
Posts: 8
Can anybody help me?

http://forums.steampowered.com/forum...41&postcount=1

Thank you
SasakrCZ is offline   Reply With Quote
Old 02-08-2013, 07:25 AM   #680
KRaZiGLiTcH
 
 
 
Join Date: Mar 2012
Reputation: 0
Posts: 13
wow awesome ^_^ makes Portal 2 more fun
KRaZiGLiTcH is offline   Reply With Quote
Old 04-29-2013, 03:42 AM   #681
CorBond57
 
 
 
Join Date: Apr 2011
Reputation: 0
Posts: 3
Question need help.

i got my controller to work in splitscreen, but everytime i look down with player 2,
it shoots a portal. wich is really annoying in several puzzles.
i am using a Qware wireless gamepad (special cod edition for ps3).
CorBond57 is offline   Reply With Quote
Old 04-29-2013, 06:09 AM   #682
pigosso
 
 
 
Join Date: Nov 2010
Reputation: 59
Posts: 463
Quote:
Originally Posted by CorBond57 View Post
i got my controller to work in splitscreen, but everytime i look down with player 2,
it shoots a portal. wich is really annoying in several puzzles.
i am using a Qware wireless gamepad (special cod edition for ps3).
first, check in the windows control panel if the joystick works properly
if so, then you could try to reset key binding to default from the game settings
pigosso is offline   Reply With Quote
Old 04-29-2013, 01:52 PM   #683
CorBond57
 
 
 
Join Date: Apr 2011
Reputation: 0
Posts: 3
It says it's working in control panel, and so far i know i am still on the default key bindings.
Still going to try resetting it though.
CorBond57 is offline   Reply With Quote
Old 05-22-2013, 11:45 AM   #684
beavis88
 
Join Date: Jan 2012
Reputation: 49
Posts: 503
Quote:
Originally Posted by Ritz* View Post
Easily get your Xbox 360 Controller working in slot 2:
(only tested with a wireless controller, pretty sure wired would work too)
Download this .zip and place the two files into your portal 2 folder:
upload this file pls, link dont work
beavis88 is offline   Reply With Quote
Old 03-15-2014, 12:57 PM   #685
Waterflash
 
 
 
Join Date: Feb 2014
Reputation: 0
Posts: 1
i reconectet the controller, but it don't switched to pl2 and both play pl1
Waterflash is offline   Reply With Quote
Old 03-16-2014, 05:17 AM   #686
pigosso
 
 
 
Join Date: Nov 2010
Reputation: 59
Posts: 463
Quote:
Originally Posted by Waterflash View Post
i reconectet the controller, but it don't switched to pl2 and both play pl1
You don't need to do this anymore
Just press the X button on the second controller when in the coop menu
pigosso is offline   Reply With Quote
Old 03-18-2014, 01:21 AM   #687
Eetami
 
 
 
Join Date: Feb 2007
Reputation: 53
Posts: 503
For people with only one controller I made a guide in the Steam workshop that doesn't need those elaborate config files.
Eetami is offline   Reply With Quote
Old 07-18-2014, 12:46 AM   #688
Sharft 6
 
Join Date: Nov 2006
Reputation: 8
Posts: 110
Smile Portal 2 (beta) linux/ubuntu split screen coop

Took me hours to figure out how to make this work in ubuntu so I thought I should share my findings in a thread with high google priority.

1. To start with, you may find your controller does not work with the game when you first start it up. To remedy this problem you need to start big picture mode -> settings -> controller -> set your bindings. I find this actually works better on ubuntu than it does for windows with a logitech dual action.

2. You launch the game and try to start up a splitscreen game using ss_map mp_coop_start. Then you discover that both the controller and keyboard/mouse are controlling atlas (player 1) instead of one for pbody (player 2) and the other for atlas. first I looked into a joyids alternative for ubuntu but didn't get far with that. Then I tried renameing /dev/input/js0 to js1 which didn't help. Then I tried plugging in my g27 wheel and followed by the controller which also didn't help. Then I tried binding things to cmd2->command with "bind <key> 'cmd2 <action>'" instead of setting cmd2's binds with "cmd2 bind <key> <action>". Strangely, this worked for some things and not others depending on the binded key and maybe sometimes the action. Later I discovered the command "joy_remap_player_for_controller1 2" but this command is unknown in Portal 2 (beta). Perhaps the launch option version of that command would work but I didn't know you could do that. Finally I discovered a command that is designed for "forever alone" mode, which I think is bugged because it only swaps the keyboard/mouse, not the controller. (please don't fix this valve, those who play forever alone are probably resourceful folk who are used to making compromises). Ok, the solution - you need to type "sv_cheats 1" followed by "in_forceuser 1" into the console. That will make the keyboard/mouse control pbody but will forget to switch the controller. Now you have the keyboard/mouse for pbody and the controller for atlas.

3. You're in split screen (or even single player) but something is wrong with the horizontal look axis on the controller. I think I screwed this up when I was playing with cmd2 binds earlier. If you run into this problem then GLaDOS help you. I managed to fix it but I'm not sure how I did it. here are the things I tried:
- Manually typing the joy_advaxis commands to be absolutely sure they are set properly.
- Disabling cloud sync for portal 2.
- Nuking the ~/.steam/steam/SteamApps/common/Portal 2/portal2/cfg folder.
- Verifying integrity of portal 2 cache.
- Restarting steam.
- Testing on another ubuntu machine with the same result (cloud enabled doh!)
- Testing on windows but ran into other bind issues.
- Enabled/disabled the controller with the in game menu, testing legacy mode, reset all controller settings to defaults.
- Reenabling cloud sync for portal 2.
- Launching the game in steam mode, not big picture.



Then it just started working for some reason, and has consistently kept working ever since

4. Now you think you're ready to go but soon discover the gestures are not controlled by the correct player. Gestures mostly work fine if you tell the other player not to push anything before and while you have the gesture menu open.

Last edited by Sharft 6: 07-18-2014 at 05:36 PM.
Sharft 6 is offline   Reply With Quote
Old 10-08-2014, 02:30 PM   #689
Roy
 
 
 
Join Date: Dec 2012
Reputation: 9
Posts: 11
Very nice! I was looking for this!
Roy is online now   Reply With Quote
Reply

Go Back   Steam Users' Forums > Steam Game Discussions > M - P > Portal 2



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



All times are GMT -7. The time now is 08:14 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.
Site Content Copyright Valve Corporation 1998-2014, All Rights Reserved.