Dragon ball Z Sagas (PS2) .DBU files

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
Nekorun
Posts: 6
Joined: Thu Aug 18, 2016 11:08 pm

Dragon ball Z Sagas (PS2) .DBU files

Post by Nekorun »

Hello, I have been looking into modding Dragon Ball Z sagas for the PS2 and need help with unpacking/repacking the .DBU files in which the Movesets/Level geometry/Enemy models,ect. are packed.
The files do not appear encrypted just packed. Can anyone help me with this filetype? Here is a sample file https://drive.google.com/open?id=13fAZk ... WxTR0fIxLD Thank you in advance.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Dragon ball Z Sagas (PS2) .DBU files

Post by aluigi »

I leave a keyword for search engines and people who may be interested:

Code: Select all

1184   
File bardock.dbu created by DBLMerge
Command line:
   -UBERDBL -PARAMLIST ..\..\data_ps2\characters\bardock.dbl ..\..\data_ps2\sprites\faces\bardock.dbl ..\..\data\characters\bardock.dv ..\..\data\var\bdhaira.dv ..\..\data\var\bdhairk.dv ..\..\data\var\bdhairj.dv ..\..\data\var\bdhaire.dv ..\..\data\var\bdhairf.dv ..\..\data\var\bdhairg.dv ..\..\data\var\bdhaird.dv ..\..\data\var\bdhairh.dv ..\..\data\var\bdhairi.dv ..\..\data\var\bdhairc.dv ..\..\data\var\bdhairb.dv ..\..\data_ps2\particles\bardock.dbp bardock.dbu
Contents:
   0: ..\..\data_ps2\characters\bardock.dbl 445280
   1: ..\..\data_ps2\sprites\faces\bardock.dbl 17856
   2: ..\..\data\characters\bardock.dv 1120
   3: ..\..\data\var\bdhaira.dv 608
   4: ..\..\data\var\bdhairk.dv 608
   5: ..\..\data\var\bdhairj.dv 608
   6: ..\..\data\var\bdhaire.dv 608
   7: ..\..\data\var\bdhairf.dv 608
   8: ..\..\data\var\bdhairg.dv 608
   9: ..\..\data\var\bdhaird.dv 608
   10: ..\..\data\var\bdhairh.dv 608
   11: ..\..\data\var\bdhairi.dv 608
   12: ..\..\data\var\bdhairc.dv 608
   13: ..\..\data\var\bdhairb.dv 608
   14: ..\..\data_ps2\particles\bardock.dbp 193344
Nekorun
Posts: 6
Joined: Thu Aug 18, 2016 11:08 pm

Re: Dragon ball Z Sagas (PS2) .DBU files

Post by Nekorun »

Thanks Aluigi, I've been trying to find help for this files type for about 3 years now. Any help is very appreciated.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Dragon ball Z Sagas (PS2) .DBU files

Post by aluigi »

It's a weird format without much sense and with some "wrong" things (like the shifted offset of one file without any reason).
This is the max I can do:
http://aluigi.org/bms/dblmerge_dbu.bms
Nekorun
Posts: 6
Joined: Thu Aug 18, 2016 11:08 pm

Re: Dragon ball Z Sagas (PS2) .DBU files

Post by Nekorun »

Thanks again ALuigi. If it would help I can upload another file. The game uses this files type for the characters and the separate chapters which houses the boss, enemy, and world models.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Dragon ball Z Sagas (PS2) .DBU files

Post by aluigi »

Ok upload other archives but don't expect much.
Nekorun
Posts: 6
Joined: Thu Aug 18, 2016 11:08 pm

Re: Dragon ball Z Sagas (PS2) .DBU files

Post by Nekorun »

Alright, finally getting around to uploading more archives.
Raditz.dbl from inside the Chapter1.dbl
https://drive.google.com/open?id=12VItM ... 5dNkN2NLZK

Code: Select all

........X...............
c:\dev\dbz\data_ps2\characters\............. ...€.€.........`.......)...
acters\Scanner\maps\Scanner.tga.............à!..@.@. ....... !......*...
cters\Recoome\maps\HipArmor.tga.............à-......@.......à)......+...
ters\Raditz\maps\RaditzSkin.tga.............à-......(.......`.......)...
ers\Scanner\maps\GreenGlass.tga.....@...
ììí€××Ù€ÌÌ΀““™€mms€ccj€^^e€RRY€.‚‡€¼½¿€¯°²€.\ˆ€Ÿ¢£€ hr€W…r€.p.[


and Hub.dbl from the worlds folder inside the original Hub.dbl
https://drive.google.com/file/d/1CGINbG ... QABVqFcjbe

Code: Select all

 .......8...............
 c:\dev\dbz\data_ps2\worlds\Hub\.............@.....€.........@.......©...
 skydome\maps\sky_cloudringb.tga.............@‘......€.......@...........
 skydome\maps\sky_cloudlayer.tga.............@•....€.€.......@‘......±...
 skydome\maps\sky_cloudringa.tga.............@...€.€.........@.......µ...
 ub\terrain\maps\balloon_top.tga.............@]..€.€.@.......@Y......¹...
 ub\terrain\maps\balloon_med.tga.............@¡..€.€.€.......@....... ...
 terrain\maps\balloon_bottom.tga.............€á..@. .À.......@á......½...
 hub\terrain\maps\hub_pilar2.tga.............Àå....€.à.......€å......¾...
 s\hub\terrain\maps\hub_wall.tga.........


Hope this helps. Thanks for everything.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Dragon ball Z Sagas (PS2) .DBU files

Post by aluigi »

This is a completely different format and it's crap
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Dragon ball Z Sagas (PS2) .DBU files

Post by aluigi »

This is what I mean with "crap", to be used with the -V option of quickbms to see the fields (it's not an extraction script so DO NOT use it):

Code: Select all

get FILES long
get ZERO long
get BASE_OFF long
get DUMMY long  # 1, 2
get ZERO long
get ZERO long
get PATH string
for i = 0 < FILES
    get DUMMY long
    get ZERO long
    get ZERO long
    get OFFSET long
    get DUMMY short
    get DUMMY short
    get DUMMY long
    get DUMMY long
    get DUMMY long
    get DUMMY short
    get DUMMY short
    get DUMMY long
    get NAME string
next i
Nekorun
Posts: 6
Joined: Thu Aug 18, 2016 11:08 pm

Re: Dragon ball Z Sagas (PS2) .DBU files

Post by Nekorun »

Oh, I was unaware that they were different file types. They both appeared to be .dbu files. Sorry for the mistake and anytime wasted.
Here are 2 files set up the same way as the original "Bardock.DBU"

Goku1.DBU
https://drive.google.com/open?id=18Xqch ... EccREEQJfJ

CHPTR04.DBU
https://drive.google.com/open?id=13ntgf ... HNmrNudGID

Also can you explain how to set up the "-V option" I'm new to the software. I've read a few tutorials but none of them mentioned it.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Dragon ball Z Sagas (PS2) .DBU files

Post by aluigi »

There is no problem with those 2 dbu files.

-V must be used from command-line or .bat file, it displays all the fields read by quickbms like a sort of debug log.
Nekorun
Posts: 6
Joined: Thu Aug 18, 2016 11:08 pm

Re: Dragon ball Z Sagas (PS2) .DBU files

Post by Nekorun »

Alright. I used that dummy script you left with the -v option on the Raditz.dbl and it left me with this.

Code: Select all

  offset   filesize   filename
--------------------------------------
. 00000000 get     FILES      0x00000004 4
. 00000004 get     ZERO       0x00000000 4
. 00000008 get     BASE_OFF   0x00000158 4
. 0000000c get     DUMMY      0x00000002 4
. 00000010 get     ZERO       0x00000000 4
. 00000014 get     ZERO       0x00000000 4
. 00000018 get     PATH       "c:\dev\dbz\data_ps2\characters\" -1
. 00000038 get     DUMMY      0x00000008 4
. 0000003c get     ZERO       0x00000000 4
. 00000040 get     ZERO       0x00000000 4
. 00000044 get     OFFSET     0x000001a0 4
. 00000048 get     DUMMY      0x00000080 2
. 0000004a get     DUMMY      0x00000080 2
. 0000004c get     DUMMY      0x00000000 4
. 00000050 get     DUMMY      0x00000001 4
. 00000054 get     DUMMY      0x00000160 4
. 00000058 get     DUMMY      0x00000008 2
. 0000005a get     DUMMY      0x00000002 2
. 0000005c get     DUMMY      0x00000029 4
. 00000060 get     NAME       "acters\Scanner\maps\Scanner.tga" -1
.
. 00000001
. 00000080 get     DUMMY      0x00000008 4
. 00000084 get     ZERO       0x00000000 4
. 00000088 get     ZERO       0x00000000 4
. 0000008c get     OFFSET     0x000021e0 4
. 00000090 get     DUMMY      0x00000040 2
. 00000092 get     DUMMY      0x00000040 2
. 00000094 get     DUMMY      0x00000020 4
. 00000098 get     DUMMY      0x00000001 4
. 0000009c get     DUMMY      0x000021a0 4
. 000000a0 get     DUMMY      0x00000008 2
. 000000a2 get     DUMMY      0x00000002 2
. 000000a4 get     DUMMY      0x0000002a 4
. 000000a8 get     NAME       "cters\Recoome\maps\HipArmor.tga" -1
.
. 00000002
. 000000c8 get     DUMMY      0x00000009 4
. 000000cc get     ZERO       0x00000000 4
. 000000d0 get     ZERO       0x00000000 4
. 000000d4 get     OFFSET     0x00002de0 4
. 000000d8 get     DUMMY      0x00000100 2
. 000000da get     DUMMY      0x00000100 2
. 000000dc get     DUMMY      0x00000040 4
. 000000e0 get     DUMMY      0x00000001 4
. 000000e4 get     DUMMY      0x000029e0 4
. 000000e8 get     DUMMY      0x00000010 2
. 000000ea get     DUMMY      0x00000010 2
. 000000ec get     DUMMY      0x0000002b 4
. 000000f0 get     NAME       "ters\Raditz\maps\RaditzSkin.tga" -1
.
. 00000003
. 00000110 get     DUMMY      0x00000008 4
. 00000114 get     ZERO       0x00000000 4
. 00000118 get     ZERO       0x00000000 4
. 0000011c get     OFFSET     0x00012de0 4
. 00000120 get     DUMMY      0x00000008 2
. 00000122 get     DUMMY      0x00000008 2
. 00000124 get     DUMMY      0x00000028 4
. 00000128 get     DUMMY      0x00000001 4
. 0000012c get     DUMMY      0x00000160 4
. 00000130 get     DUMMY      0x00000008 2
. 00000132 get     DUMMY      0x00000002 2
. 00000134 get     DUMMY      0x00000029 4
. 00000138 get     NAME       "ers\Scanner\maps\GreenGlass.tga" -1
.
. 00000004


Not quite sure what to do with this. I'm willing to learn though if you would kindly point me in the right direction Aluigi.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Dragon ball Z Sagas (PS2) .DBU files

Post by aluigi »

Nekorun wrote:Not quite sure what to do with this. I'm willing to learn though if you would kindly point me in the right direction Aluigi.

Exactly, there is probably the offset field but the filename is shrinked in a weird way which is not just "remove one byte for every name" (that's ok for this sample but it's not the same on the other sample).
It's a weird format :)
Htritter_of_games
Posts: 4
Joined: Sun Oct 30, 2022 6:01 pm

Re: Dragon ball Z Sagas (PS2) .DBU files

Post by Htritter_of_games »

I Found out the Quick BMS Script for .DBL Files on Works on Other Stuff then Disney Chicken Little Characters.
Is there Any Chance to help find a Way to Work with Chicken Little Characters When Using the .DBL Script on Quick BMS?