Jump to content

Controller modifier binds not saving on logoff


GlaziusF

Recommended Posts

I was looking into setting up controller support and came up with a prototype setup that sort of mimics the bumper/button chorded D-pad and face buttons setup you get in a certain other critically acclaimed MMO with a free trial and award-winning expansions:

 

fulljoymock.png.54ad19d597e9b0f9ef5c1e6b5cab54c1.png

Here's the bind file that sets up my knockoff XBox controller to work like that:

Spoiler

JOY1 "+down"
JOYMOD1+JOY1 "powexec_tray 10 3"
JOYMOD2+JOY1 "powexec_tray 10 4"
EXTRAMOD1+JOY1 "powexec_tray 10 1"
EXTRAMOD2+JOY1 "powexec_tray 10 2"
JOY10 "nop"
JOY2 "++autorun"
JOYMOD1+JOY2 "powexec_tray 5 3"
JOYMOD2+JOY2 "powexec_tray 5 4"
EXTRAMOD1+JOY2 "powexec_tray 5 1"
EXTRAMOD2+JOY2 "powexec_tray 5 2"
JOY3 "interact"
JOYMOD1+JOY3 "powexec_tray 3 3"
JOYMOD2+JOY3 "powexec_tray 3 4"
EXTRAMOD1+JOY3 "powexec_tray 3 1"
EXTRAMOD2+JOY3 "powexec_tray 3 2"
JOY4 "+up"
JOYMOD1+JOY4 "powexec_tray 4 3"
JOYMOD2+JOY4 "powexec_tray 4 4"
EXTRAMOD1+JOY4 "powexec_tray 4 1"
EXTRAMOD2+JOY4 "powexec_tray 4 2"
JOY5 "nop"
JOY6 "nop"
JOY7 "nop"
JOY8 "nop"
JOY9 "map"
JOYPAD_DOWN "target_enemy_far"
JOYMOD1+JOYPAD_DOWN "powexec_tray 7 3"
JOYMOD2+JOYPAD_DOWN "powexec_tray 7 4"
EXTRAMOD1+JOYPAD_DOWN "powexec_tray 7 1"
EXTRAMOD2+JOYPAD_DOWN "powexec_tray 7 2"
JOYPAD_LEFT "target_enemy_next"
JOYMOD1+JOYPAD_LEFT "powexec_tray 6 3"
JOYMOD2+JOYPAD_LEFT "powexec_tray 6 4"
EXTRAMOD1+JOYPAD_LEFT "powexec_tray 6 1"
EXTRAMOD2+JOYPAD_LEFT "powexec_tray 6 2"
JOYPAD_RIGHT "target_enemy_prev"
JOYMOD1+JOYPAD_RIGHT "powexec_tray 8 3"
JOYMOD2+JOYPAD_RIGHT "powexec_tray 8 4"
EXTRAMOD1+JOYPAD_RIGHT "powexec_tray 8 1"
EXTRAMOD2+JOYPAD_RIGHT "powexec_tray 8 2"
JOYPAD_UP "target_enemy_near"
JOYMOD1+JOYPAD_UP "powexec_tray 1 3"
JOYMOD2+JOYPAD_UP "powexec_tray 1 4"
EXTRAMOD1+JOYPAD_UP "powexec_tray 1 1"
EXTRAMOD2+JOYPAD_UP "powexec_tray 1 2"
JOYSTICK1_DOWN "+backward"
JOYSTICK1_LEFT "+left"
JOYSTICK1_RIGHT "+right"
JOYSTICK1_UP "+forward"
JOYSTICK2_DOWN "+lookup"
JOYSTICK2_LEFT "+turnleft"
JOYSTICK2_RIGHT "+turnright"
JOYSTICK2_UP "+lookdown"

This was generated with bind_save_file after I'd used a mix of the in-game control window to set some joystick options and loading in a file for the powexec_trays using the rbumper/xbutton friendly names. And I'm glad I did it, because when I logged back in, none of the binds chorded with JOYMOD or EXTRAMOD had actually saved to the database. The binds to single buttons still worked, but the others were just gone.

 

This is repeatable. I can load in the bind file and have it work to activate the tray elements accordingly, but when I log out any binds chorded with JOYMOD or EXTRAMOD either don't save or are thrown away on logging back in to the character.

Edited by GlaziusF
Link to comment
Share on other sites

Interestingly, the game is lagging a bit this morning and my keybinds are being reset when I switch zones. I saved them to the default file so it's easy enough to reload them but it requires switching back and forth between controller and mouse which is pretty annoying. Ironically I can't bind a controller button to reloading the keybinds since it'd get reset.

Link to comment
Share on other sites

  • 2 months later

With the addition of the show_bind_all commands I thought I'd give this another go. The JOYMOD and EXTRAMOD binds work appropriately when loaded but don't show up in show_bind_all after a logout and login. I've included both the basic joybinds file and the pre-and post-logout results of show_bind_all_file, in the hopes that someone can work out what's going on here.

joy_base_final.txt pre_logout_binds.txt post_logout_binds.txt

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...