|[hatari-users] autosave savestates per program|
[ Thread Index |
| More lists.tuxfamily.org/hatari-users Archives
- To: hatari-users@xxxxxxxxxxxxxxxxxxx
- Subject: [hatari-users] autosave savestates per program
- From: Theo M <theofromn@xxxxxxxxx>
- Date: Fri, 2 Sep 2016 10:47:50 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to; bh=BT07krQx5aDnmTVqQL6gJoLq5rua6AcFA+NC4GgyZYQ=; b=CJMZ3sCoRmmmmIhziS6VYgpDOeND3jFvFYPXL23vFdGqxWzyFBdL80lhLpy1P6OLkk veM7pgOeKAo8gUaK/dAZQ08D/RHil5PFkTNPKqfe6ezLtuJ3m62PPCHCNPQoR390LRv1 MLwom+Ng2DLwl3sg9eAR12afKzv80vdQeeJh0448Gcsvjn2ECE5yeKch9ocLuZjaVUb6 42gdNM1spVH2uNV661XhE1mR2uLNKS5D6dtwX3nTVMoNWfpzMTKHJUDimPkxFjlHzyre X4fvDjvhH+ai4o9n47bac+6dJwonKxqWHeUbIt8HC3HTwf6K+82ceWg1pSXBmd1NDxbK PkVQ==
I have asked this question on the atarilegend forum as well but the hatari userlist might be a more proper way to address this.
This is the question:
like to create shortcuts (basically small scripts) on my desktop to be
able to execute Hatari savestates and after quiting the program the
savestate should be automatically saved.
I have managed to do that in the past with the following method.
1. check in the memory settings "load/save state at start-up/exit"
create a cfg file (in this case eliminator.cfg) for the individual
games and change the szMemoryCaptureFileName and szAutoSaveFileName
nMemorySize = 1
bAutoSave = TRUE
szMemoryCaptureFileName = /home/t_b/.hatari/eliminator.sav
szAutoSaveFileName = /home/t_b/.hatari/eliminator.sav
3. start Hatari from command line or script with : hatari -c /home/t_b/.hatari/eliminator.cfg
Hatari 1.8 that doesn't seem to work anymore (or I am mistaken about
the method I described... it has been a few years since I tried it)
I can start the savestate, but after exiting the savestate is not
automatically saved. In the terminal the question is prompted
'/home/t_b/.hatari/eliminator.sav exists, overwrite?'
Currently using Slackware 14.1.
Any advise how to solve this?