Dragon Ball Fusions Hacking Thread

Discussion in '3DS - ROM Hacking, Translations and Utilities' started by kprovost7314, Aug 8, 2016.

  1. kprovost7314
    OP

    kprovost7314 GBAtemp's Official Bara Master

    Member
    1,675
    863
    Dec 24, 2014
    United States
    In that bara manga ( ͡° ͜ʖ ͡°)
    This is my first time doing one of these kind of threads.

    Dragon Ball Heroes RomFS is made up of 1 file (DOF.cpk). The file format is used in Xenoverse and can be easily extracted/repacked with QuickBMS. When extracted, the file consists of files like jtex, jarc, jmdl, usm, etc. I haven't found the files for the text (unlike Ultimate Mission 2, which is in .Mes files). @nobody231 and I are working on hacking the game in my Ultimate Mission 2 translation thread but I decided to move it.
     
    Last edited by raulpica, Aug 8, 2016 - Reason: Fix'd title -rp
    Pecrow and Psi-hate like this.
  2. upfromtheskies
    This message by upfromtheskies has been removed from public view by raulpica, Aug 8, 2016, Reason: Fixed -rp.
    Aug 8, 2016
  3. kprovost7314
    This message by kprovost7314 has been removed from public view by raulpica, Aug 8, 2016, Reason: Fixed -rp.
    Aug 8, 2016
  4. upfromtheskies
    This message by upfromtheskies has been removed from public view by raulpica, Aug 8, 2016, Reason: Fixed -rp.
    Aug 8, 2016


  5. Helmax

    Helmax GBAtemp Regular

    Member
    184
    276
    Feb 17, 2011
    United States
    I'd be down to take a look at this with you guys.
     
    kprovost7314 likes this.
  6. focusonme

    focusonme Advanced Member

    Newcomer
    93
    21
    Jun 30, 2016
    United States
    nice work guys!
     
  7. nobody231

    nobody231 GBATemp's Resident Nobody

    Member
    338
    62
    Dec 8, 2014
    United States
    Nowhere, USA
    So, I'm an official part of this hacking thing. Agh, I guess I have to stop being a lazy bum now.

    EDIT: So the text are inside the .bl files inside UI, they're archives which hold files. I'm not sure how to extract them, however.
     
    Last edited by nobody231, Aug 8, 2016
  8. samcambolt270

    samcambolt270 GBAtemp Advanced Fan

    Member
    685
    293
    Dec 24, 2014
    United States
    allright! another translation to look forward to
     
  9. nobody231

    nobody231 GBATemp's Resident Nobody

    Member
    338
    62
    Dec 8, 2014
    United States
    Nowhere, USA
    It might not happen for a little bit, because we're still trying to reverse engineer the game. At least most of the game isn't stuck in giant bin files that we don't understand, unlike Heroes.
     
  10. samcambolt270

    samcambolt270 GBAtemp Advanced Fan

    Member
    685
    293
    Dec 24, 2014
    United States
    still looking forward to it. Sadly, the, like 12 projects im following, none have finished. Dqm terrys wonderland is super close though.
     
    ImCarlosGG likes this.
  11. Suwazo

    Suwazo Member

    Newcomer
    31
    6
    Aug 17, 2015
    Are the .bl files not some kind of list of other files found in the .jarcs? They seem to be nothing other than file names and then 00s and FFs.
    I thought I found unicode text inside pac/system.jarc/message/msg.jmsg but even if it is I don't know where it'd be for. Have no idea what I'm doing really.
     
  12. JustAKirby
    This message by JustAKirby has been removed from public view by raulpica, Aug 8, 2016, Reason: Fixed -rp.
    Aug 8, 2016
  13. Psi-hate

    Psi-hate GBATemp's Official Psi-Hater

    Member
    1,621
    1,035
    Dec 14, 2014
    United States
    Houston
    I'll be glad to help! I'm very interested in translating Dragon Ball Fusions so if you need help, I'll gladly join!
     
  14. Rioluwott

    Rioluwott GBAtemp Advanced Fan

    Member
    646
    91
    Feb 23, 2014
    Mexico
    Good luck the game is fun but i don´t understand anything
    hope you finish this looking forward playing it
     
  15. nobody231

    nobody231 GBATemp's Resident Nobody

    Member
    338
    62
    Dec 8, 2014
    United States
    Nowhere, USA
    We'll let you know when we manage to get into the files.
     
    Psi-hate likes this.
  16. Psi-hate

    Psi-hate GBATemp's Official Psi-Hater

    Member
    1,621
    1,035
    Dec 14, 2014
    United States
    Houston
    Currently tinkering with the bl files, trying to see what I can do.
     
  17. Helmax

    Helmax GBAtemp Regular

    Member
    184
    276
    Feb 17, 2011
    United States
    Would love to take a look at a BL file, but I cannot decrypt this myself for a few days.
    Anyways I could get one/two to examine and compare?
     
  18. nobody231
    This message by nobody231 has been removed from public view by raulpica, Aug 11, 2016, Reason: Still warez -rp.
    Aug 9, 2016
  19. Helmax

    Helmax GBAtemp Regular

    Member
    184
    276
    Feb 17, 2011
    United States
    The text definately does not appear to be in the BL files.
    It looks to be in /pac/*.jarc files.

    System.jarc : 0x5c1b8 is where the text seems to start, with a ton of pointers before it (stored in Unicode).
    The rest of the file has UTF-8 commands and files inside of it.

    I don't know how to extract a JARC yet, but it's all in there.
    One of the files in there is called message/msg.jmsg

    In unicode, the JMSG in this file starts at 0x17100, seems like there are mulitple pointer tables, and then the pointers start, and theres a TON of them.
     
    Psi-hate likes this.
  20. Suwazo

    Suwazo Member

    Newcomer
    31
    6
    Aug 17, 2015
    There is a QuickBMS script for JARC. I tried searching and replacing every instance of Kamehame in the msg.jmsg and loading it up and the move name did not change, though I guess it could have changed elsewhere.
     
  21. Helmax

    Helmax GBAtemp Regular

    Member
    184
    276
    Feb 17, 2011
    United States
    -im sure there is a jmsg file n every single jarc file.- ok so i was wrong!

    — Posts automatically merged - Please don't double post! —

    so you changed every instance, repacked it, and replaced it and used something like NTR to test i assume?
     
    Last edited by Helmax, Aug 9, 2016
  22. Psi-hate

    Psi-hate GBATemp's Official Psi-Hater

    Member
    1,621
    1,035
    Dec 14, 2014
    United States
    Houston
    I'm able to extract .JARC files. I'll see about getting something done.
     
  23. Helmax

    Helmax GBAtemp Regular

    Member
    184
    276
    Feb 17, 2011
    United States
    I am also able to extract them now, using this method listed above with QuickBMS (thanks to @Suwazo), and i believe there is a repack.bat that comes with QuickBMS you can use to repack the file.

    jMsg is still loaded with pointers, and I bet if they arent recalculated, you can't just expand/shrink segments of text.

    — Posts automatically merged - Please don't double post! —

    Here's what i figured out so far...

    MAGIC HEADER - 0x004 - jMSG (6A4D5347)
    FILE LENGTH - 0x004 - file length (13D4A8)

    I'm not sure what the next 5 0x004 entries are, but the one right after that is A0500400 or 0450A0.
    Now this is interesting, because 0450A0 + 18 (the 5 4-byte section and the 4-byte length header, we can discard the magic header for pointer calculations...), is 0450B8
    0450B8 is the first text entry and there is furigana included in it.

    でも、オレの<6=方,ほう>がちょっと<6=早,はや>いな、
    ハッハッハ!

    <6= > looks to be our "ruby" tags like in HTML, controlling the furigana.

    でも、オレの<6=方,ほう>がちょっと<6=早,はや>いな、
    ハッハッハ!

    so if we strip those...

    でも、オレの方がちょっと早いな、
    ハッハッハ!

    Hahaha! Sorry, I'm a little bit early! (quick rough no context translation) :D

    — Posts automatically merged - Please don't double post! —

    Sure enough then next text entry starts at 045104, subtract 18 for the pointer, and it's 0450EC.
    That one also appears in the header.

    I don't fully understand the header, otherwise we could dump and recompile this file.
     
    Psi-hate likes this.
  24. Psi-hate

    Psi-hate GBATemp's Official Psi-Hater

    Member
    1,621
    1,035
    Dec 14, 2014
    United States
    Houston
    Amazing! When I open "msg.jmsg", I can't seem to find out how to find and translate the tect from it. Do you mind explaining?
     
    Last edited by Psi-hate, Aug 9, 2016
  25. Suwazo

    Suwazo Member

    Newcomer
    31
    6
    Aug 17, 2015
    That's impressive. Can barely fathom how you would figure all that out. Perhaps the rest of the header is something that doesn't need recalculated.
    All I've accomplished is removing the bulk of the file to get this:
    [​IMG]
    [​IMG]