Page 1 of 5
Alan Wake and AW's American Nightmare
Posted: Mon Feb 27, 2012 5:32 pm
by evin
Alan Wake Tool v0.5:
https://www.dropbox.com/s/qinph0o9dr6yv ... ol.7z?dl=0 (.Net4 required!)
Change log since v0.0.1:
-faster exporting/importing
-3GB+ file support
-text repack
-tex2dds2tex converter, PC ONLY
-X360/PC file support
-American Nightmare file unpack/repack, TESTED (it seems works fine)
-other details in the info.rtf file!
v0.4c
-fixed a Russian text bug
-filter the unpacked/repacked files by extension
-3GB+ file writing bug fixed
v0.5
- AW's American Nightmare PC support
If you find bug, let me know. I'll try to fix it.
Re: Alan Wake and AW's American Nightmare
Posted: Tue Feb 28, 2012 1:21 am
by Herdell
Awesome tool and awesome guy.
Thank you!
Re: Alan Wake and AW's American Nightmare
Posted: Tue Feb 28, 2012 9:46 am
by miGma
Firstly, thanks for the tool.
Secondly, I can't import the text file I translated.. It says "Succesfully imported 0 file(s)." I even tried to import the original text file without any editing, but it said the same. What I do is:
I choose the bin file in game's data folder as the input direction, and choose the folder which contains the text file I edited as the output folder and click Import. "Convert text file" option is checked. Am I doing somethin wrong or?
Re: Alan Wake and AW's American Nightmare
Posted: Tue Feb 28, 2012 10:33 am
by evin
First, unpack the bin/rmdp file. Because you need the string_table.bin file from the bin/rmdp. You can delete the other unpacked files.
Re: Alan Wake and AW's American Nightmare
Posted: Tue Feb 28, 2012 11:28 am
by miGma
evin wrote:First, unpack the bin/rmdp file. Because you need the string_table.bin file from the bin/rmdp. You can delete the other unpacked files.
What will I do with string_table.bin? I already have the .txt file (which you sent me) and when I unpack the bin/rmdp file and put the text file into locale\en folder, I try to import but it doesn't work. Do I need to delete the string_table.bin file which comes when I unpack the bin/rmdp file? Do I need to convert the text file I have to .bin format? What should I do exactly.. Can you tell me?
And If I need to edit the .bin file - can you tell me a program to view it?
Re: Alan Wake and AW's American Nightmare
Posted: Tue Feb 28, 2012 6:14 pm
by evin
miGma wrote:evin wrote:First, unpack the bin/rmdp file. Because you need the string_table.bin file from the bin/rmdp. You can delete the other unpacked files.
What will I do with string_table.bin? I already have the .txt file (which you sent me) and when I unpack the bin/rmdp file and put the text file into locale\en folder, I try to import but it doesn't work. Do I need to delete the string_table.bin file which comes when I unpack the bin/rmdp file? Do I need to convert the text file I have to .bin format? What should I do exactly.. Can you tell me?
And If I need to edit the .bin file - can you tell me a program to view it?
Steps:
-Unpack everything from the bin/rmdp
-delete everything, what you won't edit or change, so in this case, leave only the string_table.bin and it's subfolder
-paste there the translated string_table.bin.txt
-run the tool if you closed, open the bin file, Import
Re: Alan Wake and AW's American Nightmare
Posted: Tue Feb 28, 2012 6:21 pm
by Aiser
How to add language to the game?
Add:
Code: Select all
<!-- Begin Partial+ localizations -->
<!-- XC_LANGUAGE_RUSSIAN --> <config xgetlanguage_id="12" xgetlocale_id="0" folder="ru" subtitles_default="1" bink_voiceover_channel="2" use_only_one_font="0" />
<!-- End Partial+ localizations -->
Language is added, but no text.
Does anyone know what to do?
Re: Alan Wake and AW's American Nightmare
Posted: Tue Feb 28, 2012 6:46 pm
by evin
Like this:
locale_config.xml
Code: Select all
<!-- XC_LANGUAGE_FAKELANG --> <config xgetlanguage_id="12" xgetlocale_id="0" folder="fake" subtitles_default="1" bink_voiceover_channel="2" use_only_one_font="0" />
And need in the data folder these files:
ep999-000-fake.bin
ep999-000-fake.rmdp
fake = a language ID
But the game contain already the Russian language.
Re: Alan Wake and AW's American Nightmare
Posted: Tue Feb 28, 2012 6:52 pm
by miGma
Now it's been like this:
See the subtitles.
Re: Alan Wake and AW's American Nightmare
Posted: Tue Feb 28, 2012 7:15 pm
by Aiser
In
Alan Wake American Nightmare is not Russian.
I have created:
Code: Select all
ep999-000-ru.bin
ep999-000-ru.rmdp
Add:
Code: Select all
<!-- Begin Partial+ localizations -->
<!-- XC_LANGUAGE_RUSSIAN --> <config xgetlanguage_id="12" xgetlocale_id="0" folder="ru" subtitles_default="1" bink_voiceover_channel="2" use_only_one_font="0" />
<!-- End Partial+ localizations -->
+ Replaced the font (
customer_facing.binfnt, customer_facing_typewriter.binfnt) (from
Alane Wake - Russian)
But still no text.
If replace text:
Code: Select all
ep999-000-en.bin
ep999-000-en.rmdp
It works.
Re: Alan Wake and AW's American Nightmare
Posted: Wed Feb 29, 2012 9:38 am
by LonelyDragon
I have problem with fonts in book:
http://puu.sh/iQNZ
I repacked japanese file (replaced fonts and text, even tried to change use_only_one_font from "1" to "0" in locale_config.xml)
In menu and in game everything ok, only in book i have that problem.
Please, help me

Re: Alan Wake and AW's American Nightmare
Posted: Wed Feb 29, 2012 11:56 am
by evin
"use_only_one_font" means: the use only the customer_facing.binfnt font file.
The customer_facing_typewriter.binfnt is smaller, and not contain special characters. And this font not contain those characters, you using. And you cannot add new characters!
Re: Alan Wake and AW's American Nightmare
Posted: Wed Feb 29, 2012 12:14 pm
by LonelyDragon
Well, which font uses Alan Wake for books? Or what files I need to add to the package?
As you can see buttons in right bottom displays normally. (And any other text too.)
Re: Alan Wake and AW's American Nightmare
Posted: Wed Feb 29, 2012 12:24 pm
by evin
The manuscript pages use customer_facing_typewriter.binfnt font, IF use_only_one_font = 0.
Write back the use_only_one_font to 1. That's all you can do.
Re: Alan Wake and AW's American Nightmare
Posted: Wed Feb 29, 2012 1:39 pm
by LonelyDragon
Thanks. It works for now...