Page 6 of 53

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

Posted: Mon Nov 20, 2017 7:14 am
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

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

Posted: Mon Nov 20, 2017 8:14 am
by erik945
What files I need use for face fixing tool of BattleFront2 ( Fb_BF2_faces.exe ) ? meshset?

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

Posted: Mon Nov 20, 2017 8:49 am
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

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

Posted: Mon Nov 20, 2017 9:02 am
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.

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

Posted: Mon Nov 20, 2017 9:36 am
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

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

Posted: Mon Nov 20, 2017 10:27 am
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.

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

Posted: Wed Nov 22, 2017 12:23 am
by ekmek
Amazing work! Has anyone looked at all 32 heads and put blender files of them somewhere?

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

Posted: Wed Nov 22, 2017 3:32 am
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.

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

Posted: Wed Nov 22, 2017 4:57 am
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?)

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

Posted: Wed Nov 22, 2017 7:12 am
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

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

Posted: Thu Nov 23, 2017 12:59 am
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?

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

Posted: Thu Nov 23, 2017 2:24 am
by episoder
i'm in no hurry, but you got a timeframe for future tool testing? @deamon1

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

Posted: Thu Nov 23, 2017 4:38 am
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 ...

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

Posted: Thu Nov 23, 2017 5:28 pm
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?

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

Posted: Thu Nov 23, 2017 5:45 pm
by daemon1
copy all * .assetbank to the folder with tool