NicknineTheEagle / Frostbite-Scripts

Python scripts for extracting Frostbite Engine assets
Other
87 stars 14 forks source link

Add the `partitionGUID` aka `fileGUID` #31

Closed FlashHit closed 2 years ago

FlashHit commented 2 years ago

Add this f2.write("Partition "+self.fileGUID.format()+"\n") here: https://github.com/NicknineTheEagle/Frostbite-Scripts/blob/master/frostbite3/ebx.py#L464 and here: https://github.com/NicknineTheEagle/Frostbite-Scripts/blob/master/frostbite2/ebx.py#L409

When I mod I usually do sth like ResourceManager:FindInstanceByGuid(partitionGuid, instanceGuid). If I just have the instanceGuid then it would take longer to find that instance. That's why it makes sense to add this.

NicknineTheEagle commented 2 years ago

Done here: https://github.com/NicknineTheEagle/Frostbite-Scripts/commit/80c337e1427099b5d597573b77fec6b034fdc096.