English Amiga Board


Go Back   English Amiga Board > Support > support.WinUAE

 
 
Thread Tools
Old 10 September 2017, 03:42   #1
SixOfTwelve
 
Posts: n/a
Is statefile_name still a thing, and how do I use it?

Hi all, long time off-and-on WinUAE user, first time poster here.


(For the following, let's assume a game called MYGAME, with its appropriate configuration already saved)


I want to run WinUAE from command line with the following effects:


a) load the MYGAME.UAE configuration file

b) set the name of my state file to MYGAME.USS so WinUAE will save and load to this file and NOT to DEFAULT.USS when I press the quicksave and quickload buttons

c) boot the game normally, NOT start it from the save state file. The save state file should only be accessed when save/load buttons are pressed.




Currently my command line looks like this...
Code:
winuae -s use_gui=no -config="E:\Emulators\WinUAE\Configurations\MYGAME.UAE" -cfgparam statefile="E:\Emulators\WinUAE\Configurations\MYGAME.USS"
...which of course starts a saved game, which is not what I want.



Some search has led me to the option statefile_name, which supposedly allows you to change the name of the state file from DEFAULT.USS to whatever you want.



My problem is that I don't know where to implement this.

If I put it into the MYGAME.UAE, it doesn't seem to do anything. Maybe I'm putting it at the wrong place. Does it need to go anywhere special?


If I put it in the command line...
Code:
winuae -s use_gui=no -config="E:\Emulators\WinUAE\Configurations\MYGAME.UAE" -cfgparam statefile_name="E:\Emulators\WinUAE\Configurations\MYGAME.USS"
...it starts the game with save state MYGAME.USS, just as if I had used statefile= instead of statefile_name=.

What am I doing wrong, and is there any way do do what I want?

Any help would be greatly appreciated!
 
Old 10 September 2017, 15:37   #2
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,502
Last command line should work. Which shortcuts you use to save and load statefile?
Toni Wilen is online now  
Old 25 September 2017, 12:26   #3
SixOfTwelve
 
Posts: n/a
Sorry it took so long to reply. I've tried several more iterations and have since given up. I've managed to get my idea to work with FS-UAE though, so it's all good. :-)
 
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
Does this thing have a name? Noctumus Retrogaming General Discussion 11 24 September 2016 22:22
New to the Forum thing BlackCatFisH Member Introductions 1 09 June 2016 18:34
The thing about certain copylocks MethodGit Coders. General 28 04 March 2011 09:33
What was that Lazarus thing about? JonSick Retrogaming General Discussion 4 25 February 2008 12:28
some thing so simple jamesgafys support.Apps 10 09 January 2008 18:34

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 11:12.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.06874 seconds with 15 queries