Is it possible to add an brres dumper into dolphin like the texture dumper currently in dolphin? I am able to dump them manually from the ram in dolphin but this is time consuming and not easy to do in the emulator.
I wrote a script to dump the models from a memory dump of dolphin
for quickbms
Code:
#locate first header
findloc RES_START string "bresþÿ\0\0"
goto RES_START
savepos RES_START
math FILES += 0xFFF
for i = 0 < FILES
math NAME += 1
savepos OFFSET
getdstring BRES 0x8
endian BIG
get SIZE long
endian small
log NAME OFFSET SIZE
findloc RES_START string "bresþÿ\0\0"
goto RES_START
next i
There are a lot of games that use very simple containers to hold the brmdl files.
Here are a few I have that I know work with this.
-Super Smash Brothers Brawl #inside .pac files
-Castlevania Judgment # Just plain in the directory
-Onechanbara # Inside .bin files
-Trauma Center New Blood # inside .dat files
-Tales Of Symphonia Dawn of the New World #inside .bin files
-all games made by 8ing #inside .fpk archives and plain files in some games also
you can grab the brres files from ram to get them decompressed.
-Bleach VS Crusade# inside .mrg files
-Simple Wii Series Vol 6 #inside dpk files I need to look at the compression or grab them from ram.
-Tenchu 4 #plain files in game
-Final Fantasy Fables Chocobos Dungeon #plain files in game
This is what i have tested so far.
get FILES long
get TABLE long
goto 0x20
for i = 0 < FILES
math NAME += 1
savepos OFFSET
getdstring NULL 0x8
endian big
get SIZE long
endian little
goto OFFSET
log NAME OFFSET SIZE
math OFFSET += SIZE
goto OFFSET
next i
and a generic brres extractor works for brawl pac files.
Code:
get NAME filename
string NAME += _
#locate first header
findloc RES_START string "bresþÿ\0\0"
goto RES_START
savepos RES_START
math FILES += 0xFFF
for i = 0 < FILES
math COUNTER += 1
string NAME += COUNTER
savepos OFFSET
getdstring BRES 0x8
endian BIG
get SIZE long
endian small
log NAME OFFSET SIZE
string NAME -= 1
findloc RES_START string "bresþÿ\0\0"
goto RES_START
next i
Just tryed scripts - and there is no textures I got Chrrox, can you please explain (step-by-step) how did you get textured Reiko? (I got only untextured Oneechanbara characters and zombies) And how to import to 3DS MAX or OBJ format this models? Using 3DRipper DX?
Now that I've extracted all the "brtex" out of the "brres" how do I convert ALLL of the "brtex" files to PNG? You do realize that leaving them in native "brtex" might be fine for textures, but "brtex" are also image files (think character portraits). Please help. So for my use, "brtex" is NOT the final format. I want to batch convert ALL "brtex" to PNG. Any Wii hackers wrote a program like this yet?
This is an older thread, you may not receive a response, and could be reviving an old thread. Please consider creating a new thread.
Related Threads
?
?
?
?
?
Next Generation Emulation
2.2M posts
459.9K members
Since 2001
A forum community dedicated to all emulation enthusiasts. Come Join discussion on all platforms from Nintendo, Microsoft Xbox, Sony Playstation, to PC. Coding, tips, builds, specs, tricks and more.