Jump to content

Indiana Jones and the Great Circle - .resources


dirtydanisreal
Go to solution Solved by AxelNoir,

Recommended Posts

  • Engineer

I believe that game uses some resources check so you will need patch the exe to load modified resources. At DOOM Eternal there is code which dissable loading lang file from resources and reads is as loose file.

But there is only strings/lang for all languages. No name like english.lang, german.lang or russian.lang etc.

Anyway struct of *.lang file is quite simple.

local uint32 i;

uint32 StringSize;
BigEndian();
uint32 StringCount;
LittleEndian();

struct {
for (i=0; i < StringCount; i++)
    struct {
        uint32 Hash;
        uint32 KeyLen;
        char KeyStr[KeyLen+1];
        uint32 ValLen;
        char ValStr[ValLen+1];
    }StringRef;
}Strings;

 

Link to comment
Share on other sites

6 hours ago, h3x3r said:

I believe that game uses some resources check so you will need patch the exe to load modified resources. At DOOM Eternal there is code which dissable loading lang file from resources and reads is as loose file.

But there is only strings/lang for all languages. No name like english.lang, german.lang or russian.lang etc.

Anyway struct of *.lang file is quite simple.

local uint32 i;

uint32 StringSize;
BigEndian();
uint32 StringCount;
LittleEndian();

struct {
for (i=0; i < StringCount; i++)
    struct {
        uint32 Hash;
        uint32 KeyLen;
        char KeyStr[KeyLen+1];
        uint32 ValLen;
        char ValStr[ValLen+1];
    }StringRef;
}Strings;

 

Thanks h3x3r, can you please make a tool for this?

Link to comment
Share on other sites

  • Engineer

Infogram did his tool for DOOM Eternal lang.  So i edited it a bit to work with this one from Indy. But it has one flaw. The lang file has int32 size pointer on the start of file, but i don't know how to read text buffer and and return size of it and write it. So i was doing that with 010 hex editor.

Link to comment
Share on other sites

7 hours ago, h3x3r said:

Infogram did his tool for DOOM Eternal lang.  So i edited it a bit to work with this one from Indy. But it has one flaw. The lang file has int32 size pointer on the start of file, but i don't know how to read text buffer and and return size of it and write it. So i was doing that with 010 hex editor.

I understand, but thank you for your efforts. I hope you find a way.

Link to comment
Share on other sites

On 12/20/2024 at 11:44 PM, Franco said:

Unfortunately, none of these tools fully unarchive and repack.
This game needs a tool that will extract and repack the language files.
And I'm sure there are some very talented people here who can do it.

https://dtzxporter.com/tools/henri

Use tool, the text file is located in gameresources_patch1_pc.resources, it is named Strings

Link to comment
Share on other sites

3 hours ago, Datura2 said:

Do you need a tool to edit Strings or pack Strings into resources?

Yes, right now we need a tool that will unpack and package both the archive file and the string file.

Link to comment
Share on other sites

3 hours ago, Datura2 said:

I'm writing a tool to edit Strings, wait for it.
 

 

Thank you very much 🙂
We also need to repack the .resources, the archive file, so I hope you will take a look at that too.

Link to comment
Share on other sites

31 minutes ago, Datura2 said:

Can you send me the Strings file?


Hello, thank you very much for your interest in the tool. There are two different tools that open the .resources file, but I'm not sure if they literally extract the string file with the extension defined. So I guess the content of the .resources file should be resolved first. Because we cannot repack the archive file, and we are not sure if the string file is fully defined. Because we extracted this file raw with the Henri tool.

strings.rar

Link to comment
Share on other sites

34 minutes ago, Datura2 said:

Can you send me the Strings file?

Hi Datura2, as Franco said above, I think you first need an unpacking and repackaging tool inside the .resources archive file. Because we need to put the string file back into the archive. We would really appreciate it if you could take a look at this too.

Link to comment
Share on other sites

19 hours ago, Franco said:


Hello, thank you very much for your interest in the tool. There are two different tools that open the .resources file, but I'm not sure if they literally extract the string file with the extension defined. So I guess the content of the .resources file should be resolved first. Because we cannot repack the archive file, and we are not sure if the string file is fully defined. Because we extracted this file raw with the Henri tool.

strings.rar 1.01 MB · 4 downloads

forgot, I need the file gameresources_patch1_pc.resources as well

Link to comment
Share on other sites

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