Important information: this site is currently scheduled to go offline indefinitely by end of the year.

Frostbite model tools (Battlefield, Battlefront and others)

Post questions about game models here, or help out others!
kschade45
ultra-n00b
Posts: 9
Joined: Thu Nov 23, 2017 1:49 am
Has thanked: 3 times

Re: Frostbite model tools (Battlefield 1, Battlefront 1, 2)

Post by kschade45 »

episoder wrote:i gotta dump all before i run this? it does not extract chunks... right?

for clarity:

i used the main folder. latest patch (it's early trial, but patched). it found everything, but 16100 chunks missing. it extracts ebx and 'res' but no chunks. i tried just the data folder too, but same result.

filters tested "iden", "vader", "assault". i dunno if they are in the data or patch folder.
I had to delete the program folder, re-extract, pick JUST the DATA folder, and then go through the process again. 0 chunks missing now. Just crashes on me each time.
User avatar
HeliosAI
mega-veteran
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)

Post by HeliosAI »

Here's a very ultra thorough tutorial about archive extraction using UFBE: https://sta.sh/02dc32j9pq4 (3. to 7. is the main part)
I hope this is newbie proof, if not tell me and i will change stuff. There's no link references in that specific one because it will be part of this: https://sta.sh/04jxcv9d9o0 , a set of tutorials so really everyone should be able to extract stuff on their own and fix most common problems when using models.
daemon1
MEGAVETERAN
MEGAVETERAN
Posts: 2647
Joined: Tue Mar 24, 2015 8:12 pm
Has thanked: 65 times
Been thanked: 2871 times

Re: Frostbite model tools (Battlefield 1, Battlefront 1, 2)

Post by daemon1 »

kschade45 wrote:Just crashes on me each time.
Whats the error message on the crash?
daemon1
MEGAVETERAN
MEGAVETERAN
Posts: 2647
Joined: Tue Mar 24, 2015 8:12 pm
Has thanked: 65 times
Been thanked: 2871 times

Re: Frostbite model tools (Battlefield 1, Battlefront 1, 2)

Post by daemon1 »

episoder wrote:i gotta dump all before i run this? it does not extract chunks... right?
No you can either dump all, or just files you need. Yes, it extracts chunks. Either all of them, or specific ones.
kschade45
ultra-n00b
Posts: 9
Joined: Thu Nov 23, 2017 1:49 am
Has thanked: 3 times

Re: Frostbite model tools (Battlefield 1, Battlefront 1, 2)

Post by kschade45 »

daemon1 wrote:
kschade45 wrote:Just crashes on me each time.
Whats the error message on the crash?
It doesn't give an error message, When trying to dump the full game after about 2 minutes it will stop responding and windows will close it. Worked fine when I only dumped ebx files. I'm running Windows 10 64 bit.
daemon1
MEGAVETERAN
MEGAVETERAN
Posts: 2647
Joined: Tue Mar 24, 2015 8:12 pm
Has thanked: 65 times
Been thanked: 2871 times

Re: Frostbite model tools (Battlefield 1, Battlefront 1, 2)

Post by daemon1 »

UFBE 0.2 released!

Changes:
- Support for: Battlefield 1, SWBF1, SWBF2 (alpha, beta and full game)
- chunks will have long lowercase names, so all previous tools will work
- fixed crash if some CAS files are missing
- added resource types for BF1

You need to delete all files from tool folder, otherwise it will crash.
You do not have the required permissions to view the files attached to this post.
Last edited by daemon1 on Fri Nov 24, 2017 7:18 pm, edited 1 time in total.
erik945
mega-veteran
mega-veteran
Posts: 257
Joined: Fri Jan 20, 2012 5:43 pm
Has thanked: 49 times
Been thanked: 139 times

Re: Frostbite model tools (Battlefield 1, Battlefront 1, 2)

Post by erik945 »

Thank you!
Select game or game/data folder?
daemon1
MEGAVETERAN
MEGAVETERAN
Posts: 2647
Joined: Tue Mar 24, 2015 8:12 pm
Has thanked: 65 times
Been thanked: 2871 times

Re: Frostbite model tools (Battlefield 1, Battlefront 1, 2)

Post by daemon1 »

erik945 wrote:Thank you!
Select game or game/data folder?
yes, data. Patch is not supported yet
daemon1
MEGAVETERAN
MEGAVETERAN
Posts: 2647
Joined: Tue Mar 24, 2015 8:12 pm
Has thanked: 65 times
Been thanked: 2871 times

Re: Frostbite model tools (Battlefield 1, Battlefront 1, 2)

Post by daemon1 »

kschade45 wrote:It doesn't give an error message, When trying to dump the full game after about 2 minutes it will stop responding and windows will close it. Worked fine when I only dumped ebx files. I'm running Windows 10 64 bit.
Hardware or antivirus problem probably. From the tool's point of view, EBX and chunks are the same, so it can't be any difference extracting them. Also other people were able to fully dump it. Check your system/application logs for errors.
daemon1
MEGAVETERAN
MEGAVETERAN
Posts: 2647
Joined: Tue Mar 24, 2015 8:12 pm
Has thanked: 65 times
Been thanked: 2871 times

Re: Frostbite model tools (Battlefield 1, Battlefront 1, 2)

Post by daemon1 »

A quick fix (same post above updated)

- chunks will have long lowercase names (so texture tool can find them)
- added resource types for BF1

Now I checked that all my previous mesh tools, texture tool, audio conversion script - all work OK.
erik945
mega-veteran
mega-veteran
Posts: 257
Joined: Fri Jan 20, 2012 5:43 pm
Has thanked: 49 times
Been thanked: 139 times

Re: Frostbite model tools (Battlefield 1, Battlefront 1, 2)

Post by erik945 »

Understood with face_fix.
At me it turned out so (win7)
1. call the command line.
2. Use the cd command to go to the exe folder.
call Fb_SWBF2_faces with the desired vur.
Example

Code: Select all

J: \ SWBF2u \ 6> Fb_SWBF2_faces J: \ SWBF2u \ 6 \ bundles \ characters \ hero \ hansolo \ hansolo_01 \ vur_hansolo_01.ebx
3. Profit!
Otherwise I get "Asset not found in asset banks (2)" error.
May be a problem in determining the location of the exe and assetbank (how do you do this? GetModuleFileName () function?)?
Thanks again for the tools.
daemon1
MEGAVETERAN
MEGAVETERAN
Posts: 2647
Joined: Tue Mar 24, 2015 8:12 pm
Has thanked: 65 times
Been thanked: 2871 times

Re: Frostbite model tools (Battlefield 1, Battlefront 1, 2)

Post by daemon1 »

erik945 wrote: GetModuleFileName () function?)?.
no, i'm searching them in current folder. Which is supposed to be tool folder, if system will not substitute this for your working folder in your "users" folder
OrangeC
double-veteran
double-veteran
Posts: 868
Joined: Sun Apr 20, 2008 2:58 am
Has thanked: 5 times
Been thanked: 41 times

Re: Frostbite model tools (Battlefield 1, Battlefront 1, 2)

Post by OrangeC »

Is it possible to convert an ebx file to txt in the newer games?
daemon1
MEGAVETERAN
MEGAVETERAN
Posts: 2647
Joined: Tue Mar 24, 2015 8:12 pm
Has thanked: 65 times
Been thanked: 2871 times

Re: Frostbite model tools (Battlefield 1, Battlefront 1, 2)

Post by daemon1 »

OrangeC wrote:Is it possible to convert an ebx file to txt in the newer games?
sure it is. I corrected ebx2txt for SWBF2. Other games may be different.
kschade45
ultra-n00b
Posts: 9
Joined: Thu Nov 23, 2017 1:49 am
Has thanked: 3 times

Re: Frostbite model tools (Battlefield 1, Battlefront 1, 2)

Post by kschade45 »

daemon1 wrote:UFBE 0.2 released!

Changes:
- Support for: Battlefield 1, SWBF1, SWBF2 (alpha, beta and full game)
- chunks will have long lowercase names, so all previous tools will work
- fixed crash if some CAS files are missing
- added resource types for BF1

You need to delete all files from tool folder, otherwise it will crash.
Tool works great now, dumped the whole game with no issues. Still having issues with the audio extractor script. Loads the tools and nothing else happens. Is there anything special I need to do or look for?
Post Reply