Hyrule Warriors Legends (3DS) UPDATE 1.6 LINKDATA.BIN / IDX

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
TarAnTani
Posts: 2
Joined: Mon Jan 30, 2017 3:47 pm

Hyrule Warriors Legends (3DS) UPDATE 1.6 LINKDATA.BIN / IDX

Post by TarAnTani »

Hi there, new modder here. :)

I would like to request some help with the Linkdata.bin / idx files found in the "eur update 1.6" for hyrule warriors legends (3ds).

The script provided here: viewtopic.php?t=2037

Code: Select all

open FDDE "idx"
open FDDE "bin" 1
get FILES asize
math FILES / 8
for i = 0 < FILES
    get SIZE Long
    get OFFSET long
    if SIZE != 0
        log "" OFFSET SIZE 1
    endif
next i

Does not work quite correctly, it decompresses but produces 13.7GB of "uncompressed" data which obviously can't be correct since the original file only has about ~200MB.

The dumped Linkdata.bin and idx can be found here:
https://drive.google.com/file/d/0B3uHoR ... sp=sharing

Please, anyone able to take a look over it?

Many thanks in advance.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Hyrule Warriors Legends (3DS) UPDATE 1.6 LINKDATA.BIN / IDX

Post by aluigi »

add the following after "get SIZE long":
math SIZE & 0x00ffffff

I have updated the script in the original link too.
TarAnTani
Posts: 2
Joined: Mon Jan 30, 2017 3:47 pm

Re: Hyrule Warriors Legends (3DS) UPDATE 1.6 LINKDATA.BIN / IDX

Post by TarAnTani »

Many thanks. That did the trick. :)