Skip to content
View in the app

A better way to browse. Learn more.

ResHax

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.
Help us keep the site running.

Rules of Survival npk general topic

Featured Replies

  • Author
  • Localization

aluigi, posted Fri Oct 19, 2018 9:28 am (39712)


The script is correct but that archive has the files 00000178, 00000232 and 000002af that contain no data, just zeroes instead of the compressed data, therefore there is nothing to decompress.

The entry is just like the other entries without any different flag or size which means that it MUST be decompressed like the others:
Code:
. 00000178
. 096f7adc get     NAME_CRC   0x802a8508 4
. 096f7ae0 get     OFFSET     0x04c2d7a4 4
. 096f7ae4 get     ZSIZE      0x00000250 4
. 096f7ae8 get     SIZE       0x00000662 4
. 096f7aec get     ZCRC       0x92b27341 4
. 096f7af0 get     CRC        0x6e327855 4
. 096f7af4 get     FLAGS      0x00000001 4
  04c2d7a4 1634       00000178.dat

So it's not a problem of the script or quickbms, you can bypass that error in various ways like replace "zlib" at line 155 of the script with "zlib_noerror" or with the -e command-line option.
  • Replies 96
  • Views 6
  • Created
  • Last Reply

Top Posters In This Topic

  • Author
  • Localization

GIRLgaming, posted Fri Oct 19, 2018 4:04 pm (39721)


.

I extracted the file correctly, reimported correctly. no error but when I tried to run the game using the file, it wont run it's stock on loading. the game is rules of survival, can you tell me what's the reason? thank you
  • Author
  • Localization

aluigi, posted Fri Oct 19, 2018 4:10 pm (39723)


They may be tons of reasons depending by the game, usually it's something related to CRC (checksums and hashes) which indeed are used by the NXPK format, if the game checks them then you have to manually modify every single CRC field of the edited file (you can't do it with quickbms, so I can't help you).

It may also possible that the game doesn't allow edited archives for example because it checks a hash of the archive stored online or locally.
  • Author
  • Localization

imbamoves, posted Fri Oct 19, 2018 5:31 pm (39726)


GIRLgaming wrote:
CrazyDemonLord wrote:
@imbamoves

Use this
"EFFECTS":
[
{
"DISPLAY_IN_APPEARANCE_PANEL": True,
"DISPLAY_IN_BATTLE": True,
"DISPLAY_IN_MALL_PANEL": True,
"PATH": "effect/fx/zaiju/glow_red.sfx",
"SOCKET": "HP_hand",
},
{
"DISPLAY_IN_APPEARANCE_PANEL": True,
"DISPLAY_IN_BATTLE": True,
"DISPLAY_IN_MALL_PANEL": True,
"PATH": "effect/fx/scene/redsmoke_blue.sfx",
"SOCKET": "skill",
},
],



Can you help me how to repack? I edit ros assets too


give me no grass code.. pc version.. ill teach you everything i know
  • Author
  • Localization

imbamoves, posted Fri Oct 19, 2018 5:36 pm (39727)


aluigi wrote:
They may be tons of reasons depending by the game, usually it's something related to CRC (checksums and hashes) which indeed are used by the NXPK format, if the game checks them then you have to manually modify every single CRC field of the edited file (you can't do it with quickbms, so I can't help you).

It may also possible that the game doesn't allow edited archives for example because it checks a hash of the archive stored online or locally.

boss can u give me no grass code for pc version.... please
  • Author
  • Localization

imbamoves, posted Fri Oct 19, 2018 5:47 pm (39728)


aluigi wrote:
They may be tons of reasons depending by the game, usually it's something related to CRC (checksums and hashes) which indeed are used by the NXPK format, if the game checks them then you have to manually modify every single CRC field of the edited file (you can't do it with quickbms, so I can't help you).

It may also possible that the game doesn't allow edited archives for example because it checks a hash of the archive stored online or locally.

there's a modder claiming that he have code with no grass in pc version but he didnt share nor post some pic with no grass... is he joking or he's telling the truth.. because i can only make no grass in mobile version.. but not in pc version ROS.. but please master i you know anything please help me..
  • Author
  • Localization

MrAnons, posted Sat Oct 20, 2018 11:05 am (39740)


11
  • Author
  • Localization

MrAnons, posted Mon Oct 22, 2018 12:37 am (39778)


Thank
  • Author
  • Localization

legend, posted Fri Oct 26, 2018 10:29 am (39861)


can anyone help me to open the npk files cause i cant open it using quickbms, hope to answer this question thanks in advance :D
  • Author
  • Localization

quar30, posted Fri Nov 02, 2018 4:49 am (40039)


Hi guys, newbie here. I managed to extract .npk files using nxpk.bms and there are some .dat files in the archive. Can anyone help me how to edit/read those .dat files? Please :)
  • Author
  • Localization

noob, posted Fri Nov 02, 2018 12:43 pm (40044)


Aluigi people from rulesofsurvival npks are probably noobs lol it is time waste for you lol
  • Author
  • Localization

Wolveman, posted Thu Nov 29, 2018 9:16 am (40834)


hi,everyone,im very new here,im noob zero,i dont know everything,but i want to learn make assets.npk (editing) for rules of survival mobile. what should i do guys,please explain step by step (step 1, step 2 & .... ) please comment below who already expert making assets. thank you for your helping.
  • Author
  • Localization

Wolveman, posted Thu Nov 29, 2018 5:42 pm (40837)


hello guys,please help me how to repack back doc asset and h45na asset that i unpack. thank You
  • Author
  • Localization

nihinivi, posted Sat Mar 02, 2019 5:48 am (45473)


i dont know whether i should post this here or not but i cant find a bms file for this . dat it contains some python files that is running a games anticheat can anyone try to create a bms script for it it is extracted from another file using nxpk .bms this is the file from which i extracted thoose dat files https://www.mediafire.com/file/2s3x4fo6 ... t.npk/file when i look the log it has some .py files in it that works with game
  • Author
  • Localization

aluigi, posted Fri Mar 08, 2019 11:25 pm (45604)


@nihinivi
I moved your post in this topic specific for RoS where these "7a 1c" files have been already seen many posts ago.
I don't know if there is a solution but check the whole topic.
  • Author
  • Localization

nihinivi, posted Sat Mar 09, 2019 2:09 pm (45629)


aluigi wrote:
@nihinivi
I moved your post in this topic specific for RoS where these "7a 1c" files have been already seen many posts ago.
I don't know if there is a solution but check the whole topic.

dude this rules of survival has become cancerous now lel i better move to pubg mobile now
  • Author
  • Localization

nihinivi, posted Fri Mar 15, 2019 11:44 am (45790)


stop reading this
  • Author
  • Localization

aluigi, posted Fri Mar 15, 2019 1:10 pm (45794)


Name of the game?
  • Author
  • Localization

nihinivi, posted Sat Mar 16, 2019 2:02 am (45818)


rules of survival oh yeah i forgot i can post there btw its header isnt nxpk so cantt be extracted
  • Author
  • Localization

aluigi, posted Sat Mar 16, 2019 7:53 am (45820)


@nihinivi
moved in the main topic, don't open new topics for this game.

That hashes file is compressed with zlib, once decompressed it's a sequence of:
  • filename
  • size (I guess)
  • "" (empty)
  • md5 hash

The data is stored with python pickle:
http://aluigi.org/bms/pickle.bms
(the script visualizes the data, there is nothing to extract)
  • Author
  • Localization

nihinivi, posted Sat Mar 16, 2019 9:35 am (45821)


aluigi wrote:
@nihinivi
moved in the main topic, don't open new topics for this game.

That hashes file is compressed with zlib, once decompressed it's a sequence of:
  • filename
  • size (I guess)
  • "" (empty)
  • md5 hash

The data is stored with python pickle:
http://aluigi.org/bms/pickle.bms
(the script visualizes the data, there is nothing to extract)

ya i want file name md5hash how can i extract it

when i run pickle bms it says unknown opcode 0x00000078 at offset 0x00000000



Nvm i used offzip thanks dude
  • Author
  • Localization

Cesare, posted Fri Feb 21, 2020 4:57 pm (54140)


Bro aluigi can you hack all vehicle skins for me and upload the vehicle npk on your doc or mega anything so i can download it and use the car skins please reply me dude <3 if u want to send the link of the skins just do it in my email [email protected] love you bro you know much things my head is aching xo hope you can help me by the way are you italian bro?
Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.