Hatsune Miku Project Diva Future Tone DX

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
Darko
Posts: 47
Joined: Fri Jun 03, 2016 5:24 pm

Hatsune Miku Project Diva Future Tone DX

Post by Darko »

Here are some files of the game, current vf5 bms script does not work:

http://www.mediafire.com/file/r0w1yk3c7 ... objset.rar
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Hatsune Miku Project Diva Future Tone DX

Post by aluigi »

The files in the archives with "FARC" magic are encrypted while in this case everything but the initial 16-bytes header is encrypted, and not with the "project_diva.bin" key..
Darko
Posts: 47
Joined: Fri Jun 03, 2016 5:24 pm

Re: Hatsune Miku Project Diva Future Tone DX

Post by Darko »

aluigi wrote:The files in the archives with "FARC" magic are encrypted while in this case everything but the initial 16-bytes header is encrypted, and not with the "project_diva.bin" key..


Okas, thanks
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Hatsune Miku Project Diva Future Tone DX

Post by aluigi »

Ah just a better explanation of my previous post since the first part looks not clear after having read it again.
What I meant is that the FARC format in general (the one covered by virtua_fighter_5.bms) has only its archived files encrypted while in this specific game everything from offset 16 is completely encrypted with unknown key/algorithm, so it's like a sort of "new" version of the format.
Fran-kun
Posts: 1
Joined: Tue Jun 05, 2018 11:48 pm

Re: Hatsune Miku Project Diva Future Tone DX

Post by Fran-kun »

you can make a script for extract the farc?
Darko
Posts: 47
Joined: Fri Jun 03, 2016 5:24 pm

Re: Hatsune Miku Project Diva Future Tone DX

Post by Darko »

Thanks aluigi, I hoope you can research a little bit more the format :P
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Hatsune Miku Project Diva Future Tone DX

Post by aluigi »

@Fran-kun
give me the key and the algorithm and I can do everything, which means that without research and information I can do absolutely nothing.
Let's wait if someone wants to do the work and provide the information.
life3000
Posts: 3
Joined: Tue Jun 12, 2018 10:25 am

Re: Hatsune Miku Project Diva Future Tone DX

Post by life3000 »

aluigi wrote:@Fran-kun
give me the key and the algorithm and I can do everything, which means that without research and information I can do absolutely nothing.
Let's wait if someone wants to do the work and provide the information.


hi,there are the game's eboot.bin
eboot.zip


Code: Select all

about eboot.bin
i dump the game from a cracked ps4 , maybe the eboot.bin is decrypt by the ps4 dump tools because i see the info say "decrypt eboot.elf"
but i'm not sure about this....
thank you.


and may be there has some other information:
in ps3 game:NPHB00671 Project diva - F2
the file has been encrypted with magic 'DIAVFILE'
AES-128-ECB-NullPadding ,AES key 66696C65206163636573732064656E79 ,ASCII ‘file access deny’
if the new FARC H type is one of the same type?(this is my guess)
more about divafile
https://github.com/s117/DIVAFILE_Tool
life3000
Posts: 3
Joined: Tue Jun 12, 2018 10:25 am

Re: Hatsune Miku Project Diva Future Tone DX

Post by life3000 »

i found the tcrf.net may get the FARC X type done,because the spr_ps4_adv is FARC X

https://tcrf.net/Hatsune_Miku:_Project_ ... pr_ps4_adv

and the new FARC type may get more than 3 types
FARC H
FARC X
FARC x

here are some samples
FARC_H_X_x.zip
chrrox
Posts: 388
Joined: Thu Aug 07, 2014 10:28 pm

Re: Hatsune Miku Project Diva Future Tone DX

Post by chrrox »

Project diva extractor for new format aluigi can add it to his script now.

Code: Select all

comtype gzip
endian big
getdstring SIGN 4
get LIMIT long
math LIMIT -= 0x40
get DUMMY long
math ZSIZE = 0
math XSIZE = 0
get XSIZE long
get TSIZE asize
math TSIZE -= 0x20
set key binary "\x13\x72\xD5\x7B\x6E\x9E\x31\xEB\xA2\x39\xB8\x3C\x15\x57\xC6\xBB"
getdstring IVEC 0x10
encryption aes_128_cbc KEY IVEC 0 0x10
log memory_file 0x20 TSIZE
getdstring NULL 0x10 memory_file
savepos CURR_OFF
for CURR_OFF = CURR_OFF < LIMIT
    get NAME string memory_file
    get OFFSET long memory_file
    math OFFSET -= 0x10
    get SIZE long memory_file
    math SIZE -= 0x10
    get ZSIZE long memory_file
    get NULL long memory_file
    savepos TMP memory_file
    if SIZE == ZSIZE
        log NAME OFFSET SIZE 0 XSIZE memory_file
    else
        endian little   # for gzip
   encryption "" ""
   string NAME += ".gz"
        log NAME OFFSET SIZE memory_file
   encryption aes_128_cbc KEY IVEC 0 0x10
        endian big
    endif
    savepos CURR_OFF memory_file
next
life3000
Posts: 3
Joined: Tue Jun 12, 2018 10:25 am

Re: Hatsune Miku Project Diva Future Tone DX

Post by life3000 »

chrrox wrote:Project diva extractor for new format aluigi can add it to his script now.
.....


@chrrox
thank u very much . the bms can handle the FARC x type file now.
but it cann't handle the FARC H and X type.
could you make them done?
i really want to get the font map in spr_fnt_36.farc-H,then i can edit the font to show my local language character.
Darko
Posts: 47
Joined: Fri Jun 03, 2016 5:24 pm

Re: Hatsune Miku Project Diva Future Tone DX

Post by Darko »

Hey Chrrox thanks. Can you share the 3ds max script with the correct vertex weights assigned??