Automatic Downloads Feature

Issue #12 resolved
Dark Akuma created an issue

This still needs to be ported over.

And specifically, it had failures in its design for the exe update, and the to an extent with the database updates.

EXE update… I just ended up using a link to the rar, but almost never ticked it up. Auto updating the exe itself is a pita I found in previous projects, and now more so with having to maintain dll’s as well.

The database updates failed with maintaining compatability with older versions. I thought I could use the same, small file for all versions of the app, but proved wrong when I found that I would want to limit old versions from using database updates they are not compatible with.

Comments (6)

  1. Dark Akuma reporter

    Feature has been added back in now.

    I got the database updates working better now, as there is a new param in the nso.json entries for “requires”. This denotes the version of CaVE that the given database requires. I just need to tick this up every time the NSO apps add new params that older versions cannot support.

    EXE download is unchanged. It remains a link to the homepage. (not the rar as previously remembered).

  2. Dark Akuma reporter

    Further, the feature now supports installing mods too.

    This was something I wanted to do with the full unlock. I was considering just having the patch instructions be a part of the database updates, and generate a ips from those on the users computer. But this has worked out fine enough. While the full unlock is the main mod for this, the others can and will be supported with it too.

  3. Tokyo Panda

    The download of updates works. I tested this by going into the CaVE-v1.5-Beta/database folder and deleting:

    NSO-SNES-Hide_Player_Icon-v3_6.nsom
    NSO-SNES-Hide_Background-v3_6.nsom
    NSO-SNES-Full_Unlock.nsom
    update_2023-06-05.json
    update_2023-06-28.json

    Re-launched CaVE, receive the update prompt:

    Click Yes, and everything downloaded back into the Database folder.

  4. Dark Akuma reporter

    Thank you.

    I will wait for one other to confirm, just because this is a easy feature to confirm is working.

  5. Log in to comment