Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: When loading a saved game, the file picker should remember the last used directory #7580

Closed
btzy opened this issue May 10, 2019 · 3 comments

Comments

@btzy
Copy link
Contributor

@btzy btzy commented May 10, 2019

It seems that when using the file picker to find a saved game, OpenTTD initialises the file picker to ${Home}/OpenTTD/save (or something similar), at least on Windows. Some people might want keep their saved games in a different directory, and hence have to take the time to navigate to it everytime they launch OpenTTD to continue their saved games. (I keep my saved games on a network drive so that I can access it from other machines, and there are probably people who would like to keep their saved games on a different drive, or just a different directory on the default drive.)

It would be more convenient if OpenTTD remembers the directory that was last used (i.e. the directory containing the file that was last selected). This is consistent with the way Windows file pickers work by default, and is probably consistent with other operating systems too. For OpenTTD, the last used directory could be saved in openttd.cfg.

It probably wouldn't matter much whether the load file picker and the save file picker shares the same configuration entry. On Windows file pickers, they are remembered separately (so launching a file save dialog defaults to the directory last used to save a file, even if the directory last used to open a file is different). For OpenTTD, I can't think of a use case where we would need the load and save directories to be remembered separately.

@EgyLynx

This comment has been minimized.

Copy link

@EgyLynx EgyLynx commented Jun 24, 2019

What if wanna load other game file than just saved?

@btzy

This comment has been minimized.

Copy link
Contributor Author

@btzy btzy commented Jun 25, 2019

What if wanna load other game file than just saved?

Well you could simply navigate to another folder, just like you can do in a regular Windows/Mac/Linux file picker. The key point is that 99% of the time you will want to load a game from the folder that you last used.

@andythenorth

This comment has been minimized.

Copy link
Contributor

@andythenorth andythenorth commented Oct 22, 2019

Thanks for this. It's unlikely this behaviour will change in vanilla OpenTTD. The game has been around a long time, and for UI / behaviour changes that are quite subjective, it's as likely that changes will annoy players as please them. Therefore it's just simpler to not make certain changes.

We try to keep the issue low, so I'm closing this one. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.