ZenHAX

Free Game Research Forum | Official QuickBMS support | twitter @zenhax | SSL HTTPS://zenhax.com
It is currently Wed Oct 17, 2018 9:11 am

All times are UTC




Post new topic  Reply to topic  [ 11 posts ] 
Author Message
PostPosted: Wed Mar 01, 2017 5:29 pm 

Joined: Wed Mar 01, 2017 4:53 pm
Posts: 7
Hi
Recently I was extracting Just Dance 2014's and 2015's files and I noticed that files naming scheme is absolutely different, although archives use the same format (.ipk). Files from Just Dance 2014 are placed accurately, are sorted to folders and have their original names. But files from 2015 (and until Just Dance 2017) are just a mess, there is a folder for each file and files use .dat extension (which is generated by quickbms), no matter if its a texture or a video, and also those files are named like 0000004e (which, again, quickbms gave to them while extracting), BUT in hex editor I can see naming scheme like the one from JD2014, so I guess the script works incorrectly for JD2015-2017 (tho no files are corrupted, just the naming scheme is incorrect). I used script by aluigi, which I got from his site.
So I'm asking if someone could fix it, I'll leave link to both JD2014 and JD2017 .ipk's below. Here's the original script:

Code:
# Just Dance 2014 (script 0.1a)
#   same format used also by Rayman Legends
# script for QuickBMS http://quickbms.aluigi.org

endian big
idstring "\x50\xec\x12\xba"
get VERSION long
get DUMMY long
get BASE_OFF long
get FILES long
goto 0x30
for i = 0 < FILES
    get DUMMY1 long # 1
    get SIZE long
    get ZSIZE long
    get TSTAMP longlong
    get OFFSET longlong
    if DUMMY1 == 2
        get DUMMY long
        get DUMMY long
    endif
    get PATHSZ long
    getdstring PATH PATHSZ
    get NAMESZ long
    getdstring NAME NAMESZ
    get CRC long
    get DUMMY2 long # 0 or 2

    set FNAME string PATH
    string FNAME += NAME
    math OFFSET += BASE_OFF

    if ZSIZE == 0
        log FNAME OFFSET SIZE
    else
        clog FNAME OFFSET ZSIZE SIZE
    endif
next i


Files: GDrive


Top
   
PostPosted: Wed Mar 01, 2017 6:14 pm 

Joined: Wed Mar 01, 2017 4:53 pm
Posts: 7
Nevermind, I figured it out myself. Thanks :D


Top
   
PostPosted: Thu Jul 19, 2018 7:35 am 

Joined: Thu Jul 19, 2018 7:34 am
Posts: 10
vladik4kides wrote:
Nevermind, I figured it out myself. Thanks :D


Ahh, how?


Top
   
PostPosted: Thu Jul 19, 2018 9:41 am 
User avatar

Joined: Fri Aug 08, 2014 1:06 am
Posts: 516
try this :D
Code:
get FOLDER basename
endian big
idstring "\x50\xec\x12\xba"
get VERSION long
get DUMMY long
get BASE_OFF long
get FILES long
goto 0x30
for i = 0 < FILES
    get DUMMY1 long # 1
    get SIZE long
    get ZSIZE long
    get TSTAMP longlong
    get OFFSET longlong
    if DUMMY1 == 2
        get DUMMY long
        get DUMMY long
    endif
    get NAME_SZ long
    getdstring NAME NAME_SZ
    get PATH_SZ long
    getdstring PATH PATH_SZ
    get CRC long
    get DUMMY2 long # 0 or 2
    string NAME p "%s\%s\%s" FOLDER PATH NAME
    math OFFSET + BASE_OFF
    if ZSIZE == 0
        log NAME OFFSET SIZE
    else
        clog NAME OFFSET ZSIZE SIZE
    endif
next i

_________________
Quickbms.com link thread
Search bms scripts


Top
   
PostPosted: Sat Jul 21, 2018 6:38 am 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 9043
There is absolutely no problem in my script:
http://aluigi.org/bms/just_dance_2014.bms

I don't know where you got that old version of the script but for sure it's not (no longer) on my homepage from many months.


Top
   
PostPosted: Sat Jul 21, 2018 7:00 pm 

Joined: Thu Jul 19, 2018 7:34 am
Posts: 10
aluigi wrote:
There is absolutely no problem in my script:
http://aluigi.org/bms/just_dance_2014.bms

I don't know where you got that old version of the script but for sure it's not (no longer) on my homepage from many months.

I used it and again got the .DAT files ;-;


Top
   
PostPosted: Mon Jul 23, 2018 3:13 am 

Joined: Thu Jul 19, 2018 7:34 am
Posts: 10
Acewell wrote:
try this :D
Code:
get FOLDER basename
endian big
idstring "\x50\xec\x12\xba"
get VERSION long
get DUMMY long
get BASE_OFF long
get FILES long
goto 0x30
for i = 0 < FILES
    get DUMMY1 long # 1
    get SIZE long
    get ZSIZE long
    get TSTAMP longlong
    get OFFSET longlong
    if DUMMY1 == 2
        get DUMMY long
        get DUMMY long
    endif
    get NAME_SZ long
    getdstring NAME NAME_SZ
    get PATH_SZ long
    getdstring PATH PATH_SZ
    get CRC long
    get DUMMY2 long # 0 or 2
    string NAME p "%s\%s\%s" FOLDER PATH NAME
    math OFFSET + BASE_OFF
    if ZSIZE == 0
        log NAME OFFSET SIZE
    else
        clog NAME OFFSET ZSIZE SIZE
    endif
next i

Thanks! But why I don't see any DDS in hex editor?
I saw only SDD.. It's dds in backwards..
Just dance 2016 wii


Top
   
PostPosted: Mon Jul 23, 2018 4:51 am 
User avatar

Joined: Wed Jul 19, 2017 5:04 am
Posts: 125
RauanBatyr wrote:
Acewell wrote:
try this :D
Code:
get FOLDER basename
endian big
idstring "\x50\xec\x12\xba"
get VERSION long
get DUMMY long
get BASE_OFF long
get FILES long
goto 0x30
for i = 0 < FILES
    get DUMMY1 long # 1
    get SIZE long
    get ZSIZE long
    get TSTAMP longlong
    get OFFSET longlong
    if DUMMY1 == 2
        get DUMMY long
        get DUMMY long
    endif
    get NAME_SZ long
    getdstring NAME NAME_SZ
    get PATH_SZ long
    getdstring PATH PATH_SZ
    get CRC long
    get DUMMY2 long # 0 or 2
    string NAME p "%s\%s\%s" FOLDER PATH NAME
    math OFFSET + BASE_OFF
    if ZSIZE == 0
        log NAME OFFSET SIZE
    else
        clog NAME OFFSET ZSIZE SIZE
    endif
next i

Thanks! But why I don't see any DDS in hex editor?
I saw only SDD.. It's dds in backwards..
Just dance 2016 wii


Upload a sample File To Me...

_________________
Be Good, Even in distressing or defamation and chill, Even Everyone's Called You a Bad Guy Or Lier and Mad


Top
   
PostPosted: Mon Jul 23, 2018 9:35 am 

Joined: Thu Jul 19, 2018 7:34 am
Posts: 10
GHOST DEAD wrote:
RauanBatyr wrote:
Acewell wrote:
try this :D
Code:
get FOLDER basename
endian big
idstring "\x50\xec\x12\xba"
get VERSION long
get DUMMY long
get BASE_OFF long
get FILES long
goto 0x30
for i = 0 < FILES
    get DUMMY1 long # 1
    get SIZE long
    get ZSIZE long
    get TSTAMP longlong
    get OFFSET longlong
    if DUMMY1 == 2
        get DUMMY long
        get DUMMY long
    endif
    get NAME_SZ long
    getdstring NAME NAME_SZ
    get PATH_SZ long
    getdstring PATH PATH_SZ
    get CRC long
    get DUMMY2 long # 0 or 2
    string NAME p "%s\%s\%s" FOLDER PATH NAME
    math OFFSET + BASE_OFF
    if ZSIZE == 0
        log NAME OFFSET SIZE
    else
        clog NAME OFFSET ZSIZE SIZE
    endif
next i

Thanks! But why I don't see any DDS in hex editor?
I saw only SDD.. It's dds in backwards..
Just dance 2016 wii


Upload a sample File To Me...


https://drive.google.com/open?id=1Jefbd ... fIHXYAqw_P


Top
   
PostPosted: Mon Jul 23, 2018 12:08 pm 

Joined: Thu Jul 19, 2018 7:34 am
Posts: 10
RauanBatyr wrote:
GHOST DEAD wrote:
RauanBatyr wrote:
Thanks! But why I don't see any DDS in hex editor?
I saw only SDD.. It's dds in backwards..
Just dance 2016 wii


Upload a sample File To Me...


https://drive.google.com/open?id=1Jefbd ... fIHXYAqw_P


I got it. My computer is little endian :(


Top
   
PostPosted: Mon Jul 23, 2018 12:45 pm 

Joined: Thu Jul 19, 2018 7:34 am
Posts: 10
aluigi wrote:
There is absolutely no problem in my script:
http://aluigi.org/bms/just_dance_2014.bms

I don't know where you got that old version of the script but for sure it's not (no longer) on my homepage from many months.


I need little endian bms... Do you have?


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 11 posts ] 

All times are UTC


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Limited