Tools for mesh extraction (with skeletons, fully rigged) for Frostbite games. Also can fix faces. Currently supported:
- Battlefield 1
- Battlefield 3
- Battlefield 4
- Battlefield Hardline
- Medal of Honor Warfighter
- Star Wars Battlefront 1
- Star Wars Battlefront 2
- Need for Speed Payback
Tools for more games posted later here: viewtopic.php?p=147355#p147355
Detailed tutorials by Crofty for everything you need to use the tools https://sta.sh/04jxcv9d9o0
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.
Important information: this site is currently scheduled to go offline indefinitely by end of the year.
Frostbite model tools (Battlefield, Battlefront and others)
-
- MEGAVETERAN
- Posts: 2647
- Joined: Tue Mar 24, 2015 8:12 pm
- Has thanked: 65 times
- Been thanked: 2870 times
Frostbite model tools (Battlefield, Battlefront and others)
You do not have the required permissions to view the files attached to this post.
Last edited by daemon1 on Sun Feb 20, 2022 7:36 am, edited 8 times in total.
- takoyaki111
- advanced
- Posts: 48
- Joined: Mon Oct 21, 2013 7:43 pm
- Has thanked: 7 times
- Been thanked: 3 times
Re: Frostbite model tools (Battlefield 1, Battlefront 1, 2)
Anyone know of any dumper scripts that dump Battlefront 2s beta?
Re: Frostbite model tools (Battlefield 1, Battlefront 1, 2)
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)"
"Asset not found in asset banks (2)"
-
- MEGAVETERAN
- Posts: 2647
- Joined: Tue Mar 24, 2015 8:12 pm
- Has thanked: 65 times
- Been thanked: 2870 times
Re: Frostbite model tools (Battlefield 1, Battlefront 1, 2)
UFBE 0.2.1
Changes:
- case-insensitive search
- cloth and other "special" meshes (which require no chunks) will now have a number in its name, allowing mesh tool to convert it
Changes:
- case-insensitive search
- cloth and other "special" meshes (which require no chunks) will now have a number in its name, allowing mesh tool to convert it
You do not have the required permissions to view the files attached to this post.
Last edited by daemon1 on Sat Dec 02, 2017 8:19 pm, edited 1 time in total.
Re: Frostbite model tools (Battlefield 1, Battlefront 1, 2)
Yeah never mind I fixed it. Thanks for making the tools btw, you are a true legend.
Re: Frostbite model tools (Battlefield 1, Battlefront 1, 2)
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?
- HeliosAI
- mega-veteran
- Posts: 166
- Joined: Wed Nov 17, 2010 2:57 pm
- Has thanked: 151 times
- Been thanked: 62 times
Re: Frostbite model tools (Battlefield 1, Battlefront 1, 2)
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!
Thanks so much for this either way!
- takoyaki111
- advanced
- Posts: 48
- Joined: Mon Oct 21, 2013 7:43 pm
- Has thanked: 7 times
- Been thanked: 3 times
Re: Frostbite model tools (Battlefield 1, Battlefront 1, 2)
Use the demoo0Crofty0o 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!
-
- MEGAVETERAN
- Posts: 2647
- Joined: Tue Mar 24, 2015 8:12 pm
- Has thanked: 65 times
- Been thanked: 2870 times
Re: Frostbite model tools (Battlefield 1, Battlefront 1, 2)
I will probably update texture converter. Or create something new. But not now.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?
-
- MEGAVETERAN
- Posts: 2647
- Joined: Tue Mar 24, 2015 8:12 pm
- Has thanked: 65 times
- Been thanked: 2870 times
Re: Frostbite model tools (Battlefield 1, Battlefront 1, 2)
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.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!
-
- MEGAVETERAN
- Posts: 2647
- Joined: Tue Mar 24, 2015 8:12 pm
- Has thanked: 65 times
- Been thanked: 2870 times
Re: Frostbite model tools (Battlefield 1, Battlefront 1, 2)
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.
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.
You do not have the required permissions to view the files attached to this post.
-
- beginner
- Posts: 39
- Joined: Mon Nov 02, 2015 6:24 pm
- Has thanked: 23 times
- Been thanked: 3 times
Re: Frostbite model tools (Battlefield 1, Battlefront 1, 2)
Can someone explain how to work the python scripts for dumping?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.
- HeliosAI
- mega-veteran
- Posts: 166
- Joined: Wed Nov 17, 2010 2:57 pm
- Has thanked: 151 times
- Been thanked: 62 times
Re: Frostbite model tools (Battlefield 1, Battlefront 1, 2)
Thanks, i got it to work properly! No crashes or bugs happening with the mesh and face tools at the moment.
https://sta.sh/01s1dd3fmnpj
Here's a small tutorial on that. Hope that helps!lyutor1945 wrote:
Can someone explain how to work the python scripts for dumping?
https://sta.sh/01s1dd3fmnpj
-
- veteran
- Posts: 116
- Joined: Wed Oct 05, 2011 9:40 pm
- Has thanked: 49 times
- Been thanked: 5 times
Re: Frostbite model tools (Battlefield 1, Battlefront 1, 2)
Is this the same with BF3, BF4 and Hardline? I tried looking and am not getting any ID (or that I can understand).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.
-
- MEGAVETERAN
- Posts: 2647
- Joined: Tue Mar 24, 2015 8:12 pm
- Has thanked: 65 times
- Been thanked: 2870 times
Re: Frostbite model tools (Battlefield 1, Battlefront 1, 2)
yes its the sameartworkplay wrote:Is this the same with BF3, BF4 and Hardline? I tried looking and am not getting any ID (or that I can understand).