je55eah wrote: Fri Dec 16, 2022 4:10 pm
This is the menuentry I have been using.
So you are using RAM layer with multisession mode.
It works as long as I remember to plug the drive in again before saving.
The information helps, but it does not change anything.
Everything that I said still stands.
Let me repeat again.
save2flash is for the RAM layer.
RAM layer does not free up the "savefile". The "savefile" must be plugged in at all times.
save2flash saves the content of the RAM layer into the "savefile".
But you are also using multisession mode.
In multisession mode there is a "virtual savefile", which is located in RAM (which obviously is "plugged-in" at all times).
When you save2flash, you are saving the content of the RAM layer to this "virtual savefile".
It is __NOT__ pretending to save, it actually __DOES__ the save.
(And it does not need to warn anything about disk not plugged in, because, I repeat again: save2flash and running with RAM layer __REQUIRES__ the savefile to be plugged in at all times; and in this particular case, the savefile is located in a "virtual savefile", so it is already always plugged in).
However, remember that this "virtual savefile" is in RAM, so, if you don't do anything else, it will be wiped out when you shutdown or reboot. Nothing surprising here.
To actually save the content of the "virtual savefile" and create a new session on your disk (or DVD), you need to use save2session.
save2session does indeed gives a reminder to plug in the device, before it does the actual save.
If the device is not plugged in, it will attempt to save anyway but it will fail and nothing will be saved (for obvious reasons). I never have a crash in this process; I suspect that you're crash because you're running out of memory during the process.
I didn't use direct because I want to run from ram and disconnect the drive.
In the very thread you quoted ( viewtopic.php?t=7067 ), I asked you to use multisession mode. I told you that the RAM layer was the wrong tool for the job.
But instead you end up using __BOTH__ the RAM layer and the multisession mode. There are situations that require this configuration, but if all that you want is to be able to unplug the device while running, @Feek indeed already offered the correct advice: use "direct:multi" instead of "ram:multi" to avoid the double "save" button (in other words, only enable the multisession but don't use the RAM layer).
If you want to make sure that nothing is saved at shutdown, you can still run with "direct:multi" but change the "RAM Save Internal" from the Fatdog Event Manager to zero; and then __save the session__. Saving the session makes sure that this change is persisted, so that on the next boot, this value will always be set to zero. Then nothing will ever be saved a shutdown time ever again. If you really want to save your session, click the save2session button manually.
Good luck.