Skyrim

File information

Last updated

Original upload

Created by

flexcreator

Uploaded by

flexcreator

Virus scan

Some manually verified files

1450 comments

  1. flexcreator
    flexcreator
    • premium
    • 3,139 posts
    • 422 kudos
    Locked
    Sticky
    The video covers how exactly the cleaning works (technical details).


    There is also a detailed description of the old method (used by PDT 2013).
    A lot of people think that it was dangerous to use, just because it's zeroing the whole Papyrus section. I think they just misunderstand how exactly the process works. In this video you can see that all the important data is restored. Yes, there can be few side effects related to event registrations but usually not game breaking. I still think It was a better choice compared to starting a new game from the scratch. You can check the old comments and see that 90% feedback is positive:
    http://www.nexusmods.com/skyrim/mods/31675/?

    Of course, now the Zero method is obsolete and should never be used.
    1. Lumenia
      Lumenia
      • premium
      • 912 posts
      • 18 kudos
      Thank you for this explanation flex and for the other videos too. They are quite helpful !
  2. flexcreator
    flexcreator
    • premium
    • 3,139 posts
    • 422 kudos
    Locked
    Sticky
    How to edit script variables (step-by-step tutorial) and WHY do you need this:
    http://www.nexusmods.com/skyrim/videos/428/?
  3. flexcreator
    flexcreator
    • premium
    • 3,139 posts
    • 422 kudos
    Locked
    Sticky
    Quick and simple tutorial from slamminuk, as a sticky page:
     


    My game isn't really broken as far as I'm aware, but I thought I'd give your program a go.

    Wow found over 1300 script instances that aren't attached to anything and 1069 with no class definitions.

    Quick tutorial on how I cleaned these

    1) Open "PDTWrapper.exe"
    2) Click "Select ESS" and navigate to your saves folder and chose your most recent save file
    3) Click "Load Papyrus Section" and let it run. (Can take some time)
    4) Once finished, click the "Analysis" tab and you should be presented with some text showing you how many script instances aren't attached to anything and how many with no class definitions. Take note of what options it gives you.
    5) To clean this, on the right hand side, will be the "Basic Cleaning" option. Click "Remove Unattached Instances" and let it run and do its thing.
    6) Once this is complete click "Remove Instances" under "Instance Operations" and again let it do its thing.
    7) Done!

  4. flexcreator
    flexcreator
    • premium
    • 3,139 posts
    • 422 kudos
    Locked
    Sticky
    Issues explained:

    Q: Why the savegame is loading so long in this tool?

    It's not the savegame that loading, it's the prerpocessed data.

    PDTWrapper (Load Papyrus Section) => PapyrusDataTransfer => XML => PDTWrapper (Analysis...)

    Stages:
    1) PapyrusDataTransfer.exe is preparing the XML file that contains all the information about the savegame + statistics data.
    2) At that point the "Analysis..." string will be shown. PDTWrapper is just loading the XML file, and NOT the savegame itself. You can start editing the savegame at this moment if you want (like using "Remove Unattached Instances" ).

    Q: Is it safe to use editing operations when the Game Resources is empty

    Yes. All the data is grabbed just to inform you about the state of your savegame. THE TOOL WILL NEVER RELY on this information to decide what to remove or not. In other words you don't have to "Load Papyrus Section" at all to perform basic cleaning.

    Q: What's with that flickering on the Data tab?

    The flickering means that the data is not yet loaded. It can take a while to load the XML completely. But as I said, you don't have to wait to apply the edit operation.
  5. flexcreator
    flexcreator
    • premium
    • 3,139 posts
    • 422 kudos
    Locked
    Sticky
    People keep asking me what's the difference between this and Hadoram's tool, so I decided to make a sticky post:

    "Savegame script cleaner" is a light tool that work very fast and can also delete forms

    PDT Cons:
    - I'm focusing on scripts only (my tool is unable to remove game forms)

    - Also, my tool is slow, because it also associates scripts with actual plugins you have in the Data folder (just for the information purposes, this is optional), the GUI wrapper also loads all the avaiable content at once (and it is .NET based)

    PDT Pros:
    - it will parse the script instances correctly. "Savegame script cleaner" won't show you the arrays, it also has a bug with script Inheritance: it will show invalid data for all the instances with (Inheritance Level > 1)

    - PDT can work more accurate. You can remove one single instance if you want.
    You can also write advanced filters (like remove these, but DON"T touch this; or remove all instances that have variables with the specific value) instead of constantly selecting records and clicking "Remove"

    - PDT can change data, you can change pointers or variable to any value you want (type checks are integrated in the tool, the utility won't allow you to break your savegame this way) or even import the values from the old savegame (the Transfer option)

    - "Savegame script cleaner" have no diagnostic messages or statistics.
    PDT is designed primarily as a diagnostic tool. How many times you need to clean ess? Not many (Some people think that cleaning your save is like brushing your teeth - you should do it every day; but I don't encourage that). Most of the times you need to just check is your savegame OK or not (especially, after updating or installing new mods).

    - The most noticable difference: "Savegame script cleaner" FAILED to clean the savegame I uploaded in the optional files. However, such case is very rare.

    - And finally.... PDT is not detected by Avast ( LOOOL )

    Other remarks:
    "Remove Undefined only" is equal to "FixAll #>", but I don't remove the classes (I mean, what's the point of doing that? the game will do that for me)
    "Remove Unattached Instances" is equal to "FixScriptInstances", but I don't change the size of the savegame (the game is doing that for me)

    If you have regular issue with unattached scripts, "Savegame script cleaner" will do the job.
    Something more serious? You should look at PDT.

    Every tool has it's flaws. You should select the one that suits your situation.
  6. Bturdic
    Bturdic
    • member
    • 30 posts
    • 0 kudos
    Hey Idk if anybody will read this but im desperate so I downloaded this tool ran it with and without M02 on a save I recently figured out was having script issues and the features not working etc. when I tried opening the save on the tool nothing showed up after analysis and on script data, game resources or even statistics! I cant seem to find how to fix it anywhere so figured askin would be my best bet!
    1. EmperorLazarus
      EmperorLazarus
      • member
      • 246 posts
      • 0 kudos
      Create new game.
    2. kelik1337
      kelik1337
      • member
      • 52 posts
      • 0 kudos
      Yeah, once your save is dead chances are that's it. something like this MIGHT fix it, but its akin to putting sunblock over a sunburn. You're already burned.
  7. math129115
    math129115
    • member
    • 1 posts
    • 0 kudos
    Since I can't find Microsoft Net Framework 4.5.1 I would like to know if Version 4.8 is okay as well.
    1. Cheyron
      Cheyron
      • supporter
      • 1,545 posts
      • 37 kudos
      if im not mistaken .NET should have backwards compatibility
    2. aragonit
      aragonit
      • member
      • 1,188 posts
      • 15 kudos
      You can always download it from the Microsoft website. I have a brandnew computer with Win10, and this program works.
  8. Cheyron
    Cheyron
    • supporter
    • 1,545 posts
    • 37 kudos
    how do i load the gui? i run the exe and get a console app
  9. longthao32
    longthao32
    • member
    • 173 posts
    • 1 kudos
    hi flexcreator, I dont know that you still on this nexus or not, but if you still do, I have some question to ask you, after clean my save file game, should I save overwrite the old one or make a new save? because when I make new saves, it seems that whenever I try to terminate active threads, the pdt wrapper pause for so long.
  10. TristanIseme
    TristanIseme
    • supporter
    • 9 posts
    • 1 kudos
    Hi,
    Trying to get this tool to work for the first time and get an unhandled exception error on loading Papyrus selection. I've included the error text below, how do I fix this?
     

    ************** Exception Text **************
    System.ComponentModel.Win32Exception (0x80004005): The parameter is incorrect
       at System.Windows.Forms.Form.UpdateLayered()
       at System.Windows.Forms.Form.set_Opacity(Double value)
       at PDTWrapper.FormVerdictWithImage.FormVerdictWithImage_Deactivate(Object sender, EventArgs e)
       at System.Windows.Forms.Form.OnDeactivate(EventArgs e)
       at System.Windows.Forms.Form.set_Active(Boolean value)
       at System.Windows.Forms.Form.WmActivate(Message& m)
       at System.Windows.Forms.Form.WndProc(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
       at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

    ************** Loaded Assemblies **************
    mscorlib
        Assembly Version: 4.0.0.0
        Win32 Version: 4.6.1586.0 built by: NETFXREL2
        CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
    ----------------------------------------
    PDTWrapper
        Assembly Version: 1.0.0.0
        Win32 Version: 1.0.0.0
        CodeBase: file:///C:/Users/Jay/Desktop/Skyrim%20Modding/Script%20Scalpel/Papyrus%20Data%20Transfer%20GUI%20v1_2_c-53045-1-2-c/Papyrus%20Data%20Transfer%20GUI%201_2_c/PDTWrapper.exe
    ----------------------------------------
    System.Windows.Forms
        Assembly Version: 4.0.0.0
        Win32 Version: 4.6.1586.0 built by: NETFXREL2
        CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
    ----------------------------------------
    System
        Assembly Version: 4.0.0.0
        Win32 Version: 4.6.1586.0 built by: NETFXREL2
        CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
    ----------------------------------------
    System.Drawing
        Assembly Version: 4.0.0.0
        Win32 Version: 4.6.1586.0 built by: NETFXREL2
        CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
    ----------------------------------------
    Microsoft.Glee.GraphViewerGDI
        Assembly Version: 1.2.0.0
        Win32 Version: 1.0.0.0
        CodeBase: file:///C:/Users/Jay/Desktop/Skyrim%20Modding/Script%20Scalpel/Papyrus%20Data%20Transfer%20GUI%20v1_2_c-53045-1-2-c/Papyrus%20Data%20Transfer%20GUI%201_2_c/Microsoft.Glee.GraphViewerGDI.DLL
    ----------------------------------------
    Microsoft.GLEE.Drawing
        Assembly Version: 1.2.0.0
        Win32 Version: 1.0.0.0
        CodeBase: file:///C:/Users/Jay/Desktop/Skyrim%20Modding/Script%20Scalpel/Papyrus%20Data%20Transfer%20GUI%20v1_2_c-53045-1-2-c/Papyrus%20Data%20Transfer%20GUI%201_2_c/Microsoft.GLEE.Drawing.DLL
    ----------------------------------------
    Microsoft.GLEE
        Assembly Version: 1.2.0.0
        Win32 Version: 1.0.0.0
        CodeBase: file:///C:/Users/Jay/Desktop/Skyrim%20Modding/Script%20Scalpel/Papyrus%20Data%20Transfer%20GUI%20v1_2_c-53045-1-2-c/Papyrus%20Data%20Transfer%20GUI%201_2_c/Microsoft.GLEE.DLL
    ----------------------------------------
    System.Configuration
        Assembly Version: 4.0.0.0
        Win32 Version: 4.6.1586.0 built by: NETFXREL2
        CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
    ----------------------------------------
    System.Core
        Assembly Version: 4.0.0.0
        Win32 Version: 4.6.1586.0 built by: NETFXREL2
        CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
    ----------------------------------------
    System.Xml
        Assembly Version: 4.0.0.0
        Win32 Version: 4.6.1586.0 built by: NETFXREL2
        CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
    ----------------------------------------
    System.Windows.Forms.DataVisualization
        Assembly Version: 4.0.0.0
        Win32 Version: 4.6.1586.0
        CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms.DataVisualization/v4.0_4.0.0.0__31bf3856ad364e35/System.Windows.Forms.DataVisualization.dll
    ----------------------------------------
    Accessibility
        Assembly Version: 4.0.0.0
        Win32 Version: 4.6.1586.0 built by: NETFXREL2
        CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
    ----------------------------------------
    System.Xml.Linq
        Assembly Version: 4.0.0.0
        Win32 Version: 4.6.1586.0 built by: NETFXREL2
        CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml.Linq/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.Linq.dll
    ----------------------------------------

    ************** JIT Debugging **************
    To enable just-in-time (JIT) debugging, the .config file for this
    application or computer (machine.config) must have the
    jitDebugging value set in the system.windows.forms section.
    The application must also be compiled with debugging
    enabled.

    For example:

    <configuration>
        <system.windows.forms jitDebugging="true" />
    </configuration>

    When JIT debugging is enabled, any unhandled exception
    will be sent to the JIT debugger registered on the computer
    rather than be handled by this dialog box.
    1. RPGXOmega
      RPGXOmega
      • member
      • 274 posts
      • 3 kudos
      I having this same issue. Odd since I didn't have this happen before.

      Ah well just to start another game.
    2. flexcreator
      flexcreator
      • premium
      • 3,139 posts
      • 422 kudos
      It's the GUI error.
      Click the checkbox "Don't show tips" or use the console application to examine your save.


      > Ah well just to start another game.

      This error is not related to your savegame.
    3. Nickelodigas
      Nickelodigas
      • member
      • 12 posts
      • 0 kudos
      Tengo el mismo problema.
  11. Zazzar
    Zazzar
    • supporter
    • 761 posts
    • 9 kudos
    (deleted)
  12. jashsexytime
    jashsexytime
    • member
    • 6 posts
    • 0 kudos
    Okay, to be honest, I am having trouble understanding what to do once I start this process. I have a huge amount of script that is coming from AK Placable Statics. Honestly, I don't know what to do with that information though. I deleted that mod a long time ago (although apparently did not revert to a save before I added it because past me was an idiot). If I am reading what you said correctly, this wouldn't be causing me any problems though? My save file is 25 mb which I thought was ....too large. So what do I do now?
  13. Redixes
    Redixes
    • member
    • 1 posts
    • 0 kudos
    I've edited the Skyrin.ini to enable papyrus logging, but PDTWrapper still tells me it isn't.
    1. brabouak
      brabouak
      • member
      • 6 posts
      • 0 kudos
      same here, pls reply.
    2. jspee1965
      jspee1965
      • premium
      • 2,200 posts
      • 31 kudos
      Using the correct papyrus Log Path??
      **\Documents\My Games\Skyrim\Logs\Script\Papyrus.0.log
  14. nicolamcnally
    nicolamcnally
    • member
    • 37 posts
    • 0 kudos
    I've just downloaded this, and used it for the first time as advised in the info on the Description page (ie I ran it a few times to make sure I caught everything). It worked fine and I fixed a few issues. Then a few hours later, after installing a few new mods, I tried to run it again. It launches into the Analysis pending screen, but then after a few moments I get the following series of pop-up windows:
    "Exception has been thrown by the target of an invocation."I press ok, and I then get:
    "Value cannot be null. Parameter name: source"I press ok again, and I get the same message <------ again.
    Then in the main screen it says this:
    "Analysis failed. Try "Show classes only". You can still edit the savegame without loading."
    Even if I try doing it with Show classes only, I get the same pop-ups.
    I have no idea what this means, or how to fix it. Can anyone shed any light on this? I'm really sorry if this has been answered before, if so feel free to just tell me what page of the comments the info is on.
    Thanks very much
  15. Sahrotaar15
    Sahrotaar15
    • member
    • 23 posts
    • 0 kudos
    Am I able to make the script cleaner, target everything belonging to one resource / plugin and remove all that stuff?