Just Dance 4 .bin BMS script is broken

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
yunyl
Posts: 25
Joined: Sat Aug 18, 2018 3:22 pm

Just Dance 4 .bin BMS script is broken

Post by yunyl »

Hello Aluigi, around September 2019, you made an update on Just Dance 4 Wii U .bin extractor script and all of the .bin files became non-extractable. I remember when it used to work around 2017-2018 so I don't know what you did on that update but the latest JD4 bin bms script gives

offset in PutVarChr <0xf13ce9fc> is negative

error on all of the bin files.

Here are some bin files below for you to check.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Just Dance 4 .bin BMS script is broken

Post by aluigi »

I'm not sure if the 2 bin you posted are archives.
I can clearly see the Nintendo ADPCM data (8 bytes patterns) but I don't see any structure of an archive format.
yunyl
Posts: 25
Joined: Sat Aug 18, 2018 3:22 pm

Re: Just Dance 4 .bin BMS script is broken

Post by yunyl »

aluigi wrote:I'm not sure if the 2 bin you posted are archives.
I can clearly see the Nintendo ADPCM data (8 bytes patterns) but I don't see any structure of an archive format.


They are actually the archive files for each song in-game. It got the data for the song's timelines for lyrics and stuff, so that's normal that you see an ADPCM header. It's probably the preview audio of the song. The old script used to work with the song archives, well it used to work with ALL .bin files but your latest broke everything. None of the .bin files work anymore. This is the Wii version by the way, please find a way to fix this issue.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Just Dance 4 .bin BMS script is broken

Post by aluigi »

Code: Select all

get BIN_SIZE asize
for OFFSET = 0x40 != BIN_SIZE
    goto OFFSET
    get DUMMY long
    get XSIZE long
    get SIZE long
    savepos OFFSET
    if SIZE != 0
        log "" OFFSET SIZE
    endif
    math OFFSET + SIZE
next
yunyl
Posts: 25
Joined: Sat Aug 18, 2018 3:22 pm

Re: Just Dance 4 .bin BMS script is broken

Post by yunyl »

Thanks!