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!
daemon1
MEGAVETERAN
MEGAVETERAN
Posts: 2647
Joined: Tue Mar 24, 2015 8:12 pm
Has thanked: 65 times
Been thanked: 2871 times

Re: How do i convert files

Post by daemon1 »

mono24 wrote:
daemon1 wrote:the new tool i made - UFBE can unpack all unpatched files from Battlefield 1. No need for scripts.
Yes sir, I know and its very nice to have it as one option, but was hoping for a script that actually extracts everything including patched/DLCs and all :D :) :wink:
as soon as i'll have time, i'll add support for patches
daemon1
MEGAVETERAN
MEGAVETERAN
Posts: 2647
Joined: Tue Mar 24, 2015 8:12 pm
Has thanked: 65 times
Been thanked: 2871 times

Re: Jesus christ a simple explanation of the tools please?

Post by daemon1 »

GM000 wrote:I've posted so many times. I extracted the entire Battlefront 2 Game with UFBE and all of useful files are .Meshset .Texture and .EBX
Could someone show mw how to convert them to .FBX | .DDs or .Png | .Mp3 or .Wav
Please don't redirect to crofty's website, i've tried or either I did something wrong, which I don't think or it doesn't work

Simple tut and tools anyone?
crofty's tutorial is very detailed and correct.
We can't help you if you don't say what exactly is not working, what do you do, and what happens.
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:Can I somehow use UFBE to unpack SWBF1 patches? For example, rename folders.
Can you explain its logic in the search the files?
i have no idea what can happen if you try that. At your own risk.
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 »

DerBlaueKlaus wrote:most of the meshes are working fine but I still get crashes or errors when converting some meshes
yes i know that

this is a tool problem, i will fix this later.
as temporary solution, you can delete the ASCII sceleton in the beginning of the file (if you know the file format)
DerBlaueKlaus
ultra-n00b
Posts: 8
Joined: Sun Oct 08, 2017 12:49 pm
Has thanked: 3 times

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

Post by DerBlaueKlaus »

daemon1 wrote:
DerBlaueKlaus wrote:most of the meshes are working fine but I still get crashes or errors when converting some meshes
yes i know that

this is a tool problem, i will fix this later.
as temporary solution, you can delete the ASCII sceleton in the beginning of the file (if you know the file format)
thanks for the fast reply ... I think I'll wait for the update ;)

So I'll convert the characters first :)
Hashbandit
ultra-n00b
Posts: 8
Joined: Wed Nov 29, 2017 3:08 pm

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

Post by Hashbandit »

Has anybody managed to extract audio files from the game?

can anybody make a turorial on how to do so please or upload the files to MEGA.
JohnMadden
ultra-n00b
Posts: 8
Joined: Fri Sep 23, 2016 1:45 am

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

Post by JohnMadden »

Hashbandit wrote:Has anybody managed to extract audio files from the game?

can anybody make a turorial on how to do so please or upload the files to MEGA.
Please read the thread.
GM000
ultra-n00b
Posts: 9
Joined: Thu Nov 23, 2017 3:02 pm
Has thanked: 1 time

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

Post by GM000 »

DerBlaueKlaus wrote:most of the meshes are working fine but I still get crashes or errors when converting some meshes. I have tried to convert the MC80 main hull and got a crash. same with resurgentclass_stardestroyer. The ascii isn't loading into blender and gives an error msg some smd are loading but some crashing Blender.

What can I do?

Here is the error msg in Blender

Image

Thank you for your help
This happened to me too. plz help
mono24
double-veteran
double-veteran
Posts: 840
Joined: Sat Nov 06, 2010 12:27 am
Has thanked: 436 times
Been thanked: 235 times

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

Post by mono24 »

Is there any python script for Mass Effect: Andromeda out there?
I've searched high an low and no sing of anything like that.

for instance if I try the last swbf2full script all I get is:

Code: Select all

>>> 
Unpatched cat 1 not found or error reading format
R:\Origin\games\Mass Effect Andromeda\Data\Win32\streaminginstall\ayainstallpackage\cas.cat 24309
R:\Origin\games\Mass Effect Andromeda\Data\Win32\streaminginstall\ayainstallpackage\en\cas.cat 24499
R:\Origin\games\Mass Effect Andromeda\Data\Win32\streaminginstall\eosinstallpackage\cas.cat 147771
R:\Origin\games\Mass Effect Andromeda\Data\Win32\streaminginstall\eosinstallpackage\en\cas.cat 148188
R:\Origin\games\Mass Effect Andromeda\Data\Win32\streaminginstall\levelprereqinstallpackage\cas.cat 214663
R:\Origin\games\Mass Effect Andromeda\Data\Win32\streaminginstall\levelprereqinstallpackage\en\cas.cat 214733
Unpatched cat 7 not found or error reading format
R:\Origin\games\Mass Effect Andromeda\Data\Win32\streaminginstall\mecdefaultinstallpackage\cas.cat 215690
R:\Origin\games\Mass Effect Andromeda\Data\Win32\streaminginstall\mppatchinstallpackage\cas.cat 216042
R:\Origin\games\Mass Effect Andromeda\Data\Win32\streaminginstall\multiplayerinstallpackage\cas.cat 248213
R:\Origin\games\Mass Effect Andromeda\Data\Win32\streaminginstall\multiplayerinstallpackage\en\cas.cat 248255
R:\Origin\games\Mass Effect Andromeda\Data\Win32\streaminginstall\restofthegameinstallpackage\cas.cat 478984
R:\Origin\games\Mass Effect Andromeda\Data\Win32\streaminginstall\restofthegameinstallpackage\en\cas.cat 480150
R:\Origin\games\Mass Effect Andromeda\Data\Win32\streaminginstall\spinitialinstallpackage\cas.cat 541995
R:\Origin\games\Mass Effect Andromeda\Data\Win32\streaminginstall\spinitialinstallpackage\en\cas.cat 542423
ambsibling.toc

Traceback (most recent call last):
  File "C:\Users\User\Desktop\swbf2full2\swbf2full.py", line 387, in <module>
    if "tocRoot" in locals():  dumpRoot(tocRoot)
  File "C:\Users\User\Desktop\swbf2full2\swbf2full.py", line 328, in dumpRoot
    dump(fname,targetDirectory)
  File "C:\Users\User\Desktop\swbf2full2\swbf2full.py", line 140, in dump
    toc=cas.readToc(tocPath)
  File "C:\Users\User\Desktop\swbf2full2\cas.py", line 95, in readToc
    return Entry(unXor(tocPath))
  File "C:\Users\User\Desktop\swbf2full2\cas.py", line 37, in __init__
    raise Exception("Entry does not start with \\x82 or (rare) \\x87 byte. Position: "+str(f.tell()))
Exception: Entry does not start with \x82 or (rare) \x87 byte. Position: 1
>>>
8thwond3r
n00b
Posts: 11
Joined: Mon Oct 02, 2017 11:55 am

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

Post by 8thwond3r »

daemon1 wrote:
8thwond3r wrote:While trying to extract nfs payback files, i hit the dump button and get error message as "399 files failed because of chunk not found"...
Also while scanning cas/cat, it says 0 cas records found. What am i missing ?
wrong game selected

I successfully extracted the payback cas files with your older "swbf2beta" python script !!
But the mesh extractor tools throw file not found exceptions after "frostbite_faceposer" crash...
Screenshot (82).png
Maybe it doesn't identify the chunk file related to the Meshset file.
Is there any way to identify which chunk file is for which meshset file ??
On the other hand, The texture converter tool identifies the related chunks and converts them to dds successfully..
You do not have the required permissions to view the files attached to this post.
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 »

8thwond3r wrote:But the mesh extractor tools throw file not found exceptions
all games are different. swbf2 mesh will not work with NFS
8thwond3r
n00b
Posts: 11
Joined: Mon Oct 02, 2017 11:55 am

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

Post by 8thwond3r »

daemon1 wrote:
8thwond3r wrote:But the mesh extractor tools throw file not found exceptions
all games are different. swbf2 mesh will not work with NFS
Are you planning to make one for this game too ?
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 »

8thwond3r wrote:
daemon1 wrote:
8thwond3r wrote:But the mesh extractor tools throw file not found exceptions
all games are different. swbf2 mesh will not work with NFS
Are you planning to make one for this game too ?
maybe i will, if someone give me files
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.1 release, file moved to the first page. It will be updated there from now on.
Just small fixes:
- 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
note: you have to delete "cache.dat" and scan bundles after UFBE update, or make clean run

SWBF2 tool updated (first post in the thread), again a few small changes:
- fixed meshes with lots of faces
- static meshes fixed (need no skeleton anymore, ascii format works)
mono24
double-veteran
double-veteran
Posts: 840
Joined: Sat Nov 06, 2010 12:27 am
Has thanked: 436 times
Been thanked: 235 times

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

Post by mono24 »

daemon1 wrote:maybe i will, if someone give me files
they've been posted for a very long time now hehe, assuming those are the ones you need to check
viewtopic.php?f=16&t=17236
Post Reply