Page 3 of 10

Re: Nier Automata

Posted: Tue Mar 28, 2017 9:01 pm
by wunk
Simguy wrote:

Code: Select all

	ULONG		Offset1; 	//"Bone List offset"
	ULONG		ListCount;
Just a note about the file formats in general to anyone writing any readers or max scripts but these "list offset, list count" pairs are littered everywhere among the file formats so I've interpreted them as structures:

Code: Select all

template< typename EntryType >
struct TableReference
{
   typedef EntryType ElementType; // For reading functions
   std::uint32_t Offset;
   std::uint32_t Count;
};
in C++ using templates to store the type of the table which allows for some very adaptive code to be written even when tables get very nested(this is probably what Platinum's source code is doing as there has to be some statically available data for it to determine how to read these structures such as the size of each element). If any of you out there are making readers I recommend something something like this so you aren't writing deeply nested table-reference-resolvers when things are actually pretty "flat". You can write one "ReadTable" function that could recursively read in any nested tables and return a vector of the table's ElementType. The offsets seem file-relative but should the file be loaded entirely into memory then you can use these same offsets for pointer arithmetic to avoid having to seek and read all around a file.
With this an entire "Table reference" of 32-bit integers can be declared as

Code: Select all

TableReference<std::uint32_t> SomeTable;
I'll release my model-reader code as info gets mapped out and will probably write a converter using the fbxsdk.

Re: Nier Automata

Posted: Thu Mar 30, 2017 9:20 pm
by c0d3s1ing3r
Hello everyone!

I was the one who amassed that Audio.zip file. It works by dragging the bnk files onto the bnkextr.exe . That will turn it into a collection of wems which you can then convert to ogg by running wem2ogg.bat. Windows media player can run those files (but I prefer Winamp).

delwems just deletes the .wem files if you have no use for them anymore.

However a much better solution is to just use the sound extractor someone else made (it's what I used) since that opens the .wsp files no problem.

In addition, anything that I manage to fully extract I post to the Modding and Mining Group that I setup on Steam. I'd love it if you guys joined and posted there too.

It's worth mentioning that one of the posts there has a full download to the output of nier-sound-extractor.

Re: Nier Automata

Posted: Tue Apr 04, 2017 6:33 pm
by SkacikPL
Is the interest in reverse engineering this game already dead?
Seems to be a shame seeing that's it's one of best action JRPGs of late and it could really use some texture mods.

Re: Nier Automata

Posted: Tue Apr 04, 2017 7:11 pm
by wunk
It's not dead I don't think but a lot of people have been keeping to themselves for whatever reason. It seems like a lot of people just wanted to get 2B's model to shove into SFM or GMOD or whatever. There are people that are legitimately interested in the mruby vm to try and get a translation made for their region but without a decompiler or dat+cpk repacker that's looking to be a pretty mute effort.

Re: Nier Automata

Posted: Wed Apr 05, 2017 1:58 am
by marcussacana
DEElekgolo wrote:It's not dead I don't think but a lot of people have been keeping to themselves for whatever reason. It seems like a lot of people just wanted to get 2B's model to shove into SFM or GMOD or whatever. There are people that are legitimately interested in the mruby vm to try and get a translation made for their region but without a decompiler or dat+cpk repacker that's looking to be a pretty mute effort.
in my case i just need translate this shit to ptbr, but the tool created to a rus project isn't published... i wrote a tool to edit the cutscene subtitle and published the source... but looks the rus devs as wrote your tools to yourself... i hope publish after translate (carefull with stolen credits maybe?), anyway with mruby my position is just wait and see if anyone publish a tool


-eddit
and in the first page i publish my "stuff" of the .cpk and .dat, the tools are stable and i fully extracted and repacked the .cpk/.dat files, and obvious, with modification to confirm, i translate all cutscenes to my language using my tool

Re: Nier Automata

Posted: Wed Apr 05, 2017 4:36 pm
by c0d3s1ing3r
SkacikPL wrote:Is the interest in reverse engineering this game already dead?
Seems to be a shame seeing that's it's one of best action JRPGs of late and it could really use some texture mods.
Not dead, just plenty of the people who would be doing this are busy (myself with college).

I expect that at summer the game will start accruing more interest again.

Re: Nier Automata

Posted: Fri Apr 07, 2017 10:09 pm
by michalss
marcussacana wrote:
DEElekgolo wrote:It's not dead I don't think but a lot of people have been keeping to themselves for whatever reason. It seems like a lot of people just wanted to get 2B's model to shove into SFM or GMOD or whatever. There are people that are legitimately interested in the mruby vm to try and get a translation made for their region but without a decompiler or dat+cpk repacker that's looking to be a pretty mute effort.
in my case i just need translate this shit to ptbr, but the tool created to a rus project isn't published... i wrote a tool to edit the cutscene subtitle and published the source... but looks the rus devs as wrote your tools to yourself... i hope publish after translate (carefull with stolen credits maybe?), anyway with mruby my position is just wait and see if anyone publish a tool


-eddit
and in the first page i publish my "stuff" of the .cpk and .dat, the tools are stable and i fully extracted and repacked the .cpk/.dat files, and obvious, with modification to confirm, i translate all cutscenes to my language using my tool

So there is not public tool for localization yet ? Anyone ? Damn i publish so many tools for most complicated games someone could help out right ? :) I dont want to go and do research again if someone allready did it, that is nonsence...

Re: Nier Automata

Posted: Fri Apr 07, 2017 10:31 pm
by AnonBaiter
michalss wrote:I dont want to go and do research again if someone allready did it, that is nonsence...
Not if said research disappears for about 10+ years.

Re: Nier Automata

Posted: Fri Apr 07, 2017 11:52 pm
by marcussacana
michalss wrote: So there is not public tool for localization yet ? Anyone ? Damn i publish so many tools for most complicated games someone could help out right ? :) I dont want to go and do research again if someone allready did it, that is nonsence...
Yes... If you have a free time to this, I would be grateful

Screenshot of the russian project:
Image

Re: Nier Automata

Posted: Sat Apr 08, 2017 8:09 pm
by marcussacana
michalss wrote:well thats the problem i dont have a time..
no problem... i wait the russian project finish... i hope after finish he publish the tool, otherwise i can try see the offsets changes comparing the original and translated script, and maybe i can write a tool

Re: Nier Automata

Posted: Sat Apr 08, 2017 8:10 pm
by SkacikPL
marcussacana wrote:
michalss wrote:well thats the problem i dont have a time..
no problem... i wait the russian project finish... i hope after finish he publish the tool, otherwise i can try see the offsets changes comparing the original and translated script, and maybe i can write a tool
Have you tried simply contacting the author?

Re: Nier Automata

Posted: Sat Apr 08, 2017 8:52 pm
by makcar
marcussacana wrote:i wait the russian project finish... i hope after finish he publish the tool
Ok, that's a bargain! +src?

Re: Nier Automata

Posted: Sun Apr 09, 2017 3:30 am
by marcussacana
makcar wrote:
marcussacana wrote:i wait the russian project finish... i hope after finish he publish the tool
Ok, that's a bargain! +src?
I'd be grateful, but whatever, as long as I can translate it's perfect

Re: Nier Automata

Posted: Sun Apr 09, 2017 5:34 pm
by SkacikPL
marcussacana wrote:
makcar wrote:
marcussacana wrote:i wait the russian project finish... i hope after finish he publish the tool
Ok, that's a bargain! +src?
I'd be grateful, but whatever, as long as I can translate it's perfect
Do you have any contact with the author or some more information?
He might share if someone asks politely?

Re: Nier Automata

Posted: Mon Apr 10, 2017 4:27 pm
by Slokky
SkacikPL wrote: Do you have any contact with the author or some more information?
He might share if someone asks politely?
makcar
is autor of the russian mod XD







PS guys is there some config file in the game archives? We need fix the draw distance and the shadow resolution.