ZenHAX

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

All times are UTC




Post new topic  Reply to topic  [ 62 posts ]  Go to page Previous 1 2 3 4 Next
Author Message
PostPosted: Fri Aug 31, 2018 5:34 am 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 9438
If quickbms gives that error then it means there is nothing to do.
Anyway what's the script you are using?


Top
   
PostPosted: Fri Aug 31, 2018 5:40 am 
User avatar

Joined: Thu Aug 04, 2016 8:03 pm
Posts: 37
Unreal tournament 4.bms


Top
   
PostPosted: Fri Aug 31, 2018 5:54 am 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 9438
Honestly I don't know and I can't check now but you correctly used the 4gb_files version so that's excluded (because reimport.bat uses quickbms.exe and it causes conflicts).


Top
   
PostPosted: Fri Aug 31, 2018 6:08 am 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 9438
Ah right, UE4 has the TOC located at the end of the archive and therefore you can't use reimport2 with it.
Yeah quickbms is perfectly correct returning that error :D


Top
   
PostPosted: Fri Aug 31, 2018 6:40 pm 
User avatar

Joined: Thu Aug 04, 2016 8:03 pm
Posts: 37
So it's mean there is no current solution for now, right? : D


Top
   
PostPosted: Sat Sep 01, 2018 12:33 am 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 9438
It means that there will be no solution forever since it's a logic problem due to the fact that no new content can be appended to the archive.
Sure, it would be possible to "prepend" the new content but that causes big troubles and it's technically a mess (moreover with huge files like the UE4 paks)... so it will never be available.


Top
   
PostPosted: Sat Sep 15, 2018 7:10 am 
User avatar

Joined: Sat Sep 15, 2018 5:22 am
Posts: 72
QuickBMS cant import2 a script with such tag and stuck in importing2
Code:
math OFFSET - 1024


Attachments:
Tomb-Rider9_(2013).bms [523 Bytes]
Downloaded 17 times
Top
   
PostPosted: Sat Sep 15, 2018 7:45 am 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 9438
I don't see any problem, I created a file and a script with OFFSET - 1024 and in fact reimport2 works perfectly.

Do you have a game sample file?
What's the output of quickbms?


Top
   
PostPosted: Mon Sep 17, 2018 5:42 am 
User avatar

Joined: Sat Sep 15, 2018 5:22 am
Posts: 72
aluigi wrote:
I don't see any problem, I created a file and a script with OFFSET - 1024 and in fact reimport2 works perfectly.

Do you have a game sample file?
What's the output of quickbms?

sorry, my archive was corrupt
i tested again and no problem, sorry, my bad.


Top
   
PostPosted: Thu Sep 20, 2018 7:21 am 
User avatar

Joined: Sat Sep 15, 2018 5:22 am
Posts: 72
Shokoniraya wrote:
QuickBMS cant import2 a script with such tag and stuck in importing2
Code:
math OFFSET - 1024

How can i add exantion in Script?
x\02\xBF == ".rate"


Top
   
PostPosted: Thu Sep 20, 2018 8:12 am 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 9438
@Shokoniraya
you are off-topic, anyway you can't add additional guessed extensions. They are hardcoded in quickbms.


Top
   
PostPosted: Wed Oct 31, 2018 9:11 am 
User avatar

Joined: Thu Aug 04, 2016 8:03 pm
Posts: 37
I'm trying to reimport a language file (locres) to .pak.

But the edited locres file is bigger than the original locres file, so it's importing with errors. Half of the texts doesn't show up in the game. I can't delete anything from locres file to make it smaller.


Any solution for that?

im using latest unreal script and latest quickbms.


Top
   
PostPosted: Wed Oct 31, 2018 3:37 pm 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 9438
The reason why reimport2 can't work on archives like those of UE4 is the following: the TOC ("table of content", the information about the archived files) is located at the end of the archive.

For example this is the format of an UE4 archive:
Code:
########################TOC***
|                       |  |
|                       |  tail info with offset of TOC
|                       TOC containing info of the files
archived files

If reimport2 tries to add a bigger file at the end of the archive, UE4 will be no longer able to read the offset of the TOC (it's occupied by the new files).

Quickbms is a generic tool that must work with any type of format, therefore a soluton like copying the *** part at the end of the edited archive is not possible because quickbms does not know where that part starts and if the TOC offset is relative (like negative offset or the "size of TOC") or absolute (like in UE4).

What I can try to do is telling quickbms to check the "goto -OFFSET" instructions and record them as starting offset of ***, then copying that data after the reimport process.
It may work and it costs me nothing to try :)


Top
   
PostPosted: Wed Oct 31, 2018 4:26 pm 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 9438
I implemented the new code in my quickbms 0.9.1 beta in few minutes and tested reimport2 with an encrypted UE4 archive: apparently everything works great :D


Top
   
PostPosted: Wed Oct 31, 2018 5:21 pm 
User avatar

Joined: Thu Aug 04, 2016 8:03 pm
Posts: 37
thank you brother from another mother father! : - D


Top
   
PostPosted: Mon Nov 12, 2018 3:58 am 

Joined: Mon Oct 06, 2014 6:41 pm
Posts: 350
I cant reimport with bigger files. This script: viewtopic.php?f=9&t=644
Can you help me ? Thanks


Top
   
PostPosted: Mon Nov 12, 2018 6:01 am 
User avatar

Joined: Thu Aug 04, 2016 8:03 pm
Posts: 37
aluigi wrote:
I implemented the new code in my quickbms 0.9.1 beta in few minutes and tested reimport2 with an encrypted UE4 archive: apparently everything works great :D


Where can i get the 0.9.1 beta? i need to reimport a bigger file to a .pak folder, thanks!


Top
   
PostPosted: Mon Nov 12, 2018 9:19 am 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 9438
@hackspeedok
because TOC is compressed and therefore the new offset and size can't be rewritten.

@Qnoops
it's a private beta


Top
   
PostPosted: Mon Nov 12, 2018 9:23 am 

Joined: Mon Oct 06, 2014 6:41 pm
Posts: 350
aluigi wrote:
@hackspeedok
because TOC is compressed and therefore the new offset and size can't be rewritten.

Here are the files I need to reimport. Can you help me ?
Link: https://drive.google.com/open?id=1eNWl9 ... wZzJAtg2ks

If that is not possible, thank you for your interest


Top
   
PostPosted: Mon Nov 12, 2018 10:44 am 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 9438
Not possible


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 62 posts ]  Go to page Previous 1 2 3 4 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