Jump to content

Help with FO4Dump exclusions options


boozehoundblue

Recommended Posts

FO4Dump

 

I've been trying to dump an NPC_ group while excluding things like DNAM,OBND,DATA,Head Parts, etc; but I can't seem to get the child record exclusion list (-xcg:list) to work. For example:

 

fo4dump.exe -dg:NPC_ -xcg:DNAM,OBND,DATA fallout4.esm >mydump.txt

 

I can correctly dump the one group but all that data is still there.

 

Am I making a trivial mistake or misunderstanding record child groups? Or do the options not work in this conjunction?

 

Link to comment
Share on other sites

Thanks for the replies.

I am pretty sure they did work when I was working on them the last time around but that was a long time ago and I haven't tried since.
Could you create a bug report on GitHub ? Hopefully I'll find some time to check this.

https://github.com/TES5Edit/TES5Edit/issues

I was leery about raising an issue on github if I was indeed making a simple mistake/misunderstanding. zilav asserts I am.

 

You can exlude entire records only when dumping a group providing their signatures, there is no per field exclusions in xDump.

Thanks for clearing that up. I guess -xcg:list doesn't serve a purpose if I'm interested in dumping specific groups, as each record has the same signature. I can just use -dg:list and -xr:TES4 (to at least remove the main file header, minus 2 lines of artifact).

 

I was also wondering about the export option mentioned in the help screen (below). Couldn't figure out the proper syntax in my above command to export to Wiki Table format:
Syntax: FO4Dump [options] inputfile
or FO4Export [options] format
Ultimately, I'm trying to cull and restructure the output to template a spreadsheet (for Articy:Draft) or xmls, json, whatever. Where might I look around in the source code to begin to understand how the esp/esm is read and how the dump structure is written? Is there any technical documentation about the file structure? For example, Bioware had a pretty comprehensive set of pdfs for NWN that I could follow to program reading/writing dialogues to json.
Edited by boozehoundblue
Link to comment
Share on other sites

"xcg" is used to skip dumping records in child groups belonging to provided records, for example you want to dump all CELL records and set param -dg:CELL but this will also dump all records located in cells, so you can exclude dumping child groups of cells -xcg:CELL and only CELL records themselves will be dumped.

 

Dumping in wiki format won't help you to understand how records work, it will export fields and their binary data type.

 

The only source of mod file format I know of is http://en.uesp.net/wiki/Tes5Mod:Mod_File_Format

It is for Skyrim, but apart from the meaning of specific fields in records, almost nothing has changed in FO4.

 

If you have programming background, checking the source of various tools can also help https://wrinklyninja.github.io/buddah/

Link to comment
Share on other sites

  • 3 weeks later...

Thanks for the advice. I've spent the last month fumbling around in Python and the source code, then decided an xEdit Script would probably be most useful. However, I've hit a couple of errors that I can't figure my way around, trying to create a switch case from (integer representations of) record signatures. If you have a chance, could you have a look? https://forums.nexusmods.com/index.php?/topic/6611661-tes5edit-scripting-compiling-woes-enumeration-type-et-al/

Link to comment
Share on other sites

  • 11 months later...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...