Lifeafter game files

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
KetupatSayur
Posts: 19
Joined: Mon Mar 18, 2019 4:13 am

Re: Lifeafter game files

Post by KetupatSayur »

nihinivi wrote:
KetupatSayur wrote:
nihinivi wrote:
send that file lists.txt and send init.bm it should contain all the files used by game


here we go
(for init.bm please download here https://drive.google.com/open?id=1-B7xR ... unxMV73Zjd filelist.txtPlatformConfig.xml)




did you see something with common other than .npk files like commen_hash etc if no then look in side android/data/lifeafter file folder search for thoose files


maybe like this (local_state file)
https://drive.google.com/file/d/1Q55qC6 ... sp=sharing
nihinivi
Posts: 31
Joined: Sat Mar 02, 2019 5:41 am

Re: Lifeafter game files

Post by nihinivi »

KetupatSayur wrote:
nihinivi wrote:
KetupatSayur wrote:
here we go
(for init.bm please download here https://drive.google.com/open?id=1-B7xR ... unxMV73Zjd filelist.txtPlatformConfig.xml)




did you see something with common other than .npk files like commen_hash etc if no then look in side android/data/lifeafter file folder search for thoose files


maybe like this (local_state file)
https://drive.google.com/file/d/1Q55qC6 ... sp=sharing

oof cant find the file needed
abcdekabcd
Posts: 5
Joined: Thu Aug 09, 2018 12:32 pm

Re: Lifeafter game files

Post by abcdekabcd »

nihinivi wrote:
KetupatSayur wrote:
nihinivi wrote:


did you see something with common other than .npk files like commen_hash etc if no then look in side android/data/lifeafter file folder search for thoose files


maybe like this (local_state file)
https://drive.google.com/file/d/1Q55qC6 ... sp=sharing

oof cant find the file needed


maybe you must trying install that game, and maybe you'll found that file
i want to mod this game with my native language :(
nihinivi
Posts: 31
Joined: Sat Mar 02, 2019 5:41 am

Re: Lifeafter game files

Post by nihinivi »

abcdekabcd wrote:
nihinivi wrote:
KetupatSayur wrote:
maybe like this (local_state file)
https://drive.google.com/file/d/1Q55qC6 ... sp=sharing

oof cant find the file needed


maybe you must trying install that game, and maybe you'll found that file
i want to mod this game with my native language :(



ya i may try i also does this modding shit in ros
KetupatSayur
Posts: 19
Joined: Mon Mar 18, 2019 4:13 am

Re: Lifeafter game files

Post by KetupatSayur »

nihinivi wrote:
abcdekabcd wrote:
nihinivi wrote:oof cant find the file needed


maybe you must trying install that game, and maybe you'll found that file
i want to mod this game with my native language :(



ya i may try i also does this modding shit in ros


i was retired to modding Rules of Survival, so i try to new challange with this lifeafter games
i'm your subscriber btw
nihinivi
Posts: 31
Joined: Sat Mar 02, 2019 5:41 am

Re: Lifeafter game files

Post by nihinivi »

KetupatSayur wrote:
nihinivi wrote:
abcdekabcd wrote:
maybe you must trying install that game, and maybe you'll found that file
i want to mod this game with my native language :(




ya i may try i also does this modding shit in ros


i was retired to modding Rules of Survival, so i try to new challange with this lifeafter games
i'm your subscriber btw


phal ??
KetupatSayur
Posts: 19
Joined: Mon Mar 18, 2019 4:13 am

Re: Lifeafter game files

Post by KetupatSayur »

nihinivi wrote:
KetupatSayur wrote:
nihinivi wrote:


ya i may try i also does this modding shit in ros


i was retired to modding Rules of Survival, so i try to new challange with this lifeafter games
i'm your subscriber btw


phal ??


im from indonesia
nihinivi
Posts: 31
Joined: Sat Mar 02, 2019 5:41 am

Re: Lifeafter game files

Post by nihinivi »

KetupatSayur wrote:
nihinivi wrote:
KetupatSayur wrote:
i was retired to modding Rules of Survival, so i try to new challange with this lifeafter games
i'm your subscriber btw


phal ??


im from indonesia

well i know many indonesians lol esley effendy
KetupatSayur
Posts: 19
Joined: Mon Mar 18, 2019 4:13 am

Re: Lifeafter game files

Post by KetupatSayur »

nihinivi wrote:
KetupatSayur wrote:
nihinivi wrote:
phal ??


im from indonesia

well i know many indonesians lol esley effendy


hahhah they're ros assets modder too..

btw, still no chance to unpack this game .npk? :(
nihinivi
Posts: 31
Joined: Sat Mar 02, 2019 5:41 am

Re: Lifeafter game files

Post by nihinivi »

Hey . here are the same named npk https://www.mediafire.com/file/5c468xqr ... n.npk/file

Can u extract with it
And here is the file with same name https://www.mediafire.com/file/75b24zrb ... .part/file
KetupatSayur
Posts: 19
Joined: Mon Mar 18, 2019 4:13 am

Re: Lifeafter game files

Post by KetupatSayur »

nihinivi wrote:Hey . here are the same named npk https://www.mediafire.com/file/5c468xqr ... n.npk/file

Can u extract with it
And here is the file with same name https://www.mediafire.com/file/75b24zrb ... .part/file


extract with nxpk.bms? i'll try, thankyou
KetupatSayur
Posts: 19
Joined: Mon Mar 18, 2019 4:13 am

Re: Lifeafter game files

Post by KetupatSayur »

nihinivi wrote:Hey . here are the same named npk https://www.mediafire.com/file/5c468xqr ... n.npk/file

Can u extract with it
And here is the file with same name https://www.mediafire.com/file/75b24zrb ... .part/file


its still didn't works bro :( do you have to try?
nihinivi
Posts: 31
Joined: Sat Mar 02, 2019 5:41 am

Re: Lifeafter game files

Post by nihinivi »

KetupatSayur wrote:
nihinivi wrote:Hey . here are the same named npk https://www.mediafire.com/file/5c468xqr ... n.npk/file

Can u extract with it
And here is the file with same name https://www.mediafire.com/file/75b24zrb ... .part/file


its still didn't works bro :( do you have to try?

Well aluigi hasnt replied yer
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Lifeafter game files

Post by aluigi »

That common.npk file you uploaded doesn't have much sense (no intelligible data inside, but also many zeroes) so I suspect there is some sort of slight "obfuscation" used.
Can't help with that.
KetupatSayur
Posts: 19
Joined: Mon Mar 18, 2019 4:13 am

Re: Lifeafter game files

Post by KetupatSayur »

aluigi wrote:That common.npk file you uploaded doesn't have much sense (no intelligible data inside, but also many zeroes) so I suspect there is some sort of slight "obfuscation" used.
Can't help with that.


all of file is like this.. some files is consist of chinesse text language.. but i don't know what type of files :(
would you like to install that game on your phone, and you make own research? maybe you can found a miracle to help us
KetupatSayur
Posts: 19
Joined: Mon Mar 18, 2019 4:13 am

Re: Lifeafter game files

Post by KetupatSayur »

hi, anybody can download this files?

this app for extract NPK for Lifeafter games
https://pan.baidu.com/s/1mNraz-1oiJme2pX3fKv71w#list/path=%2FNPKExtractor
BCGhost
Posts: 35
Joined: Fri Dec 15, 2017 1:42 pm

Re: Lifeafter game files

Post by BCGhost »

Here's an npk file from \assets\res\model.
road_obj.zip

After several attempts with comtype scan I got a perfect match. The algorithm determined by the scan was LZ77EA_970, with an unzip size of 0x628 bytes for 0x28E bytes of compressed data from offset 0x20.
But I couldn't see any related info from the header, neither the tail.

And I found some strings in libclient.so from \lib\armeabi-v7a that might be helpful.

Code: Select all

NXFileSystem has already been initialized!
RealFileOpener %s not found!
FileLoaderCreator %s not found!
Failed to create FileLoader, opener %s, loader %s, root %s, depth %d
Succeeded to create FileLoader, opener %s, loader %s, root %s, depth %d
Documents
AllNpkFilesHash::Load %s OK
AllNpkFilesHash::Load %s error
Failed to uncompress npk file(ZLIB) %d in real file %s opener tag %s, error code %d
Failed to uncompress npk file(LZ4) %d in real file %s opener tag %s, error code %d
Failed to uncompress npk file(LZO %d) %d in real file %s opener tag %s, error code %d
Unsupported compress type %d
.npk
npk
Failed to init lzo library
Package %s under opener %s is loaded.
Failed to reload PackageFileLoader with root %s opener %s
Package %s under opener %s %s cache.

It didn't mention LZ77EA_970 though. But I recompressed the data with LZ4 compression, and the output matched with the original data, which proved that this file is indeed
LZ4-compressed. So base on these strings maybe it's true that these npk files use more than one compression.
KetupatSayur
Posts: 19
Joined: Mon Mar 18, 2019 4:13 am

Re: Lifeafter game files

Post by KetupatSayur »

BCGhost wrote:Here's an npk file from \assets\res\model.
road_obj.zip
After several attempts with comtype scan I got a perfect match. The algorithm determined by the scan was LZ77EA_970, with an unzip size of 0x628 bytes for 0x28E bytes of compressed data from offset 0x20.
But I couldn't see any related info from the header, neither the tail.

And I found some strings in libclient.so from \lib\armeabi-v7a that might be helpful.

Code: Select all

NXFileSystem has already been initialized!
RealFileOpener %s not found!
FileLoaderCreator %s not found!
Failed to create FileLoader, opener %s, loader %s, root %s, depth %d
Succeeded to create FileLoader, opener %s, loader %s, root %s, depth %d
Documents
AllNpkFilesHash::Load %s OK
AllNpkFilesHash::Load %s error
Failed to uncompress npk file(ZLIB) %d in real file %s opener tag %s, error code %d
Failed to uncompress npk file(LZ4) %d in real file %s opener tag %s, error code %d
Failed to uncompress npk file(LZO %d) %d in real file %s opener tag %s, error code %d
Unsupported compress type %d
.npk
npk
Failed to init lzo library
Package %s under opener %s is loaded.
Failed to reload PackageFileLoader with root %s opener %s
Package %s under opener %s %s cache.

It didn't mention LZ77EA_970 though. But I recompressed the data with LZ4 compression, and the output matched with the original data, which proved that this file is indeed
LZ4-compressed. So base on these strings maybe it's true that these npk files use more than one compression.



its very difficult to identified what kind of compression their using for encrypt the npk files..
MrAnons
Posts: 3
Joined: Sat Oct 20, 2018 10:53 am

Re: Lifeafter game files

Post by MrAnons »

aluigi wrote:If there is no index file I can't extract anything from there.

Any solution?
Ekey
Posts: 1383
Joined: Sat Aug 09, 2014 2:34 pm

Re: Lifeafter game files

Post by Ekey »

Tool for extract NPK archives :roll:

Binary: here
Source: here