WhiteMagic / JoystickGremlin

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

BUG: Presence of file named "test.xml" causes temporary-mode-shift to break #458

Open TheGoodIdeaFairy opened 1 year ago

TheGoodIdeaFairy commented 1 year ago

If a file is created in the user's JG directory with the name "test.xml", even an empty file, any temp-mode-shifts will no longer work (regardless of what profile is loaded). This bug plagued me for months with little explanation. IIRC there may have been a couple of other systems which lose functionality when in this error state. I will update if I recall any others that are affected.

To reproduce: Create a file named "test.xml" in the "joystick gremlin" directory by either saving a profile by that name, or by creating a blank file. Load any profile in JG and Activate Attempt to use Temporary Mode Shift

WhiteMagic commented 1 year ago

I can't reproduce this, either by placing such a file in the folder where the executable lives nor in the %userprofile%joystick gremlin folder. From memory really old versions of Gremlin used to write a file in the user folder to load the profile, however, that hasn't been the case for ages.

TheGoodIdeaFairy commented 1 year ago

I'll do some more in depth testing and see if I can isolate any other causes.