Fallout 4
0 of 0

File information

Last updated

Original upload

Created by

EffElO

Uploaded by

effelo

Virus scan

Safe to use

About this mod

Script to export form lists (FLST) to a .csv file for editing and to import it back in

Requirements
Permissions and credits
Changelogs
Donations
Since I found it very practical working with my other script to export and import LVLI and LVLN records to .csv and taking care of the merging in my external tools, I created a similar script for FLST records.

Features:
  • Tested for Lists containing references to MISC, WEAP, AMMO - but should support all kind of records
  • To save you from accidentally importing to the wrong FLST, the script checks the file name of the .csv file to be equal to the EditorID of the main record when importing
  • While importing the script checks for each reference if you have the necessary master file in your load order and if this file really contains the referenced record. -> should keep you save from manual errors in case you changed your active mods or added a reference by hand into the CSV
  • In order to be safe from EditorID renaming by overrides the Reference used in the export will always point to the master record (i.e. the esm/esl/esp that actually created the record) and also use the EditorID of the master record -> you can export a Reference from a list that uses the original EditorID and import it to a list that uses an overridden EditorID (and vice versa)
  • The mod you are importing the file to must have all masters for the references used (If you are unsure, simply look into your exported file to see the masters necessary) - If a master is missing, it will ask you for permission to add it. (press "YES" to add, press "Cancel" to stop the import in the middle without this entry)
  • For situations where a record referenced in the FLST is overwritten by a mod, the export will not instruct you to set the overwriting mod as a master, but only the real master that created the record --> patches of patches do not need the patches as masters
  • Entries in the exported .csv are sorted (this is especially handy if you export to compare 2 lists to see which items are missing - if you do not like it, edit the const-value at the beginning of the script and the export will mirror the order of items in the record you are exporting)
  • empty rows in the middle of your .csv will be ignored -> you can work with blocks while editing and do not have to remove empty rows before importing
  • rows in your .csv that do not contain the "[" characters will also be ignored (but a message will appear in xEdit's "Messages" tab) -> you can mark the blocks you are working with in your editor or write headers if you feel like
  • During the import process the script searches for the Editor-ID in the file stated in brackets and utilizes the found record's FormID to insert the reference -> supports the situation that several files may use the same EditorID for different records
  • Entries in the exported .csv use my own syntax of pointing to a record without using FormIDs, so that I do easier manually editing them (if you do not like it and prefer the way FO4Edit identifies an entry - EditorID, Name, FormID - simply edit the const-value at the beginning of the script and the export will use FO4Edits way of listing the records)


Usage:

  • right click the main record in your left xEdit window, select "Apply Script...", select "FO4ExportImportFormIDs" and press OK.
  • If you want to export, say "no" in the next dialogue, select the folder to export to and press OK.
  • If you want to import, select "yes" in the dialogue, select the file to import and press OK.

Installation:

Save the .pas files into your "FO4Edit\Edit Scripts\" folder

Known Issues:
  • After importing a list, change to another file and back to refresh the references on the xEdit user interface (there may be a way to do this without this problem ...no idea)
 
Hope it saves you some time providing the next awesome mod/patch for the community!