Yakuza 0 PC Text Tools!!!

How to translate the files of a game
joaohw
Posts: 6
Joined: Sun Jun 23, 2019 2:23 am

Re: Yakuza 0 PC Text Tools!!!

Post by joaohw »

joaohw wrote:
Kaplas wrote:
joaohw wrote:Hi :) ,i gave the same error.could not load file or assembly 'DataGridView NumericUpDownElements.I did not find "Unblock" button :?: .


Hi! When does it show the error? On app start? When trying to load a file?

Could you upload a screenshot of the error message?

appears when I try to modify the yakuza0.exe
Kaplas
Posts: 60
Joined: Fri Jan 25, 2019 2:47 pm

Re: Yakuza 0 PC Text Tools!!!

Post by Kaplas »

Hello! If "DataGridViewNumericUpDownElements.dll" is in "plugins" folder and it doesn't have a "Unblock" button in properties, maybe it is corrupted. Try to download again from: https://mega.nz/#F!GZNQWSBQ!JA42-HIGTy79O0I7is0FGw
joaohw
Posts: 6
Joined: Sun Jun 23, 2019 2:23 am

Re: Yakuza 0 PC Text Tools!!!

Post by joaohw »

Kaplas wrote:Hello! If "DataGridViewNumericUpDownElements.dll" is in "plugins" folder and it doesn't have a "Unblock" button in properties, maybe it is corrupted. Try to download again from: https://mega.nz/#F!GZNQWSBQ!JA42-HIGTy79O0I7is0FGw

gave the same error :( .It does not have how to manually install ASCII characters :?:
System.NullReferenceException: Object reference not set to an instance of an object.
    in YakuzaGame.Files.Exe.File.GetSubtitles ()
    in TF.Core.Files.BinaryTextFile.Open (DockPanel panel, ThemeBase theme)
    in TF.GUI.MainForm.ExplorerOnFileChanged (TranslationFile selectedFile)
    in TF.GUI.Forms.ExplorerForm.OnFileChanged (TranslationFile selectedFile)
    in TF.GUI.Forms.ExplorerForm.tvGameFiles_BeforeSelect (Object sender, TreeViewCancelEventArgs, and)
    in System.Windows.Forms.TreeView.OnBeforeSelect (TreeViewCancelEventArgs and)
    in System.Windows.Forms.TreeView.TvnSelecting (NMTREEVIEW * nmtv)
    in System.Windows.Forms.TreeView.WmNotify (Message & m)
    in System.Windows.Forms.TreeView.WndProc (Message & m)
    in System.Windows.Forms.NativeWindow.Callback (IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
joaohw
Posts: 6
Joined: Sun Jun 23, 2019 2:23 am

Re: Yakuza 0 PC Text Tools!!!

Post by joaohw »

System.ArgumentNullException: Value can not be null.
Parameter Name: source
    in System.Linq.Enumerable.Any [TSource] (IEnumerable`1 source, Func`2 predicate)
    in YakuzaGame.Files.Exe.File.SubtitlePropertyChanged (Object sender, PropertyChangedEventArgs and)
    in YakuzaGame.Files.Exe.PatchView.OnCheckedChanged (Object sender, EventArgs, and)
    in System.Windows.Forms.CheckBox.OnCheckedChanged (EventArgs and)
    in System.Windows.Forms.CheckBox.set_CheckState (CheckState value)
    in System.Windows.Forms.CheckBox.OnClick (EventArgs and)
    in System.Windows.Forms.CheckBox.OnMouseUp (MouseEventArgs mevent)
    in System.Windows.Forms.Control.WmMouseUp (Message & m, MouseButtons button, Int32 clicks)
    in System.Windows.Forms.Control.WndProc (Message & m)
    in System.Windows.Forms.ButtonBase.WndProc (Message & m)
    in System.Windows.Forms.NativeWindow.Callback (IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
Kaplas
Posts: 60
Joined: Fri Jan 25, 2019 2:47 pm

Re: Yakuza 0 PC Text Tools!!!

Post by Kaplas »

joaohw wrote:gave the same error :( .It does not have how to manually install ASCII characters :?:
System.NullReferenceException: Object reference not set to an instance of an object.
    in YakuzaGame.Files.Exe.File.GetSubtitles ()
    in TF.Core.Files.BinaryTextFile.Open (DockPanel panel, ThemeBase theme)
    in TF.GUI.MainForm.ExplorerOnFileChanged (TranslationFile selectedFile)
    in TF.GUI.Forms.ExplorerForm.OnFileChanged (TranslationFile selectedFile)
    in TF.GUI.Forms.ExplorerForm.tvGameFiles_BeforeSelect (Object sender, TreeViewCancelEventArgs, and)
    in System.Windows.Forms.TreeView.OnBeforeSelect (TreeViewCancelEventArgs and)
    in System.Windows.Forms.TreeView.TvnSelecting (NMTREEVIEW * nmtv)
    in System.Windows.Forms.TreeView.WmNotify (Message & m)
    in System.Windows.Forms.TreeView.WndProc (Message & m)
    in System.Windows.Forms.NativeWindow.Callback (IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


Do you have the Patch v4 applied to the game? https://steamcommunity.com/app/638970/d ... 128955853/
joaohw
Posts: 6
Joined: Sun Jun 23, 2019 2:23 am

Re: Yakuza 0 PC Text Tools!!!

Post by joaohw »

Kaplas wrote:
joaohw wrote:gave the same error :( .It does not have how to manually install ASCII characters :?:
System.NullReferenceException: Object reference not set to an instance of an object.
    in YakuzaGame.Files.Exe.File.GetSubtitles ()
    in TF.Core.Files.BinaryTextFile.Open (DockPanel panel, ThemeBase theme)
    in TF.GUI.MainForm.ExplorerOnFileChanged (TranslationFile selectedFile)
    in TF.GUI.Forms.ExplorerForm.OnFileChanged (TranslationFile selectedFile)
    in TF.GUI.Forms.ExplorerForm.tvGameFiles_BeforeSelect (Object sender, TreeViewCancelEventArgs, and)
    in System.Windows.Forms.TreeView.OnBeforeSelect (TreeViewCancelEventArgs and)
    in System.Windows.Forms.TreeView.TvnSelecting (NMTREEVIEW * nmtv)
    in System.Windows.Forms.TreeView.WmNotify (Message & m)
    in System.Windows.Forms.TreeView.WndProc (Message & m)
    in System.Windows.Forms.NativeWindow.Callback (IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


Do you have the Patch v4 applied to the game? https://steamcommunity.com/app/638970/d ... 128955853/

worked, thank you :D
luciano9429
Posts: 6
Joined: Thu Aug 08, 2019 11:16 pm

Re: Yakuza 0 PC Text Tools!!!

Post by luciano9429 »

Kaplas wrote:
joaohw wrote:gave the same error :( .It does not have how to manually install ASCII characters :?:
System.NullReferenceException: Object reference not set to an instance of an object.
    in YakuzaGame.Files.Exe.File.GetSubtitles ()
    in TF.Core.Files.BinaryTextFile.Open (DockPanel panel, ThemeBase theme)
    in TF.GUI.MainForm.ExplorerOnFileChanged (TranslationFile selectedFile)
    in TF.GUI.Forms.ExplorerForm.OnFileChanged (TranslationFile selectedFile)
    in TF.GUI.Forms.ExplorerForm.tvGameFiles_BeforeSelect (Object sender, TreeViewCancelEventArgs, and)
    in System.Windows.Forms.TreeView.OnBeforeSelect (TreeViewCancelEventArgs and)
    in System.Windows.Forms.TreeView.TvnSelecting (NMTREEVIEW * nmtv)
    in System.Windows.Forms.TreeView.WmNotify (Message & m)
    in System.Windows.Forms.TreeView.WndProc (Message & m)
    in System.Windows.Forms.NativeWindow.Callback (IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


Do you have the Patch v4 applied to the game? https://steamcommunity.com/app/638970/d ... 128955853/



Hello everyone, with my team we'd like to translate yakuza 0 in Italian. Thanks Kaplas for sharing all this information with us. I have a problem, when I try to open the tool, I have a series of error messages.

Error loading assembly:
TFGame.PhoenixWrightTrilogy,
TFGame.TheMissing,
TFGame.TrailsSky,
TFGame.Yakuza0,
TFGame.YakuzaIshin,
TFGame.YakuzaKiwami


How do I fix this? Thanks.
luciano9429
Posts: 6
Joined: Thu Aug 08, 2019 11:16 pm

Re: Yakuza 0 PC Text Tools!!!

Post by luciano9429 »

ok I found the solution in previous messages
luciano9429
Posts: 6
Joined: Thu Aug 08, 2019 11:16 pm

Re: Yakuza 0 PC Text Tools!!!

Post by luciano9429 »

It's possible to import and export the files only once or I have to export them one by one?
Kaplas
Posts: 60
Joined: Fri Jan 25, 2019 2:47 pm

Re: Yakuza 0 PC Text Tools!!!

Post by Kaplas »

No, sorry, there is no option to export all files to excel at once. Maybe you can automate it using AutoHotkey or other similar software.
luciano9429
Posts: 6
Joined: Thu Aug 08, 2019 11:16 pm

Re: Yakuza 0 PC Text Tools!!!

Post by luciano9429 »

Kaplas wrote:No, sorry, there is no option to export all files to excel at once. Maybe you can automate it using AutoHotkey or other similar software.

ok thanks the same, fantastic tool
Ajira
Posts: 5
Joined: Mon Aug 26, 2019 5:43 pm

Re: Yakuza 0 PC Text Tools!!!

Post by Ajira »

Thank you, Kaplas, your program works without any bugs. I can edit all of the text files. But game does not show characters like Ç, Ö, Ü even with your font. How do I enable the extended ASCII characters?
Kaplas
Posts: 60
Joined: Fri Jan 25, 2019 2:47 pm

Re: Yakuza 0 PC Text Tools!!!

Post by Kaplas »

To show those characters you have to replace the font and enable the patch "Usar codificación ISO-8895-1" in the .exe view.
Ajira
Posts: 5
Joined: Mon Aug 26, 2019 5:43 pm

Re: Yakuza 0 PC Text Tools!!!

Post by Ajira »

Thanks. Characters now show during cutscenes.
Hexaae
Posts: 61
Joined: Sat Mar 04, 2017 10:37 am

Re: Yakuza 0 PC Text Tools!!!

Post by Hexaae »

Fate sapere quando è pronta la localizzazione in Italiano che mi interessa! ;)
MuslimCyberGames
Posts: 220
Joined: Sun Nov 06, 2016 3:28 pm

Re: Yakuza 0 PC Text Tools!!!

Post by MuslimCyberGames »

What tools using to edited (wdr par), Im using the Translation Framework but the file Fail to Extracted?

I tried to Yakuza 0 game
Monores
Posts: 1
Joined: Tue Feb 18, 2020 4:00 am

Re: Yakuza 0 PC Text Tools!!!

Post by Monores »

How do I use Cyrillic? is it possible?
Ajira
Posts: 5
Joined: Mon Aug 26, 2019 5:43 pm

Re: Yakuza 0 PC Text Tools!!!

Post by Ajira »

Monores wrote:How do I use Cyrillic? is it possible?


It is possible, you have to edit the font file (for example: delete the D and paint Д in D's place), then use Latin characters while translating for corresponding Cyrillic characters. When you write "Da" it will show up as "Дa." Game will show д instead of D, in game.
khaknet
Posts: 1
Joined: Sat Apr 11, 2020 11:16 am

Re: Yakuza 0 PC Text Tools!!!

Post by khaknet »

Kaplas wrote:
Delutto wrote:Knowledge(and tools) should be shared with everyone, this is the only way to keep the community alive.
Share your tool here in the topic, not by PM. A lot of people want to translate this game, and you certainly will receive the proper credits.


To translate Yakuza 0, you need these tools:

1. https://mega.nz/#F!WBszjaAI!IK9C89WluTjQBk8__EViTw

This tool will patch the .exe to allow extended ASCII characters and will add enough space at the end of the file to store the translated text.
Also, in this folder, there is a file named "hd2_hankaku.dds". This is the font used in the game and you need to replace it in the file font.par with the tool #2.

2. https://mega.nz/#F!aA0nxaSK!ZEXKzQlpAfwPL4PJwN-TuQ

This tool is based on Gibbed tool: https://github.com/gibbed/Gibbed.Yakuza0

The game files are packed inside .par files and you need this tool to unpack and repack them.

To unpack, just drop the .par file on ParTools.exe, and to repack drop the .unpack folder created.

3. https://mega.nz/#F!qM1VxapI!5skr5QFyU8F8kDnu6qQqOg

This tool can read the text files in the game and shows it in a grid to translate the strings. There are hundreds of files with text (almost all of them are inside "auth_w6_e", "bootpar", and "wdr_par_c")

To translate files, you need to create a New Translation ("Archivo - Nueva Traduccion") and select the files you want to translate (my advise is to create a translation for each game folder).

To generate the translated files, you have to select "Archivo - Exportar Traducción".

Whit this app, you can also export the texts to excel.

link is death
can you new upload?
AdamSaeed
Posts: 9
Joined: Thu Oct 04, 2018 12:15 am

Re: Yakuza 0 PC Text Tools!!!

Post by AdamSaeed »

Is there a chance for it to support Binary Domain since it's from the same studio
and someone had stated the files have similarity but I don't in what exactly.
All I know is the dialogues file has the same extension that of Yakuza Kiwami