The VG Resource
Extracting .brres from .bin? - Printable Version

+- The VG Resource (https://www.vg-resource.com)
+-- Forum: The Resources (https://www.vg-resource.com/forum-109.html)
+--- Forum: The Models Resource (https://www.vg-resource.com/forum-111.html)
+---- Forum: Ripping Help (https://www.vg-resource.com/forum-115.html)
+---- Thread: Extracting .brres from .bin? (/thread-27221.html)



Extracting .brres from .bin? - Pokechao - 06-01-2015

So I'm trying to rip stuff from Tales of Symphonia Dawn of the New world and all the model brres files are all in a .bin. Is there a tool for extracting the brres from the .bin?


RE: Extracting .brres from .bin? - Cube X - 06-02-2015

I'm in the same boat as well. Tried to use Dolphin with the WALL-E Video game last night. Followed the main tutorial posted above, got stuck when I noticed that the .iso file was composed of .wad files. I don't know what those were so I tried extracting them and got .bin files. No .brres files.

I'm a bit stuck on what to do next.


RE: Extracting .brres from .bin? - TGE - 06-03-2015

Code:
#Extract (uncompressed) BRRES files from (uncompressed) files
#Made by TGE
endian big
GoTo 0 0 ;
SavePos found 0 ;
Get QT ASIZE 0 ;


For T = 0 < QT ;
GoTo found 0 ;
findloc OFFSET string "\x62\x72\x65\x73" 0 0 ;
If OFFSET = 0 ;
    Math t = QT ;
EndIF ;
If OFFSET != 0 ;
    GoTo OFFSET 0 ;
    Math FILE = OFFSET ;
    GoTo FILE 0 ;
    Get FileEndian Long 0 ;
    If FileEndian == string "\xFF\xFE\x00\x00" ;
        endian change
    EndIF ;
    Get null Long 0 ;
    Get size Long 0 ;
    If size > QT ;
        cleanexit
    EndIF ;
    SavePos found 0 ;
    Get name FILENAME 0 ;
    string name += _ ;
    string name += T ;
    string name += .brres ;
    Log name FILE size 0 ;
EndIF ;
Next T ;
You can use this QuickBMS script to dump the BRRES files


RE: Extracting .brres from .bin? - Pokechao - 06-05-2015

(06-03-2015, 05:46 PM)TGE Wrote:
Code:
#Extract (uncompressed) BRRES files from (uncompressed) files
#Made by TGE
endian big
GoTo 0 0 ;
SavePos found 0 ;
Get QT ASIZE 0 ;


For T = 0 < QT ;
GoTo found 0 ;
findloc OFFSET string "\x62\x72\x65\x73" 0 0 ;
If OFFSET = 0 ;
    Math t = QT ;
EndIF ;
If OFFSET != 0 ;
    GoTo OFFSET 0 ;
    Math FILE = OFFSET ;
    GoTo FILE 0 ;
    Get FileEndian Long 0 ;
    If FileEndian == string "\xFF\xFE\x00\x00" ;
        endian change
    EndIF ;
    Get null Long 0 ;
    Get size Long 0 ;
    If size > QT ;
        cleanexit
    EndIF ;
    SavePos found 0 ;
    Get name FILENAME 0 ;
    string name += _ ;
    string name += T ;
    string name += .brres ;
    Log name FILE size 0 ;
EndIF ;
Next T ;
You can use this QuickBMS script to dump the BRRES files
Thanks! I'll give it a try later.


RE: Extracting .brres from .bin? - Farlavor - 06-14-2015

(06-05-2015, 03:56 PM)Pokechao Wrote:
(06-03-2015, 05:46 PM)TGE Wrote:
Code:
#Extract (uncompressed) BRRES files from (uncompressed) files
#Made by TGE
endian big
GoTo 0 0 ;
SavePos found 0 ;
Get QT ASIZE 0 ;


For T = 0 < QT ;
GoTo found 0 ;
findloc OFFSET string "\x62\x72\x65\x73" 0 0 ;
If OFFSET = 0 ;
    Math t = QT ;
EndIF ;
If OFFSET != 0 ;
    GoTo OFFSET 0 ;
    Math FILE = OFFSET ;
    GoTo FILE 0 ;
    Get FileEndian Long 0 ;
    If FileEndian == string "\xFF\xFE\x00\x00" ;
        endian change
    EndIF ;
    Get null Long 0 ;
    Get size Long 0 ;
    If size > QT ;
        cleanexit
    EndIF ;
    SavePos found 0 ;
    Get name FILENAME 0 ;
    string name += _ ;
    string name += T ;
    string name += .brres ;
    Log name FILE size 0 ;
EndIF ;
Next T ;
You can use this QuickBMS script to dump the BRRES files
Thanks! I'll give it a try later.
Me too... Maybe it will help me somehow.  Smile