1. GOG.com logo

    Thanks to YOUR votes, GOG.com now sells:
    - Sea Dogs - Sea Dogs: Caribbean Tales
    - Sea Dogs: City of Abandoned Ships

    Vote now to add Pirates of the Caribbean to the list!

    Dismiss Notice
  2. Under the Crossbones Podcast

    A Pirate Podcast with Interviews
    Music, Comedy and all things Pirate!

    - Episode Guide - About - Subscribe -
    - Twitter - Facebook - iTunes - Android -
    - Youtube - Fill the Coffers -

    Dismiss Notice
  3. New Horizons logo

    Quick links for PotC: New Horizons
    - Download latest version
    - Wiki - FAQ - Report bugs here
    - ModDB profile

  4. GOF logo

    Quick links for AoP2: Gentlemen of Fortune 2
    - Downloads and info
    - Historical Immersion Supermod
    - ModDB Profile

Dismiss Notice
New to the forum?
Please take a moment to read our Welcome Message and Forum Rules.

Mod: QuickSaveLoad 1.1

Discussion in 'Sea Dogs : To Each His Own' started by kb31, Jan 28, 2017.

  1. kb31

    kb31 Sailor Apprentice Storm Modder

    Joined:
    Jan 13, 2017
    Messages:
    55
    I have just modified(just several lines of code) quick save/load mechanism(but not autosave) to make a new file instead of default QuickSave. The idea was to solve two problems: your save can become corrupted(since engine first removes it then tries to save current state), game extremely needs to have many step-saves due to it's instability and time bounds.

    How to install:
    1. This mod requires tehomod(but doesn't require other scripts), so install it first.
    2. Unpack quicksaveload1.1.zip into the game folder(with ENGINE.exe)

    While it works perfectly for me, I strongly recommend you to backup SAVE folder before using this mod.
    If you find a bug possibly related with this mod, let me know.
     

    Attached Files:

    Last edited: Apr 19, 2017 at 8:38 PM
    Xtasy and LarryHookins like this.
  2. LarryHookins

    LarryHookins Buccaneer Staff Member Storm Modder

    Joined:
    May 20, 2006
    Messages:
    2,198
    Location:
    Texas
    Thanks @kb31. This is one of two steps necessary to make quicksave safe. The other step is to make sure quicksave is disabled when in a dialog or anywhere else that might break a quest. For example, normal save is disabled during the rum smuggling quest in the tutorial and using quicksave to get around this apparently breaks the quest: you can't go back to your boat. You can do a normal save if you moor at Lamentin Bay, however.

    I never used quicksave, as the developers have said it was evil. Even with this fix, it will probably still be evil. :) I save a lot, but always use a new save, never overwriting an old one, then delete unneeded saves when I leave an island, keeping only the save I made when I first arrived and the one I just made before leaving.

    Hook
     
  3. kb31

    kb31 Sailor Apprentice Storm Modder

    Joined:
    Jan 13, 2017
    Messages:
    55
    Quick save uses exactly same save method as usual save, the only difference is(was, with this mod) it overwrites file
     
  4. LarryHookins

    LarryHookins Buccaneer Staff Member Storm Modder

    Joined:
    May 20, 2006
    Messages:
    2,198
    Location:
    Texas
    Good. This was a necessary change.
     
  5. teh_beard

    teh_beard Landlubber

    Joined:
    Jan 14, 2017
    Messages:
    2
    Gender:
    Male
    Having played it for a day in a manner I do it - meaning paranoidal savescuming, I came to a conclusion that this does what it described perfectly. But. Such making F5 to create separate save with generated name leads to enormous save files bloat. Which, in my experience can lead to more crashes, Storm being Storm.
    So my proposition is to make quicksave cyclically overwrite 3-5-user defined number of slots.
     
  6. kb31

    kb31 Sailor Apprentice Storm Modder

    Joined:
    Jan 13, 2017
    Messages:
    55
    3-5 is too few for TEHO ;)
    The only reason (I guess) it can cause crashes(btw I haven't got at least one) - engine retrieves a huge array of saves' names. I think it's quite enough to separate saves into date-named folders, however this will require rewriting of save-load interface handler, which is much more than just few strings. Maybe I'll do it later
     
  7. LarryHookins

    LarryHookins Buccaneer Staff Member Storm Modder

    Joined:
    May 20, 2006
    Messages:
    2,198
    Location:
    Texas
    If you're making a new save file for every quick save, you'll quickly hit the 40 file limit. At least I think it's 40, I counted once when I ran out of save slots. And I think that applies to TEHO... I've played two other similar games recently and I can't be certain it was TEHO that had the limit.

    I haven't looked at this mod, so I don't know exactly what you're doing.
     
  8. kb31

    kb31 Sailor Apprentice Storm Modder

    Joined:
    Jan 13, 2017
    Messages:
    55
    Having over 600 saves at the moment in main profile. No crashes
     
  9. LarryHookins

    LarryHookins Buccaneer Staff Member Storm Modder

    Joined:
    May 20, 2006
    Messages:
    2,198
    Location:
    Texas
    Well, if it works, it works! Can't argue with success. :D
     
  10. kb31

    kb31 Sailor Apprentice Storm Modder

    Joined:
    Jan 13, 2017
    Messages:
    55
    1180 files, 1GB. Still no crashes:sail
    Time to clean up =)
     
  11. Xtasy

    Xtasy Landlubber

    Joined:
    Apr 5, 2017
    Messages:
    4
    Gender:
    Male
    Occupation:
    Pearl diving
    Location:
    Island of Justice
    Just for the record, I tend to F6 a lot, and it crashes extremely rarely( in the range of 1-2 times ! overall ), on my current playtrough with over 5k manual and quicksave, I didn't had a single corrupted save.
    Nice work again kb31, Take it ez ! :monkeydance

    PS : I avoid to save while any scripted event is processing.
     
    kb31 likes this.
  12. kb31

    kb31 Sailor Apprentice Storm Modder

    Joined:
    Jan 13, 2017
    Messages:
    55
    version 1.1:
    fixed rare bug which prevented saving in unnamed locations(didn't noticed before that they exist)
     

Share This Page