NicknineTheEagle / Frostbite-Scripts

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

Need For Speed: Rivals doesn't seem to extract all chunks properly #41

Closed ProjectHSI closed 1 year ago

ProjectHSI commented 1 year ago

Launcher: EA Desktop

Using Frostbite 3 scripts. "ebxtoasset.py" fails on most assets with "Chunk not found {chunk here}"

NicknineTheEagle commented 1 year ago

Unable to reproduce, tested with audio\music directory, all assets extract fine. What ebx are you getting missing chunks on?

ProjectHSI commented 1 year ago

Currently extracting from a clean repo. (Cleared all modifications) Paths are set correctly. I'll get back to you as soon as I can.

ProjectHSI commented 1 year ago

Here's the configuration for the python scripts: dumper.py: gameDirectory = r"D:\Origin\Origin Games\Need for Speed(TM) Rivals" targetDirectory = r"D:\VGDumps\Need For Speed Rivals\Dump"

ebxtoasset.py: targetDirectory = r"D:\VGDumps\Need For Speed Rivals\Dump" targetDirectory = r"D:\VGDumps\Need For Speed Rivals\Assets" inputFolder = r"" #relative to ebxFolder, am i supposed to be doing this?

ebxtotext.py: targetDirectory = r"D:\VGDumps\Need For Speed Rivals\Dump" targetDirectory = r"D:\VGDumps\Need For Speed Rivals\Scripts" inputFolder = r"" #relative to ebxFolder

i'm using ebxtoasset.py and ebxtotext.py to extract all assets. also frosty editor seems to work fine for this game. Once again, once the dumping process is done. I'll back to you.

ProjectHSI commented 1 year ago

I'm also performing this test dump on a brand new dump. There shouldn't any problems related to files already existing.

ProjectHSI commented 1 year ago

In addition, here's the DLC I have for this game. Prices are probably in AUD.

NFSR DLC 1 NFSR DLC 2 NFSR DLC 3
ProjectHSI commented 1 year ago

^ errors with the dump directory have been fixed, i was copy and pasting all around and in my haste i just did that mistake it didn't produce an error, i just missed it so i just modified it

ProjectHSI commented 1 year ago

Dumper.py reports no errors or weird behavior.

ProjectHSI commented 1 year ago

Ebxtotext.py works fine.

ProjectHSI commented 1 year ago

Ebxtoasset.py, after condensing it's output down to just the chunk guids at fault. Returns at 226kb file which only contains the guids with no repeats. (Done with notepad++) assetGenerationOutput.txt

NicknineTheEagle commented 1 year ago

Please, provide ebx names, chunk ids don't tell me anything.

NicknineTheEagle commented 1 year ago

Will close this if ebx names are not provided soon.

ProjectHSI commented 1 year ago

i don't have enough motivation to write a regex that checks for faulty ebx names at this time closing