FabianFG/CUE4Parse

Can't read the files from pak file

KiKiHUN opened this issue · 5 comments

I tried your example, and i searched around your code, but can't find out why it can't find the files inside the pak.
Maybe i missed some settings?
The game is built on 4.24.3, so i used GAME_UE4_24.
No encription on the files.

image

4sval commented

no encryption doesn't mean you have to skip the SubmitKey method
use an empty key

Like so?
Same thing, file count=0.

  byte[] emptyArray = new byte[32];
  provider.SubmitKey(new FGuid(), new FAesKey(emptyArray)); 
4sval commented

or 0x0000000000000000000000000000000000000000000000000000000000000000

Oh nevermind. Just found the mount() function. Works now. Thanks for your help.

Nah, still can't find how to load the files.
I can see every file in one .pak after mounting that unloaded .pak.(still unloaded, but can see the files)
But after that, can't do anything with them.
Followed the example, gave a real, working path, but it always says that "there is no game file with the path ..."
I'm soo lost with this.
Maybe are there any documentation?