Just in case someone want to see it. Here is the original ApplyCustomScriptedFilter.pas file.(in spoiler)
Reveal hidden contents
{Apply custom scripted filter for female NPC characters
}
unit ApplyCustomScriptedFilter;functionFilter(e:IInterface):Boolean;beginifSignature(e)<>'NPC_'thenExit;// Female flagResult:=GetElementNativeValues(e,'ACBS\Flags')and1>0;end;functionInitialize:Integer;beginFilterConflictAll:=False;FilterConflictThis:=False;FilterByInjectStatus:=False;FilterInjectStatus:=False;FilterByNotReachableStatus:=False;FilterNotReachableStatus:=False;FilterByReferencesInjectedStatus:=False;FilterReferencesInjectedStatus:=False;FilterByEditorID:=False;FilterEditorID:='';FilterByName:=False;FilterName:='';FilterByBaseEditorID:=False;FilterBaseEditorID:='';FilterByBaseName:=False;FilterBaseName:='';FilterScaledActors:=False;FilterByPersistent:=False;FilterPersistent:=False;FilterUnnecessaryPersistent:=False;FilterMasterIsTemporary:=False;FilterIsMaster:=False;FilterPersistentPosChanged:=False;FilterDeleted:=False;FilterByVWD:=False;FilterVWD:=False;FilterByHasVWDMesh:=False;FilterHasVWDMesh:=False;FilterBySignature:=False;FilterSignatures:='';FilterByBaseSignature:=False;FilterBaseSignatures:='';FlattenBlocks:=False;FlattenCellChilds:=False;AssignPersWrldChild:=False;InheritConflictByParent:=True;// color conflictsFilterScripted:=True;// use custom Filter() functionApplyFilter;Result:=1;end;end.
I found the information about Group from Tes5Mod:Mod File Format but I don't know how to use it. I can't find any example or tutorial about it.
Quote
Groups
GRUPs are collections of records, and are used to improve scanning of files to make it easier to skip over records that the reading program is not interested in.
In addition to this, subgroups for WRLD and CELLS provide some useful structural information (e.g., the division of cell data into persistent and non-persistent references.)
Question
azzendix
Problem:
I want to reduce script execution time. Is there any way to skip over records that I'm not interested?
Detail:
I want to create SSEedit Script to check old form version(43). I modified "ApplyCustomScriptedFilter.pas" file.
The script is working as intended but it takes a long time to run through all records from ESP files.
Here is the script.(only modified part)
Just in case someone want to see it. Here is the original ApplyCustomScriptedFilter.pas file.(in spoiler)
I found the information about Group from Tes5Mod:Mod File Format but I don't know how to use it. I can't find any example or tutorial about it.
4 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now