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