Help Extract .PKG Unity Mobile Game - 浮生为卿歌

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
petventh
Posts: 19
Joined: Fri Jul 20, 2018 6:10 pm

Help Extract .PKG Unity Mobile Game - 浮生为卿歌

Post by petventh »

Image
Image
Image
Game CG Opening : https://www.youtube.com/watch?v=34omIam__Ec

Game Name: 浮生为卿歌 | Fu Sheng Wei Qing Ge | Floating as a Song of Qing | Floating Life for Qingge
Website: https://fswqg.qinyoujoy.com/
.PKG File (1.26Gb): https://drive.google.com/file/d/1ZqTIKh ... sp=sharing

As you can see, this new Chinese game has some of the most beautiful 3D model in recent years...
So i was trying to see if I can extract some models using AssetStudio seeing as it's a unity game...
Anyway as you can see on the Hex Editor SS, the header seem to be a UnityFS file format but just change .pkg to .UnityFS doesn't load in AssetStudio or Unity Assets Bundle Extractor (UABE)..
So if anyone out there can help extract assets from this PKG file... would be much appreciate it.
Last edited by petventh on Mon May 25, 2020 3:38 pm, edited 1 time in total.
Ekey
Posts: 1383
Joined: Sat Aug 09, 2014 2:34 pm

Re: Help Extract .PKG Unity Mobile Game - 浮生为卿歌

Post by Ekey »

Nothing unusual, default unity file. Try the latest version of Asset Studio.

https://github.com/Perfare/AssetStudio/releases
Last edited by Ekey on Mon May 25, 2020 12:56 pm, edited 1 time in total.
Amagakuro
Posts: 46
Joined: Wed Sep 23, 2015 4:47 pm

Re: Help Extract .PKG Unity Mobile Game - 浮生为卿歌

Post by Amagakuro »

Google drive ask for permission.
Also, have you tried to remove the first 32 bytes of the header and see if the program opens them? That should do the trick
petventh
Posts: 19
Joined: Fri Jul 20, 2018 6:10 pm

Re: Help Extract .PKG Unity Mobile Game - 浮生为卿歌

Post by petventh »

Ekey wrote:Nothing unusual, default unity file. Try the latest version of Asset Studio.

I did used the latest version of AssetStudioGUI (tried both 64 & 32-bit) but it won't load at all... So, do I need any external plugin or anything?

Amagakuro wrote:Google drive ask for permission.
Also, have you tried to remove the first 32 bytes of the header and see if the program opens them? That should do the trick

My bad, I forgot to checked it after I copied the shareable link. It should be fine now.

Yes after I removed the first 32-bit, I did managed to load it to AssetStudio but the only thing it load was that small bit (CAB-ba01e3c16ba268ec36e9543a39dc83ad) you see in the HxD SS.
Amagakuro
Posts: 46
Joined: Wed Sep 23, 2015 4:47 pm

Re: Help Extract .PKG Unity Mobile Game - 浮生为卿歌

Post by Amagakuro »

petventh wrote:
Ekey wrote:Nothing unusual, default unity file. Try the latest version of Asset Studio.

I did used the latest version of AssetStudioGUI (tried both 64 & 32-bit) but it won't load at all... So, do I need any external plugin or anything?

Amagakuro wrote:Google drive ask for permission.
Also, have you tried to remove the first 32 bytes of the header and see if the program opens them? That should do the trick

My bad, I forgot to checked it after I copied the shareable link. It should be fine now.

Yes after I removed the first 32-bit, I did managed to load it to AssetStudio but the only thing it load was that small bit (CAB-ba01e3c16ba268ec36e9543a39dc83ad) you see in the HxD SS.


I'm no expert but if you want you can DL VGMtoolbox, put this

http://www.mediafire.com/file/4nc8yazqcgvbz3n/PKG_CH_game.xml/file

xml into the plugins/Advanced Cutter folder of the program, start it then misc -> extraction -> generic -> advanced cutter, dropdown preset, my xml, load it, and drop the .pkg on the file.
It'll take a while but will rip everything starting from "UnityFS" to "UnityFS", so you should have all the files of the game.
Also half of them will be 1kb (30 bytes) useless files 'cause they had this nice idea of putting a "double header" for each asset file.

OT: Thanks ekey, i didn't know that there was yet another unity file explorer, that one solved some problems for quite a bunch of games i couldn't get the files... :)
benjamin
Posts: 35
Joined: Sun Apr 12, 2020 4:24 pm

Re: Help Extract .PKG Unity Mobile Game - 浮生为卿歌

Post by benjamin »

Hello petventh
Excuse me, how can I extract sample files from this game?
I'm on the xentax.com forum and I see that you can successfully extract 21M sample files
Hope for help, grateful

Image
Image

Game : http://mh.changyou.com/
Download : http://ct.vpan123.com/d/11096425.html

Sample 21MB ==>>https://drive.google.com/open?id=1MwWknKVjUp2_NMTwRi3q-pf1O9pBb2P9
petventh
Posts: 19
Joined: Fri Jul 20, 2018 6:10 pm

Re: Help Extract .PKG Unity Mobile Game - 浮生为卿歌

Post by petventh »

benjamin wrote:Hello petventh
Excuse me, how can I extract sample files from this game?
I'm on the xentax.com forum and I see that you can successfully extract 21M sample files
Hope for help, grateful...


Ah you don't need to do any extraction... you just need to delete anything before CryTek using a Hex Editor.
Then get the cryengine_cgf.dll plugin for Noesis from http://www.mediafire.com/file/bc4c1ybfo ... ine_cgf.7z
Then you will be able to view it on Noesis and export to other 3d format like obj or FBX.

Just read the thread https://forum.xentax.com/viewtopic.php? ... 83#p144876 carefully and you will understand.
petventh
Posts: 19
Joined: Fri Jul 20, 2018 6:10 pm

Re: Help Extract .PKG Unity Mobile Game - 浮生为卿歌

Post by petventh »

Amagakuro wrote:
I'm no expert but if you want you can DL VGMtoolbox, put this

http://www.mediafire.com/file/4nc8yazqcgvbz3n/PKG_CH_game.xml/file

xml into the plugins/Advanced Cutter folder of the program, start it then misc -> extraction -> generic -> advanced cutter, dropdown preset, my xml, load it, and drop the .pkg on the file.
It'll take a while but will rip everything starting from "UnityFS" to "UnityFS", so you should have all the files of the game.
Also half of them will be 1kb (30 bytes) useless files 'cause they had this nice idea of putting a "double header" for each asset file.

OT: Thanks ekey, i didn't know that there was yet another unity file explorer, that one solved some problems for quite a bunch of games i couldn't get the files... :)


Thank you for the helpful info... and I apologized for the late reply... I'll try out your suggestion as soon as I get home.
benjamin
Posts: 35
Joined: Sun Apr 12, 2020 4:24 pm

Re: Help Extract .PKG Unity Mobile Game - 浮生为卿歌

Post by benjamin »

Thanks petventh
Has been successful, very powerful process ^-^