Wolfenstein: The New Order (PC)

Need help translating games in other languages? Have your language problems solved here.
BioLife
ultra-n00b
Posts: 8
Joined: Tue Oct 23, 2012 7:54 pm
Has thanked: 9 times
Been thanked: 6 times

Re: Wolfenstein: The New Order (PC)

Post by BioLife »

michalss wrote:Here is complete template for index file :


With this you can simple found out data like offset of lang or fonts, if reimport failed for qbms, you can replace any other lang file with bigger size and simple change offset/size or add to end of the archive :) Simple as that and no repack is needed...
Hello,

Can you write a little "how to" to do that?

Thank you


EDIT: OK, I did it. I was able to change the language of the text with this method. I'm gonna to write a "how to" to do that, allow me few hours..
BioLife
ultra-n00b
Posts: 8
Joined: Tue Oct 23, 2012 7:54 pm
Has thanked: 9 times
Been thanked: 6 times

Re: Wolfenstein: The New Order (PC)

Post by BioLife »

How to change language text

In this HOWTO we'll change all texts from english to french (for example).

Requirements
  • QuickBMS
  • 010 Editor v4.0.3
Unpack, change language, resize index and reimport

Unpack and change language
  1. Download and extract the little attached package
  2. Copy chunk0.index and chunk0.resources from your Wolfenstein/base install directory to orig directory
  3. Open QuickBMS
  4. Select the script __extract_resources.bms
  5. Select orig/chunk0.resources
  6. Select chunk0_unpacked directory
  7. Wait a moment during extract and reply r when prompted
  8. After all has been extracted, delete all but strings directory
  9. In the strings directory: delete all but french.lang
  10. Rename french.lang to english.lang
Resize index
  1. Do a copy of chunk0.index and chunk0.resources to a modded directory for example
  2. Open 010 Editor Hex
  3. Open file binary_template.bt
  4. Open file modded/chunk0.index
  5. Right under the oppened tab file chunk0.index: click on Run Template and select binary_template.bt in Open Templates
  6. A new tab open right under the tab of chunk0.index: this is a list of all indexed files in chunk0.resources
  7. In here, press CTRL+F to start a search
  8. Select value, type french.lang and press Enter
  9. Once search result appeared, you'll find a lot of data.. just look at fsize and csize datas
  10. Copy value of this data (928775 in my case)
  11. Then do a search again and type english.lang
  12. Again, in the search results, look at fsize and csize datas (868082 in my case)
  13. Now just paste previously copied value on these two data fsize and csize
  14. Finally, save and exit 010 Editor
Reimport
  1. Now launch the reimport.bat from QuickBMS
  2. Select the script __extract_resources.bms again
  3. Select modded/chunk0.resources
  4. Select chunk0_unpacked directory
  5. Reimport shouldn't ask you to force reimport, if so, you may have do wrong a step...
And voilà

Copy/paste the new modded chunk0.index and chunk0.resources to your Wolfenstein install directory and let's kick some a** !!


Thanks

Thief1987: for his BMS script
albert1905: for his howto
michalss: for his binary template script
You do not have the required permissions to view the files attached to this post.
michalss
Moderator
Posts: 951
Joined: Sun Mar 27, 2011 8:42 pm
Has thanked: 10 times
Been thanked: 142 times

Re: Wolfenstein: The New Order (PC)

Post by michalss »

Here is better template with english and russian lang + binary... You can apply this on index and also on archive :)

If you need more offsets or languages data, let me know ill add them or i can write extractor and importer for language(no size limit) for X360 resources ONLY!!!!

Code: Select all

//--------------------------------------
//--- 010 Editor v5.0 Binary Template
//
// File:
// Author: michalss
// Revision:
// Purpose:
//--------------------------------------
BigEndian();


uint64 GUID;

if (GUID==239611423670403072) { //This is index
//LittleEndian();
FSeek(1228838832);
byte English[867085];
byte spolitter1[1];

FSeek(1232395040);
byte Russian[1178381];
byte spolitter2[1];

}else if (GUID==239611423685125549) { //this is data

struct ENGLISH {
LittleEndian();
FSeek(14692911);
uint textS;
BigEndian();
char russian[textS];
uint offset;
uint fsize;
uint csize;
}Lang;


struct RUSSIAN {
LittleEndian();
FSeek(14693231);
uint textS;
BigEndian();
char russian[textS];
uint offset;
uint fsize;
uint csize;
}Lang;



}
Quick BMS Editor GUI - simple easy to use
Goto : viewtopic.php?uid=34229&f=29&t=6797&start=0

Downloads from DropBox : https://dl.dropboxusercontent.com/u/
albert1905
veteran
Posts: 93
Joined: Wed May 09, 2012 1:13 pm
Has thanked: 11 times
Been thanked: 3 times

Re: Wolfenstein: The New Order (PC)

Post by albert1905 »

However, there are dubed movies on the game with no subtitles. How to solve this problems for those who want to insert a subtitles..?
michalss
Moderator
Posts: 951
Joined: Sun Mar 27, 2011 8:42 pm
Has thanked: 10 times
Been thanked: 142 times

Re: Wolfenstein: The New Order (PC)

Post by michalss »

albert1905 wrote:However, there are dubed movies on the game with no subtitles. How to solve this problems for those who want to insert a subtitles..?
Not sure what is the format, but most likely BIK, you have to convert the into AVI or MPEG then make subtitles and then encode them together, last part is back to BIK. There is very long process behind it, dont really have time to explain into details, so from me it is just a hint.

Tools :
RAD Tools - http://www.radgametools.com/bnkdown.htm
Video Encoder (tEncoder, visrtualDub,etc... many of them) - http://www.wikihow.com/Add-Subtitles-to ... aded-Video
SubtitleWorkshop - to make subtitle and timing

Hope it helps :)
Quick BMS Editor GUI - simple easy to use
Goto : viewtopic.php?uid=34229&f=29&t=6797&start=0

Downloads from DropBox : https://dl.dropboxusercontent.com/u/
HAIDER6222354
beginner
Posts: 27
Joined: Wed Jul 04, 2012 5:19 am
Has thanked: 4 times
Been thanked: 1 time

Re: Wolfenstein: The New Order (PC)

Post by HAIDER6222354 »

can anyone help me with edit font in game ?
michalss
Moderator
Posts: 951
Joined: Sun Mar 27, 2011 8:42 pm
Has thanked: 10 times
Been thanked: 142 times

Re: Wolfenstein: The New Order (PC)

Post by michalss »

HAIDER6222354 wrote:can anyone help me with edit font in game ?
Font is RAW format, editable in PS, dat files is indexes for chars.
Quick BMS Editor GUI - simple easy to use
Goto : viewtopic.php?uid=34229&f=29&t=6797&start=0

Downloads from DropBox : https://dl.dropboxusercontent.com/u/
albert1905
veteran
Posts: 93
Joined: Wed May 09, 2012 1:13 pm
Has thanked: 11 times
Been thanked: 3 times

Re: Wolfenstein: The New Order (PC)

Post by albert1905 »

michalss wrote:
albert1905 wrote:However, there are dubed movies on the game with no subtitles. How to solve this problems for those who want to insert a subtitles..?
Not sure what is the format, but most likely BIK, you have to convert the into AVI or MPEG then make subtitles and then encode them together, last part is back to BIK. There is very long process behind it, dont really have time to explain into details, so from me it is just a hint.

Tools :
RAD Tools - http://www.radgametools.com/bnkdown.htm
Video Encoder (tEncoder, visrtualDub,etc... many of them) - http://www.wikihow.com/Add-Subtitles-to ... aded-Video
SubtitleWorkshop - to make subtitle and timing

Hope it helps :)
I'll try it. Thanks for your advice.
HAIDER6222354
beginner
Posts: 27
Joined: Wed Jul 04, 2012 5:19 am
Has thanked: 4 times
Been thanked: 1 time

Re: Wolfenstein: The New Order (PC)

Post by HAIDER6222354 »

michalss wrote:
HAIDER6222354 wrote:can anyone help me with edit font in game ?
Font is RAW format, editable in PS, dat files is indexes for chars.
thanks , but how i can edit dat file i am not good with hex
michalss
Moderator
Posts: 951
Joined: Sun Mar 27, 2011 8:42 pm
Has thanked: 10 times
Been thanked: 142 times

Re: Wolfenstein: The New Order (PC)

Post by michalss »

HAIDER6222354 wrote:
michalss wrote:
HAIDER6222354 wrote:can anyone help me with edit font in game ?
Font is RAW format, editable in PS, dat files is indexes for chars.
thanks , but how i can edit dat file i am not good with hex
2 options you have, no need to edit dat file, but you need to replace chars you dont need on font texture or ask someone to make binary template to 010. I never done research on this so i cannot help. if there is struct know i can do it but no time to make full research unfortunately.
Quick BMS Editor GUI - simple easy to use
Goto : viewtopic.php?uid=34229&f=29&t=6797&start=0

Downloads from DropBox : https://dl.dropboxusercontent.com/u/
albert1905
veteran
Posts: 93
Joined: Wed May 09, 2012 1:13 pm
Has thanked: 11 times
Been thanked: 3 times

Re: Wolfenstein: The New Order (PC)

Post by albert1905 »

The *.bink file only contains movie and background sounds. There are no voice files.
However, *.stream files contained a voice package, and it can be unpacked by RavioliGameTools.

http://www.scampers.org/steve/sms/other ... i_download

But there are some problems bacause there are no file names in *.strream, so it is hard to match the bink file and audio files.
You do not have the required permissions to view the files attached to this post.
OrangeC
double-veteran
double-veteran
Posts: 868
Joined: Sun Apr 20, 2008 2:58 am
Has thanked: 5 times
Been thanked: 34 times

Re: Wolfenstein: The New Order (PC)

Post by OrangeC »

Same for the Streamed.resource bank. They have no index files, so therefore cant be unpacked. Is there ayway to take the harted names from the other index files and extract them with the streamed.resource file?
albert1905
veteran
Posts: 93
Joined: Wed May 09, 2012 1:13 pm
Has thanked: 11 times
Been thanked: 3 times

Re: Wolfenstein: The New Order (PC)

Post by albert1905 »

OrangeC wrote:Same for the Streamed.resource bank. They have no index files, so therefore cant be unpacked. Is there ayway to take the harted names from the other index files and extract them with the streamed.resource file?
Uhm.. I had no idea. :(
albert1905
veteran
Posts: 93
Joined: Wed May 09, 2012 1:13 pm
Has thanked: 11 times
Been thanked: 3 times

Re: Wolfenstein: The New Order (PC)

Post by albert1905 »

I'd success on changing the offset and the size of English.lang file to Russian.lang size but when I tried to edit English font size to that of Japanese doesn't work. What's wrong with me?

<English font information>

struct Files FILES[9459]
generated/textures/borderclamp_alpha_fonts/arial_black/64_df.bimage
offset 17490960
fsize 1179720
csize 321095

struct Files FILES[9460]
1924ABh generated/decls/material/fonts/arial_black/64_df.tga.decl
offset 17812064
fsize 617
csize 248

struct Files FILES[9461]
fonts/arial_black/64_df.dat
offset 17812320
fsize 6926
csize 3579


<Japanese font information>

struct Files FILES[9474]
generated/textures/borderclamp_alpha_fonts/japanese/futura_com_medium_jpn90/64_df.bimage
offset 19152096
fsize 12845128
csize 4043329

struct Files FILES[9475]
generated/decls/material/fonts/japanese/futura_com_medium_jpn90/64_df.tga.decl
offset 23195440
fsize 638
csize 265

struct Files FILES[9476]
fonts/japanese/futura_com_medium_jpn90/64_df.dat
offset 23195712
fsize 49918
csize 23140
albert1905
veteran
Posts: 93
Joined: Wed May 09, 2012 1:13 pm
Has thanked: 11 times
Been thanked: 3 times

Re: Wolfenstein: The New Order (PC)

Post by albert1905 »

Hmm.. I've tried every method that I could but it didn't work, so I decided to use CHS version for my translation patch.
I hope there are 010 templates for font files but well.. it seems difficult to handle it for me, anyway I just look forward to deal with it..
Post Reply