Rules of Survival npk general topic

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
gamers
Posts: 4
Joined: Wed Jul 25, 2018 12:39 pm

HELP TO REPACK ASSETS.NPK FILES

Post by gamers »

i dedrypted .npk file using qbms but can u explain me hiow can i encrypt it again
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: help me extractinh .npk files [Rules of survival]

Post by aluigi »

@gamers
please do NOT open new topics about this thing.
Maboyz59
Posts: 13
Joined: Sat Jul 07, 2018 8:12 am

Re: problem reimport file extracted files.npk

Post by Maboyz59 »

aluigi wrote:Read section 3 of http://aluigi.org/papers/quickbms.txt

You must select the SAME file and folder you selected during extraction which is not what you did.





Hi aluigi, thank you for your help. I already understand about extract, edit, and reimport. But I need your help again. How do I make the files that I have edited in this npk file can not be extracted by others or how to code for files that I have modif this is not easy to read other people. Thanks for your help
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: problem reimport file extracted files.npk

Post by aluigi »

no you can't for the same reason you were able to extract the files

*edit* ok I decided to give the answer anyway...
abcdekabcd
Posts: 5
Joined: Thu Aug 09, 2018 12:32 pm

check your disk space problem?

Post by abcdekabcd »

hi dev, i have some problem

i got some error with this code :

Code: Select all

Error: impossible to write 0xcf35d200 bytes (total 0xcf35d200)
       Check your disk space or the script is wrong

Last script line before the error or that produced the error:
  167 clog NAME OFFSET ZSIZE SIZE


i'm use the last quickbms, and nxpk.bms script.. can you help me to fix it? thanks before

attachement : https://app.box.com/s/1sl40ahzaksnn9locdfspkfo4phdeg56
i'm on windows 10 Pro, 64bit

when i try unpack with another PC (win 7, 32bit) its normally works with the same file of .npk
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: nxpk temporary topic

Post by aluigi »

Can you provide the exact name of the game?

It's not encrypted but the format is slightly different.

P.S.: the lame title of the topic was given by me while moving posts... what a mess.
Maboyz59
Posts: 13
Joined: Sat Jul 07, 2018 8:12 am

Re: problem reimport file extracted files.npk

Post by Maboyz59 »

aluigi wrote:no you can't for the same reason you were able to extract the files

*edit* ok I decided to give the answer anyway...


hi aluigi
how to extract obb file. I tried using cpk.bms but failed. OBB file format is PK
abcdekabcd
Posts: 5
Joined: Thu Aug 09, 2018 12:32 pm

Re: nxpk temporary topic

Post by abcdekabcd »

aluigi wrote:Can you provide the exact name of the game?

It's not encrypted but the format is slightly different.

P.S.: the lame title of the topic was given by me while moving posts... what a mess.


name : Rules Of Survival
thats game use .npk file for assets, character, model, etc..
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: problem reimport file extracted files.npk

Post by aluigi »

It's a zip file so use 7-zip or any preferred archive utility supporting the format.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: nxpk temporary topic

Post by aluigi »

Maboyz59
Posts: 13
Joined: Sat Jul 07, 2018 8:12 am

Re: problem reimport file extracted files.npk

Post by Maboyz59 »

aluigi wrote:It's a zip file so use 7-zip or any preferred archive utility supporting the format.



Ok, I managed to extract it. Aluigi I want to ask again, now every game is protected by anti-cheating, do you know that the anti-cheating location is stored where in the obb file?
abcdekabcd
Posts: 5
Joined: Thu Aug 09, 2018 12:32 pm

Re: nxpk temporary topic

Post by abcdekabcd »

aluigi wrote:Script 0.3.7:
http://aluigi.org/bms/nxpk.bms


thanks for your respons, keep a good work!
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: problem reimport file extracted files.npk

Post by aluigi »

No idea and probably you are OT too.
FnD
Posts: 3
Joined: Sun Aug 19, 2018 4:14 am

[Mobile] Ros - Rules Of Survival .dat files edit .

Post by FnD »

Hi everyone

i manage to extract .npk files inside This mobile game with nxpk.bms but is it possible to decrypt/edit .dat files inside extracted .npk files

https://drive.google.com/file/d/1lrMsleN-Kh26Iu2mQp4-w1h5_-t4C8Y8/view?usp=sharing
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: [Mobile] Ros - Rules Of Survival .dat files edit .

Post by aluigi »

Could you please upload the original npk archive?

In some occasions there were some npk archives with encrypted TOC (the information about the archived files) while in this case all your files seem obfuscated and apparently start with same sequences of bytes (but I simply gave them a very quick look)
FnD
Posts: 3
Joined: Sun Aug 19, 2018 4:14 am

Re: [Mobile] Ros - Rules Of Survival .dat files edit .

Post by FnD »

aluigi wrote:Could you please upload the original npk archive?

In some occasions there were some npk archives with encrypted TOC (the information about the archived files) while in this case all your files seem obfuscated and apparently start with same sequences of bytes (but I simply gave them a very quick look)


Sorry for late reply here the link of the npk.
https://drive.google.com/file/d/1Nmt-EsuJjbceI3XXgXJQ2udwM3MDyiPV/view?usp=sharing
i cant attach the file to post so i upload it to gdrive sorry.
ZENHAXnumba1
Posts: 17
Joined: Mon Jan 08, 2018 1:50 pm

Re: [PC/Android] RoS - Rules Of Survival .npk files

Post by ZENHAXnumba1 »

you guys known how to compile it? i was able to decompile it and mod it thanks to the bms script .
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: [Mobile] Ros - Rules Of Survival .dat files edit .

Post by aluigi »

So the script works correctly and extracts all the files but they are obfuscated in some way (start with bytes like 7a 1c, their flag is zero so it's probably specific for this game only).
Unfortunately there is no solution if somebody doesn't provide the algorithm and the key.
sunrithy111
Posts: 1
Joined: Wed Aug 29, 2018 4:05 am

ROS File assets.npk banned 3day help tell me

Post by sunrithy111 »

ROS File assets.npk banned 3day help tell me
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Rules of Survival npk main topic extract/import

Post by aluigi »

This is just a new topic in which I have collected all the ROS-related topics open till now because they are starting to be a lot.

The script to use for extraction and reimporting is:
http://aluigi.org/bms/nxpk.bms

Currently it looks like the files of some recent versions of the game have an additional encryption. There are no updates or solutions at the moment.

Please use this topic if you have updates or questsion, do NOT open new topics.

Sorry if the topic will be a mess but it's better than 10 different topics.

@sunrithy111
You are off-topic. I will keep your post just in case someone is going to ask the same but please no OT discussions.