Error unpacking Starlink Battle For Atlas SDFDATA/SDFTOC

Doubts, help and support about QuickBMS and other game research tools
Nooga
Posts: 1
Joined: Sun Sep 26, 2021 3:21 am

Error unpacking Starlink Battle For Atlas SDFDATA/SDFTOC

Post by Nooga »

Hi there. I'm trying to use the Ubisoft_SDF script from aluigi.org/bms/ubisoft_sdf.bms to unpack the archives of Starlink: Battle for Atlas' PC version, but get an error as detailed below. Oddly, this doesn't happen when using the script on the Switch version's files. Unfortunately that version has lower quality assets and compressed/swizzled lower res textures and thus doesn't suit my needs. I also tried using the Snowdrop script from the quickbms website, but it just hangs and does nothing, maybe spitting an error about "can't read 4 bytes from offset" if I'm lucky.

Any help is greatly appreciated, thanks for your time :)

Code: Select all

  offset   filesize   filename
--------------------------------------
Info:  algorithm   249
       offset      00001eb3
       input size  0x0064609f 6578335
       output size 0x00ce1dc8 13508040
       result      0xfffffff5 -11

Error: uncompressed data (-11) bigger than allocated buffer (13508040)
       It usually means that data is not compressed or uses another algorithm

Last script line before the error or that produced the error:
  31  clog MEMORY_FILE OFFSET INFO_ZSIZE INFO_SIZE

- OFFSET       0x00001eb3
- ZSIZE        0x0064609f
- SIZE         0x00ce1dc8
  coverage file 0    99%   6578355    6586242    . offset 00647f52

Press ENTER or close the window to quit
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Error unpacking Starlink Battle For Atlas SDFDATA/SDFTOC

Post by aluigi »

If we are lucky it may just be a different compression algorithm.
If you open the archive with a hex editor, what data do you see at that offset 0x1eb3?
Alternatively you can just upload and link here the file created by this script:

Code: Select all

log "dump.dat" 0x00001eb3 0x0064609f