SKYRIM
PapyrusUtil by meh321
Skyrim » Modders resources and tutorials
Added: 23/12/2013 - 10:39AM
Updated: 04/06/2014 - 10:45AM

291 Endorsements

2.3 Latest version

3,561 Unique D/Ls

4,380 Total D/Ls

17,389 Total Views

Uploaded by meh321

Description

Last updated at 10:45, 4 Jun 2014 Uploaded at 10:39, 23 Dec 2013

1. Description
2. Requirements
3. Installing
4. Uninstalling
5. Updating
6. Compatibility & issues
7. Credits
8. Changelog



1. Description

SKSE plugin that allows you to save any amount of int, float, form and string values on any form or globally from papyrus scripts. Also supports lists of those data types. These values can be accessed from any mod allowing easy dynamic compatibility.

Also adds the following papyrus commands:
  • Toggle fly cam and set fly cam speed - TFC.
  • Set menus on / off - TM.
  • Bat command - execute batch file in console.
  • Write to file / read to file functions. Good to combine with bat command.
  • Adds an additional package stack override on actors. See ActorUtil.psc
  • Replace any animations on selected objects. See ObjectUtil.psc
  • Print messages to console.
  • Import and export selected data in JSON format.
  • Some other misc stuff.

ActorUtil.psc - actor package override.
StorageUtil.psc - full documentation and instructions on storage.
MiscUtil.psc - some misc commands.
ObjectUtil.psc - animation replacement.
PapyrusUtil.psc - version check.

ATTENTION MOD AUTHORS!
Save games made before using version 1.3 will have all data in StorageUtil module erased. Do NOT use integers to save forms anymore, now it is SetFormValue instead of SetIntValue to save forms directly. Same for lists of forms.



2. Requirements

SKSE latest version: http://skse.silverlock.org/



3. Installing

Use mod manager or extract files manually.



4. Uninstalling

Remove the files you added in Installing step.



5. Updating

Just overwrite all files.



6. Compatibility & issues

Should be compatible with everything.



7. Credits

Ashal and milzschnitte for suggestions. SKSE team for making this plugin possible.



8. Changelog

2.3 - 04/06/2014
  • Used different method for thread safety, no more dependencies.

2.2 - 14/04/2014
  • Compiled plugin in VS 2008 environment.

2.1 - 22/03/2014
  • Attempted to fix problem with JSON export when selecting specific keys to export.
  • Added option to insert values in lists, didn't add this option to file lists yet.
  • Added option to sort values in lists, didn't add to file lists yet.
  • Added optional debug mode command (enables until you exit game or disable again). See at the end of StorageUtil.psc, currently in debug mode StorageUtil section size (bytes) in save game is reported to console when saving or loading game.

2.0 - ??/??/2014
  • I don't know what happened here I was sure there was version 2.0 somewhere.

1.9 - 11/01/2014
  • Fixed few bugs with string list comparison that broke find and add unique.
  • Added option to replace animations on objects.
  • Added option to import and export selected data in JSON format.
  • Please test these new things extensively before releasing a mod using them.

1.8 - 02/01/2014
  • Fixed problems caused by space in mod name.

1.7 - 01/01/2014
  • Fixed bug where starting new game broke everything. Important update.

1.6 - 31/12/2013
  • Fixed bug where there were two kinds of none when comparing - invalid form and none passed from papyrus.

1.5 - 28/12/2013
  • Fixed a bug that could cause all data to be lost. Important to update to this version.

1.4 - 23/12/2013
  • Renamed project.
  • Added command to get race editor ID.
  • Not really necessary to update to this version.

1.3 - 17/12/2013
  • Saving forms is now separate from integer saving! Do not use integers to save forms, it will not work properly.
  • Fixed crashes that some people were getting when saving game.
  • Added a new module ActorUtil, it allows overriding packages on actors. If you add a package that never ends you have to manually remove it. Packages that finish (e.g. traveling) should be removed automatically.
  • Save games made before version 1.3 will lose all data from StorageUtil module.

1.2 - 16/12/2013
  • Added write to file, read from file functions.
  • Added execute batch file in console.
  • Added toggle menus on / off command.
  • Added experimental package stack on actors. Do not release any mod using this yet!

1.1 - 14/12/2013
  • Fixed almost half the stuff not working because of unsigned mistake.
  • Added a new module: MiscUtil, contains TFC, set TFC speed, print console and get node rotation.

1.0 - 07/12/2013
Initial release