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!
Post Reply
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:have you looked into how to decode the new version of ebx for audio/music? i can send samples from both battlefront 2 and nfs payback if needed.
i posted the scripts here is this thread
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 »

What files I need use for face fixing tool of BattleFront2 ( Fb_BF2_faces.exe ) ? meshset?
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:What files I need use for face fixing tool of BattleFront2 ( Fb_BF2_faces.exe ) ? meshset?
you need VUR, skeleton and 2 assetbanks: generic (230MB) and small one containing that face
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!
Where can I find these files, and in what order should I specify them in console for the face fixer parameters?
If you can, write an example.
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!
Where can I find these files, and in what order should I specify them in console for the face fixer parameters?
If you can, write an example.
read first post in this thread. Its all written there
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 »

The latest dumper script.

There was a problem with some chunks leading to incorrect (broken) textures. Now with this version it must not happen.

If you already dumped whole game, delete only chunks folder, and re-dump. After that, all textures must convert properly.
You do not have the required permissions to view the files attached to this post.
ekmek
n00b
Posts: 12
Joined: Mon Nov 28, 2016 7:53 pm
Has thanked: 1 time

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

Post by ekmek »

Amazing work! Has anyone looked at all 32 heads and put blender files of them somewhere?
Just looking for OBJs and FBX files of 3D models from games. No Skeletons or textures needed :)
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 »

@daemon

Unfortunatley the audio script you posted doesn't work with nfs payback. haven't tried battlefront 2 but im asuming it uses same ebx format.

It doesn't output anything. just lists the files that its working on in blue, but oither than that, notings being outputted. And i have ealayer3 and xa_decode correctly in the proper directories.
sin10001
ultra-n00b
Posts: 3
Joined: Tue Aug 16, 2016 7:17 am
Has thanked: 6 times

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

Post by sin10001 »

1. Thank you, Daemon, for putting in such hard work on this - it's far more than what most do, but it's SO helpful (and awesome) to have such tools. You deserve lots of credit.

2. BRB (script ran *very* slow first time, but after restart of pc it's faster?)
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:@daemon

Unfortunatley the audio script you posted doesn't work with nfs payback. haven't tried battlefront 2 but im asuming it uses same ebx format.

It doesn't output anything. just lists the files that its working on in blue, but oither than that, notings being outputted. And i have ealayer3 and xa_decode correctly in the proper directories.
it was made specifically for battlefront 2 and its working with battlefront 2. I dont have nfs payback
SciBott
ultra-n00b
Posts: 9
Joined: Sat Jun 18, 2016 8:44 am
Has thanked: 3 times

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

Post by SciBott »

I seem to not understand how to use swbf2full.py. I installed the Python 2.7.3 x86 version, click open swbf2full.py, a cmd window flashes up, and closes. cms.pyc and noncms.pyc are made in the directory, not finding anything else done. Loading the exe included with the script opens a cmd window that immediately pops up the application has stopped responding dialog. Dragging any of the files onto the python.exe does the same. What am I missing?
episoder
mega-veteran
mega-veteran
Posts: 162
Joined: Fri Oct 16, 2015 8:05 pm
Has thanked: 6 times
Been thanked: 78 times

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

Post by episoder »

i'm in no hurry, but you got a timeframe for future tool testing? @deamon1
sin10001
ultra-n00b
Posts: 3
Joined: Tue Aug 16, 2016 7:17 am
Has thanked: 6 times

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

Post by sin10001 »

SciBott wrote:I seem to not understand how to use swbf2full.py. ...
Run python's "IDLE" (type it in your search bar for Win 10)
Click 'File' > 'Open' > select swbf2full.py
Edit the paths as necessary (props to Crofty: https://sta.sh/01s1dd3fmnpj)
Hit F5 and patiently sleep/wait ...
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 »

Sorry, I can not use your tools.
Let's take the step by step.
step one:
unpack the game files:

Code: Select all

j: \ SWBF2u2 \ bundles \
j: \ SWBF2u2 \ chunks \
step two:
prepare tools, copy skeletons

Code: Select all

j: \ mesh tools \ Fb_BF1_faces.exe
j: \ mesh tools \ Fb_BF1_mesh.exe
j: \ mesh tools \ Fb_SWBF_faces.exe
j: \ mesh tools \ Fb_SWBF_mesh.exe
j: \ mesh tools \ Fb_SWBF2_faces.exe
j: \ mesh tools \ Fb_SWBF2_mesh.exe
j: \ mesh tools \ walrus_humanmale.ebx
j: \ mesh tools \ walrus_humanmale_1p.ebx
j: \ mesh tools \ walrus_humanmale_1p_masterske.ebx
j: \ mesh tools \ walrus_humanmale_masterske.ebx
step three:
copy all * .assetbank of j:\SWBF2u2\bundles\res\animations\antanimations\ to the folder with "vur"

Code: Select all

j:\SWBF2u2\bundles\ebx\characters\hero\hansolo\hansolo_01\cloth\
j:\SWBF2u2\bundles\ebx\characters\hero\hansolo\hansolo_01\texture\
j:\SWBF2u2\bundles\ebx\characters\hero\hansolo\hansolo_01\vur_hansolo_01_bpb\
j:\SWBF2u2\bundles\ebx\characters\hero\hansolo\hansolo_01\a1_m0lib_ds02_s0200_gp_win32_antstate 0000000000000000.AssetBank
j:\SWBF2u2\bundles\ebx\characters\hero\hansolo\hansolo_01\a1_m0lib_ds02_s0205_gp_win32_antstate 0000000000000000.AssetBank
j:\SWBF2u2\bundles\ebx\characters\hero\hansolo\hansolo_01\a1_m0lib_ds02_s0207_gp_win32_antstate 0000000000000000.AssetBank
j:\SWBF2u2\bundles\ebx\characters\hero\hansolo\hansolo_01\a1_m0lib_ds02_s0215_nis_win32_antstate 0000000000000000.AssetBank
j:\SWBF2u2\bundles\ebx\characters\hero\hansolo\hansolo_01\a1_m0lib_ds02_s0300_gp_win32_antstate 0000000000000000.AssetBank
j:\SWBF2u2\bundles\ebx\characters\hero\hansolo\hansolo_01\a1_m0lib_ds02_s0305_se_win32_antstate 0000000000000000.AssetBank
j:\SWBF2u2\bundles\ebx\characters\hero\hansolo\hansolo_01\a1_m0lib_ds02_s0350_gp_win32_antstate 0000000000000000.AssetBank
....
j:\SWBF2u2\bundles\ebx\characters\hero\hansolo\hansolo_01\yavin_01_win32_antstate 0000000000000000.AssetBank
j:\SWBF2u2\bundles\ebx\characters\hero\hansolo\hansolo_01\yavin_012_win32_antstate 0000000000000000.AssetBank
j:\SWBF2u2\bundles\ebx\characters\hero\hansolo\hansolo_01\vur_hansolo_01.ebx
j:\SWBF2u2\bundles\ebx\characters\hero\hansolo\hansolo_01\vur_hansolo_01_bpb.ebx
j:\SWBF2u2\bundles\ebx\characters\hero\hansolo\hansolo_01\hansolo_01.ebx
j:\SWBF2u2\bundles\ebx\characters\hero\hansolo\hansolo_01\hansolo_01_class.ebx
j:\SWBF2u2\bundles\ebx\characters\hero\hansolo\hansolo_01\hansolo_01_class_schematics.ebx
j:\SWBF2u2\bundles\ebx\characters\hero\hansolo\hansolo_01\hansolo_01_jacket.ebx
j:\SWBF2u2\bundles\ebx\characters\hero\hansolo\hansolo_01\hansolo_01_jacket_clothwrappingasset.ebx
j:\SWBF2u2\bundles\ebx\characters\hero\hansolo\hansolo_01\hansolo_01_jacket_mesh.ebx
j:\SWBF2u2\bundles\ebx\characters\hero\hansolo\hansolo_01\hansolo_01_mesh.ebx
Step four:
Drag and drop
j: \ SWBF2u2 \ bundles \ ebx \ characters \ hero \ hansolo \ hansolo_01 \ vur_hansolo_01.ebx
on
j: \ mesh tools \ Fb_SWBF2_faces.exe

getting an error

Code: Select all

Description:
  Stopped working

Signature of the problem:
  Event name of the problem: CLR20r3
  Signature of problem 01: fb_swbf2_faces.exe
  Signature of the problem 02: 1.0.0.0
  Signature of the problem 03: 59d92e52
  Signature of problem 04: mscorlib
  Signature of the problem 05: 2.0.0.0
  Signature of the problem 06: 4ca2b851
  Signature of the problem 07: 349e
  Signature of problem 08: e1
  Signature of Problem 09: System.IO.FileNotFoundException
  OS version: 6.1.7601.2.1.0.256.1
  Language code: 1049

Read the privacy statement on the Internet:
  http://go.microsoft.com/fwlink/?linkid=104288&clcid=0x0419

If the privacy statement on the Internet is not available, check out its local version:
  C: \ Windows \ system32 \ en-US \ erofflps.txt
  What am I doing wrong?
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 »

copy all * .assetbank to the folder with tool
Post Reply