Page 36 of 54

Re: Frostbite model tools (Battlefield, Battlefront and others)

Posted: Thu Jan 27, 2022 6:14 pm
by Dimka51Rus
daemon1 wrote: Wed Jan 26, 2022 2:47 pm 2. Place oo2core_8_win64.dll from the game to the same folder
Without this file, it does not unpack files at all.

Re: Frostbite model tools (Battlefield, Battlefront and others)

Posted: Thu Jan 27, 2022 6:15 pm
by Dimka51Rus
Assasinge wrote: Whenever I drag the meshset onto the tool, it outputs an .smd and .ascii with empty data of 0kb. What am I doing wrong?
I have exactly the same in bf2042

Re: Frostbite model tools (Battlefield, Battlefront and others)

Posted: Thu Jan 27, 2022 6:54 pm
by AxelNoir
Yeah same here, I tried to follow Crofty's tutorial on Deviantart, I made it this far but I don't know exactly what is holding up the extraction, maybe it's the skeleton? Sam already has her own master skeleton in the ebx directory, but it doesn't seem to work.

Re: Frostbite model tools (Battlefield, Battlefront and others)

Posted: Thu Jan 27, 2022 7:18 pm
by daemon1
Assasinge wrote: Thu Jan 27, 2022 6:54 pm Yeah same here, I tried to follow Crofty's tutorial on Deviantart, I made it this far but I don't know exactly what is holding up the extraction, maybe it's the skeleton? Sam already has her own master skeleton in the ebx directory, but it doesn't seem to work.
master skeleton is wrong skeleton
you need real skeleton, which is not that small

Re: Frostbite model tools (Battlefield, Battlefront and others)

Posted: Thu Jan 27, 2022 7:26 pm
by AxelNoir
daemon1 wrote: Thu Jan 27, 2022 7:18 pm
Assasinge wrote: Thu Jan 27, 2022 6:54 pm Yeah same here, I tried to follow Crofty's tutorial on Deviantart, I made it this far but I don't know exactly what is holding up the extraction, maybe it's the skeleton? Sam already has her own master skeleton in the ebx directory, but it doesn't seem to work.
master skeleton is wrong skeleton
you need real skeleton, which is not that small
And where would I find that? There's several "skeletons" in the dump I have but I don't know which one to use.

Re: Frostbite model tools (Battlefield, Battlefront and others)

Posted: Thu Jan 27, 2022 8:51 pm
by AxelNoir
Ok so I found a skeleton that is 31 KB, is that the one? Because that doesn't work either, I even renamed it to veniceantske01 and I still get the same output problem.

I ran a cmd prompt and ended up with this:

Image

But when I searched my dump for that chunk apparently I don't even have it, how is that possible?

Re: Frostbite model tools (Battlefield, Battlefront and others)

Posted: Thu Jan 27, 2022 9:09 pm
by mono24
@Assasinge, i really need you to learn to edit your posts, or to learn to quote the right way, STOP quoting the WHOLE post, it is very messy, many stop helping others because they refuse to be organized, it is aggravating that to this day most refuse to pay attention.

Re: Frostbite model tools (Battlefield, Battlefront and others)

Posted: Thu Jan 27, 2022 10:18 pm
by daemon1
Assasinge wrote: Thu Jan 27, 2022 8:51 pm But when I searched my dump for that chunk apparently I don't even have it, how is that possible?
As you can see on your screen, the problem is missing chunk

Re: Frostbite model tools (Battlefield, Battlefront and others)

Posted: Thu Jan 27, 2022 10:59 pm
by AxelNoir
What are you people talking about? Whenever I quote someone this is all I see:

Image

I literally see no problem with this, I don't know what this "mess" you guys are seeing because I ain't seeing it.

Re: Frostbite model tools (Battlefield, Battlefront and others)

Posted: Thu Jan 27, 2022 11:35 pm
by mono24
Alright, there are two examples:

Example 1: The right way, you ONLY edit what ever is necessary or it is your responding about:
Assasinge wrote: Thu Jan 27, 2022 10:59 pm What are you people talking about?...
Neat and clean, right? ;)

Example 2: The BAD ONE! where a user quotes the WHOLE post, like this:
Assasinge wrote: Thu Jan 27, 2022 10:59 pm What are you people talking about? Whenever I quote someone this is all I see:

Image

I literally see no problem with this, I don't know what this "mess" you guys are seeing because I ain't seeing it.
See the difference? BAD.

Also, check this link posted on this post: viewtopic.php?p=181450#p181450

On topic:
Assasinge wrote: Thu Jan 27, 2022 7:26 pmAnd where would I find that? There's several "skeletons" in the dump I have but I don't know which one to use.
The reason you cant see it right away, the scripts dump the folder structure by separating RES from EBX.
Inside the "bundles\" folder you'll have three folders "chunks, ebx, res"
EBX and RES have same identical structure the difference is that on EBX folder you will see extra folders with EBXs.
So when you search for a character in the RES folder, the skeleton is in same location BUT this time around in the EBX folder, it is always the larges one, usually *_skel.ebx or *_skeleton.ebx in this case, or for universal use there is a unique skeleton for ALL character, like the venice one.
Assasinge wrote: Thu Jan 27, 2022 8:51 pm...But when I searched my dump for that chunk apparently I don't even have it, how is that possible?
That is because the scripts are using actual GUID format for the *.chunk data, so a chunk GUID name that is like this:

Code: Select all

000a9fdf-d418-1e85-9563-c150bd5a80df.chunk
MUST be converted like this:

Code: Select all

df9f0a0018d4851e9563c150bd5a80df.chunk
As you can see dashes are removed, first 8 bytes must be swapped while the other 8 bytes remain unchanged, i recommend a Regular Expression software or script that would do that for you on the entire chunk folder.
Like this:

Code: Select all

Regular Expressions:

	Expression:	\A(..)(..)(..)(..)-(..)(..)-(..)(..)-(..)(..)-(.*)\Z
	Replace:	$4$3$2$1$6$5$8$7$9$10$11
	Skip Extension: YES
Then, and only then you will be able to convert and see this in Blender:

Image

PS: I was able to quote/respond to multiple posts in one post, keeping it clean, ain't that something?

Re: Frostbite model tools (Battlefield, Battlefront and others)

Posted: Fri Jan 28, 2022 12:35 am
by AxelNoir
Oh I see. I wasn't aware, I will try to be clean next time then thank you. And thanks for that last bit as well, I thought I had run the dumper script wrong but it appears not. I don't really understand the last bit though, are you saying I have to program a script from scratch that will rename all the chunk files I currently have into the ones I need? I have no idea how to do that :/

Re: Frostbite model tools (Battlefield, Battlefront and others)

Posted: Fri Jan 28, 2022 1:42 am
by mono24
Assasinge wrote: Fri Jan 28, 2022 12:35 am...are you saying I have to program a script from scratch that will rename all the chunk files I currently have into the ones I need? I have no idea how to do that :/
I've said not such thing, what i said is to use the Regular Expression feature above, in a software, or a script or tool or what ever the case may be, that supports that feature called Regular Expressions.

Ok, for past few days I've been testing the following: https://www.den4b.com/products/renamer
It is fast, easy to use, most importantly, gets the job done and it is FREE and/or portable.

You add the Regular Expression rule i mentioned above first, then drag and drop your chunks folders where it tells you to drop, if it asks you to validate the files, click NO, click rename and that's it.
If you still cant convert, and get that "chunk not found" message, it means you might have to move/merge chunks from "root\bundles\chunks" to "root\chunks" folder, if it asks you to overwrite, choose NO, then it should all be fine.

Even so, there's a problem, you first MUST convert the textures, as the ebxtoasset script requires the chunks to have proper GUIDs with those dashes and bytes swapped, then you can rename both .chunk files in the chunks folders and then you can convert the models.

NOTE: Don't ask me why these steps must be followed, because it is NOT my doing, its how it is, Nicknine will never update his scripts to support old tools, regardless what tools are out there, same way in this particular case daemon1 will never update his tools to support Nicknine's scripts, so yeah, let the fun begin ;)

Re: Frostbite model tools (Battlefield, Battlefront and others)

Posted: Fri Jan 28, 2022 2:54 am
by AxelNoir
YOU ABSOLUTE LEGEND!

It worked. Thank you. Finally after all these years...

Re: Frostbite model tools (Battlefield, Battlefront and others)

Posted: Fri Jan 28, 2022 4:00 am
by AxelNoir
I just hit a tiny snag, everything works great now but, and I'm not sure if this is specific to The Run in of itself, but the characters don't seem to have their own eye textures, I have a shared eye texture folder. Does FB2 somehow find a way to switch eye colors off of one texture? If there is a way to counter this that'd be neat because I don't think all the characters in the game use a single eye color.

Re: Frostbite model tools (Battlefield, Battlefront and others)

Posted: Fri Jan 28, 2022 8:33 pm
by mono24
Assasinge wrote: Fri Jan 28, 2022 4:00 am...the characters don't seem to have their own eye textures, I have a shared eye texture folder...
Most games, at least from what i have encountered have common/shared textures, and this is no different, you'll have to use the common/shared textures for eyes, inner mouth, etc and what ever else the game has.