ZenHAX

Free Game Research Forum | Official QuickBMS support | twitter @zenhax | SSL HTTPS://zenhax.com
It is currently Sun Aug 20, 2017 12:19 am

All times are UTC




Post new topic  Reply to topic  [ 4 posts ] 
Author Message
PostPosted: Tue Apr 07, 2015 3:47 am 

Joined: Sun Aug 24, 2014 5:26 pm
Posts: 222
By now it's impossible to reimport bigger files with qbms, so i suggest an alternate reimport mode, that would add files to the end of archieve and change offset, size and compressed size (if clog is used). I think a lot of people would like it. Can you do it, aluigi?


Top
   
PostPosted: Wed Apr 08, 2015 5:43 pm 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 6439
The problem is that it's not an universal method and "may" work only with some archives.
Additionally it's not possible to know correct value to write as new offset, size and maybe zsize because they are not fixed values.

For example:
get OFFSET long
math OFFSET * 0x800
math OFFSET + BASE_OFFSET

There is no universal and easy way to write that value back because quickbms doesn't know that OFFSET is the result of an operation.

So no reimport in appending mode is possible.


Top
   
PostPosted: Wed Apr 08, 2015 11:01 pm 

Joined: Sun Aug 24, 2014 5:26 pm
Posts: 222
So maybe only for real offsets? There is a lot of games that have real offsets and works if you add file to the end and chage offset and size(s).
And maybe there is a way to add some extra arguments to calculate relative offset?


Top
   
PostPosted: Thu Apr 09, 2015 6:59 pm 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 6439
Too complex.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 4 posts ] 

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