UPDATE: updated the PR with a check against Starfield.esm. Still 2 separate commits. Now it's only these left:
AOPF -> exists, just need to update name
MRPH -> exists, just need to update name
PGRE -> better to do manually due to in previous mutagen games this is grouped in trap etc
PHZD -> better to do manually due to in previous game this is grouped in trap etc
SMBN -> better to do manually due to in previous game this is grouped in StoryManagerNodes.xml etc
SMQN-> better to do manually due to in previous game this is grouped in StoryManagerNodes.xml etc
SMEN-> better to do manually due to in previous game this is grouped in StoryManagerNodes.xml etc
Hello! I did a python script to generate empty definitions for basically all major records (only added, discarded if a definition already exists)
One nice part about this is to minimize conflicts in the future if multiple people create new records (due to one of the ids being incremental)
You can decide if this is needed or not! No bad feelings, only some effort to fill in the script with the record and their names
Then the value part of the dict was first manually fetched from xEdit wbDefinitionsSF1.pas
The values still having a space in it is from the name defined in xEdit. If it's PascalCasing I took the name you've already used for that form in FO4/OBL/SKYRIM
I also commented out some line with some extra comment added to it
Hopefully this helps somehow! Like I said I don't care if you take the script and run it manually locally
Thanks for the link! I basically did a local change of that to remove the -m filter and print all major records found in the output so I could paste that into the python script i posted here!
UPDATE: updated the PR with a check against Starfield.esm. Still 2 separate commits. Now it's only these left:
AOPF -> exists, just need to update name MRPH -> exists, just need to update name
PGRE -> better to do manually due to in previous mutagen games this is grouped in trap etc PHZD -> better to do manually due to in previous game this is grouped in trap etc
SMBN -> better to do manually due to in previous game this is grouped in StoryManagerNodes.xml etc SMQN-> better to do manually due to in previous game this is grouped in StoryManagerNodes.xml etc SMEN-> better to do manually due to in previous game this is grouped in StoryManagerNodes.xml etc
Hello! I did a python script to generate empty definitions for basically all major records (only added, discarded if a definition already exists)
One nice part about this is to minimize conflicts in the future if multiple people create new records (due to one of the ids being incremental)
You can decide if this is needed or not! No bad feelings, only some effort to fill in the script with the record and their names
Using this template: (named TEMPLATE.xml)
I ran this python script
Then manually removed the files tagged as modified instead of added!
The key for the dict and the comment on that row was taken from here https://github.com/Starfield-Reverse-Engineering/CommonLibSF/blob/main/CommonLibSF/include/RE/F/FormTypes.h
Then the value part of the dict was first manually fetched from xEdit wbDefinitionsSF1.pas
The values still having a space in it is from the name defined in xEdit. If it's PascalCasing I took the name you've already used for that form in FO4/OBL/SKYRIM
I also commented out some line with some extra comment added to it
Hopefully this helps somehow! Like I said I don't care if you take the script and run it manually locally