Aller au contenu

Photo

Hacking in gamepad support on PC - Coalesced.bin


  • Veuillez vous connecter pour répondre
54 réponses à ce sujet

#26
CyborgD

CyborgD
  • Members
  • 75 messages

Ichigo-16 wrote...

Daz88 wrote...

Ichigo-16 wrote...

The file Katmai1337 posted mostly works in ME3 which I'm currently editing, but does anyone know how to only enable the use of the joysticks and not all the other buttons?


Sorry but i dont know, i would like to help out in the editing process, but i havent got a clue on what to change/Add.


Doesn't matter anymore, the triggers, both sticks, A, B, and X work just fine.  All I had to do was delete the codes for the dpad, they didn't work quite so well since the pad order your squad and changed weapons at the same time.  So with this and pinnacle everything works fine for me now.  I'm still going to do some tweaking and see what else I might be able to do.


Hey will you be able to upload your version of the file?

#27
Ichigo-16

Ichigo-16
  • Members
  • 11 messages
As I said this is the same file Gets Shot uploaded and just slightly tweaked for use with ME3. The only buttons working are A, B, X, both triggers and joysticks are functioning. The mouse is still required in menus and conversations. Just use xpadder or pinnacle to map other functions as needed.  There should'nt be any problems with the file, but if there are just let me know and I'll attempt to fix it.

http://www.mediafire...m7cwipe1g46bgbu

Modifié par Ichigo-16, 21 mars 2012 - 09:45 .


#28
CyborgD

CyborgD
  • Members
  • 75 messages

Ichigo-16 wrote...

As I said this is the same file Katmai1337 upload and just slightly tweaked for use with ME3. The only buttons working are A, B, X, both triggers and joysticks are functioning. The mouse is still required in menus and conversations. Just use xpadder or pinnacle to map other functions as needed.  There should'nt be any problems with the file, but if there are just let me know and I'll attempt to fix it.

http://www.mediafire...m7cwipe1g46bgbu


Thanks alot man, just going to map powers to empty buttons using a third party program like Pinnacle etc.

#29
apoc_reg

apoc_reg
  • Members
  • 459 messages
Wow this is exciting news!

Does anyone know what id need to add to the Coalesced.bin to JUST add sticks?

Until there is power wheel etc I like to use pinnacle but its just the analogue movement i would love to use with my profile.

Thanks in advance!

Modifié par apoc_reg, 20 mars 2012 - 11:54 .


#30
Ichigo-16

Ichigo-16
  • Members
  • 11 messages
I found a fix for the "fish bowl effect" that Daz88 mentioned and that I had myself.  The fix is to simply go to Bioinput.ini\\Sfxgame\\Sfxgamemodebase\\Bindings under Coalesced.bin,  just edit the second line of code that looks like this:

( Name="Shared_Aim", Command="SwapWeaponIfEmpty | TightAim | OnRelease StopTightAim | FOV 0 | onRelease FOV 70" )

Replace the first FOV with FOV 0 which simply stops overriding the FOV and then change the second FOV to what ever you want the default to be.

I don't take credity for this since I found it from 64fanatic on a steam forum: http://forums.steamp...d.php?t=2584112

#31
DB_error

DB_error
  • Members
  • 16 messages
Try allowjoystickinput = 1 in bioengine.ini (part of the coalesced.bin file).

I fear enabling the weapon and power wheels might not be possible in ME3. Probably the best approach seems to be to enable joystick support and maybe autoaim in coalesced.bin, while using pinnacle to assign most functions to the controller like on the xbox version and map mouse movement to the left stick while a certain button (e.g. LB) is pressed. That way playing the game should be possible operating the pc ui by gamepad without switching from mouse to gamepad back and forth or memorizing the mapping of powers and weapons. I might try that if I can find the time.

Modifié par DB_error, 20 mars 2012 - 10:46 .


#32
Ichigo-16

Ichigo-16
  • Members
  • 11 messages

DB_error wrote...

Try allowjoystickinput = 1 in bioengine.ini (part of the coalesced.bin file).

I fear enabling the weapon and power wheels might not be possible in ME3. Probably the best approach seems to be to enable joystick support and maybe autoaim in coalesced.bin, while using pinnacle to assign most functions to the controller like on the xbox version and map mouse movement to the left stick while a certain button (e.g. LB) is pressed. That way playing the game should be possible operating the pc ui by gamepad without switching from mouse to gamepad back and forth or memorizing the mapping of powers and weapons. I might try that if I can find the time.


Do you know how to enable mouse movement only when a certain button is held when using pinnacle, I haven't been able to figure it out.  And I can't find any info about it online so far.

#33
DB_error

DB_error
  • Members
  • 16 messages
I created a Pinnacle profile to complement Katmai1337's / skyuk3000's coalesced.bin:

http://www.2shared.c...wGmx-Y/ME3.html

This is how it works:
LB => presses LShift (command menu) and enables mouse emulation by LS / A / B => enables weapon/power selection
RB => turns mouse emulation on and off => for menus, dialogues

Works ok so far. Using sticks to move a mouse pointer is not ideal, but on the other hand you can now see your power cooldowns, something that was not possible with ME2's gamepad mod.

Maybe the coalesced file could be improved to make controls closer like the standard xbox controls:
DPad up => squad attack
DPad down => squad follow
x => reload
hold x => next weapon

I have not been able to achieve that so far.

Modifié par DB_error, 25 mars 2012 - 03:15 .


#34
CyborgD

CyborgD
  • Members
  • 75 messages

DB_error wrote...

I created a Pinnacle profile to complement Katmai1337's / skyuk3000's coalesced.bin:

http://www.2shared.c...wGmx-Y/ME3.html

This is how it works:
LB => presses LShift (command menu) and enables mouse emulation by LS / A / B => enables weapon/power selection
RB => turns mouse emulation on and off => for menus, dialogues

Works ok so far. Using sticks to move a mouse pointer is not ideal, but on the other hand you can now see your power cooldowns, something that was not possible with ME2's gamepad mod.

Maybe the coalesced file could be improved to make controls closer like the standard xbox controls:
DPad up => squad attack
DPad down => squad follow
x => reload
hold x => next weapon

I have not been able to achieve that so far.


Hey i see your much more experienced at creating the configs for pinnacle so i need your help, I tried to create my own but for some reason the game keeps crashing on start up for me whenever i try to run custom profiles. Any idea why?
I just wanted to get the sticks running naturally and map keys 1,2 and 3 to LB,RB and Y. Anything else is a bonus. This is for multiplayer, not too bothered about the campaign as i spend far less time on that.<_<

Modifié par Daz88, 29 mars 2012 - 07:32 .


#35
DB_error

DB_error
  • Members
  • 16 messages
Sorry, I have only made this one profile to date. I have no idea why your game crashes.

#36
wookieepelt

wookieepelt
  • Members
  • 20 messages
Has anyone found a way to drive the Normandy with the sticks yet?

#37
CyborgD

CyborgD
  • Members
  • 75 messages
Has ANYBODY found a way to USE the controller native? Sigh...

#38
ParadoxSalem

ParadoxSalem
  • Members
  • 256 messages
Not bumping on purpose so much as throwing in my support for this. If anyone can get this working, I'll be terribly grateful. I used the controller patches on the first two games as well.

#39
J0hnick

J0hnick
  • Members
  • 39 messages
Xpadder has served me well, but I still support this thread, and it would be nice to not have to remap my powers when I switch between single and multi player.

#40
splitpeasoup

splitpeasoup
  • Members
  • 14 messages
I tried looking at settings in the coalesced.ini file but got a bit overwhelmed. I found an editor for the file but I wonder if there is a modding community somewhere to help document what all the settings do.

I've been playing ME3 with the pinnacle profiler and smnation's profile, it works fairly well but the mouse in menus is still awkward, it'd be nice to be able to use the d-pad to navigate and then a button to select whatever's highlighted. Currently I have to move the mouse cursor over whatever's highlighted and click with the right trigger.

#41
wookieepelt

wookieepelt
  • Members
  • 20 messages
Is anyone working on this? My pinnacle trial ran out, and I'd rather give the money to someone who adds native controller support to ME3, since that's the only game I play that I used pinnacle for.

#42
Kthiessen

Kthiessen
  • Members
  • 5 messages
I don't know about adding native controller support, or anything to do with the coalesced.ini file, but I use a program called GlovePie (Its similar to pinnacle or xpadder, just much more coding based and free) to translate all my xbox controls to keyboard and mouse presses.

Currently I'm having a few bugs with the single player power menu and weapon menu stuff, but I plan to be able to scroll through powers and weapons individually (powers by holding left bumber, weapons by holding right bumber) just by moving the cursor to the proper coordinates on the screen, and then assign them to the hotkeys similarily. Of course another issue there is that the coordinates would change based on the screen resolution and aspect ratio. Also the menus are still only used with the right stick emulating mouse movements.

As for multiplayer it works well though. I haven't tried with aim assist enabled yet. I wrote in my own mouse acceleration and stuff, so it helps to turn off "mouse dampening" in the game settings. There are some variables at the top that can be changed to suit your liking. I tried to get the controls as close as possible to xbox, they are as follows:

A = action / sprint
B = Melee
Y = Power slot 2
X = Reload, hold to switch weapons
LB = Power slot 1
RB = Power slot 3

Dpad left = ammo supplies
Dpad right = ops pack
Dpad down = medigel
Dpad up = switch to rockets

Click in left stick = middle mouse button (move around corners while in cover)
While the left trigger is pulled the sensitivity is reduced slightly (to whatever you set var.SlowSensitivity to) for better aiming.
pulling the right trigger with cause vibration for a better feel when shooting weapons.

I hope this helps the people who didn't want to pay for a program like pinnacle or xpadder.
You can download GlovePie here: 
http://glovepie.org/lpghjkwer.php 
And my script is here: 
https://dl.dropbox.c.../Me3 Xinput.PIE

Modifié par Kthiessen, 05 juillet 2012 - 04:57 .


#43
CyborgD

CyborgD
  • Members
  • 75 messages
Any idea how to turn on Aim assist? I had a look around the script but couldn't find it.

#44
Manimal

Manimal
  • Members
  • 266 messages
Be careful what you change, you might get banned from multiplayer.

#45
HydraNiel

HydraNiel
  • Members
  • 233 messages

Daz88 wrote...

Any idea how to turn on Aim assist? I had a look around the script but couldn't find it.


Just go into biogame.ini/ sfxgame /sfxgameconfig and the value is baimassistenabled = false. Change the = false to =true and that's it.

#46
CyborgD

CyborgD
  • Members
  • 75 messages
Thanks Dezu & Kthiessen, for the Multiplayer i have been able to work the controls with minor tweaks to the script to suite my liking, I think its OK to mess about with the ini. files just as long as it doesn't grant you an unfair advantage in game play, and really im already at a disadvantage using a controller to begin with.

I found that turning on the aim assist wasn't really that helpful but it does work perfectly and have opted to leave it off just in case im wrong about the rules of modding.

For single player ; Anyone have any ideas how we can get the weapon/power wheel to show up? Apart from that, the controls are fine for single player, just that you cannot select weapons or powers just yet. (reiteration of what Kthiessen said)

Modifié par Daz88, 03 août 2012 - 11:57 .


#47
123456789abcd

123456789abcd
  • Members
  • 2 messages
Just in case anyone is interested...

I found that changing the Movieclass entries (basically, removing the "PC" parts of the class names) in bioui.ini->sfxgame->sfxguiinteraction->movielibrary to match the entries with "Platform=CONSOLE_Xbox" in the Xbox's coalesced.bin will solve all of the aforementioned problems with controller support.  That, along with cross-checking the entries in bioinput.ini and enabling joystick input, should do the job.

#48
ParadoxSalem

ParadoxSalem
  • Members
  • 256 messages
Guys, a word of encouragement. Keep this up. I'd love to kick back on the couch and play this like I did the last two games thanks to people like you.

#49
123456789abcd

123456789abcd
  • Members
  • 2 messages
Btw, the problems I was speaking about involve some of the menus (e.g. pause menu, conversations), you still need to do a little hacking to get past the generic dialogs, since they still show up as mouse-oriented variety.

If anyone knows something about ue3/scaleform/gfx stuff, then perhaps we could come up with a decent workaround using settings in the coalesced file. Otherwise, if there's a Bioware dev who's familiar with these things (or has access to their GUI API/documentation) and has a minute to answer some questions, we could probably get this settled.

I imagine the worst case scenario is that there are flags set in the executable that load an Xbox-like basic UI (CONSOLE_Xbox appears when loading the aforementioned movies, and also shows up in the executable), in which case we'd have to edit the binary. Right now it looks like it's just not as simple as ME2, which was fine loading those Xbox cancel/confirm dialogs, etc., without much coercion.

#50
krokodyl1220

krokodyl1220
  • Members
  • 43 messages
Thanks guys, I managed to hack in left analog stick support in all 3 of games (Believe it or not, keyboard emulation on the left stick bugged me :P ). Rest is handled by Pinnacle with my custom controls with lots of shortcuts to powers and the games play like a dream :)

I must say, though - it's a shame that a game from 2012 (and a console port) doesn't have a native gamepad support. Especially considering that fans managed to hack in almost full supports ( in ME1 and ME2 ) and that resources for the console GUI are already packed into PC version and all it takes to activate full console UI functionality is to change few config lines. Oh well...