Alternate QBMS reimport mode
-
- Posts: 233
- Joined: Sun Aug 24, 2014 5:26 pm
Alternate QBMS reimport mode
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?
-
- Site Admin
- Posts: 12984
- Joined: Wed Jul 30, 2014 9:32 pm
Re: Alternate QBMS reimport mode
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.
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.
-
- Posts: 233
- Joined: Sun Aug 24, 2014 5:26 pm
Re: Alternate QBMS reimport mode
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?
And maybe there is a way to add some extra arguments to calculate relative offset?
-
- Site Admin
- Posts: 12984
- Joined: Wed Jul 30, 2014 9:32 pm
Re: Alternate QBMS reimport mode
Too complex.