READ THE RULES: Click here

Follow us on Facebook: https://www.facebook.com/xentax/ :)

Nier Automata

The Original Forum. Game archives, full of resources. How to open them? Get help here.
nenkitsune
ultra-n00b
Posts: 1
Joined: Thu May 11, 2017 12:23 pm

Re: Nier Automata

Post by nenkitsune » Thu May 11, 2017 12:24 pm

Ok, I've hit my limit. I'm trying to mess around with the BGM files, I can extract them, convert them to OGG, convert them back to WEM, but how in the hell do I repack them back into a WSP?

Pokkentag
ultra-n00b
Posts: 4
Joined: Mon Mar 20, 2017 11:45 am

Re: Nier Automata

Post by Pokkentag » Fri May 12, 2017 3:59 am

lyutor1945 wrote:
Pokkentag wrote:nevermind, i got it to work. thanks delguoqing again for this awesome script.
Hi! how are you doing? I noticed your message on the forum. I faced the same problem as you. Can't install the gtb_importer. How did you manage to fix it?
I dont know exactly how. What I did was I download the latest version of blender 2.78 and it worked. Hopefully it works the same for you.

atvaark
advanced
Posts: 51
Joined: Fri Aug 28, 2015 3:19 pm
Been thanked: 45 times

Re: Nier Automata

Post by atvaark » Fri May 12, 2017 7:21 am

nenkitsune wrote:Ok, I've hit my limit. I'm trying to mess around with the BGM files, I can extract them, convert them to OGG, convert them back to WEM, but how in the hell do I repack them back into a WSP?
WSP is just a concatenation of the WEM files with 255 bytes alignment. You'll have to figure out where the offsets to each WEM is stored or you can't use files sizes bigger than the original WEMs.

User avatar
marcussacana
beginner
Posts: 28
Joined: Wed Jul 22, 2015 10:08 pm
Has thanked: 8 times
Been thanked: 7 times

Re: Nier Automata

Post by marcussacana » Fri May 19, 2017 5:11 am

Hi, i write my tool to translate the .bin files: https://github.com/marcussacana/AutomataTranslator
Works but he need delete some language of the game to overwrite...

And i found this tool to translate too... (unstable): https://github.com/micktu/att

michalss
Moderator
Posts: 940
Joined: Sun Mar 27, 2011 8:42 pm
Has thanked: 10 times
Been thanked: 133 times

Re: Nier Automata

Post by michalss » Fri May 19, 2017 9:56 pm

marcussacana wrote:Hi, i write my tool to translate the .bin files: https://github.com/marcussacana/AutomataTranslator
Works but he need delete some language of the game to overwrite...

And i found this tool to translate too... (unstable): https://github.com/micktu/att

Well in this game is 3 different format for texts. Also special format for Menu and locals, very messy. Did you also made tools for that ?
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/

User avatar
marcussacana
beginner
Posts: 28
Joined: Wed Jul 22, 2015 10:08 pm
Has thanked: 8 times
Been thanked: 7 times

Re: Nier Automata

Post by marcussacana » Sat May 20, 2017 9:54 pm

My tools are only to .smd and .bin

the .mcd have this struct to help: http://zenhax.com/viewtopic.php?t=1502& ... witterfeed
the .mcd is the menu text i think, he do not have encryption but the text format is a shit...
He contains entries of the position of a char in the font (s0001.dat>s0001.mcd => s0001.dtt) and the "string" in the .mdc is a sequence of index of the char entry... soo, is a little shit edit this...

the .dtt is like the .dat, contains just a .dds

The .dat and .pck i sent a mediafire url in the frist page of this topic.

have the .tmd, i do not created a tool to this format, but i think is just something like this

Code: Select all

struct TMD{
int32 StrCount;
TMDEntry[] Content = new TMDEntry[StrCount];
}
struct TMDEntry{
int32 len;
byte[] Buffer = new byte[len*2];
}
anyway to the tmd i can wrote a code after...

CPK with text is: data002, data009, data012, data013, data100

i think is this:
SMD => Cutscene Subtitle
Bin => In Game Text
MCD => Menu/UI Text
DTT => A part of the .mcd, the font/texture.
TMD => I think is itens description, but looks have a general content.

--edit
Now my tool support the TMD.

Anony
ultra-n00b
Posts: 3
Joined: Sat May 20, 2017 5:10 am
Has thanked: 1 time

Re: Nier Automata

Post by Anony » Sun May 21, 2017 3:03 pm

delguoqing wrote:
o0Crofty0o wrote:Thank you very much!
Any word on how to get the wmb parser to work? Does it require a specific Python version?
I'm using python 2.7.8, and most likely it will work with 2.7.x.

Make sure you have python installed, then run the script with the wmb file path as argument.
for example:
python wmb_parser.py D:\data006\pl\pl000_dtt\pl000.wmb

A gtb file should be generated in the same directory as the wmb file. Then you can use Blender addon to import it.

Here's what it should look like in Blender.
9S.png
When I try to run the script with the wmb file path as argument I get SyntaxError: invalid syntax

User avatar
delguoqing
beginner
Posts: 22
Joined: Thu Jun 12, 2014 2:55 am
Has thanked: 5 times
Been thanked: 30 times

Re: Nier Automata

Post by delguoqing » Sun May 21, 2017 4:14 pm

Anony wrote:
delguoqing wrote:
o0Crofty0o wrote:Thank you very much!
Any word on how to get the wmb parser to work? Does it require a specific Python version?
I'm using python 2.7.8, and most likely it will work with 2.7.x.

Make sure you have python installed, then run the script with the wmb file path as argument.
for example:
python wmb_parser.py D:\data006\pl\pl000_dtt\pl000.wmb

A gtb file should be generated in the same directory as the wmb file. Then you can use Blender addon to import it.

Here's what it should look like in Blender.
9S.png
When I try to run the script with the wmb file path as argument I get SyntaxError: invalid syntax
Would you please post a screenshot of that error so that I can see what's happening?

Anony
ultra-n00b
Posts: 3
Joined: Sat May 20, 2017 5:10 am
Has thanked: 1 time

Re: Nier Automata

Post by Anony » Sun May 21, 2017 5:56 pm

delguoqing wrote:Would you please post a screenshot of that error so that I can see what's happening?
That's the error I get. I made sure to check that the file path was correct before trying to run the script.
You do not have the required permissions to view the files attached to this post.

User avatar
delguoqing
beginner
Posts: 22
Joined: Thu Jun 12, 2014 2:55 am
Has thanked: 5 times
Been thanked: 30 times

Re: Nier Automata

Post by delguoqing » Tue May 23, 2017 1:17 am

Anony wrote:
delguoqing wrote:Would you please post a screenshot of that error so that I can see what's happening?
That's the error I get. I made sure to check that the file path was correct before trying to run the script.
In your case, you should execute the following command straight ahead, WITHOUT entering python interactive REPL.
C:\Python27\python.exe wmb_parser.py C:\Users\User\Desktop\rips\files\wmb\pl0000.wmb

Anyway, since many people know little about python or programming, I'll make an executable to which you can simply drag and drop. Just wait a day or two.

Anony
ultra-n00b
Posts: 3
Joined: Sat May 20, 2017 5:10 am
Has thanked: 1 time

Re: Nier Automata

Post by Anony » Tue May 23, 2017 3:51 am

delguoqing wrote:
Anony wrote:
delguoqing wrote:Would you please post a screenshot of that error so that I can see what's happening?
That's the error I get. I made sure to check that the file path was correct before trying to run the script.
In your case, you should execute the following command straight ahead, WITHOUT entering python interactive REPL.
C:\Python27\python.exe wmb_parser.py C:\Users\User\Desktop\rips\files\wmb\pl0000.wmb

Anyway, since many people know little about python or programming, I'll make an executable to which you can simply drag and drop. Just wait a day or two.
Thanks. It works now. :D

MuratG
advanced
Posts: 44
Joined: Tue Oct 28, 2014 12:56 am
Been thanked: 2 times

Re: Nier Automata

Post by MuratG » Tue May 23, 2017 5:00 am

thanks

User avatar
delguoqing
beginner
Posts: 22
Joined: Thu Jun 12, 2014 2:55 am
Has thanked: 5 times
Been thanked: 30 times

Re: Nier Automata

Post by delguoqing » Wed May 24, 2017 2:20 pm

Hi, all, I have converted my scripts into an easy-to-use executable.

Usage:
1.drag&drop "wmb" files to model_parser.exe. A gtb file will be generated.
2.drag&drop "wtp" AND "wta" files to model_parser.exe. A bunch of textures with proper names will be generated.
3.install gtb_importer addon for Blender.
4.import "gtb" file into Blender.

NOTE: if you feed the exe only wtp files, textures will be generated, but with no proper names. You have to assign textures to meshes by hand afterwards.
P.S. Also fixed a bug of unable to import some models, e.g. pascal.
https://www.mediafire.com/?eezbuyxn3hucnnv

MuratG
advanced
Posts: 44
Joined: Tue Oct 28, 2014 12:56 am
Been thanked: 2 times

Re: Nier Automata

Post by MuratG » Sat May 27, 2017 3:21 pm

marcussacana wrote:My tools are only to .smd and .bin

the .mcd have this struct to help: http://zenhax.com/viewtopic.php?t=1502& ... witterfeed
the .mcd is the menu text i think, he do not have encryption but the text format is a shit...
He contains entries of the position of a char in the font (s0001.dat>s0001.mcd => s0001.dtt) and the "string" in the .mdc is a sequence of index of the char entry... soo, is a little shit edit this...

the .dtt is like the .dat, contains just a .dds

The .dat and .pck i sent a mediafire url in the frist page of this topic.

have the .tmd, i do not created a tool to this format, but i think is just something like this

Code: Select all

struct TMD{
int32 StrCount;
TMDEntry[] Content = new TMDEntry[StrCount];
}
struct TMDEntry{
int32 len;
byte[] Buffer = new byte[len*2];
}
anyway to the tmd i can wrote a code after...

CPK with text is: data002, data009, data012, data013, data100

i think is this:
SMD => Cutscene Subtitle
Bin => In Game Text
MCD => Menu/UI Text
DTT => A part of the .mcd, the font/texture.
TMD => I think is itens description, but looks have a general content.

--edit
Now my tool support the TMD.

Hi font (s0001.dat>s0001.mcd => s0001.dtt) where font files?

User avatar
marcussacana
beginner
Posts: 28
Joined: Wed Jul 22, 2015 10:08 pm
Has thanked: 8 times
Been thanked: 7 times

Re: Nier Automata

Post by marcussacana » Tue May 30, 2017 4:05 am

MuratG wrote: Hi font (s0001.dat>s0001.mcd => s0001.dtt) where font files?
the s0001.dtt is the font, is a collection of .dds textures

Post Reply