SirWaddles / JohnWickParse

A parser for Fortnite uasset, uexp and pak files
MIT License
89 stars 26 forks source link

File Error: The system cannot find the path specified. (os error 3) #21

Open humping-koala opened 3 years ago

humping-koala commented 3 years ago

Hello. I'm trying to use the parser built from current latest sources because the release version fails to serialize some files in UE 4.25. I am trying to use it the same way as the release version, but I always keep getting File Error: The system cannot find the path specified. (os error 3). There is no stack trace, so I manually traced it to the following lines: https://github.com/SirWaddles/JohnWickParse/blob/3caaf8e70a27b0e82fbc89e5adda1cd0c7ae77a0/src/main.rs#L313 https://github.com/SirWaddles/JohnWickParse/blob/3caaf8e70a27b0e82fbc89e5adda1cd0c7ae77a0/src/main.rs#L56 https://github.com/SirWaddles/JohnWickParse/blob/3caaf8e70a27b0e82fbc89e5adda1cd0c7ae77a0/src/dispatch.rs#L835

I would appreciate any help with this matter.

SirWaddles commented 3 years ago

This is probably a documentation issue, but since Fortnite 14.40 (iirc), there are some new requirements for the parser.

The line from your stack trace refers to the globals. In the paks directory in the game, there's a global.utoc and global.ucas, and both of these need to be present in the paks/ directory alongside the parser.

You also need mappings, and an oodle dll. There's more info for these over on the node-wick repo. BenBot provides up to date mapping (.usmap) files.

I should also mention that, as a result of these changes, the parser really only works with Fortnite. A lot of metadata that was in the asset files is gone now, so it restricts compatibility a bit.

humping-koala commented 3 years ago

I see. Makes sense now, given the fact that no global.* is present in the Paks directory in my case (Deep Rock Galactic, UE 4.25). In this case, may I ask what is the latest supported UE4 version? Because some, but not all, assets from the above-mentioned game throw the following error when attempting to serialize:

Error: Property error occurred:
Export type: VeinResourceData
Property Tag: Title (TextProperty) 23
Could not read history type: 11