vchar64 icon indicating copy to clipboard operation
vchar64 copied to clipboard

When exporting files, don't add suffixes like "_charset"

Open Esshahn opened this issue 7 years ago • 3 comments

bildschirmfoto 2017-05-05 um 16 19 18

When exporting data to a charset, map or tile colors, currently a suffix like "_charset" is added to the entered filename.

e.g. "game.bin" gets changed to "game-charset.bin"

While this sounds convenient, it could be improved, because

  • the user only learns about this after a file got saved
  • other naming conventions might be preferred, like "char-game"

Suggestion

  • if no file name has been specified yet (e.g. new project), prefill the name input field with something like "name-charset.bin"
bildschirmfoto 2017-05-05 um 16 30 36
  • if the filename has been changed by the user at any time (filename != "name-charset"), then don't change it at all (so user's chosen preference isn't overwritten).

Esshahn avatar May 05 '17 14:05 Esshahn

I'll second this. if I specify foo.bin, I expect to find a file named foo.bin. 🙂

VanessaE avatar Mar 24 '24 21:03 VanessaE

@ricardoquesada this one still needs addressed also if you can find time.

VanessaE avatar Jun 12 '24 20:06 VanessaE

yeah... I'll try to fix it this week (or next one)

ricardoquesada avatar Jun 17 '24 15:06 ricardoquesada