XeNTaX Forum Index
Forum MultiEx Commander Tools Tools Home
It is currently Sat Oct 21, 2017 7:45 am

All times are UTC + 1 hour


Forum rules


Please click here to view the forum rules



Post new topic Reply to topic  [ 39 posts ]  Go to page 1, 2, 3  Next
Author Message
 Post subject: Frostbite model tools (Battlefield 1, Battlefront 1, 2)
PostPosted: Sat Oct 07, 2017 9:24 pm 
Offline
double-veteran
double-veteran

Joined: Tue Mar 24, 2015 8:12 pm
Posts: 1207
Has thanked: 20 times
Have thanks: 569 times














You can make the ads go away by registering

Tools for mesh extraction (with skeletons, fully rigged) for Frostbite games. Also can fix faces. Currently supported:
- Battlefield 1
- Star Wars Battlefront 1
- Star Wars Battlefront 2 (beta)

Image
Image
Image

Battlefield 1

This version will only work with characters using 3pantskeleton.ebx, it must be in the same dir (for both tools)

Fb_BF1_mesh.exe - mesh extractor

Usage: Fb_BF1_mesh <mesh> <chunk>

Fb_BF1_faces.exe - face fixing tool

Usage: drop VisualUnlock file onto the tool

This will make a small .SMD file with skeleton pose, which will fix the head. Apply transformation to bake it.

To apply transformation:
Load the head mesh, delete its skeleton, then import small SMD (it will actually be new skeleton with 2 poses: initial pose and corrected pose), and connect it to the head.

If you prefer to do it manually, you can edit model SMD file as text file. Open head SMD, scroll down to the "triangles" line, and delete all lines before it (this is the skeleton). Then insert small SMD in the beginning of the file.

Star Wars Battlefront 1, 2 - same tools, same usage,
skeleton name for SWBF1: humanmale.ebx
skeleton name for SWBF2: walrus_humanmale.ebx


------------------------------------
VisualUnlock files allows to automatically find the needed face asset inside the bank.
Every mesh in ANY frostbite game must have this unlock file. Can be called different. Usually located near mesh.ebx file. Example:
\ebx\characters\sp\ep3_mudandblood\townsend_ingame\sp_townsend_head_ingame_vu.ebx
\ebx\characters\mp\faces\unlocks\mp_faces_ako.ebx

Note that for some characters, these VisualUnlock files may contain asset links not in head, but in teeth, hair or beard instead. There are also some weird cases, where head links to incorrect asset, and the correct one is in hair.

Also in the same dir must be .assetbank file (or files) where you think assets for this face can be.
These are usually biggest bank for the level, located in "res\animations\antanimations\"
You can place ALL banks there, tool will check them all. This can be slow, because banks are HUGE.
Some scripts incorrectly name .assetbank files as ".ANT", in this case you need to rename them.


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: Frostbite model tools (Battlefield 1, Battlefront 1, 2)
PostPosted: Sat Oct 07, 2017 10:05 pm 
Offline
beginner

Joined: Mon Oct 21, 2013 7:43 pm
Posts: 21
Has thanked: 7 times
Have thanks: 0 time
Anyone know of any dumper scripts that dump Battlefront 2s beta?


Top
 Profile  
 
 Post subject: Re: Frostbite model tools (Battlefield 1, Battlefront 1, 2)
PostPosted: Sat Oct 07, 2017 10:25 pm 
Offline
ultra-n00b

Joined: Sat Oct 15, 2016 7:28 am
Posts: 4
Has thanked: 0 time
Have thanks: 1 time
I get this error when I try to do Maul even though I've got all of the AssetBanks in the same directory.

"Asset not found in asset banks (2)"


Top
 Profile  
 
 Post subject: Re: Frostbite model tools (Battlefield 1, Battlefront 1, 2)
PostPosted: Sat Oct 07, 2017 10:28 pm 
Offline
double-veteran
double-veteran

Joined: Tue Mar 24, 2015 8:12 pm
Posts: 1207
Has thanked: 20 times
Have thanks: 569 times
are you sure? vur_darthmaul_01.ebx works.

These banks must be enough for it:

sharedbundleanimation.AssetBank
naboo.assetbank


Top
 Profile  
 
 Post subject: Re: Frostbite model tools (Battlefield 1, Battlefront 1, 2)
PostPosted: Sat Oct 07, 2017 10:33 pm 
Offline
ultra-n00b

Joined: Sat Oct 15, 2016 7:28 am
Posts: 4
Has thanked: 0 time
Have thanks: 1 time
Yeah never mind I fixed it. Thanks for making the tools btw, you are a true legend.


Top
 Profile  
 
 Post subject: Re: Frostbite model tools (Battlefield 1, Battlefront 1, 2)
PostPosted: Sat Oct 07, 2017 10:35 pm 
Offline
ultra-n00b

Joined: Sat Oct 15, 2016 7:28 am
Posts: 4
Has thanked: 0 time
Have thanks: 1 time
Also another quick question, I can't seem to convert any of the textures with the batch converter. Do you have any other suggestions that I could use?


Top
 Profile  
 
 Post subject: Re: Frostbite model tools (Battlefield 1, Battlefront 1, 2)
PostPosted: Sun Oct 08, 2017 1:57 am 
Offline
veteran
User avatar

Joined: Wed Nov 17, 2010 2:57 pm
Posts: 122
Location: Germany
Has thanked: 79 times
Have thanks: 26 times
Is there a way to tell which chunk files go with the meshes and textures? I have been told a plugin for unwrap3d does this but i don't really want to buy that when i dont even use it.

Thanks so much for this either way!


Top
 Profile  
 
 Post subject: Re: Frostbite model tools (Battlefield 1, Battlefront 1, 2)
PostPosted: Sun Oct 08, 2017 3:11 am 
Offline
beginner

Joined: Mon Oct 21, 2013 7:43 pm
Posts: 21
Has thanked: 7 times
Have thanks: 0 time
o0Crofty0o wrote:
Is there a way to tell which chunk files go with the meshes and textures? I have been told a plugin for unwrap3d does this but i don't really want to buy that when i dont even use it.

Thanks so much for this either way!

Use the demo


Top
 Profile  
 
 Post subject: Re: Frostbite model tools (Battlefield 1, Battlefront 1, 2)
PostPosted: Sun Oct 08, 2017 10:47 am 
Offline
double-veteran
double-veteran

Joined: Tue Mar 24, 2015 8:12 pm
Posts: 1207
Has thanked: 20 times
Have thanks: 569 times
Crageo wrote:
Also another quick question, I can't seem to convert any of the textures with the batch converter. Do you have any other suggestions that I could use?


I will probably update texture converter. Or create something new. But not now.


Top
 Profile  
 
 Post subject: Re: Frostbite model tools (Battlefield 1, Battlefront 1, 2)
PostPosted: Sun Oct 08, 2017 10:50 am 
Offline
double-veteran
double-veteran

Joined: Tue Mar 24, 2015 8:12 pm
Posts: 1207
Has thanked: 20 times
Have thanks: 569 times
o0Crofty0o wrote:
Is there a way to tell which chunk files go with the meshes and textures? I have been told a plugin for unwrap3d does this but i don't really want to buy that when i dont even use it.

Thanks so much for this either way!

The mesh and texture chunk IDs are near the beginning of EBX file if you open it with hex editor. There may be some tools to display IDs (or move the files), but I'm not familiar with them.


Top
 Profile  
 
 Post subject: Re: Frostbite model tools (Battlefield 1, Battlefront 1, 2)
PostPosted: Sun Oct 08, 2017 10:50 am 
Offline
double-veteran
double-veteran

Joined: Tue Mar 24, 2015 8:12 pm
Posts: 1207
Has thanked: 20 times
Have thanks: 569 times
Here are Python scripts for dumping the beta. 32-bit Python 2.7.3 recommended.

I was only able to fix Nikto and other "face skin" head variants by manually editing (splitting) VUR files. I can't find separate VUR file for those, they are merged together in one.

Also there are problems with troopers weights. I have no reports if anyone needs that fixed.

Image


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: Frostbite model tools (Battlefield 1, Battlefront 1, 2)
PostPosted: Sun Oct 08, 2017 2:39 pm 
Offline
beginner

Joined: Mon Nov 02, 2015 6:24 pm
Posts: 24
Has thanked: 16 times
Have thanks: 1 time
daemon1 wrote:
Here are Python scripts for dumping the beta. 32-bit Python 2.7.3 recommended.

I was only able to fix Nikto and other "face skin" head variants by manually editing (splitting) VUR files. I can't find separate VUR file for those, they are merged together in one.

Also there are problems with troopers weights. I have no reports if anyone needs that fixed.

Image


Can someone explain how to work the python scripts for dumping?


Top
 Profile  
 
 Post subject: Re: Frostbite model tools (Battlefield 1, Battlefront 1, 2)
PostPosted: Mon Oct 09, 2017 12:35 am 
Offline
veteran
User avatar

Joined: Wed Nov 17, 2010 2:57 pm
Posts: 122
Location: Germany
Has thanked: 79 times
Have thanks: 26 times
Thanks, i got it to work properly! No crashes or bugs happening with the mesh and face tools at the moment.

lyutor1945 wrote:

Can someone explain how to work the python scripts for dumping?

Here's a small tutorial on that. Hope that helps!
https://sta.sh/01s1dd3fmnpj


Top
 Profile  
 
 Post subject: Re: Frostbite model tools (Battlefield 1, Battlefront 1, 2)
PostPosted: Mon Oct 09, 2017 1:09 am 
Offline
veteran

Joined: Wed Oct 05, 2011 9:40 pm
Posts: 108
Has thanked: 41 times
Have thanks: 4 times
daemon1 wrote:
The mesh and texture chunk IDs are near the beginning of EBX file if you open it with hex editor. There may be some tools to display IDs (or move the files), but I'm not familiar with them.


Is this the same with BF3, BF4 and Hardline? I tried looking and am not getting any ID (or that I can understand).


Top
 Profile  
 
 Post subject: Re: Frostbite model tools (Battlefield 1, Battlefront 1, 2)
PostPosted: Mon Oct 09, 2017 10:03 pm 
Offline
double-veteran
double-veteran

Joined: Tue Mar 24, 2015 8:12 pm
Posts: 1207
Has thanked: 20 times
Have thanks: 569 times
artworkplay wrote:
Is this the same with BF3, BF4 and Hardline? I tried looking and am not getting any ID (or that I can understand).

yes its the same


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

All times are UTC + 1 hour


Who is online

Users browsing this forum: Fixer015 and 10 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