Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

As soon as I open Dexed, it crashes and won't start #467

Open
Tokyudev1130 opened this issue Jan 7, 2025 · 6 comments
Open

As soon as I open Dexed, it crashes and won't start #467

Tokyudev1130 opened this issue Jan 7, 2025 · 6 comments

Comments

@Tokyudev1130
Copy link

hello.

This software is great and useful.
I have encountered a rather serious problem.
A while ago, I was playing in Dexed using MIDI software, when all of a sudden the software crashed.
I started it up again and it immediately started crashing.
I tried re-downloading, using another version, deleting the entire contents of the file, re-downloading, but all to no avail.
But somehow VS3Ti and other plugins work fine.
I am using windows.

Dexed ver 0.9.8
Wndows 11 24H2
(This text has been translated through DeepL and may contain ambiguities. We apologize for any ambiguity.)

@FulopNandor
Copy link
Contributor

Hi, Tokyudev1130!

I encountered a similar problem to yours more than a year ago, back in the era of version 0.9.6, in MS Windows 10.
In my case, the reason was that the standalone Dexed saved an illegal state
in its configuration files, causing it to crash immediately upon subsequent launches.
Maybe you have the same problem now, like I have had in the past; if so,
the following steps might be a solution for you.

  1. Ensure that displaying the hidden files and subdirectories is enabled in your File Explorer.

  2. Locate the setting file of Dexed, named Dexed.settings.
    It should be in subdirectory named as C:\Users\_Your_Login_Name_\AppData\Roaming\Dexed,
    supposing your system drive is C: and your login name is _Your_Login_Name_.

  3. Rename the file Dexed.settings to an other arbitrary name, e.g. to Dexed0.settings0.

  4. Try to launch the standalone Dexed.exe; it should be started now.
    (In principle, Dexed.exe will re-create a default Dexed.settings file, when it terminates and this file did not exist before.)

If my memory works well, I was able to start Dexed at this point.
But, as I have mentioned, I experienced the problem about one year ago, so I cannot exclude that the bad content of the other configuration file, the Dexed.xml, caused the problem.
So, if you were not able to start standalone Dexed.exe at this point, please try the following steps:

  1. Change to subdirectory
    C:\Users\_Your_Login_Name_\AppData\Roaming\DigitalSuburban\Dexed and locate the file Dexed.xml.

  2. Make a backup of your Dexed.xml, i.e. copy it with another name, e.g. Dexed0.xml0.

  3. Open your Dexed.xml, and correct its content to the default values can be seen below:

<?xml version="1.0" encoding="UTF-8"?>

<PROPERTIES>
  <VALUE name="normalizeDxVelocity" val="0"/>
  <VALUE name="pitchRange" val="3"/>
  <VALUE name="pitchRangeUp" val="3"/>
  <VALUE name="pitchRangeDn" val="3"/>
  <VALUE name="pitchStep" val="0"/>
  <VALUE name="sysexIn" val=""/>
  <VALUE name="sysexOut" val=""/>
  <VALUE name="sysexChl" val="0"/>
  <VALUE name="showKeyboard" val="1"/>
  <VALUE name="wheelMod" val="0 0 0 0"/>
  <VALUE name="footMod" val="0 0 0 0"/>
  <VALUE name="breathMod" val="0 0 0 0"/>
  <VALUE name="aftertouchMod" val="0 0 0 0"/>
  <VALUE name="engineType" val="1"/>
  <VALUE name="dpiScaleFactor" val="1.0"/>
</PROPERTIES>
  1. Try to launch standalone Dexed.exe; it should be started.

(Please, note, that subdirectories ...\AppData\Dexed\ and ...\AppData\DigitalSuburban\ and their content are not deleted when you uninstall Dexed by C:\Program Files\Dexed\unins000.exe, even, the files being there are not rewritten by a new installation if they already exist.)

I hope that the procedure above will help you. Good luck!

Bye

PS: Apologies for my poor English, as you have probably noticed, English is not my native language either.

@asb2m10
Copy link
Owner

asb2m10 commented Jan 19, 2025

Thanks for the tip @FulopNandor !

Is it possible @Tokyudev1130 to share the Dexed.settings file ? I would like to test this on my end.

@FulopNandor
Copy link
Contributor

Dear @asb2m10,
I owe you a big thank you for developing and releasing Dexed, especially the latest version, 0.9.8!:-)

@Tokyudev1130
Copy link
Author

Dear @FulopNandor ,

I changed the name of the first Dexed.settings you mentioned and it now starts up correctly.
Thank you from the bottom of my heart.

Also attached is the file Dexed.settings mentioned by @asb2m10.
I also attach the syx file used at that time just in case.

https://drive.google.com/drive/folders/1-jidi_LeSOotCS621kmqSHDvTUl3Uno_?usp=sharing
(For some reason, the Github attachment system doesn't allow me to send the file, so I'm using Google Drive instead.)

(*Twice, this part is translated through deepl translation, so there are some unclear parts. Sorry about that.)

@asb2m10
Copy link
Owner

asb2m10 commented Feb 23, 2025

Sadly @Tokyudev1130 , your Dexed.settings works on my side, I cannot asses what it is the issue.

@FulopNandor, do you still have the older Dexed.settings (for the standalone runtime) and Dexed.xml (for the plugin) that was causing the issue ? Hope this one could fail on my side. 🤞

Thanks.

@FulopNandor
Copy link
Contributor

Dear @asb2m10,

Unfortunately, I was only able to find the following Dexed.settings files that have caused issues for me in the past. However, the current standalone version 0.9.8 successfully launched even with these files. So, I'm afraid I couldn't be of much help in reproducing an erratic state.

Dexed-BAD-settings.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants