Giter VIP home page Giter VIP logo

Comments (8)

JulianOzelRose avatar JulianOzelRose commented on July 28, 2024 1

Hello and thank you :)

Yeah I agree, since they changed the savegame format from multiple files to just a single file, there should be some way to manage them. Someone else also asked if I could add this feature.

You can give this build a try: TRR-SaveMaster-SlotEdit-Build.zip

Just go to Edit -> Slots. Technically it's not deleting them, but you can hide them so that the game won't display them anymore... which also gives you the option to unhide them later. It doesn't disable entire the slot, just the savegame. So saving over it will make that slot visible again. Just click Refresh in the editor so it won't display the hidden savegames.

Moving the slots around is a bit trickier, not from a programming standpoint, but more like from a UX design standpoint. I'm not really a UX design guy. I'll think about how to implement that in a WinForms-friendly way. Not sure if it's exactly what you're looking for, but you might want to check out my Savegame Extractor. You can transfer individual savegames from one file to another, which makes downloading savegames from the Internet easier.

from trr-savemaster.

JulianOzelRose avatar JulianOzelRose commented on July 28, 2024 1

I see. I think this is probably more appropriate for my TombExtract program, which is basically a savegame manager. Here's a primitive build that you can try out -- it can delete and reorder savegames:

TombExtract.zip

It only works for TR1 at the moment, and I haven't added error handling yet, so be sure to backup your savegame file. Just open the savegame file you want to reorder as the destination file, then click 'Manage Slots'. It should be very intuitive from there. If you're reordering a bunch of savegames, it might take a minute or two. Deleting should be pretty quick, it zeros the bytes so it's like it was never there.

If that works well for you, I will get it working for all 3 games, get a progress display, add error handling, etc. Let me know how it works.

from trr-savemaster.

JulianOzelRose avatar JulianOzelRose commented on July 28, 2024 1

The version I sent you renders the UI and does the deletion/reordering in the same thread. That's why the UI freezes up. Here's a new build you can try out:

TombExtract.zip

This one should work for all 3 games. It runs on separate threads so the UI shouldn't lock up anymore, and there's a progress display. Let me know how that one works. If it works well, I'll update the TombExtract repo to have this feature.

from trr-savemaster.

JulianOzelRose avatar JulianOzelRose commented on July 28, 2024 1

I noticed I mixed up a few function calls after I sent you that build. Try this one:

TombExtract.zip

Should address everything you listed except the deletion progress bar. I didn't add one because it should be pretty quick to zero the savegame bytes. But if it takes a while on your system, I will add one.

from trr-savemaster.

DonelBueno avatar DonelBueno commented on July 28, 2024

Thanks for the answer.

Hiding slots work, but as you said, it's not the same as deleting. Thanks for that anyway, it stops the game from showing it, so it's fine.

About moving slots, you could make it look like a mod manager for games like Skyrim, where there is a list with all the slots, an arrow to move it up, an arrow to move it down and arrows to move it to the top or to the bottom. The most radical change compared to your current design would be to show all the slots on an open list instead of a dropdown menu.

EDIT: Maybe I was not clear, I want an option to move the slot sorting, so for example:

Slot 1: save 34
Slot 2: save 45

I would like to be able to exchange slot 1 and slot 2 positions.

from trr-savemaster.

DonelBueno avatar DonelBueno commented on July 28, 2024

It worked perfectly, thank you!

I just had to disable Windows Defender before deleting save slots because the antimalware algorithm would make it take too long, as if the program stopped responding. Other than that, it was pretty easy and quick.

from trr-savemaster.

DonelBueno avatar DonelBueno commented on July 28, 2024

Tested here. The UI indeed doesn't freeze while deleting the save, although it still takes a long time with WIndows Defender enabled.

Bugs I've noticed:

  • I couldn't see any progress bar when deleting slots.
  • TR2 shows the slots correctly on the main software window upon first opening it, but when clicking on "Manage slots", only the number of slots equal to the number of saves you have on TR1 are shown (19 in my case).
  • When I click on "Manage slots" for TR2 or TR3, then close the new window, the slots list on the main window become the one from TR1.

image

from trr-savemaster.

DonelBueno avatar DonelBueno commented on July 28, 2024

Great work, now everything works correctly!

About the progress bar, my system is not weak (Ryzen 5800x, 32 GB RAM @ 3600 MHz CL14), it takes 1 second when Windows Defender is disabled, but 30-40 seconds when it is enabled. It's a specific case, so I don't think the progress bar is necessary.

Just a request: can you default the first folder when clicking on "Source file" or "Destination file" to the same folder your program .exe is in? Or allow drag and drop of the save file.

from trr-savemaster.

Related Issues (11)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.