ZenHAX

Free Game Research Forum | Official QuickBMS support | twitter @zenhax | SSL HTTPS://zenhax.com
It is currently Mon May 20, 2019 12:41 pm

All times are UTC




Post new topic  Reply to topic  [ 18 posts ] 
Author Message
 Post subject: Force of Nature
PostPosted: Sun May 05, 2019 6:44 am 

Joined: Thu Mar 03, 2016 2:43 pm
Posts: 14
Help.
I would like to translate this game, so that the texts are in:


Attachments:
Data.zip [1.36 MiB]
Downloaded 11 times
Top
   
 Post subject: Re: Force of Nature
PostPosted: Sun May 05, 2019 1:49 pm 

Joined: Thu May 04, 2017 11:03 am
Posts: 17
Please do not refer to the following.
-----

I made it because I had time.
I think I can use it.
(At a minimum, Unpack Data and Repack Data are now identical.)

I'm sorry, but I may not be able to fix the bug.

(I use machine translation.)


Last edited by mugicoco on Tue May 07, 2019 9:46 am, edited 2 times in total.

Top
   
 Post subject: Re: Force of Nature
PostPosted: Sun May 05, 2019 3:57 pm 

Joined: Thu Mar 03, 2016 2:43 pm
Posts: 14
mugicoco wrote:
I made it because I had time.
I think I can use it.
(At a minimum, Unpack Data and Repack Data are now identical.)

I'm sorry, but I may not be able to fix the bug.

(I use machine translation.)

Ok unpack but it creates .sdb files, how do I open them?


Attachments:
EN.zip [118.38 KiB]
Downloaded 4 times
Top
   
 Post subject: Re: Force of Nature
PostPosted: Mon May 06, 2019 3:40 am 

Joined: Thu May 04, 2017 11:03 am
Posts: 17
Please do not refer to the following.
-----

I also created a Tool for .sdb files.
(Also updated .pck Tool. Please use this.)
However, you are probably checking the number of bytes on a file-by-file basis.

It is TSV File that is output by .sdb tool.
The line feed code (CRLF) has been replaced by "[CRLF]". When repacking, if there is this string, it will be rewritten to a line feed code.
Line 1: Do not change.
Line 2: Do not change.
Line 3 and beyond: ID --> Translation text
※ Please do not change the ID.

Check the byte count of the original .sdb file.
Add 0x00 after the new .sdb file so that the number of bytes is the same.
If it exceeds, please adjust it with the text for translation.

We are sorry but we can not support it further because we do not know how we check in the game.
Please try trial and error.


Last edited by mugicoco on Tue May 07, 2019 9:46 am, edited 2 times in total.

Top
   
 Post subject: Re: Force of Nature
PostPosted: Mon May 06, 2019 11:12 am 

Joined: Thu Mar 03, 2016 2:43 pm
Posts: 14
mugicoco wrote:
I also created a Tool for .sdb files.
(Also updated .pck Tool. Please use this.)
However, you are probably checking the number of bytes on a file-by-file basis.

It is TSV File that is output by .sdb tool.
The line feed code (CRLF) has been replaced by "[CRLF]". When repacking, if there is this string, it will be rewritten to a line feed code.
Line 1: Do not change.
Line 2: Do not change.
Line 3 and beyond: ID --> Translation text
※ Please do not change the ID.

Check the byte count of the original .sdb file.
Add 0x00 after the new .sdb file so that the number of bytes is the same.
If it exceeds, please adjust it with the text for translation.

We are sorry but we can not support it further because we do not know how we check in the game.
Please try trial and error.

Ok Thank for the work you've done... I can unpack and recompile the files but the game doesn't start


Top
   
 Post subject: Re: Force of Nature
PostPosted: Mon May 06, 2019 12:02 pm 

Joined: Thu May 04, 2017 11:03 am
Posts: 17
Please do not refer to the following.
-----

I think this game is checking the byte count of "probably" files.
It is unknown whether it is the unpacked file unit or the Data.pck unit.

First try matching the size in individual file units.
For example, if Quest.sdb is 16000 bytes, try repacking to have the same file size.
Example) Repack Quest.txt, fill in 400 bytes with 0x00 if it is 15600 bytes.
Therefore, you can only adjust by translation what becomes larger than the original file size.
Also, "D" in Data.pck must be in upper case (updated tools will output in upper case).

I am also working on translating into my native language, but it is a series of trial and error.
First of all, please try from what you can do.

P.S.
As a side note, sdb's repacker does not reproduce the original file completely.
Because the original file is adjusted file size, unnecessary data may be written (please check in other languages).
Therefore, as mentioned earlier, please make the original file size the same as the repacked file size.

I wish you the best of luck.


Last edited by mugicoco on Tue May 07, 2019 9:46 am, edited 1 time in total.

Top
   
 Post subject: Re: Force of Nature
PostPosted: Mon May 06, 2019 12:17 pm 

Joined: Thu Mar 03, 2016 2:43 pm
Posts: 14
mugicoco wrote:
I think this game is checking the byte count of "probably" files.
It is unknown whether it is the unpacked file unit or the Data.pck unit.

First try matching the size in individual file units.
For example, if Quest.sdb is 16000 bytes, try repacking to have the same file size.
Example) Repack Quest.txt, fill in 400 bytes with 0x00 if it is 15600 bytes.
Therefore, you can only adjust by translation what becomes larger than the original file size.
Also, "D" in Data.pck must be in upper case (updated tools will output in upper case).

I am also working on translating into my native language, but it is a series of trial and error.
First of all, please try from what you can do.

P.S.
As a side note, sdb's repacker does not reproduce the original file completely.
Because the original file is adjusted file size, unnecessary data may be written (please check in other languages).
Therefore, as mentioned earlier, please make the original file size the same as the repacked file size.

I wish you the best of luck.

It doesn't even work by changing another language. If you can make it work with your language, let us know. Thank you


Top
   
 Post subject: Re: Force of Nature
PostPosted: Mon May 06, 2019 1:51 pm 

Joined: Thu May 04, 2017 11:03 am
Posts: 17
Please do not refer to the following.
----

1. Unpack the .sdb
2. Edit the text
3. Repack
 - Do not exceed the original file size.
4. Original File size = Repack File size
5. Repack to Data.pck
6. Game start

As you can see, the game is launched and the changes are reflected.


Last edited by mugicoco on Tue May 07, 2019 9:45 am, edited 1 time in total.

Top
   
 Post subject: Re: Force of Nature
PostPosted: Mon May 06, 2019 3:05 pm 

Joined: Thu May 04, 2017 11:03 am
Posts: 17
Please do not refer to the following.
-----

Adjusted Sdb's unpacker / Repacker.
Please unpack the .sdb again.
The original file size is written to the first line of the output file, so do not change lines 1 to 3.
Read the original file size when repacking.
With that as a reference, create a new file with the same file size. (0x00 will be written for the shortage.)
However, if the original file size is exceeded, it will not be repacked.

PS.
If this does not work, it is impossible for me.
Sorry, please forgive me.


Last edited by mugicoco on Tue May 07, 2019 9:45 am, edited 1 time in total.

Top
   
 Post subject: Re: Force of Nature
PostPosted: Mon May 06, 2019 3:27 pm 

Joined: Thu Mar 03, 2016 2:43 pm
Posts: 14
mugicoco wrote:
Adjusted Sdb's unpacker / Repacker.
Please unpack the .sdb again.
The original file size is written to the first line of the output file, so do not change lines 1 to 3.
Read the original file size when repacking.
With that as a reference, create a new file with the same file size. (0x00 will be written for the shortage.)
However, if the original file size is exceeded, it will not be repacked.

PS.
If this does not work, it is impossible for me.
Sorry, please forgive me.

this is the modified file in my language, check if it's ok.


Attachments:
Menu.txt [3.76 KiB]
Downloaded 4 times
Top
   
 Post subject: Re: Force of Nature
PostPosted: Tue May 07, 2019 1:39 am 

Joined: Thu May 04, 2017 11:03 am
Posts: 17
Please do not refer to the following.
-----

First, attached "Menu. Txt" is made of old unpacker, so please recreate it.
(If the file size is described in the first line, it is a new type.)
Also, I think that the file size will differ depending on what the original language is, so I do not know if the attached one can be used.

However, I understood a part that seems to be the cause.
About text encoding, it has to be UTF-8 (without BOM).
Open with UTF-8 (without BOM) if you open it with a compatible text editor. (Eg "Notepad ++")
I did not explain about this and I was bad.

I am not sure if the attached file was originally in English, but I attached the attached file to the English version for confirmation. As a result, the number of characters is too large (Repack can not be performed).
Please devise it to be smaller than the original file size.
(Do not mix languages. If you use the English version, use the English version of .sdb for everything.)


Last edited by mugicoco on Tue May 07, 2019 9:46 am, edited 1 time in total.

Top
   
 Post subject: Re: Force of Nature
PostPosted: Tue May 07, 2019 8:43 am 
User avatar

Joined: Tue Oct 13, 2015 1:26 pm
Posts: 456
mugicoco wrote:
Please devise it to be smaller than the original file size.
Why? Your tool don't update the size on TOC?

Force of Nature PCK Tool
By Delutto
See Readme.txt for instructions.
Attachment:
Force_of_Nature_PCK_Tool_By_Delutto.7z [740.51 KiB]
Downloaded 7 times

Notes: Automatic conversion of the *.sdb files.
I did some quick tests and didn't see any problem related to file size, but...
Image

_________________
Tribo Gamer Brasil


Top
   
 Post subject: Re: Force of Nature
PostPosted: Tue May 07, 2019 9:43 am 

Joined: Thu May 04, 2017 11:03 am
Posts: 17
Thank you for the new tool.
The file size was also described in the .pck file. I completely forgot.

Questioners should use the new tool.


Top
   
 Post subject: Re: Force of Nature
PostPosted: Tue May 07, 2019 11:46 am 
User avatar

Joined: Tue Oct 13, 2015 1:26 pm
Posts: 456
mugicoco wrote:
The file size was also described in the .pck file. I completely forgot.
It's part of the learning process... now you just need update your tool, certainly will be useful.
I also noticed some trash data on english sdb files, a few russian texts at the end of some files, probably some initial multilocalization test made by game dev, my tool ignore this additional data, but maybe it's a good idea you check this.

_________________
Tribo Gamer Brasil


Top
   
 Post subject: Re: Force of Nature
PostPosted: Tue May 07, 2019 12:50 pm 

Joined: Thu May 04, 2017 11:03 am
Posts: 17
I used Force_of_Nature_PCK_Tool.exe.
The attached file is a part of the text file created using this tool, and imported.
If this file is used, the game will not start.
Why?


Attachments:
data.7z [1.21 MiB]
Downloaded 3 times
Top
   
 Post subject: Re: Force of Nature
PostPosted: Tue May 07, 2019 10:41 pm 
User avatar

Joined: Tue Oct 13, 2015 1:26 pm
Posts: 456
mugicoco wrote:
The attached file is a part of the text file created using this tool, and imported.
If this file is used, the game will not start.
Why?
Have you edited any files? What is the game version?
Edit: Your file doesn't worked here too, so I decided to make a nonsense test, rename the file from "data.pck" to "Data.pck" and guess what... the game works. :lol:
So, the conclusion is that the file paths are case sensitive...

_________________
Tribo Gamer Brasil


Top
   
 Post subject: Re: Force of Nature
PostPosted: Wed May 08, 2019 2:28 am 

Joined: Thu May 04, 2017 11:03 am
Posts: 17
Sorry.
Since it did not start even if it returns to the original, it seems that you have accidentally deleted other files if you confirmed.
It worked once I checked the integrity of the file.
Thank you.


Top
   
 Post subject: Re: Force of Nature
PostPosted: Wed May 08, 2019 7:37 pm 

Joined: Thu Mar 03, 2016 2:43 pm
Posts: 14
Delutto wrote:
mugicoco wrote:
Please devise it to be smaller than the original file size.
Why? Your tool don't update the size on TOC?

Force of Nature PCK Tool
By Delutto
See Readme.txt for instructions.Force_of_Nature_PCK_Tool_By_Delutto.7z
Notes: Automatic conversion of the *.sdb files.
I did some quick tests and didn't see any problem related to file size, but...
Image

Thanks Debuto, it works great.


Attachments:
ForceOfNatureDX11 2019-05-05 18-28-31-625.jpg [325.23 KiB]
Not downloaded yet
Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 18 posts ] 

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