Home Gallery Resources The Team Rules chat Login Register
Pages: [1]
Author Topic: Virtual SD Sync  (Read 1334 times)
0 Members and 1 Guest are viewing this topic.
Syvkal
Mega Kitten
*****
Offline Offline

Posts: 106



View Profile Awards
« on: April 21, 2018, 02:03:18 PM »




A collection of utilities and scripts to automate updating your virtual SD card.

You choose a folder and your sd.raw file, then run the program to sync between them.
Only copies files that have been modified or newly added. It can also optionally purge old files from the SD card that no longer exist in your mods folder.

Features

  • Mount sd.raw files as a virtual Windows drive
  • Sync files between your build directory and the sd.raw file
  • Unmount virtual drive after syncing
  • Load Dolphin after sync (optional)
  • Load Dolphin save state on start (optional)
  • Create new sd.raw file if required

Notes

  • Make sure to backup your data
  • Once the Setup is done, everything should be safe and easy to use
  • Can be pinned to the taskbar for ease of use

Changelog


Version: 0.1.3.1
  • Major bug fix
Version: 0.1.3.0
  • Switched from using OSFMount to the more reliable ImDisk
  • Remodeled the GUI
  • Reduced file and ini clutter
  • Added a delay to help prevent errors when unmounting the SD Card too fast

I'd appreciate any error reports, I tried my best to make it a standalone package. Hope you like it!
« Last Edit: September 03, 2018, 02:30:02 AM by Syvkal » Logged


okotochiken
Advanced Kitten
***
Offline Offline

Posts: 20


View Profile Awards
« Reply #1 on: April 21, 2018, 02:16:25 PM »


Duuude. This is so gonna come in handy - Thanks for taking the time to make it!
Logged

Ricky
KC:MM Family Jester
Global Moderator
*****
Offline Offline

Posts: 7238


  • Awards KCMM Storyteller Helping Hand Hey! Listen! Super Saiyan Topic Cookie Clicker!

  • View Profile WWW Awards
    « Reply #2 on: April 21, 2018, 06:54:47 PM »


    I love this, I'll be using it a lot for updating Dolphin mods. Thanks a bunch.
    Logged

    ㅤlㅤ
    - Bastard... How many Brawl hacks do you have sitting around unfinished!?
    - Do you remember how many breads have you eaten in your life?

    ㅤlㅤ


    Syvkal
    Mega Kitten
    *****
    Offline Offline

    Posts: 106



    View Profile Awards
    « Reply #3 on: April 22, 2018, 03:02:42 AM »


    Glad you guys like, hope it comes in handy!

    Also, minor update.
    Previously it was ignoring any old versions of files.
    I realized that people may want to revert changes and use an older version, so I've updated the batch file to perform a proper sync
    Logged


    Syvkal
    Mega Kitten
    *****
    Offline Offline

    Posts: 106



    View Profile Awards
    « Reply #4 on: June 29, 2018, 08:27:07 AM »


    Updated to Version 0.1.3.0

    Changelog in the first post.
    Major changes involve a better GUI, bug fixes, and the switch to using ImDisk.


    Updated to Version 0.1.3.1

    Major bug fix... whoops
    « Last Edit: June 29, 2018, 07:07:38 PM by Syvkal » Logged


    SinusStudios
    Newbie Kitten
    *
    Offline Offline

    Posts: 2


    View Profile Awards
    « Reply #5 on: September 01, 2018, 08:29:09 AM »


    This tool is very useful, but does it check actual dates..?
    As in does it not overwrite if the source file has an older date?
    If that's the case, there should be a setting to toggle "always mirror" i.e. make the SD contents equal to the source no matter what dates.
    Also i'm having trouble getting savestates to work, when i make some in the emulator it doesn't find them - no matter if started from VSDSync or not.
    Logged

    Syvkal
    Mega Kitten
    *****
    Offline Offline

    Posts: 106



    View Profile Awards
    « Reply #6 on: September 03, 2018, 02:47:10 AM »


    Updated the description so it's a bit clearer.

    It only copies files if they have changed in someway (if the Timestamp OR the file size differs) or if they are new files (exists in your mods folder, but not in the sd.raw).

    The purge option makes it so the sync is an outright mirror and deletes files from the sd.raw that are no longer in your mods folder.

    As for the savestates on the emulator, does it say not found or does it say they were made with a different version of Dolphin?
    I don't see how this could be related to VSDSync in any way, however, I could be wrong.

    I believe I ran into this issue before as well, but it was before I made VSDSync.
    They work on the main install I have of Dolphin, but none of the development versions...
    Sorry I can't be of more help =/
    « Last Edit: September 03, 2018, 03:48:40 AM by Syvkal » Logged


    SinusStudios
    Newbie Kitten
    *
    Offline Offline

    Posts: 2


    View Profile Awards
    « Reply #7 on: September 14, 2018, 10:10:07 AM »


    The save state thing was actually my own fault or something, it works now, only Dolphin fires the save state load very delayed but that's just Dolphin i guess.
    For modding Brawl / PM it's not very useful if you already use Skip Strap and Skip to CSS codes, since the save-state load will always load the same assets, only when you enter Stage screen and go back it updates etc. so save states never load updated content - you have to load them manually and for that pressing Tab for speeding up emulation is a bit more helpful imo.

    Still, thank you SO MUCH for this tool!
    Logged

    Syvkal
    Mega Kitten
    *****
    Offline Offline

    Posts: 106



    View Profile Awards
    « Reply #8 on: September 14, 2018, 09:38:20 PM »


    The save state load occurs at the earliest possible opportunity.
    Basically it waits for the information on the window title to update to show it has actually loaded the game, then it sends the command to load the save state.

    Saving your state stores exactly how your game was at that moment.
    If you are testing changes to stages, you save on the stage select screen and then pick the stage after loading.
    If you are testing character changes, either save in the main menu or (as you mentioned) save in the stage select screen and go backwards.

    I have my save state set up so I do not need to select a character each time nor change my default settings to timed mode (to allow me to play a stage one player)

    Glad you like the tool and good luck modding.
    Logged


    Adsixnine
    Newbie Kitten
    *
    Offline Offline

    Posts: 7


    View Profile Awards
    « Reply #9 on: September 18, 2018, 10:56:33 PM »


    oh nice
    thank you guy
    Logged


    Pages: [1]
    Print
    Jump to: