WhiteMagic / JoystickGremlin

A tool for configuring and managing joystick devices.
http://whitemagic.github.io/JoystickGremlin/
GNU General Public License v3.0
313 stars 46 forks source link

joystick gremlin Error #405

Open Beardy404 opened 2 years ago

Beardy404 commented 2 years ago

Hey guys! Please help solve the problem. I made a new profile in joystick gremlin. After saving the profile I tried to open it and got an error.

1

Please help. I spent all day on this profile and now I can't open it. Му profile: DCS Ka-50 Buttons.zip

WhiteMagic commented 2 years ago

Hard to say what causes the issue as the error can't be really located in the profile. I suspect that it might be something with the description text. Technically Gremlin should be fine with this due to treating everything as UTF chars. However, there have been other issues with character encodings and windows settings fighting and Gremlin thus failing to read things.

TheGoodIdeaFairy commented 2 years ago

@Beardy404 You can try to find the offending character and manually delete it from the XML (make a backup first). If that doesn't work, you can just make a new profile, open up both the old and new XMLs, and copy over your assignments (replacing the matching lines in the new XML). Just don't make any changes to your original.

Make a habit of creating new files every time you make a significant change, or better yet use git if you know how it works. A few measly MB will save you hours of headache and possibly total loss.