0 of 0

File information

Last updated

Original upload

Created by

dayday8421

Uploaded by

dayday8421

Virus scan

Some manually verified files

Tags for this mod

36 comments

  1. DarkStarSword
    DarkStarSword
    • member
    • 8 kudos
    Locked
    Sticky
    For anyone who has cygwin or another Unix environment installed, this one liner does the same thing:

    for x in *.skse; do if [ ! -e $(basename "$x" .skse).ess ]; then rm -v "$x"; fi; done
    1. SirFarq
      SirFarq
      • premium
      • 8 kudos
      Thanks for providing this. I'll sticky it.
  2. badibeat
    badibeat
    • premium
    • 9 kudos
    SSE Engine Fixes (skse64 plugin) will delete orphaned SKSE cosaves on each launch of the game (can be disabled in Data\SKSE\Plugins\EngineFixes64.ini). It does other helpful things as well to fix some issues and improve stability and performance of Skyrim Special Edition. I highly recommended that mod to anyone who is already using SKSE.
    This is still useful info. Thanks.
    1. SirFarq
      SirFarq
      • premium
      • 8 kudos
      Great news, thank you.
    2. L0ngJack
      L0ngJack
      • supporter
      • 1 kudos
      interesting. engine fixes doesnt work in the Skyrim Together Reborn mod. Im wondering if this mod would work in Skyrim AE?
  3. Norstaera
    Norstaera
    • premium
    • 12 kudos
    Hi,
    I just found this, after I manually deleted approximately 7000 old autosave and quicksave skse files, and am going to download it right now. Quick question: I use Vortex mod manager, and have different profiles. Will this script check all the subfolders or will I have to point it to a specific subfolder?

    If I do need to point to a specific subfolder, can I install the script in more than one subfolder and then schedule the routine?

    Thank you.
    1. SirFarq
      SirFarq
      • premium
      • 8 kudos
      Thanks for your comment. The script only targets one directory that you set as per the description notes, so you would need to create multiple copies of the script (these copies don't necessarily need to be in kept in the same location as the saves). Then edit each copy's directory location to point to one of your save locations.
  4. GaoGaiGarTheKing
    GaoGaiGarTheKing
    • premium
    • 5 kudos
    When I try to use this Windows gives me a VBScript runtime error. I run Windows 10.
    Am I doing something wrong? I downloaded, opened it with notepad to point to the saves location like the desription says to. Edited the 3rd line only, never touched anything else. Any help?
    1. SirFarq
      SirFarq
      • premium
      • 8 kudos
      Can you supply the exact runtime error please? It seems no one else has had this issue but a note of the error will help me to point you in the right direction.
    2. litewolf
      litewolf
      • premium
      • 5 kudos
      Same error in Windows 10 (see the image: sorry, italian language ...)
      http://litewolf.altervista.org/temp/Cattura.PNG
    3. SirFarq
      SirFarq
      • premium
      • 8 kudos
      Unfortunately I can't read the error in Italian but the language also leans me suspect it may be a localisation issue which I wouldn't be able to assist with I'm afraid.
    4. GaoGaiGarTheKing
      GaoGaiGarTheKing
      • premium
      • 5 kudos
      I doubt localisation is my issue, assuming you made the mod in English. The error I get is the following:
      Script: [..]\Downloads\Orphaned SKSE co-save deleter (vbs)-17377-1-0\orphaned_skse_co-save_deleter.vbs
      Line: 25
      Char: 4
      Error: Type mismatch: 'fso.GetBaseName'
      Code: 800A000D
      Source: Microsoft VBScript runtime error

      That no doubt has more meaning to you than me and my apologise, I'd actually forgotten about this until I spotted it in my downloads and tried again now.
    5. SirFarq
      SirFarq
      • premium
      • 8 kudos
      Thanks for providing the error. I may have a solution. Please can you download the latest file that has a small change in how it compares the files and let me know if it resolves your issue?

      I'm not sure if you are interested, but if you are, here's what I did in layman's terms.

      When my script is checking the name of the a found .skse file to see if it matches an .ess (skyrim save) file, the script gets the filename minus the extension (.skse / .ess) as a string (collection of text characters) then matches them to check if they are identical. However, the script on your machine is complaining that it's trying to match an apple with an orange. The way the check is done, the compiler should automatically realise that it is matching a string with a string but why, only on some machine seemingly, it doesn't, well... I have no idea. It may possibly be to do with a missing windows security update or something, but it could be anything. Anyway I introduced a line that forces the base filename to be recognised as a string, which will hopefully resolve your issue. Let me know and thanks for trying the script out.
    6. donut1
      donut1
      • supporter
      • 1 kudos
      I downloaded this but when i click on it it doesn't open or nothing
    7. SirFarq
      SirFarq
      • premium
      • 8 kudos
      It shouldn't. Just check your save folder and see if it removed your co-saves.
    8. donut1
      donut1
      • supporter
      • 1 kudos
      just looked still have 2 of the same saves
    9. SirFarq
      SirFarq
      • premium
      • 8 kudos
      Can you please elaborate? Two of the same saves doesn't mean anything. This mod removes orphaned skse files that have no matching ess file.
    10. GaoGaiGarTheKing
      GaoGaiGarTheKing
      • premium
      • 5 kudos
      I tried the new file and realised that SSE Engine Fixes had already wiped away the co-saves for me (I didn't realise I had that option enabled). But, the script ran with no errors reported, which means it's most likely working on some level and should benefit others.
    11. SirFarq
      SirFarq
      • premium
      • 8 kudos
      Ah, that's good that SSE Engine Fixes resolves the problem. Could you do me a quick favour GaoGaiGarTheKing, and just make a copy of any SKSE file and rename to something random (anything that doesn't match an ESS file) then run my script to see if it removes it? That would confirm for me that the issue is resolved. I'd really appreciate it.
    12. GaoGaiGarTheKing
      GaoGaiGarTheKing
      • premium
      • 5 kudos
      I did the test, it deleted the renamed file. So, issue fixed, you'll be glad to know.
    13. SirFarq
      SirFarq
      • premium
      • 8 kudos
      Legend! Thank you so much for your help with this.
  5. Daetur
    Daetur
    • supporter
    • 0 kudos
    From 400MB, 1300 files, to 130MB, 42 files

    Boy, did I need this
    1. SirFarq
      SirFarq
      • premium
      • 8 kudos
      Great to hear
  6. capella6707
    capella6707
    • premium
    • 1 kudos
    I went from 225 files in my Save folder (.ess and .skse) to just 84.

    Great tool! Endorsed!
    1. SirFarq
      SirFarq
      • premium
      • 8 kudos
      Great to hear, thanks
    2. becauseilearn
      becauseilearn
      • premium
      • 0 kudos
      Heh, I had over 1200 files, and am now down to 33.Yeah, I could have done it manually but you saved me several minutes. I'll endorse when it becomes active.
    3. SirFarq
      SirFarq
      • premium
      • 8 kudos
      Thank you, glad it helped
  7. janlevkoff
    janlevkoff
    • supporter
    • 15 kudos
    Is this somehow preferable to doing the process by hand?
    1. SirFarq
      SirFarq
      • premium
      • 8 kudos
      If you read the description, it's noted that the process can be easily automated by a task. Also, it can be time consuming to check each skse file for a co-save.
  8. DcRip
    DcRip
    • member
    • 9 kudos
    For those of us that don't know about such things what does this mod actually do in basic terms? I don't really understand what "will remove orphaned SKSE co-saves" means.
    1. SirFarq
      SirFarq
      • premium
      • 8 kudos
      When running SKSE and a save is created, instead of just an .ess save file being created, SKSE also saves a co-save file with the same name but the extension .skse that contains skse specific save information. In the current builds of SKSE these co-saves are not removed when a an ess save is deleted so you can be left with orphaned .skse files in your save directory. This script removes any skse files that are not related to an existing ess save file.
    2. DcRip
      DcRip
      • member
      • 9 kudos
      Thank you for the clarification. Rather useful then. About to download right now!
    3. SirFarq
      SirFarq
      • premium
      • 8 kudos
      No problem, I've added the detail to the description.
  9. Pickelsturn
    Pickelsturn
    • BANNED
    • 117 kudos
    isn't it the same as https://www.nexusmods.com/skyrimspecialedition/mods/17082 ?
    1. northtexan95
      northtexan95
      • premium
      • 214 kudos
      The big difference is this one doesn't require Mod Organizer.
    2. SirFarq
      SirFarq
      • premium
      • 8 kudos
      Upon reflection, this may have been where I got the inspiration from. I browse so many mods a day and work on a lot of different scripts that I forget what I've seen. I did a search on the site for "SKSE save" and even "co-save" before I uploaded but nothing was found. I have amended the description to credit the mod author for that. Definitely no foul play intended! I don't use mod organiser so this file is more for auto-scheduling as a task. Thanks for raising this.
    3. Pickelsturn
      Pickelsturn
      • BANNED
      • 117 kudos
      aw ye i forgott people use Nexus Mod Mananger and other stuff xD