ZenHAX

Free Game Research Forum | Official QuickBMS support | twitter @zenhax | SSL HTTPS://zenhax.com
It is currently Tue Dec 11, 2018 2:03 pm

All times are UTC




Post new topic  Reply to topic  [ 87 posts ]  Go to page Previous 1 2 3 4 5 Next
Author Message
PostPosted: Wed Oct 17, 2018 9:07 am 

Joined: Wed Oct 17, 2018 6:51 am
Posts: 9
I cannot repack the extracted npk file. the error is in the photo attached, please help me masters


Attachments:
ss.png [37.46 KiB]
Downloaded 1 time
Top
   
PostPosted: Wed Oct 17, 2018 9:49 am 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 9438
@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


Top
   
PostPosted: Wed Oct 17, 2018 10:01 am 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 9438
@GIRLgaming
You selected the wrong files. Read section 3 of http://aluigi.org/papers/quickbms.txt


Top
   
PostPosted: Wed Oct 17, 2018 2:41 pm 

Joined: Tue Oct 16, 2018 2:30 pm
Posts: 6
@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.


Attachments:
File comment: This is the error. How can I remove that?
quickbmserror.jpg [84.53 KiB]
Not downloaded yet
Top
   
PostPosted: Wed Oct 17, 2018 2:48 pm 

Joined: Tue Oct 16, 2018 2:30 pm
Posts: 6
@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",
},
],


Top
   
PostPosted: Thu Oct 18, 2018 2:20 am 

Joined: Sat Jul 07, 2018 8:12 am
Posts: 10
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


Attachments:
extract.png [385.18 KiB]
Not downloaded yet
Top
   
PostPosted: Thu Oct 18, 2018 3:44 am 

Joined: Wed Oct 17, 2018 6:51 am
Posts: 9
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


Top
   
 Post subject: Re: pack file mod
PostPosted: Thu Oct 18, 2018 4:21 am 

Joined: Wed Oct 17, 2018 6:51 am
Posts: 9
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


Top
   
PostPosted: Thu Oct 18, 2018 4:36 am 

Joined: Wed Oct 17, 2018 6:51 am
Posts: 9
What does "select the SAME file and output folder mean? @auligi


Attachments:
File comment: Here is the ss
Screenshot_2018-10-18-12-30-50-039_com.android.chrome.png [229.55 KiB]
Not downloaded yet
Top
   
PostPosted: Thu Oct 18, 2018 6:29 am 

Joined: Wed Oct 17, 2018 6:51 am
Posts: 9
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


Top
   
PostPosted: Thu Oct 18, 2018 5:03 pm 

Joined: Tue Oct 16, 2018 2:30 pm
Posts: 6
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.


Top
   
PostPosted: Thu Oct 18, 2018 5:29 pm 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 9438
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.


Top
   
PostPosted: Thu Oct 18, 2018 6:45 pm 

Joined: Wed Oct 17, 2018 6:51 am
Posts: 9
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


Top
   
PostPosted: Fri Oct 19, 2018 7:03 am 

Joined: Tue Oct 16, 2018 2:30 pm
Posts: 6
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.


Top
   
PostPosted: Fri Oct 19, 2018 9:28 am 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 9438
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.


Top
   
PostPosted: Fri Oct 19, 2018 4:04 pm 

Joined: Wed Oct 17, 2018 6:51 am
Posts: 9
.

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


Top
   
PostPosted: Fri Oct 19, 2018 4:10 pm 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 9438
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.


Top
   
PostPosted: Fri Oct 19, 2018 5:31 pm 

Joined: Mon Oct 15, 2018 4:52 pm
Posts: 9
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


Top
   
PostPosted: Fri Oct 19, 2018 5:36 pm 

Joined: Mon Oct 15, 2018 4:52 pm
Posts: 9
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


Top
   
PostPosted: Fri Oct 19, 2018 5:47 pm 

Joined: Mon Oct 15, 2018 4:52 pm
Posts: 9
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..


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 87 posts ]  Go to page Previous 1 2 3 4 5 Next

All times are UTC


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Limited