EliteDangerousDataProvider icon indicating copy to clipboard operation
EliteDangerousDataProvider copied to clipboard

Reloading default profile on load

Open Dover8 opened this issue 7 years ago • 5 comments

Every time EDDI exits, the speechresponder.json is being reset to the default EDDI personality. This only happens on my home computer (work computer works as expected).

Test case: I edit the speechresponder.json to my preferred personality, open EDDI and that personality is active. Close EDDI and the .json file is rewritten to default profile.

Test case: Open EDDI, change the personality. Close and reopen EDDI, default personality is selected.

System information attached DxDiag.txt

Dover8 avatar Apr 28 '17 22:04 Dover8

As far as I know, you're not supposed to edit the json files. If you want to edit a personality, you should edit it only from within EDDI. If it's the default one you want to edit (or create a new personality) you should copy if first from within EDDI and then edit (in EDDI) the new copy.

I've seen people have similar problems and it's because they edited things outside of EDDI. I personally had one where I tried to load a personality file from another user, but because they had named the file something different to the name it had in EDDI, it would load but always reset to the default personality, simply because of this mismatch.

Darkcyde13 avatar Apr 29 '17 13:04 Darkcyde13

@Darkcyde13 is correct, you shouldn't need to edit configuration files directly. Is there a reason you were doing this?

Regarding names of personalities: EDDI derives the filename of the personality from the personality's name, so if they are manually altered then EDDI likely won't find the personality and fall back to the default. If you want to create a new personality then copying the default personality and giving it a different name is the correct way to do this.

cmdrmcdonald avatar May 01 '17 12:05 cmdrmcdonald

I only edited the .json as a test case to see if I could work out if indeed the file was being written to by EDDI (which it was). What I'm unsure on is that the file is being written to when I change the profile in EDDI, hence why the change of profile isn't saved when closing.

Dover8 avatar Jun 08 '17 09:06 Dover8

I too just started having EDDI always default back to the default personality. I have never edited it outside of EDDI.

Furthermore, even when I un-tick the box for a certain response (Message received), EDDI still reads out NPC messages verbatim.

Luckfish3 avatar Dec 07 '17 04:12 Luckfish3

@Luckfish3 EDDI has been taken over by a new team, as CMDR McDonald has stepped away from development. The new repository is located at https://github.com/EDCD/EDDI/issues please report any issues there instead. Thank you :)

EDIT: Sorry, just seen that you already had! :D

Darkcyde13 avatar Dec 07 '17 12:12 Darkcyde13