-
Notifications
You must be signed in to change notification settings - Fork 811
Updating from 1.7.17 to 3.2.21 renders every single profile useless - 3.3.0 crashes when editing legacy profile #3192
Comments
Let me check real quick... Yep. That version was released 5 years ago. |
I ended up finding out about this problem recently. The problem was initially introduced with DS4Windows 3.2 with the introduction of using XmlSerializer to load profile XML. Using XmlSerializer was not the issue but the custom ProfileMigration class had a flaw in it that would not return the converted XML but only a empty string. XML parsing would fail but those files should not be overwritten from what I have experienced. The problem was fixed with commits 016654b and 0e6f7ec. It should be cleared up for DS4Windows 3.3. Making some final code tweaks before pushing that version out. My initial time table was to publish that release around Friday (2023/12/15). |
That's great to hear! I'm looking forward to the update. I hadn't needed to update DS4Windows since 2019 since it just always worked for me, but I recently got a couple 8BitDo controllers and wanted the ability to map the keyboard to the buttons in order to be able to play some games that lack gamepad support. I'm really glad I can do this without losing my profiles once 3.3 is released! |
@Ryochan7 Unfortunately, the issue persists in 3.3.0. Or rather, it still doesn't work, but now DS4Windows also crashes when I try to edit an old profile. Here is a profile I am trying that causes the program to crash upon double click/edit:
|
More problems. Only tested old profile loading before but even that does not work correctly in the current release. Found some glaring issues mainly with the ProfileDTO class and not populating some data if it does not exist in the XML. The ProfileMigration class was doing its job this time around. |
Found some more relevant issues that had been undiagnosed because people did not provide a profile. Going to double post but this issue is also linked to #2827. There was no way to know without the bugged profile in question. |
Added some more tests Looks like this issue will require more immediate attention if possible. |
Thanks for continuing to look into this. Let me know if you'd like some more profiles of mine. They all produce the same issue. |
Making some progress. Hopefully version 3.3.2 behaves a bit better |
Thank you so much, version 3,3,2 works better from my brief testing! It doesn't crash upon editing an old profile, both by copy pasting the profile into the profiles folder, and by importing the profile within DS4Windows. The two profiles I tested seemed to maintain all their custom mappings, as well. Are there any other issues you're trying to iron out with this release in regards to old profiles? |
Describe the bug
I have just updated from version 1.7.17 to version 3.2.21, and none of my profiles work. I backed up my profiles before updating in case they got overwritten. Even importing the profiles from within DS4Windows simply imports a profile with the same name but leaves it completely default. No changes in button presses, touchpad functionality, nor lightbar persist in the profile that is being imported.
Desktop:
Also tested on my Windows 11 Surface Pro
Additional context
This is preventing me from updating my DS4WIndows, as I have far too many profiles that I do not wish to have to re-create one by one. If there is a way they can be imported to the current version, please let me know.
EDIT 2023-12-17: DS4Windows 3.3.0 crashes when trying to edit a legacy profile.
The text was updated successfully, but these errors were encountered: