Anno 2205

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
komisar666
Posts: 5
Joined: Thu Dec 15, 2016 10:53 am

Re: Anno 2205

Post by komisar666 »

aluigi wrote:Script 0.1.3:
http://aluigi.org/bms/anno5.bms

There was 1 file archived :)

Yesss, thnx... All work perfectly!
(And you found "KEY = 0x71C71C71" for RES_FILE_TYPE :) )

[edit]
I found small problem...
When extracting data2.rda in some files begining and size incorrect (e.g. big_five_global_01_energy_arcitc.cfg must start with "<Extent.z>" but i see "nt.z>")
Size of data2.rda is 1.5g
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Anno 2205

Post by aluigi »

That's a big problem :)
If you will have any chance to upload that file I will take a look at it.
komisar666
Posts: 5
Joined: Thu Dec 15, 2016 10:53 am

Re: Anno 2205

Post by komisar666 »

aluigi wrote:That's a big problem :)
If you will have any chance to upload that file I will take a look at it.

Ok.
data2.rda
Very BIG thnx for support!


P.S.
Hmm, i get this:

Code: Select all

Error: incomplete input file -2:
       Can't read 41258 bytes from offset 000000000000b8c2.
       Anyway don't worry, it's possible that the BMS script has been written
       to exit in this way if it's reached the end of the archive so check it
       or contact its author or verify that all the files have been extracted
       Please check the following coverage information to know if it's ok.

  coverage file -2    6%   3020       47298      . offset 000000000000b8c2

Last script line before the error or that produced the error:
  103 log NAME OFFSET ZSIZE MEMORY_FILE2
when process "data17.rda" (before THIS -- file processed OK)

Uploaded "data17.rda"...
In this folder i place 38 part of RAR5-archive with 3% recovery record of "data17.rda"

Sorry for disturbing!...
komisar666
Posts: 5
Joined: Thu Dec 15, 2016 10:53 am

Re: Anno 2205

Post by komisar666 »

Any news?
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Anno 2205

Post by aluigi »

Currently no, I have had no occasion yet to check this stuff.
I will update the topic when everything is ready.
hhrhhr
Posts: 36
Joined: Sun Jan 18, 2015 11:22 pm

Re: Anno 2205

Post by hhrhhr »

hello. Anno 2205 use long long int for adresses and sizes, so solution can be this:

Code: Select all

...
    if TYPE & 4
+       if RES_FILE_TYPE <= 1
            math OFFSET -= 8
+       else
+           math OFFSET -= 16
+       endif
    endif
...
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Anno 2205

Post by aluigi »

Excellent job hhrhhr.
Tried here just now and it seems to work without any error message so I suppose the fix is correct.
Script 0.1.4 so I hope the other users can confirm that now the problem is solved:
http://aluigi.org/bms/anno5.bms

I fixed also the "0 files" issue with data17.rda and quickbms.exe