Jump to content

Recommended Posts

Posted

New to the whole file extraction business, but what program and software do I need to extract res files such as this image example? And what a .res file is exactly.

resfilehelp.png

 

https://drive.google.com/file/d/1vX-nK8Om3DBY5yhS5-fZyWlTDNd49OLC/view?usp=drive_link

Here's a link to the example I posted above if anyone can help me solve this problem. The file comes from the Wii version of the game "Princess and the Frog" and I've been trying to figure out on how to extract more complex files like .res because nothing on the internet seems to have a definitive answer on how they're extracted.

  • Moderators
Posted

Please share public link to RES file on google drive. Image you provided is not enough.
Please also adjust topic's name and tell us more details like:

a) Name of the game (e.g. "The Simpsons: Tapped Out")
b) Platform (e.g. PC/XBOX/X360/PS1/PS2/PS3 etc.)
c) What methods did you already tried to solve your issue
d) What is the error message you see on your screen
e) What is the file format you're trying to figure out
f) Did you already tried to google the solution of your issue (e.g. file format specification)

And please read forum rules https://reshax.com/topic/5-site-rules/

 

  • SpunkyLad changed the title to Need help in how to extract .res files
  • Engineers
Posted
//------------------------------------------------
//--- 010 Editor v14.0 Binary Template
//
//      File: 
//   Authors: 
//   Version: 
//   Purpose: 
//  Category: 
// File Mask: 
//  ID Bytes: 
//   History: 
//------------------------------------------------
LittleEndian();OutputPaneClear();

local uint32 i;

char Sign[4];
uint16 Unknown_0;
uint16 Unknown_1;
uint32 Unknown_2;
uint32 DataBaseOffset;
uint32 Unknown_4;
uint32 TableOffset;

FSeek(TableOffset);

uint32 ResourceCount;

struct
{
    uint32 Unknown_0;
    char Sign[4];
    uint32 ResourceOffset;
    uint32 ResourceSize;
    uint32 Unknown_1;
    uint32 ResourceType;
}ResourceTable[ResourceCount]<optimize=false>;

for (i=0; i < ResourceCount; i++)
{
    FSeek(ResourceTable[i].ResourceOffset + DataBaseOffset);
    struct
    {
        byte ResourceData[ResourceTable[i].ResourceSize];
    }Resource;
}

 

  • ikskoks changed the title to Princess and the Frog (WII) - Need help in how to extract .res files

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...