Hey folks. To keep things short: I need someone to help me find elements of a game code responsible for recognition of a joystick model.
Really hoping for your help, because otherwise 250 of my hard-earned bucks might go to waste. Well, at least for this one game they might.
Here's the story: the game is a space-sim MMO based on a proprietary "hammer engine", and is originally meant to be played with a keyboard + mouse; but I've no idea how's it possible to play a space sim like that, so always played with a joystick (X52). Mine is old and half-broken now though, so bought a new and better one (X52pro, almost $250 in my country). It's working AOK, but when I tried to use it in the game - no reaction.
Turns out the developers have "removed the joystick support" months ago; although in fact all they did was removed the "joystick settings" menu, and if yours was already set before that, it'll keep working just like it did. So I can play with the old and half-broken device, but not with the new and shiny one.
Yes, I've tried the official customer support as well as the official forum, both parties told me to go F myself, basically. Tried to fix the problem on my own, quickly understood it's way beyond my skills and started googling for places to find help, so here I am. If people here can't help me, I don't know who can.
I'm not much of an expert in all this stuff, so all I could find out on my own was my current device is set up via a group of parameters in the "Documents\My Games\StarConflict\user_config.xml" file. Most important of those parameters seems to be <ship_joyDinputDevice val="-365104448" />. My best guess is this is an 8-bytes text string, somehow modified. Because without modifications it can't be found anywhere in the game executable or system registry - neither in decimal, nor in hex format.
And I have no further ideas, because my endeavors in the world of programming ended in the 90's :)
In the attached archive I've included all the files, that, in my opinion, could be helpful, namely:
1. user_config.xml - the config file;
2. game.exe - the game's main executable file;
3. folders "x52 (current)" & "x52pro (new)" - all the Windows registry sections related to both joysticks (maybe you'll find that useful).
Thanks in advance.
Really hoping for your help, because otherwise 250 of my hard-earned bucks might go to waste. Well, at least for this one game they might.
Here's the story: the game is a space-sim MMO based on a proprietary "hammer engine", and is originally meant to be played with a keyboard + mouse; but I've no idea how's it possible to play a space sim like that, so always played with a joystick (X52). Mine is old and half-broken now though, so bought a new and better one (X52pro, almost $250 in my country). It's working AOK, but when I tried to use it in the game - no reaction.
Turns out the developers have "removed the joystick support" months ago; although in fact all they did was removed the "joystick settings" menu, and if yours was already set before that, it'll keep working just like it did. So I can play with the old and half-broken device, but not with the new and shiny one.
Yes, I've tried the official customer support as well as the official forum, both parties told me to go F myself, basically. Tried to fix the problem on my own, quickly understood it's way beyond my skills and started googling for places to find help, so here I am. If people here can't help me, I don't know who can.
I'm not much of an expert in all this stuff, so all I could find out on my own was my current device is set up via a group of parameters in the "Documents\My Games\StarConflict\user_config.xml" file. Most important of those parameters seems to be <ship_joyDinputDevice val="-365104448" />. My best guess is this is an 8-bytes text string, somehow modified. Because without modifications it can't be found anywhere in the game executable or system registry - neither in decimal, nor in hex format.
And I have no further ideas, because my endeavors in the world of programming ended in the 90's :)
In the attached archive I've included all the files, that, in my opinion, could be helpful, namely:
1. user_config.xml - the config file;
2. game.exe - the game's main executable file;
3. folders "x52 (current)" & "x52pro (new)" - all the Windows registry sections related to both joysticks (maybe you'll find that useful).
Thanks in advance.