Sfad extractor
Here it is!
It currently supports only bz2 compression and uncompressed files.
The source to this release is provided. No executables yet and not all dependant libraries are included in the archive.
Here it is!
It currently supports only bz2 compression and uncompressed files.
The source to this release is provided. No executables yet and not all dependant libraries are included in the archive.
Hey trying to get your extractor working but running into issues (might be my lack of c++ uberness).
Can you hit me up via email if you’re interested in helping w/ a project that uses the DF data?
David Cramer said this on June 10, 2009 at 10:44 pm |
Are you still working on this? The link appears to be dead as well.
xenofixus said this on November 29, 2009 at 7:28 am |
Anyway you could put this up on a new link? or perhaps email it to me? Thanks
brandon said this on November 29, 2009 at 4:58 pm |
any way you can rehost this?
AtomiC said this on January 14, 2014 at 6:56 pm |
What are you looking to do with it?
Raindog said this on January 14, 2014 at 7:17 pm |
Raindog, it would be really great if you could rehost it! A lot of people want DF1 brought back online. Sadly AV has no plans of reviving DF1 and are going all in with DF2 which is, sad to say, an abomination.
This could be a great starting point for the work needed to write a DF1 server emu!
Thanks.
Jon said this on April 16, 2014 at 5:40 pm |
I understand it would be useful for sure, however, it is a really really easy file format that I’m sure could not possibly be a stumbling block for someone with the skill to implement a full on server.
ra1ndog said this on April 16, 2014 at 7:11 pm |
I never said I had to the skill to implement a full on server. Might take me 5 years to get up to speed, but I’ll get it done. Unless somebody does it first.
clrx01 said this on April 16, 2014 at 11:55 pm
Ok I’m back. Stupid me didn’t see you had copypasted the sfad extractor python script from that ru site. Gave it a whirl on DF1 and ended up with a whole mess of encrypted files. Some were decrypted, but most were encrypted so I said fuck it and turned my attention to DF2. Made some modifications to the script and boom! Extracted 170k files (30gb), mostly unencrypted. The only things that ARE encrypted seems to be the important stuff like Class files, important xml files and gamelogic scripts are encrypted. I also noticed that all the DF1 files are within DF2’s archives. I’ve decided that a private server is outside my skillset, but there are other things I would like to do with the assets for the DF2 community. You obviously have noticed that AV created a lot of custom file formats:
SFC = AA BB Tree Collision Scheme
LVL = Object placement
SFM = Map of some sort. Possibly normal maps, but there exists normal dds maps within the texture folders so…
SFA = Animation
SFAM = Animation Map
SFVM = Vegetation Map
SFV = Same as above
TER = Terrain
The games meshes are in Directx .X format so its easy to open and convert, but noticed the terrain doesn’t exist in .x but in the .ter files so I’m working on that.
Also the new GUI is done in Flash, so theres a lot of SWF files and from my experience with AS3 GUI’s for games, there will need to communication between the engine, scripts and the gui and code to facilitate that communication. So I decompiled the swf’s and found some very interesting things. Probably more than I hoped.
SFFileLoadManager class which manages file loads requested via
SFFileLoadRequest which has code for requests such as:
and then further down the code I found a function loadCompleted
with this excerpt:
And yes there exists an SFBase64 class which has the following very interesting function code:
Other classes that I found that look interesting are:
SFXMLSerializable
SFXMLSerializer
SFJ2FWindow
as well as TON of other classes to do with actual GUI stuff.
I could of found absolutely nothing, but my experience tells me otherwise. Figured I’d run it by you and see what you thought.
clrx01 said this on May 15, 2014 at 3:44 am |
Looks like you made good progress.
Yeah, the new UI is done in flash for sure. decompiling them is fairly trivial as well, but I haven’t analyzed enough of them to modify any of them yet although it would seem to be trivial as well.
Their design decisions to use C++, Java, and now Flash boggles the mind.
ra1ndog said this on May 15, 2014 at 4:28 am |
Also, hit me up on email, macrohmasheen __ gmail ___
ra1ndog said this on May 15, 2014 at 4:31 am |
Delivery failure on the email. 😦
clrx01 said this on May 15, 2014 at 12:30 pm
nevermind
clrx01 said this on May 15, 2014 at 12:32 pm
hey, im looking to use some DFUW assets for an unity prototype (mainly audio). Probably a long shot but would you still happen to have the extractor available (or extracted files)? Please hit me up at foomanchoomanfu _ gmail
foomanchu said this on August 23, 2020 at 11:47 pm |
test@gmail.com
clrx01 said this on May 15, 2014 at 12:28 pm |