ok the explanation is simple:
bms extracts compressed chunks
python extract decompressed chunks
thats why size is different
if you tell me some chunk that is "missing" i can check that
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: 2871 times
-
- 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)
Oh, hmmm, who would have thought, makes sense now, thank you.daemon1 wrote:bms extracts compressed chunks
python extract decompressed chunks
Sorry for delay, attached are some of the missing chunks that are missing.daemon1 wrote:if you tell me some chunk that is "missing" I can check that
You do not have the required permissions to view the files attached to this post.
-
- 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)
is the text file with missing chunks any good of help to check the script?daemon1 wrote:if you tell me some chunk that is "missing" i can check that
-
- 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)
i had no time to check it yet, but it would be better you if you also tell me which files they are linked frommono24 wrote:is the text file with missing chunks any good of help to check the script?daemon1 wrote:if you tell me some chunk that is "missing" i can check that
because they can be just unused chunks
-
- 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)
You mean from what sb/toc pair are from or what resType files they belong to?daemon1 wrote:which files they are linked from
Because besides the audio chunks that the script shows them automatically missing while trying to convert them, I added the others manually based on their respective resTypes, I have no clue how to search for the missing ones with the script.
You do not have the required permissions to view the files attached to this post.
-
- 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)
Hey daemon1,
...since your very busy was wondering if I can try your python script that you extracted NFSTheRun?
Want to give it a try, I've even tried for audio for example, both AudioSuperBundle and ChunksAudio in a separate folder, extracted them,
and results are still zero saying no chunks can be found for conversion using the frostbite2 decoder script, makes no sense.
I want to compare the extracted log from the script with your version and see what am I missing from extraction.
...since your very busy was wondering if I can try your python script that you extracted NFSTheRun?
Want to give it a try, I've even tried for audio for example, both AudioSuperBundle and ChunksAudio in a separate folder, extracted them,
and results are still zero saying no chunks can be found for conversion using the frostbite2 decoder script, makes no sense.
I want to compare the extracted log from the script with your version and see what am I missing from extraction.
-
- 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)
ok i checked the meshsets you provided, there are only few as i understand, they have only 1 lod, so i think they are just leftovers not used in game
as or audio, it known that audio chunk IDs were specifically encrypted in some games, so no surprise here we have same probably. The old method is not working, so i think they did something else to encrypt them.
as or audio, it known that audio chunk IDs were specifically encrypted in some games, so no surprise here we have same probably. The old method is not working, so i think they did something else to encrypt them.
-
- 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)
Only a few because it was insane to manually search each and one of them, but its odd because many more are missing even from game asset map, few from cars, so they must be somewhat linked just as you said, might be encrypted or scrambled in a weird way.daemon1 wrote:there are only few as I understand, they have only 1 lod, so I think they are just leftovers not used in game
may I please have and use the script you have for the game though? I want to give it swirl.
thank you for looking in to it
-
- 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)
ok but in this case in must be like... only a few unused chunks match, which are kind of leftovers, and VAST majority of chunks will NOT match (encrypted)
heres the script, but i dont think it will help at all
heres the script, but i dont think it will help at all
You do not have the required permissions to view the files attached to this post.
-
- ultra-n00b
- Posts: 1
- Joined: Thu Feb 08, 2018 7:30 am
- Has thanked: 2 times
Re: Frostbite model tools (Battlefield 1, Battlefront 1, 2)
@daemon1 Having a lot of trouble with Battlefield 1 mesh work. You still support it? Getting the faceposer error even after the skeleton in working folder and visual unlock tricks. I really just need some weapon models from xpack 2. I cant seem to find the chunks for the 1p gun models in another program so I am trying this one. Now I can't even open any models with this software. Can someone help pretty please. and thank you
-
- 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)
yes it still must be supportedStraightArrow wrote:@daemon1 Having a lot of trouble with Battlefield 1 mesh work. You still support it? Getting the faceposer error even after the skeleton in working folder and visual unlock tricks. I really just need some weapon models from xpack 2. I cant seem to find the chunks for the 1p gun models in another program so I am trying this one. Now I can't even open any models with this software. Can someone help pretty please. and thank you
probably you're doing something wrong
send me files, i can check them
-
- 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)
I checked the files, they are in a patch, and patch is not yet supported. You can get files with python script and then convert models with my model toolStraightArrow wrote:I really just need some weapon models from xpack 2
Re: Frostbite model tools (Battlefield 1, Battlefront 1, 2)
Thank you so much for the detailed instruction, but I don't have a EASpeedx.dll. This is my log:mono24 wrote:DAMN, so that means well have another unfinished tool like others out there all over internet, all alone an abandoned, lol (unless that was sarcasm hehe)daemon1 wrote:no, but maybe after it. Maybe.mono24 wrote:Somewhere around or until Christmas of 2018?Well. lets see, a step by step you say, ay?Hashbandit wrote:How do i extract the audo files from the game?
-make sure you have python 2.7.3 32bit installed,
-get this audio script converter download/file.php?id=13430
-extract it somewhere you like, and right click on fb3decoder.py and select Edit with IDLE
-IDLE window opens showing you what the script is about,
-now modify the following black/green lines with where you dumped the game data such as the ebx/res/chunks
-first line is where you have dumped the whole game data-second line where you want to dump the audio (make sure its not on same HDD where you dumped the game data to avoid HDD read/write errors and such),Code: Select all
dumpDirectory = r"T:\0research\swbf2"
-third line is very important as well, make sure to enter the path where you have the ealayer3.exeCode: Select all
targetDirectory = r"T:\0research\swbf2snd"
-now make sure you have these folder structures where you dumped the game data the same if not make sure to modify them accordingly,Code: Select all
ealayer3Path=r"H:\my projects\progs\ealayer3.exe"
-last step make sure you have in same folder where fb3decoder.py is both XAS/EASpeex .dll'sCode: Select all
ebxFolder = r"bundles\ebx" chunkFolder = r"chunks" chunkFolder2 = r"bundles\chunks"
-now all you have to do is click F5 on your keyboard, click OK to save script if prompted, another window will open showing you the process, and it should go trough all ebx's to convert what ever has audio in it.
have fun
Python 2.7 (r27:82525, Jul 4 2010, 09:01:59) [MSC v.1500 32 bit (Intel)] on win32
Type "copyright", "credits" or "license()" for more information.
>>> ================================ RESTART ================================
>>>
XAS1 dll detected.
EASpeex dll not detected.
Traceback (most recent call last):
File "C:\Users\liyis\Downloads\swbf2_sounds\fb3decoder.py", line 99, in <module>
startupinfo.dwFlags |= subprocess.STARTF_USESHOWWINDOW
AttributeError: 'module' object has no attribute 'STARTF_USESHOWWINDOW'
>>>
where can I find one?
-
- 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)
The WHOLE website is full of them in so many attachments, I guess another one wont hurt, yet I wish most of you who join can take some time and do some research, everything is already posted, you name it. Although based on your error, something else might be wrong too, not an expert here anyway, but try it and see what's up.Nat517 wrote:where can I find one?
You do not have the required permissions to view the files attached to this post.
Re: Frostbite model tools (Battlefield 1, Battlefront 1, 2)
Sorry about that, and really thank you for the help, I've been feeling lost the whole day until you showed up. I just figured out I always had them in the same folder with the other two, but the fb3decoder.py won't recognize EASpeex.dll and kept saying it is not found.mono24 wrote:The WHOLE website is full of them in so many attachments, I guess another one wont hurt, yet I wish most of you who join can take some time and do some research, everything is already posted, you name it. Although based on your error, something else might be wrong too, not an expert here anyway, but try it and see what's up.Nat517 wrote:where can I find one?
And about the other error, yes it kept shows up and I have no idea what to do with it. I have python 2.7, which is recommended in this thread. I also tried a newer version of python (3.6), and it just kept saying "invalid syntax".