I don't know what is the logic when you are in game and you open the "load menu" : how is determined the file that is proposed by default ?
Because when I load a game with the command line --load-game , if I try to load another file, the file proposed by default is not the one I loaded from the command line. It would be great to have the last loaded file proposed (because we often want to reload it if we made a mistake).
Last loaded file ?
Moderator: ickputzdirwech
Last loaded file ?
My mods on the Factorio Mod Portal
Re: Last loaded file ?
The file selection logic goes off the last created file - not the last loaded one.
If you want to get ahold of me I'm almost always on Discord.
Re: Last loaded file ?
Well, why not, but I do not see the benefit for the user.Rseding91 wrote:The file selection logic goes off the last created file - not the last loaded one.
I often change from map to map and when I want to reload the last one, it is never the last opened file which is proposed.
You could proposed the last opened file (either loaded or created, by menu or by command line).
Or if, for some good reasons, you want to keep the old behaviour, you could add a "reload" item in the main menu when a map is already playing (with a confirmation on "are you sure you want to reload last saved file ?" to avoid errors).
My mods on the Factorio Mod Portal
Re: Last loaded file ?
This is current logic:
- LOAD "currentgame"
- PLAY
- SAVE "currentgame"
- LOAD "currentgame"
So when you change your filename before save:
- LOAD "currentgame"
- PLAY
- SAVE "currentgameVersion2"
- LOAD "currentgameVersion2"
Makes much sense.
This is your logic:
- LOAD "lastloaded"
- PLAY
- SAVE "lastloaded"
- LOAD "lastloaded"
When saved with new filename:
- LOAD "lastloaded"
- PLAY
- SAVE "lastloadedVersion2"
- LOAD "lastloaded"
So if you give the file a new name before SAVE (which many do) it will open the old file.
- LOAD "currentgame"
- PLAY
- SAVE "currentgame"
- LOAD "currentgame"
So when you change your filename before save:
- LOAD "currentgame"
- PLAY
- SAVE "currentgameVersion2"
- LOAD "currentgameVersion2"
Makes much sense.
This is your logic:
- LOAD "lastloaded"
- PLAY
- SAVE "lastloaded"
- LOAD "lastloaded"
When saved with new filename:
- LOAD "lastloaded"
- PLAY
- SAVE "lastloadedVersion2"
- LOAD "lastloaded"
So if you give the file a new name before SAVE (which many do) it will open the old file.
Cool suggestion: Eatable MOUSE-pointers.
Have you used the Advanced Search today?
Need help, question? FAQ - Wiki - Forum help
I still like small signatures...
Have you used the Advanced Search today?
Need help, question? FAQ - Wiki - Forum help
I still like small signatures...
Re: Last loaded file ?
Why not keeping track of a currentfile ?
if you load a file, currentfile points to the file.
if you reload, currentfile is proposed.
whenever you save a file, currentfile is proposed as a savename, and currentfile points to the file (and also if you change the name).
if you close the game currentfile is memorized.
if you reopen, at first load, currentfile is proposed.
----
So you are always proposed to load the last saved or last loaded.
The rule of assignation of currentfile is simple :
- currentfile get the name of any loaded file
- currentfile get the name of any saved file
- whenever you need to load or save, currentfile is proposed as a name.
if you load a file, currentfile points to the file.
if you reload, currentfile is proposed.
whenever you save a file, currentfile is proposed as a savename, and currentfile points to the file (and also if you change the name).
if you close the game currentfile is memorized.
if you reopen, at first load, currentfile is proposed.
----
So you are always proposed to load the last saved or last loaded.
The rule of assignation of currentfile is simple :
- currentfile get the name of any loaded file
- currentfile get the name of any saved file
- whenever you need to load or save, currentfile is proposed as a name.
My mods on the Factorio Mod Portal
Re: Last loaded file ?
Ok. Added to viewtopic.php?f=80&t=21367 Game Save File Related Suggestions
Cool suggestion: Eatable MOUSE-pointers.
Have you used the Advanced Search today?
Need help, question? FAQ - Wiki - Forum help
I still like small signatures...
Have you used the Advanced Search today?
Need help, question? FAQ - Wiki - Forum help
I still like small signatures...
Re: Last loaded file ?
Infact for the moment, it seems quite simple : you are proposed to load the most recent file in the save directory. If you delete it, the previous one will be used.
My mods on the Factorio Mod Portal