Mednafen Members Members   Search Search   Help Help   Register Register   Login Login   Home Home
Home » Mednafen » Feature Requests » Netpaly statsave
Show: Today's Messages  :: Show Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
Netpaly statsave [message #6901] Mon, 17 July 2023 00:36 Go to next message
kjace  [PM]
Will be nice add folder for "netplay statsaves" and should be automatic load when we connect to serever. This is in Fightcade or Duckstation and is very helpful.

[Updated on: Mon, 17 July 2023 01:46]

Re: Netpaly statsave [message #6908 is a reply to message #6901 ] Mon, 17 July 2023 23:21 Go to previous messageGo to next message
Yuri Bacon  [PM]
If you open mednafen from a batch file / terminal script, you can set the autosave option to 1 to automatically load a state when opening mednafen, then when the emulator closes, replace the .mca save state with a backup of the original netplay save state (just name it like .mcb or something).

This is what I did for the DRA netplay pack for a long time.


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
she/her
Use my mednafen servers? Contact me! https://discord.gg/ngZuC9c8Wr
Play Digimon Rumble Arena: https://discord.gg/wg5j5Np
Re: Netpaly statsave [message #6911 is a reply to message #6901 ] Tue, 18 July 2023 09:16 Go to previous messageGo to next message
kjace  [PM]
This is very simple and nice option. Should be in normal config Smile
Re: Netpaly statsave [message #6913 is a reply to message #6911 ] Tue, 18 July 2023 11:57 Go to previous messageGo to next message
Yuri Bacon  [PM]
Source code is available, if you'd like to implement it yourself. Commenting out the part of the autosave code that saves the .mca state is actually really easy, just comment out the line with this in it, from drivers/main.cpp

if(MDFN_GetSettingB("autosave") && !autosave_load_error)
  MDFNI_SaveState(NULL, "mca", NULL, NULL, NULL);


Then it'll load the automatic save, but never save over it, doing what you're looking for without a batch script.


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
she/her
Use my mednafen servers? Contact me! https://discord.gg/ngZuC9c8Wr
Play Digimon Rumble Arena: https://discord.gg/wg5j5Np
Re: Netpaly statsave [message #6918 is a reply to message #6901 ] Tue, 18 July 2023 12:55 Go to previous message
kjace  [PM]
This is not my point I know script can do it but should be folder for this and you can send savestate to friends and tell them copy it to folder like in duckstation. It is easy explain them what and where.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic:Playstation overclocking.
Next Topic:VirtualBoy - ROMs Colors Dunno.
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ ]

Current Time: Mon May 13 10:55:15 CDT 2024
.:: Contact :: Home ::.

Powered by FUDforum.
Copyright © FUDforum Bulletin Board Software