Would it be possible to force a .json file extension when saving to file?

ArturoFischer

New Member
Mar 23, 2025
2
0
30
I don't think this necessarily counts as a bug... but it would be really helpful if the game forced a .json extension for saves to file.

Currently, the automatically generated filename ends with .json, but if you start typing anything, of course it replaces the extension as well. Since it saves as "any file ., Trials in Tainted Space doesn't add the .json back.
 

Attachments

  • Untitled.png
    Untitled.png
    86.2 KB · Views: 7

Skunkupine

Well-Known Member
Jun 17, 2023
424
131
I don't think this necessarily counts as a bug... but it would be really helpful if the game forced a .json extension for saves to file.

Currently, the automatically generated filename ends with .json, but if you start typing anything, of course it replaces the extension as well. Since it saves as "any file ., Trials in Tainted Space doesn't add the .json back.
Some of that is OS dependent - in Linux, changing the name does NOT change the extension.
 

ArturoFischer

New Member
Mar 23, 2025
2
0
30
After reinstalling Debian Stable because I borked my Debian Sid trying to install Krita to redact personal information from the screenshot, I see that it only highlights the name part of the filename. Neat. Here's hoping the UPS management software doesn't need to be restarted every hour or so like last time on Stable.

Still, I think there's a way to create the same effect on Windows, by changing the "All Files ." part somehow.

https://www.electronjs.org/docs/latest/api/dialog seems to suggest something about filters?
 

Attachments

  • Screenshot_20250324_020137.png
    Screenshot_20250324_020137.png
    80.8 KB · Views: 4