Author Topic: suggestion: identification of version in save file name and screenshots  (Read 3488 times)

Offline moriarty

  • Commander
  • *****
  • Posts: 1421
    • View Profile
    • Luke's OX mod site
With all those reports coming in of old bugs, made by people who use old versions: would it be possible to include the exact version of the .exe used in the savegame filename as well as in the screenshot filename, and possibly as a watermark for the screenshot as well?

Save files would be "git2013_??_??_????_[user defined name].sav"
Screenshots "git2013_??_??_????_[counter].png"
Screenshots would have "git2013_??_??_????" written in the upper left corner.

This way we could immediately see if the reported bug is actually a current issue.

Offline SupSuper

  • Lazy Developer
  • Administrator
  • Commander
  • *****
  • Posts: 2162
    • View Profile
Re: suggestion: identification of version in save file name and screenshots
« Reply #1 on: January 31, 2013, 07:05:57 pm »
If there's anything I've learned with OpenXcom, you can never really stop human error. :P

Anyways the Git builds weren't really *designed* for public consumption. They're debug builds, they're built in a different environment, and the filename is just autogenerated. The application itself has no way of knowing which Git version it came from or not, unless you set up a script to pick up the revision number and turn that into a version before compiling, and then you'll probably end up with something like "0.5-g8f63877-291" because Git revisions aren't very legible.

Offline moriarty

  • Commander
  • *****
  • Posts: 1421
    • View Profile
    • Luke's OX mod site
Re: suggestion: identification of version in save file name and screenshots
« Reply #2 on: January 31, 2013, 07:51:29 pm »
Hmmm... too bad. I thought there would be some kind of internal information. Couldn't you just read out the executable's name? That should be pretty straightforward.