ZenHAX

Free Game Research Forum | Official QuickBMS support | twitter @zenhax
It is currently Mon May 23, 2022 9:38 am

All times are UTC




Post new topic  Reply to topic  [ 39 posts ]  Go to page Previous 1 2
Author Message
PostPosted: Fri Sep 17, 2021 4:45 pm 
User avatar

Joined: Tue Sep 14, 2021 12:25 am
Posts: 34
h3x3r wrote:
Game accepts decompressed files but you must also change ZSIZE and SIZE to the same values. I tried put decompressed english_m.lang at the end of archive and edit the OFFSET and ZSIZE/SIZE in the INDEX and the game works. But it's manual thing. One file is no problem but if you will want import multiple files that's the other story.


I didn't understand it. Just now I want to import english_m file with Turkish Translation. Now I don't know too much about this coding stuff, can you please explain me how did you done it?


Top
   
PostPosted: Fri Sep 17, 2021 7:16 pm 

Joined: Wed Jun 01, 2016 5:53 pm
Posts: 115
I did a good find. Game load unpacked files but you must dissable them in master_resources.index by renaming the name of file.
So for english_m.lang search for it in master_resources.index with hex editor and rename it to _nglish.lang. There are two of them.

Now create in base folder strings folder and put unpacked english_m.lang to it.
EDiT: It also works for decl files.


Top
   
PostPosted: Fri Sep 17, 2021 8:05 pm 
User avatar

Joined: Tue Sep 14, 2021 12:25 am
Posts: 34
h3x3r wrote:
I did a good find. Game load unpacked files but you must dissable them in master_resources.index by renaming the name of file.
So for english_m.lang search for it in master_resources.index with hex editor and rename it to _nglish.lang. There are two of them.

Now create in base folder strings folder and put unpacked english_m.lang to it.
EDiT: It also works for decl files.


OMG! That works!! Thank you so much


Top
   
PostPosted: Thu Sep 23, 2021 8:02 pm 

Joined: Wed Jun 01, 2016 5:53 pm
Posts: 115
aluigi wrote:
Interesting, it really crashes if the output size is more than 700 Mb.
I don't think there is anything I can do, luckily it's enough to temporary rename the archive so that quickbms will skip its extraction (hopefully the other archives have smaller files).

Well I made workaround for it. Now it will unpack whole resources and compressed files which are above 700MB after decompress are unpacked as compressed.
Code:
    if EXISTS != 0
        if ZSIZE == SIZE
            log NAME OFFSET SIZE 1         
        else
            goto OFFSET 1
            getdstring TYPE 4 1
            if TYPE u== "OOD"
                comtype oodle
            else
                print "Error: unknown compression %TYPE%, contact me"
                cleanexit
            endif
         if SIZE > 700000000  # workaround for bigger files which can't be decompressed, they are unpacked as compressed
            log NAME OFFSET ZSIZE 1 # workaround
         else # workaround
            get DUMMY long 1    # ever 8, maybe a relative offset to data
            get XSIZE long 1    # same as SIZE (it's not related to chunks)
            savepos TMP 1
            xmath ZSIZE "ZSIZE - (TMP - OFFSET)"
            math OFFSET = TMP
            clog NAME OFFSET ZSIZE SIZE 1
         endif # workaround
        endif
    endif


Top
   
PostPosted: Sun Oct 24, 2021 7:29 pm 

Joined: Sun Oct 24, 2021 7:13 pm
Posts: 2
h3x3r wrote:
Here are UI Menu etc texts.


Can you please extract Russian text?


Top
   
PostPosted: Mon Oct 25, 2021 4:32 pm 

Joined: Wed Jun 01, 2016 5:53 pm
Posts: 115
Here you go...


Attachments:
russian_m.zip [230.75 KiB]
Downloaded 77 times
Top
   
PostPosted: Tue Oct 26, 2021 6:55 am 

Joined: Sun Oct 24, 2021 7:13 pm
Posts: 2
h3x3r wrote:
Here you go...


Thanks!


Top
   
PostPosted: Fri Apr 08, 2022 10:10 pm 
User avatar

Joined: Tue Sep 14, 2021 12:25 am
Posts: 34
Is there any way to repack? Changing .index file is not an option anymore... It only makes more problems with it.


Top
   
PostPosted: Sat Apr 09, 2022 11:36 am 
User avatar

Joined: Tue Sep 14, 2021 12:25 am
Posts: 34
. Getting this error every time. Tried with reimport 2 and 3.
"Unknown compression, please contact me."

Image


Top
   
PostPosted: Sat Apr 09, 2022 12:41 pm 

Joined: Wed Jun 01, 2016 5:53 pm
Posts: 115
CidQu wrote:
Changing .index file is not an option anymore...

Really? Then you must did something wrong. Tested today on fresh installation and it works.
Image


Top
   
PostPosted: Sat Apr 09, 2022 2:10 pm 
User avatar

Joined: Tue Sep 14, 2021 12:25 am
Posts: 34
h3x3r wrote:
CidQu wrote:
Changing .index file is not an option anymore...

Really? Then you must did something wrong. Tested today on fresh installation and it works.
Image


Sorry for misleading. Changing .index works but if I load all the .decl files game just crashes while loading save. I tried with starting a new save but didn’t worked. Game always crashes while loading.

I changed decl/localized/english/ to decl/localized/_nglish/ It works with one or two decl file, but not works with all of them.

I’m sending the decl files, can you check it?

https://cdn.discordapp.com/attachments/ ... /decls.zip


Top
   
PostPosted: Sat Apr 09, 2022 2:53 pm 

Joined: Wed Jun 01, 2016 5:53 pm
Posts: 115
Image
Tested on latest decls and as you can see... So I assume you have something wrong with decl files.

EDiT: I tested yours decls and it's also works.


Top
   
PostPosted: Sat Apr 09, 2022 4:42 pm 
User avatar

Joined: Tue Sep 14, 2021 12:25 am
Posts: 34
h3x3r wrote:
Image
Tested on latest decls and as you can see... So I assume you have something wrong with decl files.

EDiT: I tested yours decls and it's also works.


Can you send the master_resource file that you created? It doesn’t work with our made obviously.


Top
   
PostPosted: Sat Apr 09, 2022 5:53 pm 

Joined: Wed Jun 01, 2016 5:53 pm
Posts: 115
Here you go. Dissabled all decls in localized/eng folder + english_m.lang.
Code:
https://drive.google.com/file/d/1XBY1z0RAHJ5LUq0k0QqV0lt82VaX6vMI/view?usp=sharing


Top
   
PostPosted: Sat Apr 09, 2022 6:07 pm 
User avatar

Joined: Tue Sep 14, 2021 12:25 am
Posts: 34
h3x3r wrote:
Here you go. Dissabled all decls in localized/eng folder + english_m.lang.
Code:
https://drive.google.com/file/d/1XBY1z0RAHJ5LUq0k0QqV0lt82VaX6vMI/view?usp=sharing


Same error, didn’t changed anything just put english_m and decls. english_m works but when loading in to the game game crashes. Tried with the file you sent.

Here is the screenshot:
https://i.hizliresim.com/t48xfa1.jpeg


Top
   
PostPosted: Sat Apr 09, 2022 11:21 pm 
User avatar

Joined: Tue Sep 14, 2021 12:25 am
Posts: 34
h3x3r wrote:
Here you go. Dissabled all decls in localized/eng folder + english_m.lang.
Code:
https://drive.google.com/file/d/1XBY1z0RAHJ5LUq0k0QqV0lt82VaX6vMI/view?usp=sharing


Okey so "colt_wakeup.decl" is corrupted. That's why it crashes all the time. Sorry for disturbing you :( Thank you for everything h3x3r!


Top
   
PostPosted: Sun Apr 10, 2022 9:43 am 

Joined: Wed Jun 01, 2016 5:53 pm
Posts: 115
You are wellcome. I am glad you figured it out.


Top
   
PostPosted: Fri May 13, 2022 9:38 pm 
User avatar

Joined: Tue Sep 14, 2021 12:25 am
Posts: 34
h3x3r wrote:
You are wellcome. I am glad you figured it out.


Hey h3x3r, where to find the english_m file? I was able to find it before the update. Now we need to translate new strings but couldn't extract english_m, maybe it is my dumbness but I don't know. Can you please check if you have time to do it? Thank you so much.

I extracted all resources but couldn't find the string folder.


Top
   
PostPosted: Sat May 14, 2022 10:54 am 

Joined: Sat Dec 22, 2018 2:56 pm
Posts: 14
Texts for menu from update 13.05


Attachments:
english_m.rar [177.34 KiB]
Downloaded 13 times
Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 39 posts ]  Go to page Previous 1 2

All times are UTC


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Limited