XeNTaX Forum Index
Forum MultiEx Commander Tools Tools Home
It is currently Thu Dec 13, 2018 9:29 am

All times are UTC + 1 hour




Post new topic Reply to topic  [ 56 posts ]  Go to page Previous  1, 2, 3, 4  Next
Author Message
 Post subject: Re: Wolfenstein: The New Order (PC)
PostPosted: Sun May 25, 2014 12:05 am 
Offline
ultra-n00b

Joined: Tue Oct 23, 2012 7:54 pm
Posts: 8
Has thanked: 9 times
Have thanks: 5 times














You can make the ads go away by registering

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..


Top
 Profile  
 
 Post subject: Re: Wolfenstein: The New Order (PC)
PostPosted: Sun May 25, 2014 1:25 am 
Offline
ultra-n00b

Joined: Tue Oct 23, 2012 7:54 pm
Posts: 8
Has thanked: 9 times
Have thanks: 5 times
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


Attachments:


You do not have the required permissions to view the files attached to this post. Register to gain access.



Top
 Profile  
 
 Post subject: Re: Wolfenstein: The New Order (PC)
PostPosted: Sun May 25, 2014 8:50 am 
Offline
Moderator

Joined: Sun Mar 27, 2011 8:42 pm
Posts: 941
Has thanked: 10 times
Have thanks: 130 times
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:
//--------------------------------------
//--- 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/


Top
 Profile  
 
 Post subject: Re: Wolfenstein: The New Order (PC)
PostPosted: Tue May 27, 2014 3:10 am 
Offline
veteran

Joined: Wed May 09, 2012 1:13 pm
Posts: 93
Has thanked: 11 times
Have thanks: 3 times
However, there are dubed movies on the game with no subtitles. How to solve this problems for those who want to insert a subtitles..?


Top
 Profile  
 
 Post subject: Re: Wolfenstein: The New Order (PC)
PostPosted: Tue May 27, 2014 5:54 am 
Offline
Moderator

Joined: Sun Mar 27, 2011 8:42 pm
Posts: 941
Has thanked: 10 times
Have thanks: 130 times
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/


Top
 Profile  
 
 Post subject: Re: Wolfenstein: The New Order (PC)
PostPosted: Tue May 27, 2014 7:21 am 
Offline
beginner

Joined: Wed Jul 04, 2012 5:19 am
Posts: 27
Has thanked: 4 times
Have thanks: 0 time
can anyone help me with edit font in game ?


Top
 Profile  
 
 Post subject: Re: Wolfenstein: The New Order (PC)
PostPosted: Tue May 27, 2014 8:15 am 
Offline
Moderator

Joined: Sun Mar 27, 2011 8:42 pm
Posts: 941
Has thanked: 10 times
Have thanks: 130 times
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/


Top
 Profile  
 
 Post subject: Re: Wolfenstein: The New Order (PC)
PostPosted: Tue May 27, 2014 8:24 am 
Offline
veteran

Joined: Wed May 09, 2012 1:13 pm
Posts: 93
Has thanked: 11 times
Have thanks: 3 times
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.


Top
 Profile  
 
 Post subject: Re: Wolfenstein: The New Order (PC)
PostPosted: Tue May 27, 2014 8:31 am 
Offline
beginner

Joined: Wed Jul 04, 2012 5:19 am
Posts: 27
Has thanked: 4 times
Have thanks: 0 time
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


Top
 Profile  
 
 Post subject: Re: Wolfenstein: The New Order (PC)
PostPosted: Tue May 27, 2014 9:10 am 
Offline
Moderator

Joined: Sun Mar 27, 2011 8:42 pm
Posts: 941
Has thanked: 10 times
Have thanks: 130 times
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/


Top
 Profile  
 
 Post subject: Re: Wolfenstein: The New Order (PC)
PostPosted: Wed May 28, 2014 4:45 pm 
Offline
veteran

Joined: Wed May 09, 2012 1:13 pm
Posts: 93
Has thanked: 11 times
Have thanks: 3 times
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.htm#ravioli_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.


Attachments:


You do not have the required permissions to view the files attached to this post. Register to gain access.



Top
 Profile  
 
 Post subject: Re: Wolfenstein: The New Order (PC)
PostPosted: Thu May 29, 2014 4:00 am 
Offline
double-veteran
double-veteran

Joined: Sun Apr 20, 2008 2:58 am
Posts: 841
Has thanked: 5 times
Have thanks: 33 times
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?


Top
 Profile  
 
 Post subject: Re: Wolfenstein: The New Order (PC)
PostPosted: Sat May 31, 2014 2:15 pm 
Offline
veteran

Joined: Wed May 09, 2012 1:13 pm
Posts: 93
Has thanked: 11 times
Have thanks: 3 times
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. :(


Top
 Profile  
 
 Post subject: Re: Wolfenstein: The New Order (PC)
PostPosted: Sat May 31, 2014 2:57 pm 
Offline
veteran

Joined: Wed May 09, 2012 1:13 pm
Posts: 93
Has thanked: 11 times
Have thanks: 3 times
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


Top
 Profile  
 
 Post subject: Re: Wolfenstein: The New Order (PC)
PostPosted: Sun Jun 01, 2014 1:50 pm 
Offline
veteran

Joined: Wed May 09, 2012 1:13 pm
Posts: 93
Has thanked: 11 times
Have thanks: 3 times
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..


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 56 posts ]  Go to page Previous  1, 2, 3, 4  Next

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group