dirtydanisreal Posted December 18, 2024 Posted December 18, 2024 Anyone able to make a script to extract the .resources files for this game? It's probably based off of the Wolfenstein 2 file format since it is the same developer. I attached a sample resource file indy.zip
SiOreng Posted December 18, 2024 Posted December 18, 2024 try this https://github.com/brunoanc/EternalResourceExtractor
Franco Posted December 18, 2024 Posted December 18, 2024 (edited) 2 hours ago, SiOreng said: try this https://github.com/brunoanc/EternalResourceExtractor Unfortunately, this tool does not extract text and also does not repack. It would be really nice if a tool could be made for this game. Edited December 18, 2024 by Franco
dirtydanisreal Posted December 19, 2024 Author Posted December 19, 2024 20 hours ago, Franco said: Unfortunately, this tool does not extract text and also does not repack. It would be really nice if a tool could be made for this game. I wish we could make it load loose files for after it extracts files
Solution AxelNoir Posted December 19, 2024 Solution Posted December 19, 2024 (edited) A tool has already been made for the game here: https://dtzxporter.com/tools/henri Edited December 19, 2024 by AxelNoir
Franco Posted December 20, 2024 Posted December 20, 2024 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.
Engineer h3x3r Posted December 27, 2024 Engineer Posted December 27, 2024 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;
Franco Posted December 27, 2024 Posted December 27, 2024 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?
Engineer h3x3r Posted December 28, 2024 Engineer Posted December 28, 2024 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.
Franco Posted December 28, 2024 Posted December 28, 2024 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.
Datura2 Posted January 3 Posted January 3 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
Franco Posted January 4 Posted January 4 13 hours ago, Datura2 said: https://dtzxporter.com/tools/henri Use tool, the text file is located in gameresources_patch1_pc.resources, it is named Strings Thanks, but there is no back packing feature, so it's not really useful.
Datura2 Posted January 4 Posted January 4 9 hours ago, Franco said: Thanks, but there is no back packing feature, so it's not really useful. Do you need a tool to edit Strings or pack Strings into resources?
Franco Posted January 4 Posted January 4 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.
Giraffe Posted January 6 Posted January 6 does anyone know the name of the text file, I've looked for it but can't find it.
Datura2 Posted January 6 Posted January 6 On 1/5/2025 at 3:02 AM, Franco said: Yes, right now we need a tool that will unpack and package both the archive file and the string file. I'm writing a tool to edit Strings, wait for it.
Franco Posted January 6 Posted January 6 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.
Datura2 Posted January 6 Posted January 6 1 hour ago, Franco said: 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. Can you send me the Strings file?
Franco Posted January 6 Posted January 6 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
Narayanna Posted January 6 Posted January 6 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.
Datura2 Posted January 7 Posted January 7 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
Narayanna Posted January 7 Posted January 7 7 hours ago, Datura2 said: forgot, I need the file gameresources_patch1_pc.resources as well Here is the file you asked for. https://www.mediafire.com/file/xchl050u5yvsyp2/gameresources_patch1_pc.rar/file
Franco Posted January 11 Posted January 11 On 1/7/2025 at 8:55 AM, Datura2 said: forgot, I need the file gameresources_patch1_pc.resources as well Hello Datura2, is there any news?
Datura2 Posted January 11 Posted January 11 3 hours ago, Franco said: Hello Datura2, is there any news? I've done some research on Strings, the struct is simple, I might have a tool for it, just wait. 1
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now