ROM Hack Dragon Ball Fusions Hacking Thread

kprovost7314

GBAtemp's Official Shota and Bara Master
OP
Member
Joined
Dec 24, 2014
Messages
1,992
Trophies
1
Age
19
Location
Somewhere, nowhere
XP
2,007
Country
United States
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, , Reason: Fix'd title -rp
  • Like
Reactions: Pecrow and Psi-hate

nobody231

Well-Known Member
Member
Joined
Dec 8, 2014
Messages
338
Trophies
0
XP
182
Country
United States
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,

Suwazo

Active Member
Newcomer
Joined
Aug 17, 2015
Messages
31
Trophies
0
Age
28
XP
52
Country
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.
 

Psi-hate

GBATemp's Official Psi-Hater
Member
Joined
Dec 14, 2014
Messages
1,745
Trophies
1
XP
2,724
Country
United States
I'll be glad to help! I'm very interested in translating Dragon Ball Fusions so if you need help, I'll gladly join!
 

Helmax

Well-Known Member
Member
Joined
Feb 17, 2011
Messages
239
Trophies
0
XP
1,559
Country
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?
 

Helmax

Well-Known Member
Member
Joined
Feb 17, 2011
Messages
239
Trophies
0
XP
1,559
Country
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.
 
  • Like
Reactions: Psi-hate

Suwazo

Active Member
Newcomer
Joined
Aug 17, 2015
Messages
31
Trophies
0
Age
28
XP
52
Country
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.
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.
 

Helmax

Well-Known Member
Member
Joined
Feb 17, 2011
Messages
239
Trophies
0
XP
1,559
Country
United States
-im sure there is a jmsg file n every single jarc file.- ok so i was wrong!

--------------------- MERGED ---------------------------

so you changed every instance, repacked it, and replaced it and used something like NTR to test i assume?
 
Last edited by Helmax,

Helmax

Well-Known Member
Member
Joined
Feb 17, 2011
Messages
239
Trophies
0
XP
1,559
Country
United States
I'm able to extract .JARC files. I'll see about getting something done.
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.

--------------------- MERGED ---------------------------

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

--------------------- MERGED ---------------------------

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.
 
  • Like
Reactions: Psi-hate

Psi-hate

GBATemp's Official Psi-Hater
Member
Joined
Dec 14, 2014
Messages
1,745
Trophies
1
XP
2,724
Country
United States
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,

Suwazo

Active Member
Newcomer
Joined
Aug 17, 2015
Messages
31
Trophies
0
Age
28
XP
52
Country
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:
14u991t.jpg

4fa60b33-13f8-4214-8a37-2097f36cd908
 
General chit-chat
Help Users
    Julie_Pilgrim @ Julie_Pilgrim: i had something semi-funny happen to me recently