Rules of Survival npk general topic
-
- Posts: 9
- Joined: Wed Oct 17, 2018 6:51 am
I cannot repack the extracted file (Rules of Survival)
I cannot repack the extracted npk file. the error is in the photo attached, please help me masters
-
- Site Admin
- Posts: 12984
- Joined: Wed Jul 30, 2014 9:32 pm
Re: Uncompressed data is bigger than the allocated buffer
@CrazyDemonLord
You must ever provide full information about the name of the game, the script (and version) you used and upload a sample archive:
viewtopic.php?f=21&t=4
You must ever provide full information about the name of the game, the script (and version) you used and upload a sample archive:
viewtopic.php?f=21&t=4
-
- Site Admin
- Posts: 12984
- Joined: Wed Jul 30, 2014 9:32 pm
Re: Rules of Survival npk general topic
@GIRLgaming
You selected the wrong files. Read section 3 of http://aluigi.org/papers/quickbms.txt
You selected the wrong files. Read section 3 of http://aluigi.org/papers/quickbms.txt
-
- Posts: 6
- Joined: Tue Oct 16, 2018 2:30 pm
Re: Uncompressed data is bigger than the allocated buffer
@Luigi & @Shokoniraya
Thanks for the reply and Sorry that I posted incomplete description.
So here the thing.
The game name - Rules of Survival (Mobile Version)
I usually extract and reimport assets.npk file using Quickbms 0.9.0 and Script nxpk.bms (version 0.3.8) and it works fine.
Then this game has fps mode npk file (150 mb) that when I try to extract using normal method gives error "The uncompressed data (-1) is bigger than the allocated buffer (4194348). you can see the screenshot in the attachment. and the npk file that I was trying to extract can be view using the following link...
Npk File:-
https://drive.google.com/file/d/1GrLRsdjFID1u2yBHFN1exNlFcqcYqsG8/view?usp=sharing
Please tell me Is there anything i'm doing wrong or Which script I need to use....
Waiting for your reply.
Regards & Thanks in Advance.
Crazy.
Thanks for the reply and Sorry that I posted incomplete description.
So here the thing.
The game name - Rules of Survival (Mobile Version)
I usually extract and reimport assets.npk file using Quickbms 0.9.0 and Script nxpk.bms (version 0.3.8) and it works fine.
Then this game has fps mode npk file (150 mb) that when I try to extract using normal method gives error "The uncompressed data (-1) is bigger than the allocated buffer (4194348). you can see the screenshot in the attachment. and the npk file that I was trying to extract can be view using the following link...
Npk File:-
https://drive.google.com/file/d/1GrLRsdjFID1u2yBHFN1exNlFcqcYqsG8/view?usp=sharing
Please tell me Is there anything i'm doing wrong or Which script I need to use....
Waiting for your reply.
Regards & Thanks in Advance.
Crazy.
-
- Posts: 6
- Joined: Tue Oct 16, 2018 2:30 pm
Re: Rules of Survival npk general topic
@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",
},
],
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",
},
],
-
- Posts: 13
- Joined: Sat Jul 07, 2018 8:12 am
Re: Rules of Survival npk general topic
hi aluigi,
how do I translate / read / edit file.dat the results of extracted npk files?
I will attach the screenshot and the NPK file
file npk link https://drive.google.com/file/d/1wUrZLm0uGk86GHCb7hOGTZ1Mfc6vmETX/view?usp=sharing
how do I translate / read / edit file.dat the results of extracted npk files?
I will attach the screenshot and the NPK file
file npk link https://drive.google.com/file/d/1wUrZLm0uGk86GHCb7hOGTZ1Mfc6vmETX/view?usp=sharing
-
- Posts: 9
- Joined: Wed Oct 17, 2018 6:51 am
Re: Rules of Survival npk general topic
aluigi wrote:@GIRLgaming
You selected the wrong files. Read section 3 of http://aluigi.org/papers/quickbms.txt
I am extracting npk file, and after extracting i got xml, txt files. i extracted it right. i read your instructions but i always get the same error. please help me
-
- Posts: 9
- Joined: Wed Oct 17, 2018 6:51 am
Re: pack file mod
imbamoves wrote:dangtuan9x wrote:I have 2 files I want to pack into the assest [H45NA] .npk file
But no tools to use to pack anyone can guide me
thank you
what is inside in that 3 txt of yours? i can teach u how to pack it again in assests.npk
Do you edit txt files only? Btw help me, i cant repack it again please
-
- Posts: 9
- Joined: Wed Oct 17, 2018 6:51 am
Re: Rules of Survival npk general topic
What does "select the SAME file and output folder mean? @auligi
-
- Posts: 9
- Joined: Wed Oct 17, 2018 6:51 am
Re: Rules of Survival npk general topic
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
-
- Posts: 6
- Joined: Tue Oct 16, 2018 2:30 pm
Solution for Uncompressed data is bigger than the allocated buffer
The game name - Rules of Survival (Mobile Version)
I usually extract and reimport assets.npk file using Quickbms 0.9.0 and Script nxpk.bms (version 0.3.8) and it works fine.
Then this game has fps mode npk file (150 mb) that when I try to extract using normal method gives error "The uncompressed data (-1) is bigger than the allocated buffer (4194348). the npk file that I was trying to extract can be view using the following link...
Npk File:-
https://drive.google.com/file/d/1GrLRsdjFID1u2yBHFN1exNlFcqcYqsG8/view?usp=sharing
Please tell me Is there anything i'm doing wrong or Which script I need to use....
Waiting for your reply.
Regards & Thanks in Advance.
Crazy.
I usually extract and reimport assets.npk file using Quickbms 0.9.0 and Script nxpk.bms (version 0.3.8) and it works fine.
Then this game has fps mode npk file (150 mb) that when I try to extract using normal method gives error "The uncompressed data (-1) is bigger than the allocated buffer (4194348). the npk file that I was trying to extract can be view using the following link...
Npk File:-
https://drive.google.com/file/d/1GrLRsdjFID1u2yBHFN1exNlFcqcYqsG8/view?usp=sharing
Please tell me Is there anything i'm doing wrong or Which script I need to use....
Waiting for your reply.
Regards & Thanks in Advance.
Crazy.
-
- Site Admin
- Posts: 12984
- Joined: Wed Jul 30, 2014 9:32 pm
Re: Rules of Survival npk general topic
To everybody:
Please STOP opening new topics about Rules of Survival.
This is the only topic about this game and ANY request must go here.
Please STOP opening new topics about Rules of Survival.
This is the only topic about this game and ANY request must go here.
-
- Posts: 9
- Joined: Wed Oct 17, 2018 6:51 am
Re: Rules of Survival npk general topic
aluigi wrote:To everybody:
Please STOP opening new topics about Rules of Survival.
This is the only topic about this game and ANY request must go here.
I extracted and reimported the file but when i tried to put the file back inside the game's folder the game will not continue to load. The game is rules of survival. It's stock in loading, i cannot enter the game. Can you tell me why? .
P.S. idk if it's OT but it's related in Rules of Survival
-
- Posts: 6
- Joined: Tue Oct 16, 2018 2:30 pm
Re: Rules of Survival npk general topic
aluigi wrote:To everybody:
Please STOP opening new topics about Rules of Survival.
This is the only topic about this game and ANY request must go here.
The game name - Rules of Survival (Mobile Version)
I usually extract and reimport assets.npk file using Quickbms 0.9.0 and Script nxpk.bms (version 0.3.8) and it works fine.
Then this game has fps mode npk file (150 mb) that when I try to extract using normal method gives error "The uncompressed data (-1) is bigger than the allocated buffer (4194348). the npk file that I was trying to extract can be view using the following link...
Npk File:-
[url]
https://drive.google.com/file/d/1GrLRsd ... sp=sharing[/url]
Please tell me Is there anything i'm doing wrong or Which script I need to use....
Waiting for your reply.
Regards & Thanks in Advance.
Crazy.
-
- Site Admin
- Posts: 12984
- Joined: Wed Jul 30, 2014 9:32 pm
Re: Rules of Survival npk general topic
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:
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.
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: Select all
. 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.
-
- Posts: 9
- Joined: Wed Oct 17, 2018 6:51 am
Re: Rules of Survival npk general topic
.
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
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
-
- Site Admin
- Posts: 12984
- Joined: Wed Jul 30, 2014 9:32 pm
Re: Rules of Survival npk general topic
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.
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.
-
- Posts: 9
- Joined: Mon Oct 15, 2018 4:52 pm
Re: Rules of Survival npk general topic
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
-
- Posts: 9
- Joined: Mon Oct 15, 2018 4:52 pm
Re: Rules of Survival npk general topic
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
-
- Posts: 9
- Joined: Mon Oct 15, 2018 4:52 pm
Re: Rules of Survival npk general topic
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..