Next Generation Emulation banner
1 - 18 of 18 Posts

·
God of War
Joined
·
214 Posts
Discussion Starter · #1 ·
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
 

·
God of War
Joined
·
214 Posts
Discussion Starter · #5 ·
I need access to compressed models. the only way to get them is from the ram in dolphin.
unless you have an fpk extractor.
 

·
God of War
Joined
·
214 Posts
Discussion Starter · #7 ·
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.
 

·
God of War
Joined
·
214 Posts
Discussion Starter · #9 ·
just open them in a hex editor for those 2 games and copy from where you see bres to where you see bres and save it as a new file.
 

·
God of War
Joined
·
214 Posts
Discussion Starter · #12 ·
onechanbara bin extractor for quickbms
Luigi Auriemma

Code:
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
 

·
Registered
Joined
·
46 Posts
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?
 

·
God of War
Joined
·
214 Posts
Discussion Starter · #15 ·
Here is what is needed to extract the textures from the bres files.
Source included this is the work or kentilan also.
 

·
Registered
Joined
·
44 Posts
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?
 
1 - 18 of 18 Posts
This is an older thread, you may not receive a response, and could be reviving an old thread. Please consider creating a new thread.
Top