I need help editing .binsloc file text for Dying Light 2

How to translate the files of a game
binlv1
Posts: 54
Joined: Sat Apr 15, 2017 9:00 am

I need help editing .binsloc file text for Dying Light 2

Post by binlv1 »

I'm localizing my language for game this. Can anyone help me?
Link download file binsloc here:
https://drive.google.com/file/d/1sF0eofyAkrnj4ADElwkaiUrtFoUuenOi/view?usp=sharing
NoobInCoding
Posts: 127
Joined: Sat Aug 07, 2021 9:49 am

Re: I need help editing .binsloc file text for Dying Light 2

Post by NoobInCoding »

can you send the other language files?
binlv1
Posts: 54
Joined: Sat Apr 15, 2017 9:00 am

Re: I need help editing .binsloc file text for Dying Light 2

Post by binlv1 »

NoobInCoding wrote:can you send the other language files?

I found out its font is .guivf file but it's encrypted
file font here: https://drive.google.com/file/d/1-bVDcp ... sp=sharing
file text russian language here: https://drive.google.com/file/d/1VM_zuT ... sp=sharing
expect_fail
Posts: 7
Joined: Sat Feb 26, 2022 9:34 am

Re: I need help editing .binsloc file text for Dying Light 2

Post by expect_fail »

I started making a tool for converting binsloc files to text files and back again a couple days ago and I think it's more or less finished but it needs a bit more testing before it can be released to the public. It'll appear one one of my websites/Discord server a bit later but if you're interested in testing it right now then feel free to PM me. The tool is a single executable (CLI) file that supports Windows and Linux (tested on Ubuntu 20.04) so let me know which platform you're using.

I wanted to try the russian file you shared but it seems to no longer exist.

Image
Image
Image
binlv1
Posts: 54
Joined: Sat Apr 15, 2017 9:00 am

Re: I need help editing .binsloc file text for Dying Light 2

Post by binlv1 »

expect_fail wrote:I started making a tool for converting binsloc files to text files and back again a couple days ago and I think it's more or less finished but it needs a bit more testing before it can be released to the public. It'll appear one one of my websites/Discord server a bit later but if you're interested in testing it right now then feel free to PM me. The tool is a single executable (CLI) file that supports Windows and Linux (tested on Ubuntu 20.04) so let me know which platform you're using.

I wanted to try the russian file you shared but it seems to no longer exist.

Image
Image
Image

What about fonts file?
dvionst
Posts: 1
Joined: Sun Mar 13, 2022 8:07 pm

Re: I need help editing .binsloc file text for Dying Light 2

Post by dvionst »

expect_fail wrote:I started making a tool for converting binsloc files to text files and back again a couple days ago and I think it's more or less finished but it needs a bit more testing before it can be released to the public. It'll appear one one of my websites/Discord server a bit later but if you're interested in testing it right now then feel free to PM me. The tool is a single executable (CLI) file that supports Windows and Linux (tested on Ubuntu 20.04) so let me know which platform you're using.

I wanted to try the russian file you shared but it seems to no longer exist.

Image
Image
Image


Hi, check your PM. I'm interested to use your tool
NoobInCoding
Posts: 127
Joined: Sat Aug 07, 2021 9:49 am

Re: I need help editing .binsloc file text for Dying Light 2

Post by NoobInCoding »

Code: Select all

//------------------------------------------------
//--- 010 Editor v11.0.1 Binary Template
//
//      File: Dying Light 2
//   Authors: NoobInCoding
//   Version:
//   Purpose:
//  Category:
// File Mask:
//  ID Bytes:
//   History:
//------------------------------------------------
int Flag;
short FileTypeLen;
char FileType[FileTypeLen];
int unknownOne;
int unknownTwo;
char SpaceOne[1];
short IdHeadLen;
char IdHead[IdHeadLen];
int IdChkSize;
int IdCount;
struct{
short IdSize;
char Id[IdSize];
}ID[IdCount]<optimize=false>;
char SpaceTwo[1];
short StrHeadLen;
char StrHead[StrHeadLen];
int StrChkSize;
int StrCount;
struct{
short StrLen;
char Str[StrLen];
}Str[StrCount]<optimize=false>;
byte EndOfFile[21];
expect_fail
Posts: 7
Joined: Sat Feb 26, 2022 9:34 am

Re: I need help editing .binsloc file text for Dying Light 2

Post by expect_fail »

My apologies for the delay. I thought nobody was interested so I stopped checking this site.
Last edited by expect_fail on Tue Mar 22, 2022 7:16 am, edited 2 times in total.
expect_fail
Posts: 7
Joined: Sat Feb 26, 2022 9:34 am

Re: I need help editing .binsloc file text for Dying Light 2

Post by expect_fail »

binlv1 wrote:
expect_fail wrote:...

What about fonts file?

I haven't looked into font files but my tool only handles binsloc files.
expect_fail
Posts: 7
Joined: Sat Feb 26, 2022 9:34 am

Re: I need help editing .binsloc file text for Dying Light 2

Post by expect_fail »

The mentioned website has finally been rewritten and some projects like the binsloc tool and downloads can now be found there: https://www.steffenl.com/projects/binsloc-tool
MuslimCyberGames
Posts: 220
Joined: Sun Nov 06, 2016 3:28 pm

Re: I need help editing .binsloc file text for Dying Light 2

Post by MuslimCyberGames »

Hey, I just wanna some ask. How you find the binsloc files?
expect_fail
Posts: 7
Joined: Sat Feb 26, 2022 9:34 am

Re: I need help editing .binsloc file text for Dying Light 2

Post by expect_fail »

MuslimCyberGames wrote:Hey, I just wanna some ask. How you find the binsloc files?

Code: Select all

steamapps/common/Dying Light 2/ph/source/data_lang/dataen.pak/texts/pc/pc_en_lang.binsloc

Similar location for other languages.
MuslimCyberGames
Posts: 220
Joined: Sun Nov 06, 2016 3:28 pm

Re: I need help editing .binsloc file text for Dying Light 2

Post by MuslimCyberGames »

Code: Select all

steamapps/common/Dying Light 2/ph/source/data_lang/dataen.pak/texts/pc/pc_en_lang.binsloc

Similar location for other languages.


As for the Pak file itself, how do I unpack it?
expect_fail
Posts: 7
Joined: Sat Feb 26, 2022 9:34 am

Re: I need help editing .binsloc file text for Dying Light 2

Post by expect_fail »

MuslimCyberGames wrote:As for the Pak file itself, how do I unpack it?

It's a regular zip file so you can use any program that supports zip files.
MuslimCyberGames
Posts: 220
Joined: Sun Nov 06, 2016 3:28 pm

Re: I need help editing .binsloc file text for Dying Light 2

Post by MuslimCyberGames »

expect_fail wrote:
MuslimCyberGames wrote:As for the Pak file itself, how do I unpack it?

It's a regular zip file so you can use any program that supports zip files.


Is this also included to import it into the Pak file too?
expect_fail
Posts: 7
Joined: Sat Feb 26, 2022 9:34 am

Re: I need help editing .binsloc file text for Dying Light 2

Post by expect_fail »

MuslimCyberGames wrote:
expect_fail wrote:
MuslimCyberGames wrote:As for the Pak file itself, how do I unpack it?

It's a regular zip file so you can use any program that supports zip files.


Is this also included to import it into the Pak file too?

You can use any zip archiving program to repack the pak file. WinZIP, WinRAR, 7-zip (recommended), etc. If you open the pak file in 7-zip then you can browse, extract and inject files by dragging and dropping them. My binsloc tool's only concern is binsloc files.
MuslimCyberGames
Posts: 220
Joined: Sun Nov 06, 2016 3:28 pm

Re: I need help editing .binsloc file text for Dying Light 2

Post by MuslimCyberGames »

expect_fail wrote:
MuslimCyberGames wrote:
expect_fail wrote:It's a regular zip file so you can use any program that supports zip files.


Is this also included to import it into the Pak file too?

You can use any zip archiving program to repack the pak file. WinZIP, WinRAR, 7-zip (recommended), etc. If you open the pak file in 7-zip then you can browse, extract and inject files by dragging and dropping them. My binsloc tool's only concern is binsloc files.


Okey, thanks for help and sharing.