ZenHAX

Free Game Research Forum | Official QuickBMS support | twitter @zenhax
It is currently Sat Aug 13, 2022 2:33 am

All times are UTC




Post new topic  Reply to topic  [ 35 posts ]  Go to page Previous 1 2
Author Message
PostPosted: Sun Dec 05, 2021 4:12 pm 

Joined: Tue Sep 14, 2021 7:40 am
Posts: 50
Oh..,ok

Thanks


Top
   
PostPosted: Mon Dec 06, 2021 11:01 am 

Joined: Tue Sep 14, 2021 7:40 am
Posts: 50
Oh..ok then,but do you know how to compile the bms script to internal quickbms script???


I mean,how to make quickbms have internal script??


Top
   
PostPosted: Tue Dec 07, 2021 8:43 am 

Joined: Tue Dec 07, 2021 7:14 am
Posts: 2
TUNBudi06 Saw Your channel on telegram...I have also been modding pak files...your work with zstd is brilliant...i think I have the solution for your problem..check my message on telegram @wreckeradmin


Last edited by Wrecker3000 on Sat Dec 11, 2021 9:33 am, edited 1 time in total.

Top
   
PostPosted: Tue Dec 07, 2021 8:55 am 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 12982
http://aluigi.org/papers/quickbms.txt

Section:
Code:
C] Modkit distribution of quickbms.exe


I hope you are going to make good use of that and respect the credits were due...


Top
   
PostPosted: Tue Dec 07, 2021 9:10 am 

Joined: Tue Sep 14, 2021 7:40 am
Posts: 50
Oh..ok,i Will check that.bcz I just make the quickbms have internal script.thanks bro


Top
   
PostPosted: Tue Dec 07, 2021 9:35 am 

Joined: Tue Dec 07, 2021 7:14 am
Posts: 2
Hey Aluigi, can you tell me which script to use for unpacking pak files in pubg mobile


Top
   
PostPosted: Tue Dec 07, 2021 10:41 am 

Joined: Tue Sep 14, 2021 7:40 am
Posts: 50
Hi bro, can you explain further?

Bcz is that data(about hex below) i just find it on exe not in elf(for static Linux)


How to do it:

- open quickbms.exe with a hex editor
- search the string "SET THIS BYTE X TO 0x00"
- replace the 'X' (0x58) with a NULL (0x00):
53 45 54 20 54 48 49 53 20 42 59 54 45 20 58 20 SET THIS BYTE X
53 45 54 20 54 48 49 53 20 42 59 54 45 20 00 20 SET THIS BYTE

- upx.exe -9 quickbms.exe

- copy /b quickbms.exe + script.bms output.exe

That's all, anyway if you want to use the "classical" way and being
able to specify options, input file and output folder, it's better
to use the BAT solution with the -G option for the GUI mode:

EXTRACT.BAT:
quickbms.exe -G OPTIONS SCRIPT INPUT OUTPUT


Top
   
PostPosted: Tue Dec 07, 2021 1:38 pm 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 12982
That feature is not available on Linux because the GUI mode exists on Windows only, for modders it's easy to tell users to just run an exe without having knowledge of what a script is.

On Linux you need to specify the input file and output folder in any case so it has absolutely no sense or advantage to embed a script... who needs that probably needs to write his own tools instead of relying on a general purpose big tool like quickbms.


Top
   
PostPosted: Tue Dec 07, 2021 1:47 pm 

Joined: Tue Sep 14, 2021 7:40 am
Posts: 50
Yah..,its ok


Top
   
PostPosted: Thu Dec 09, 2021 12:05 pm 

Joined: Tue Sep 14, 2021 7:40 am
Posts: 50
Hai aluigi,do you know how to calculate zlib??


Bcz some file in .pak in contain zlib and zstd compression


So do you can make it


IM sorry
Cause i don't know about the compression method and how to calculate??


Top
   
PostPosted: Thu Dec 09, 2021 12:16 pm 

Joined: Tue Sep 14, 2021 7:40 am
Posts: 50
Even,i read the documentation about format zlib
I still cant to understand that
Link: https://www.rfc-editor.org/rfc/rfc1950


Top
   
PostPosted: Thu Dec 09, 2021 12:35 pm 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 12982
Deflate is the compression algorithm while zlib is a container of deflate data.
In short zlib is header+deflate+crc. There is no "magic" signature unlike zstd.

zlib data is ok to scan inside files due to the presence of the final crc that avoids the false positives.
I use offzip for scanning zlib:
https://aluigi.altervista.org/mytoolz.htm#offzip

For example:
offzip -a INPUT_FOLDER OUTPUT_FOLDER

The default scanner is zlib which does NOT get deflate.
deflate spits tons of false positives and therefore is not reliable, it's used if you specify the -z -15 option.


Top
   
PostPosted: Thu Dec 09, 2021 12:47 pm 

Joined: Tue Sep 14, 2021 7:40 am
Posts: 50
Oh ok,thanks again bro


Top
   
PostPosted: Fri Feb 18, 2022 6:20 pm 

Joined: Fri Feb 18, 2022 6:05 pm
Posts: 4
Can someone help me decompress the files in Arena of valor game?


Top
   
PostPosted: Wed Mar 16, 2022 3:37 am 

Joined: Tue Sep 14, 2021 7:40 am
Posts: 50
IM not play that game


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 35 posts ]  Go to page Previous 1 2

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