Forums
Games
Cyberpunk 2077 Thronebreaker: The Witcher Tales GWENT®: The Witcher Card Game The Witcher 3: Wild Hunt The Witcher 2: Assassins of Kings The Witcher The Witcher Adventure Game
Jobs Store Support Log in Register
Forums - CD PROJEKT RED
Menu
Forums - CD PROJEKT RED
  • Hot Topics
  • NEWS
  • GENERAL
    THE WITCHER ADVENTURE GAME
  • STORY
    THE WITCHER THE WITCHER 2 THE WITCHER 3 THE WITCHER TALES
  • GAMEPLAY
    THE WITCHER THE WITCHER 2 THE WITCHER 3 MODS (THE WITCHER) MODS (THE WITCHER 2) MODS (THE WITCHER 3)
  • TECHNICAL
    THE WITCHER THE WITCHER 2 (PC) THE WITCHER 2 (XBOX) THE WITCHER 3 (PC) THE WITCHER 3 (PLAYSTATION) THE WITCHER 3 (XBOX) THE WITCHER 3 (SWITCH)
  • COMMUNITY
    FAN ART (THE WITCHER UNIVERSE) FAN ART (CYBERPUNK UNIVERSE) OTHER GAMES
  • RED Tracker
    The Witcher Series Cyberpunk GWENT
THE WITCHER
THE WITCHER 2
THE WITCHER 3
MODS (THE WITCHER)
MODS (THE WITCHER 2)
MODS (THE WITCHER 3)
Menu

Register

Can we use REDKit for translation of the main game ?

+
L

ldkv

Forum regular
#1
Jun 14, 2013
Can we use REDKit for translation of the main game ?

As the title said, I would like to ask if REDKit can provide some support to the translation of the game ?

As of now, all I can do is to decode the w2strings file to translate, but this took me a lot of time to do, especially when I can't know who speaks what just by looking at the code. So it would be really great if REDKit (or any other tool that I may not know) can help with the translation.

Could someone give me some direction please?

Thank you in advance :)
 
M

Milgo

Forum regular
#2
Jun 15, 2013
What do you want to translate? The Witcher 2 is already translated into many languages. And atm you cannot create a connection between a npc and a voicestring (I trieb).
 
S

shak-otay

Senior user
#3
Jun 15, 2013
ldkv said:
As of now, all I can do is to decode the w2strings file to translate, but this took me a lot of time to do, especially when I can't know who speaks what just by looking at the code.
Click to expand...
You need this to create speech files, do you?

I know how to find the voice tag for a text id manually, for example in de0.xml:
for
<text id="35225">Als du Temerien vor dem Grossmeister und seinen Mutanten gerettet hast,

I find JASKIER as a voice tag:


(0x8999 = 35225d)

But maybe some expert does have a better solution.

If not I could think about coding a tool to create a text id - voice tag table.
But atm I'm very busy. (as always)
 
Last edited: Jun 15, 2013
A

adridu59

Senior user
#4
Jun 15, 2013
Maybe opening REDstring tool would help.
 
L

ldkv

Forum regular
#5
Jun 15, 2013
Thank you for all the reply. Maybe I didn't explain it well, let me rephrase my question.

What I want to do is to translate the original game into my native language (Vietnamese) by using the method explained at the end of this site http://witcher.wikia.com/wiki/Extracting_The_Witcher_2_files .

What I have been doing up until now is:
1/ Watch walkthrough video and take note of what the characters are saying
2/ Search for this phrase in the en0.xml file to locate its text_ID
3/ Translate the phrase and encode it back into en0.w2strings file

This method took me a lot of time so I would like to ask if the REDKit tool has any feature to help with this ? Or is there any other tools/methods that help to accelerate my progress ?

I know it is quite late to translate the game now, so I hope to finish it asap, so that my friends can replay the game before enjoy the 3rd one :p
 
L

ldkv

Forum regular
#6
Jun 17, 2013
Hello, can anyone help me with this please? :(

shak-otay said:
You need this to create speech files, do you?

I know how to find the voice tag for a text id manually, for example in de0.xml:
for
<text id="35225">Als du Temerien vor dem Grossmeister und seinen Mutanten gerettet hast,

I find JASKIER as a voice tag:


(0x8999 = 35225d)

But maybe some expert does have a better solution.

If not I could think about coding a tool to create a text id - voice tag table.
But atm I'm very busy. (as always)
Click to expand...
Hey skak-otay, could you please tell me what tool you used to see that voicetag?
 
Last edited: Jun 17, 2013
S

shak-otay

Senior user
#7
Jun 17, 2013
ldkv said:
Hey s[h]ak-otay, could you please tell me what tool you used to see that voicetag?
Click to expand...
It's HexEdit 1.11. You can use any Hex editor for displaying.
But to find the voicetags you need a Hex editor which is capable to do a binary search in files (in *.w2scene files in this case).
You might use WinHex for this.

But you'll experience ambiguous finds. So you'll have to modify the search pattern such as [lowbyte textID] [highhbyte textID] 3F 3F 3F 3F 3F 3F FF for example (3F being a wildcard!)
 
Last edited: Jun 17, 2013
A

adridu59

Senior user
#8
Jun 17, 2013
REDStrings, use this
 
S

shak-otay

Senior user
#9
Jun 17, 2013
adridu59 said:
REDStrings, use this
Click to expand...
How?
As far as I can see there is (for example) no voice tag JASKIER (uppercase!) in base.sqlite
 
M

Milgo

Forum regular
#10
Jun 17, 2013
shak-otay said:
How?
As far as I can see there is (for example) no voice tag JASKIER (uppercase!) in base.sqlite
Click to expand...
Yep, you're write. shak-otay, do you have some time to help me to implement a connection between voicestrings and persons in my RedSpeaker?
 
S

shak-otay

Senior user
#11
Jun 17, 2013
Milgo said:
Yep, you're write. shak-otay, do you have some time to help me to implement a connection between voicestrings and persons in my RedSpeaker?
Click to expand...
As far as I can help I will try to.:)
 
L

ldkv

Forum regular
#12
Jun 17, 2013
Thank you for all your help, I will try RedStrings and HexEditor and see If I can do something :)
 
A

adridu59

Senior user
#13
Jun 17, 2013
REDStrings is the localization tool of REDkit, I thikn you should be able to edit dialogs then cook level and fetch the strings file.
 
M

Milgo

Forum regular
#14
Jun 17, 2013
shak-otay said:
As far as I can help I will try to.:)
Click to expand...
Do you have icq or something similar? Maybe write me at xxx[at]yyy.zzz.
 
Last edited: Jun 17, 2013
Share:
Facebook Twitter Reddit Pinterest Tumblr WhatsApp Email Link
  • English
    English Polski (Polish) Deutsch (German) Русский (Russian) Français (French) Português brasileiro (Brazilian Portuguese) Italiano (Italian) 日本語 (Japanese) Español (Spanish)

STAY CONNECTED

Facebook Twitter YouTube
CDProjekt RED Mature 17+
  • Contact administration
  • User agreement
  • Privacy policy
  • Cookie policy
  • Press Center
© 2018 CD PROJEKT S.A. ALL RIGHTS RESERVED

The Witcher® is a trademark of CD PROJEKT S. A. The Witcher game © CD PROJEKT S. A. All rights reserved. The Witcher game is based on the prose of Andrzej Sapkowski. All other copyrights and trademarks are the property of their respective owners.

Forum software by XenForo® © 2010-2020 XenForo Ltd.