3DS XBB Extractor and Dragon Quest VIII models?

PkmnTrainerElio

Member
Newcomer
Joined
Feb 23, 2019
Messages
23
Reaction score
1
Trophies
0
Age
31
Location
Hope World and RKive
Website
curiouscat.me
XP
200
Country
Australia
I've been wanting to convert models from Dragon Quest VIII to MMD since 2019, but I ran into a big problem... I am unable to find the textures for facial expressions, I have looked everywhere and even spent time looking in files I thought had the textures... But, alas, I had no luck... However, I do think the extra textures could very well be in the .xbb files, but 3DS XBB Extractor won't work on my computer, I even tried the old click & drag method, but the created folder was empty
D:
. Can someone please help me here? Thanks in advance!
 
use hexadecimal hxd and compare the header of any bch with the xbb header you will see that it is enough to eliminate the main lines of xbb leaving the BCH at the beginning, save in the hex heditor, manually change the xbb extension to bch and open in ohana :) dq8,

I leave you a python script, copy it into a text file, change the extension to py and place it in the folder with the xbb files, it will convert them to bch without deleting the xbb, you will need python, then double click, auto detect:

import os

def detect_bch_offset(data):
for i in range(0x50, len(data) - 4):
if data[i:i+3] == b'BCH':
return i
return -1

def convert_xbb(file_path):
with open(file_path, "rb") as f:
data = f.read()

start_index = detect_bch_offset(data)

if start_index == -1:
return

new_file_path = file_path.replace('.xbb', '.bch')

with open(new_file_path, "wb") as f:
f.write(data[start_index:])

script_directory = os.path.dirname(os.path.abspath(__file__))

for filename in os.listdir(script_directory):
if filename.lower().endswith(".xbb"):
convert_xbb(os.path.join(script_directory, filename))
 
Last edited by radue89,

Site & Scene News

Popular threads in this forum