[TOOL] Frostpunk LANG Tool (localizations.dat)

How to translate the files of a game
Delutto
Posts: 561
Joined: Tue Oct 13, 2015 1:26 pm

[TOOL] Frostpunk LANG Tool (localizations.dat)

Post by Delutto »

Image
Steam Page

Frostpunk LANG Tool
By Delutto
See Readme.txt for instructions.
Frostpunk_LANG_Tool_By_Delutto.7z


Note: To extract the *.DAT files and get the *.lang files, see here.

*edit by aluigi* https://www.mediafire.com/file/7wy3vndn ... to.7z/file
Last edited by Delutto on Thu Dec 06, 2018 5:44 pm, edited 1 time in total.
ISKA
Posts: 223
Joined: Mon Apr 09, 2018 11:09 pm

Re: [TOOL] Frostpunk LANG Tool (localizations.dat)

Post by ISKA »

Thanks Can you unpack .arc file on Silent hill s. memories
My topics viewtopic.php?f=12&t=7772
I can't unpack in quickbms.Can you help me ?
Ekey
Posts: 1383
Joined: Sat Aug 09, 2014 2:34 pm

Re: [TOOL] Frostpunk LANG Tool (localizations.dat)

Post by Ekey »

ISKA wrote:Thanks Can you unpack .arc file on Silent hill s. memories
My topics https://zenhax.com/viewtopic.php?f=12&t=7772
I can't unpack in quickbms.Can you help me ?

Aluigi explained everything to you. Archives from this game don't contain filenames.

Code: Select all

That means you have to check every single extracted file by hand...
hnnewgames
Posts: 148
Joined: Sat Dec 16, 2017 8:58 pm

Re: [TOOL] Frostpunk LANG Tool (localizations.dat)

Post by hnnewgames »

Ae manja viu!
Delutto
Posts: 561
Joined: Tue Oct 13, 2015 1:26 pm

Re: [TOOL] Frostpunk LANG Tool (localizations.dat)

Post by Delutto »

It's a false-positive. Some shit AV shows a virus warning because it's compressed with MPRESS.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: [TOOL] Frostpunk LANG Tool (localizations.dat)

Post by aluigi »

@Delutto
Sorry for the curiosity but... why do you use a packer?

The exe will be zipped anyway so there is not a real gain, just negative effects like false positives, rare compatibility problems and an almost unexistent longer loading time.
Delutto
Posts: 561
Joined: Tue Oct 13, 2015 1:26 pm

Re: [TOOL] Frostpunk LANG Tool (localizations.dat)

Post by Delutto »

aluigi wrote:@Delutto
Sorry for the curiosity but... why do you use a packer?
The exe will be zipped anyway so there is not a real gain, just negative effects like false positives, rare compatibility problems and an almost unexistent longer loading time.

A old habit... you know, dial-up connection times...
Besides, the new Delphi compiler versions sucks, this simple tool has 4MB without PE compression, I just don't like that. I've never had problems with MPRESS, just a notable time to explode the PE in memory and I don't use AV, so I don't get false-positives... :lol:
Alhyprn
Posts: 11
Joined: Fri Apr 27, 2018 9:11 pm

Re: [TOOL] Frostpunk LANG Tool (localizations.dat)

Post by Alhyprn »

Delutto wrote:
aluigi wrote:@Delutto
Sorry for the curiosity but... why do you use a packer?
The exe will be zipped anyway so there is not a real gain, just negative effects like false positives, rare compatibility problems and an almost unexistent longer loading time.

A old habit... you know, dial-up connection times...
Besides, the new Delphi compiler versions sucks, this simple tool has 4MB without PE compression, I just don't like that. I've never had problems with MPRESS, just a notable time to explode the PE in memory and I don't use AV, so I don't get false-positives... :lol:


Hello, how can i extract .lang files ? .lang to .txt to .lang e.t.c
Thankyou for program.
Delutto
Posts: 561
Joined: Tue Oct 13, 2015 1:26 pm

Re: [TOOL] Frostpunk LANG Tool (localizations.dat)

Post by Delutto »

Alhyprn wrote:Hello, how can i extract .lang files ? .lang to .txt to .lang e.t.c

First post have all information.
Alhyprn
Posts: 11
Joined: Fri Apr 27, 2018 9:11 pm

Re: [TOOL] Frostpunk LANG Tool (localizations.dat)

Post by Alhyprn »

Delutto wrote:
Alhyprn wrote:Hello, how can i extract .lang files ? .lang to .txt to .lang e.t.c

First post have all information.


I extracted localisation.dat but .lang file was output from. How can edit this .lang file ?
Laundrin
Posts: 2
Joined: Tue May 01, 2018 12:15 am

Re: [TOOL] Frostpunk LANG Tool (localizations.dat)

Post by Laundrin »

@Delutto
Hello. Thank you for a wonderful tool.
I am using English translation tool because I am not good at English.
I am trying to translate it into Japanese, but I do not know how to convert my own fnt & dds file into binfont.
If you know, give me a hint. Thank you very much.
Delutto
Posts: 561
Joined: Tue Oct 13, 2015 1:26 pm

Re: [TOOL] Frostpunk LANG Tool (localizations.dat)

Post by Delutto »

Laundrin wrote:@Delutto
Hello. Thank you for a wonderful tool.
I am using English translation tool because I am not good at English.
I am trying to translate it into Japanese, but I do not know how to convert my own fnt & dds file into binfont.
If you know, give me a hint. Thank you very much.
Sorry, I don't know, textures is not my field... ask for help in Graphic file formats.
Laundrin
Posts: 2
Joined: Tue May 01, 2018 12:15 am

Re: [TOOL] Frostpunk LANG Tool (localizations.dat)

Post by Laundrin »

Delutto wrote:
Laundrin wrote:@Delutto
Hello. Thank you for a wonderful tool.
I am using English translation tool because I am not good at English.
I am trying to translate it into Japanese, but I do not know how to convert my own fnt & dds file into binfont.
If you know, give me a hint. Thank you very much.
Sorry, I don't know, textures is not my field... ask for help in Graphic file formats.


Thank you for your reply.
It seems that the same .binfont is used also for "This war of mine" produced by 11 bit studios, so I will investigate it a bit more. Thank you!

viewtopic.php?f=12&t=418
http://forum.xentax.com/viewtopic.php?f=35&t=12286
Masahiro
Posts: 1
Joined: Wed May 02, 2018 5:38 am

Re: [TOOL] Frostpunk LANG Tool (localizations.dat)

Post by Masahiro »

Delutto
Hello. Thank you for a wonderful tool.
Im trying japanese translate with Laudrin

Im trying script BMS for This war of mine.
I cant make Japanese DDS font to binfont

at first,I try binfont in frostpunk to DDS
but Cant get DDS file
That error printed in command prompt

script

Code: Select all

# This War of Mine
# DDS to BINFONT converter
# version 1.0
# by MerlinSVK    Nov 2014
# script for QuickBMS    http://aluigi.org/papers.htm#quickbms

open FDDE DDS 0
open FDDE HEAD 1
open FDDE TAIL 2

get NAME basename
string NAME += ".binfont_NEW"

get DSIZE asize 0
get HSIZE asize 1
get TSIZE asize 2

math DSIZE -= 0x80            # subtract the DDS header

log MEMORY_FILE 0 HSIZE 1      # copy header into memory_file
append
log MEMORY_FILE 0x80 DSIZE 0   # append texture data
log MEMORY_FILE 0 TSIZE 2      # append tail
append

get BINSZ asize MEMORY_FILE
log NAME 0 BINSZ MEMORY_FILE


result

Code: Select all

QuickBMS generic files extractor and reimporter 0.8.4
by Luigi Auriemma
e-mail: me@aluigi.org
web:    aluigi.org
        (Mar  9 2018 - 15:18:52)

                   quickbms.aluigi.org  Homepage
                            zenhax.com  ZenHAX Forum
                               @zenhax  Twitter & Scripts

- GUI mode activated, remember that the tool works also from command-line
  where are available various options like folder scanning, filters and so on

- select the BMS script to use
- select the input archives/files to extract, type * or "" for whole folder and subfolders
- select the output folder where extracting the files
- open input file C:\Users\Masahiro\Desktop\common\fonts\notosanscjksc-medium.otf.binfont
- open script C:\Users\Masahiro\Desktop\binfont2dds.txt
- set output folder C:\Users\Masahiro\Desktop

  offset   filesize   filename
--------------------------------------

- signature of 4 bytes at offset 0x00000000 doesn't match the one
  expected by the script:

  this one: "5"
  8a 0f 15 35                                       ...5

  expected: "
#"
  e3 0a f2 23                                       ...#

- 0 files found in 0 seconds
  coverage file 0     0%   4          247273196  . offset 00000004

Press ENTER or close the window to quit


How can I change this signature?
and how can i get binfont from dds font?
Delutto
Posts: 561
Joined: Tue Oct 13, 2015 1:26 pm

Re: [TOOL] Frostpunk LANG Tool (localizations.dat)

Post by Delutto »

Masahiro wrote:Delutto
Hello. Thank you for a wonderful tool.
Im trying japanese translate with Laudrin

Im trying script BMS for This war of mine.
I cant make Japanese DDS font to binfont

at first,I try binfont in frostpunk to DDS
but Cant get DDS file
That error printed in command prompt

How can I change this signature?
and how can i get binfont from dds font?

I'll check this out today.
Keeland
Posts: 8
Joined: Tue Apr 03, 2018 8:07 am

Re: [TOOL] Frostpunk LANG Tool (localizations.dat)

Post by Keeland »

Hello lang file to dat import os possible ?
Delutto
Posts: 561
Joined: Tue Oct 13, 2015 1:26 pm

Re: [TOOL] Frostpunk LANG Tool (localizations.dat)

Post by Delutto »

Keeland wrote:Hello lang file to dat import os possible ?
Forstpunk DAT Tool
Keeland
Posts: 8
Joined: Tue Apr 03, 2018 8:07 am

Re: [TOOL] Frostpunk LANG Tool (localizations.dat)

Post by Keeland »

Huh sorry man not workd whit me :/ i edit the texf files but the game is still english
Delutto
Posts: 561
Joined: Tue Oct 13, 2015 1:26 pm

Re: [TOOL] Frostpunk LANG Tool (localizations.dat)

Post by Delutto »

Keeland wrote:Huh sorry man not workd whit me :/ i edit the texf files but the game is still english
Set game to "English" on SETTINGS Menu.