I assume people know about this but just in case if not, you can possibly use "autohotkey" to force applications to rebind keys. I had to do this for The Forest, because I use right mouse to move forward and there was no way to rebind movement to the mouse buttons. I picked a keyboard character I'm unlikely to use for anything else, bound that to 'move forward' in the game menu, and then used the autohotkey script to bind 'rbutton' to that character. This should work with any .exe file. You just have to have the script running before you launch the game. So in my script below, ' ] ' is what I made the game think was move forward, and ' v ' is what the game was forcing to the right mouse (which I think was opening the backpack)
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
#IfWinActive ahk_exe TheForest.exe
rbutton::]
v::rbutton