Aller au contenu

Photo

Modding and Data Structure


  • Veuillez vous connecter pour répondre
106 réponses à ce sujet

#51
OriginOfWaves

OriginOfWaves
  • Members
  • 264 messages

:)

 

Seems there is a little bit of progress with the Frostbite3 engine data unpacker in the BF4 community, although it seems like only one guy is working on it. Reverse engineering packed data is not really my thing, I'm more of a memory hack/DLL inject kind of guy. However, over on http://forum.cheaten...der=asc&start=0 they've made quite a bit of progress figuring out where stuff is located in the running binary - among other things, a semi-working zoom for tactical cam.

Looks like the crafty folks at CheatEngine managed to figure out the normal and tac cam among other things. Great find. They added a fixed zoom script for both. quite helpful.


  • Clarian aime ceci

#52
fireundubh

fireundubh
  • Members
  • 16 messages

I have been holding my money since I heard this game is unfortunately a console port, still waiting for their patch to address pc control issues, this is a great news to me.

 

Cross-platform, not a port.



#53
Aisabel

Aisabel
  • Members
  • 170 messages

David Gaider mentions that DAI will not have a Mod Override Folder making it near impossible for fans to create their own content. Saw that in another topic about modding awhile back.


Can't you just create an override file like I had to do with DAO and DA2?

#54
StrangeStrategy

StrangeStrategy
  • Members
  • 734 messages

Maker be with you, Heralds of Modding.

That stuff is beyond most of us, but as you know you're seriously appreciated by all gamers. I hope anyone from Bioware posts here and sheds some light on the subject and as you said, meet you halfway.


  • MouseHopper aime ceci

#55
Silvist

Silvist
  • Members
  • 350 messages

Wow took me long enough to find an actual thread on the main forums related to this stuff.  I been messing around since the games release, and found alot of interesting things.

 

I was able to use bf4extractor to extract the audio files, like done at xentax.  Though, it also dumped the entire game. It took about 1 hour to extract the contents.

 

The odd part is that all of the files are 0 kb, though in this video it shows it converting the 0kb chunks into music files with actual sizes:

 

http://www.youtube.c...h?v=UVUv_L7m4g8

 

It shows the entire file structure for the game.  Both the textures and meshes are extracted in some format called ebx.  The extractor comes with an ebx to text converter, though it didn't seem to convert when I ran it.  I made sure for all of this to change the file paths to fit DA:I.  It still showed it working, but no output at all.

 

I also tried to use process extractor and ninja ripper, which apparently were used to grab bf4 models from the exe directly.  From what I saw for the bf4 explanation it shows the exe accessing cas files while the game is running; which allowed you to rip from it.  This sadly didn't work for me either, as it did not show the exe accessing the files.  

 

Some examples of the folders that were dumped:

 

animations

da3

default

effects

facefx

localization

overridenassets

prototypecontent

systems

testcontent

ui

vo

zz_testcontent

 

Alot of the folders and file names sound just like the previous games.  Such as:

 

Mesh examples:

 

mt_basa_hf_mesh
hf_basenude_model
bdy_hm_cullen02_model_mesh
 
Texture examples:
 
hf_hed_bas_d
hf_hed_bas_n
hf_hed_bas_s

 

 

Cullen for instance has the following folders:

appearances\models

appearances\textures

 

I've been trying to search all over the net for any info I can find pertaining to this.  So instead I tried to spread info between forums to see if anyone with some knowledge with pop up.  Sadly it seems like there isn't alot of interest in it.  I made a couple posts over at xentax, but still haven't gotten a response.

 

Considering bf4 has been completely extracted, I don't see how this should be that much different.  From what it seems like, all of the file formats are the same.  So I tried to look all over for information about bf4, though I personally haven't worked much with the game.

 

From what I can tell the bf4extractor pretty much extracts all of the game assets into some huge file size of like 60 gb.  Your supposed to run the dumper twice to extract the regular files, and the update files.  I followed all of the guides I could find, but ended up with the same results as above.


  • sporkmunster, Schratty, Renmiri1 et 1 autre aiment ceci

#56
SpiritWolf448

SpiritWolf448
  • Members
  • 99 messages

@GM Silvist

 

Keep in mind BioWarEA heavily modified the Frostbite Engine for DAI (otherwise it would not even have been possible to do the game with it). Same goes for the file formats. They where changed. Not completely, but enough so that the existing Frostbite 3 Tools are more or less worthless. Or so I hear.



#57
Renmiri1

Renmiri1
  • Members
  • 6 009 messages

Voider (from Mass Effect's ME3xplorer) has been workingon this for me

 

He has a toolset to view CAS, CAT, TOC and DAS files and export decompressed info out of CAS. We are posting the info on the ME3xplorer forum for now, till we get more people interested then I might make a DA_Tools forum

 

Code and executable here

 

http://me3explorer.f...327.html#p13327

 

and here 

http://www.mediafire...xtm/DA_Tool.rar

 

 

tumblr_nfv8m8iFhe1u4bdzio1_1280.gif

 

93oal6b6bswxe2ufg.jpg

 

ssf9dki4765ou6pfg.jpg


  • sporkmunster, Clarian, Silvist et 6 autres aiment ceci

#58
Renmiri1

Renmiri1
  • Members
  • 6 009 messages

@GM Silvist

 

Keep in mind BioWarEA heavily modified the Frostbite Engine for DAI (otherwise it would not even have been possible to do the game with it). Same goes for the file formats. They where changed. Not completely, but enough so that the existing Frostbite 3 Tools are more or less worthless. Or so I hear.

Same for the Unreal engine on Mass Effect 3 but Voider made a tool that could read them and swap / add stuff to them


  • MouseHopper aime ceci

#59
Silvist

Silvist
  • Members
  • 350 messages

@SpiritWolf448 -  i agree that they changed, but the tools aren't useless.  I just don't have enough scripting knowledge to siff through all of the code to figure out the differences.  If the tools were 100% useless, than we wouldn't have been able to extract anything.  The audio files were extracted successfully with no issue.  I just don't have enough experience with frostbite 3/bf4 formats to know how all the file types work.  The extraction method itself seemed to work fine, I believe the issue was more related to hexcoding/header code.

 

@Renmiri1 - I'm very interested in this took, thank you so much!  This is beyond what I was looking for ^^  Thanks for all the hard work.  I'll take a look at the forums and info.


  • MouseHopper aime ceci

#60
Renmiri1

Renmiri1
  • Members
  • 6 009 messages

P: I asked for a forum for "Fan Creations" just like ME3 had, this where you can post little mods

 

I just want to retexture my skyhold jammies!

 

And look at  the mesh files for my bald elf  :wub:


  • DalishRanger aime ceci

#61
Renmiri1

Renmiri1
  • Members
  • 6 009 messages

And maybe add a new dialog wheel or two ;)

 

tumblr_nfsbbsIPV51u4bdzio1_1280.png


  • marquiseondore aime ceci

#62
MouseHopper

MouseHopper
  • Members
  • 193 messages

All I can say is Bless you all for trying.  We desperately need some mods, and quickly.  Thank you so much for doing what you can!!



#63
adembroski

adembroski
  • Members
  • 136 messages

Has anyone gone over to some Battlefield forums and looked for info there? I know there isn't a big modding community for BF, but you'd think someone's tinkered with it.



#64
Silvist

Silvist
  • Members
  • 350 messages

@Renmiri1 - I was able to use the program no problem.  I used the extractor, and it came out as a bin file.  Any idea how to go about finding its proper name/file type?

 

I'm really interested in the chargen file, that controls the sliders.  As well as the full male and female body meshes; so the process of molding can begin ^^


  • Wolfbrotther aime ceci

#65
Arreyanne

Arreyanne
  • Members
  • 10 messages

The game is encrypted to protect pirates from stealing the game...since, like, 90%~ of PC gamers are pirates anyway.

Ya ya The torrent guys will have this up and running in a few days remember UbiSoft stated that the first Assassin Creed would be uncrackable that worked out real well

 

All that restrictive stuff does it make it harder for us paying customers to play the games

 

DA:I should have been as modelable as Skyrim


  • Draninus aime ceci

#66
Renmiri1

Renmiri1
  • Members
  • 6 009 messages

Has anyone gone over to some Battlefield forums and looked for info there? I know there isn't a big modding community for BF, but you'd think someone's tinkered with it.

yes,  i have links to all bf3 resources Voider found, on the forum link i posted

http://me3explorer.f...327.html#p13327



#67
Handsome Hank

Handsome Hank
  • Members
  • 130 messages

Voider (from Mass Effect's ME3xplorer) has been workingon this for me

 

He has a toolset to view CAS, CAT, TOC and DAS files and export decompressed info out of CAS. We are posting the info on the ME3xplorer forum for now, till we get more people interested then I might make a DA_Tools forum

 

Code and executable here

 

http://me3explorer.f...327.html#p13327

 

and here 

http://www.mediafire...xtm/DA_Tool.rar

 

 

tumblr_nfv8m8iFhe1u4bdzio1_1280.gif

 

93oal6b6bswxe2ufg.jpg

 

ssf9dki4765ou6pfg.jpg

 

Awesome job.  Consider me interested.


  • Silvist aime ceci

#68
Renmiri1

Renmiri1
  • Members
  • 6 009 messages

@Renmiri1 - I was able to use the program no problem.  I used the extractor, and it came out as a bin file.  Any idea how to go about finding its proper name/file type?

 

I'm really interested in the chargen file, that controls the sliders.  As well as the full male and female body meshes; so the process of molding can begin ^^

well you can extract any block marked so in theory if you mark a mesh you can extract it..  For now we are stil lfinding stuff on the CAS files. I just saw a True / False conditional there bet it is a plot value (like if Cullen is romanced show option for "I want a kiss"). 

 

The work on modding ME3 was similar: Read the files, find the data structures, then after that we can show the meshes  and images on a viewer. Those are harmless to your game and will never "break" your game but obviously any image and mesh exported out has Bioware copyright so you can only use / view it on your own pc or use one or two as a basis for fan art, cosplay, etc.. which falls under the US law for  "Fair Use"

 

A third step would be texture swapping, which depends on finding a way to recompress the modded CAS file and update the size pointers on the cas.cat file, otherwise your game will crash if you use a modded CAS file. That has no copyright issues but Bioware has already said that modding Multiplayer for aesthetics, like hair and armor looks is fine, modding for stats is cheating so Voider's tool will not allow you to change stats just appearance. Appearance and stats on your own single player offline game is fine, per bioware 

 

http://me3explorer.w...on game modding

 

Alas Voider has a job and is pretty acive on me3 modding so i'm afraid somone else will have to pick up the "third step". Voider has all his source code included on the rar so hopefully someone does pick it up :)

 

93oal6b6bswxe2ufg.jpg

 

(above) when you add larger images or meshes you need to change the cas.cat file.


  • Silvist aime ceci

#69
Renmiri1

Renmiri1
  • Members
  • 6 009 messages

@Renmiri1 - I was able to use the program no problem.  I used the extractor, and it came out as a bin file.  Any idea how to go about finding its proper name/file type?

 

I'm really interested in the chargen file, that controls the sliders.  As well as the full male and female body meshes; so the process of molding can begin ^^

rename it
 
is a HEX file but decompressed so has readable english. Try finding this at CAS_20.cas
 
tumblr_nfvczfltNt1u4bdzio1_1280.png

  • Silvist aime ceci

#70
Renmiri1

Renmiri1
  • Members
  • 6 009 messages

The hard work begins now, for each of those readable things, you need to guess at the file structure, like Voider and others did for ME3's Unreal files (.pcc)

 

http://me3explorer.w...PCC File Format

 

For instance, for PCC we found out

tumblr_nfqgfqEqbH1u4bdzio7_r1_1280.pngtumblr_nfqgfqEqbH1u4bdzio8_r1_1280.png


  • Silvist, DarthGizka et Araceil aiment ceci

#71
Renmiri1

Renmiri1
  • Members
  • 6 009 messages

BTW I created a group for us

 

http://forum.bioware...-fan-creations/


  • Silvist aime ceci

#72
Silvist

Silvist
  • Members
  • 350 messages

Wow so much information.  Loving it lol.  Alright, guess its time to get to work.  I already found quite a bit of meshes, and textures.  Guess i'll have to fool around with the file format so I can decipher it.  

 

In terms of re-compressing a cas file; why would we need to?  Isn't there a folder called "update"?  Doesn't files of the same path in an "update" folder override existing files in the main game?  I assumed that's how we could modify,change, and replace stuff.  I have no way to test this without an actual dummy file to mimic such a change.  That's why I'd love to "get" to that point first, for testing purposes lol.


  • Schratty aime ceci

#73
Renmiri1

Renmiri1
  • Members
  • 6 009 messages

Silvist, voider found some stuff too, check at the me3 forum. And please post what you found, either on the group here at bsn or at the me3 forum so we can build on each other's progress ^^


  • Silvist aime ceci

#74
Silvist

Silvist
  • Members
  • 350 messages

Yea, no problem.  I posted on the group now.  Still not used to all this.  Hadn't used the bioware forums since DA2 lol.



#75
Clarian

Clarian
  • Members
  • 376 messages

Voider (from Mass Effect's ME3xplorer) has been workingon this for me

 

Warranty Voider's ME3 tools were awesome...so if he's on the case, that's the best news yet!  :D


  • Renmiri1 aime ceci