Issues with screenshots - not bugs, but suggestions

    Joined
    Jun 27, 2013
    Messages
    896
    Reaction score
    166
    1. No separate screenshot directory
      This is just messy, and possibly even dangerous - if you accidentally select non-screenshots if you're on a deleting spree...
    2. Naming/numbering scheme
      • Numbering screenshots is never a good idea. If I delete random screenshots, the next shots will end up out of chronological order.
      • Also, I'm a packrat, and I've been known to keep literally thousands of screenshots, so four digits may not be enough.
    3. Numbering scheme, part two
      The next number in sequence is determined by brute force, starting with ./starmade-screenshot-0000.png and checking whether a file with that name already exists, if so, increment by one, every time a screenshot is made. Now much of this will happen in cache, but it's still a comparatively expensive operation that doesn't scale well.
    The solution is really simple: make screenshots go in their own directory, and tag them with a timestamp instead of (or at least in addition to) a sequential number.