Page 1 of 3

Help with Fate Extella Link (Vita) .pk

Posted: Mon Jul 23, 2018 9:50 am
by Sosfiro
I started to messing around with the pk file yesterday, and trying to decompile it with the pktools, which worked with the PC version of the previous game, Fate Extella. But, when I tried to do it, it fails at the start of the decompilation, giving an error.

So, I tried to use a QuickBms script that also works for PK files, and in this case I got some files, but after extract an incomprehensible number of files that go up in more than 150 GB (and more), I needed to stop it because lack of space in my hard drive. This not make sense, because the file is only 1,2 GB (Probably 3-4 GB decompressed).

This works, but I can't get the files with their original name, and the folder structure, which it's important to simplify the ripping.

So, anyone here knows about another tools or QuickBms script to work with these?

Main file (1,2 GB split in 3 rars): https://mega.nz/fm/x0QCzQ6Q

Tool and script used:
QuickBms script: http://zenhax.com/viewtopic.php?t=2183
PKtools for Fate Extella (PC): https://github.com/kotcrab/fate-explorer/releases

Re: Help with Fate Extella Link (Vita) .pk

Posted: Mon Jul 23, 2018 3:49 pm
by Kotcrab
.pkh format was slightly changed, latest pktools now supports it.

Re: Help with Fate Extella Link (Vita) .pk

Posted: Mon Jul 23, 2018 6:16 pm
by Sosfiro
Thanks so much! Now the tool works well :)

Re: Help with Fate Extella Link (Vita) .pk

Posted: Sun Aug 05, 2018 7:59 am
by ssringo
pktools error out when dropping the Vita Extella Link .pk file.

Image

Re: Help with Fate Extella Link (Vita) .pk

Posted: Sun Aug 05, 2018 8:59 am
by Kotcrab
Looks like you didn't decrypt it completely. Use psvpfstools after extracting main game pkg.

Re: Help with Fate Extella Link (Vita) .pk

Posted: Sun Aug 05, 2018 10:01 am
by ssringo
Got it working now. Thank you.

Re: Help with Fate Extella Link (Vita) .pk

Posted: Mon Sep 24, 2018 7:50 am
by jay11800
Kotcrab wrote:Looks like you didn't decrypt it completely. Use psvpfstools after extracting main game pkg.
I am having the same problem. What do you mean "use" psvpfstools? Nothing on their documentation makes it clear what to do to decrypt this file.

Re: Help with Fate Extella Link (Vita) .pk

Posted: Mon Sep 24, 2018 5:07 pm
by Kotcrab
pkg2zip will create an zip archive with encrypted files. After extracting it and renaming output directory to PCSG01091 you can then run psvpfsparser to decrypt those files:

Code: Select all

psvpfsparser -i PCSG01091 -o PCSG01091_dec -z put-zRIF-here -f http://cma.henkaku.xyz/
You need to change that command to include valid zRIF. After that is done you can use pktools on .pk archive from PCSG01091_dec directory.

Re: Help with Fate Extella Link (Vita) .pk

Posted: Mon Sep 24, 2018 6:24 pm
by jay11800
Kotcrab wrote:pkg2zip will create an zip archive with encrypted files. After extracting it and renaming output directory to PCSG01091 you can then run psvpfsparser to decrypt those files:

Code: Select all

psvpfsparser -i PCSG01091 -o PCSG01091_dec -z put-zRIF-here -f http://cma.henkaku.xyz/
You need to change that command to include valid zRIF. After that is done you can use pktools on .pk archive from PCSG01091_dec directory.
uhh, ok so I have used pkg2zip, extracted it and renamed it. But I have no clue how to use psvpfsparser, and no idea what a zRIF is. I looked through all the files in psvpfstools and I don't see any exe files, so I'm guessing its some command prompt commands, but again I have no clue what any of it means. There is just a bunch of C/C+ Files. :?

Edit: found the zRIF from where I downloaded the PKG

Re: Help with Fate Extella Link (Vita) .pk

Posted: Mon Sep 24, 2018 6:39 pm
by Kotcrab
Download release zip for your OS, not the source code. https://github.com/motoharu-gosuto/psvpfstools/releases

Re: Help with Fate Extella Link (Vita) .pk

Posted: Mon Sep 24, 2018 6:47 pm
by jay11800
Kotcrab wrote:Download release zip for your OS, not the source code. https://github.com/motoharu-gosuto/psvpfstools/releases
-_- I am disappointed in myself for not thinking of that.

Re: Help with Fate Extella Link (Vita) .pk

Posted: Mon Sep 24, 2018 6:53 pm
by jay11800
Ok no now I renamed it, copied your command, replaced the zRIF and now it says: "failed to find unicv.db file or icv.db folder"

Edit: geez i'm making all kinds of stupid mistakes, I just had to move the recursive file out of the PCSG01091 > App > PCSG01091

Now it is saying:
Hash tree is ok
Building directory matrix...
Building file matrix...
Flattening file pages...
Building dir paths...
Building file paths...
Linking dir paths...
Linking file paths...
Matching file paths...
Mismatch in number of files + directories agains number of flat blocks

And nothing was decrypted

-______- ok there was another app folder messing everything up. I have no clue why there are multiple empty folders called "app" but I deleted those and now it worked

Re: Help with Fate Extella Link (Vita) .pk

Posted: Mon Sep 24, 2018 7:29 pm
by jay11800
alright, and one last question: do I change all the mxt files to dds like with extella, or is there software that will help me convert it?

Re: Help with Fate Extella Link (Vita) .pk

Posted: Mon Sep 24, 2018 10:51 pm
by Kotcrab
Yeah, don't know about those app folders. They shouldn't be there.

Gxt from psp2/texture directory can be opened in Noesis.
For mxt from psp2/mdltex you can rename them to gxt and try opening them in Noesis. This doesn't work for all mxt files though. There is probably some other tool that can handle this but I haven't looked into that.
Also, if you want to use my mdl model loading plugin then don't rename them. It handles that automatically.

Re: Help with Fate Extella Link (Vita) .pk

Posted: Tue Mar 19, 2019 9:02 pm
by takoyaki111
extracting the PC version of Extella Link gives this error when trying to extract the .pk

Image