Page 11 of 22

Re: Dark Souls FLV file

Posted: Sun Jul 07, 2013 4:07 am
by nyxo
Ok, I've got lightmaps working, you can check it out in this video.
You can see that in the corners are some stationary yellow lights- those are the lightmaps. Near the middle of the room is a lightbulb icon moving in a circular pattern- that is a dynamic light I added for effect, it's not part of the FLVER file.

Every time I implement something new for rendering, it doubles the number of shaders that I have (currently at 24), so I'm starting now to understand why the game has hundreds and hundreds (thousands?) of shaders in the archives... >_>;;

Re: Dark Souls FLV file

Posted: Mon Jul 08, 2013 5:23 pm
by Mireneye
Amazing work! ^^ can't wait to play around with this. Keep it up!

Re: Dark Souls FLV file

Posted: Sun Jul 21, 2013 3:59 pm
by Mireneye
How's the progress?

Re: Dark Souls FLV file

Posted: Wed Jul 24, 2013 1:14 am
by nyxo
So I've managed to parse the .MSB files for the most part now, which provides me with information about which map pieces are used where, as well as which enemies & props to position, and where.

Here's a simple video that shows the map piece loading in action.

Re: Dark Souls FLV file

Posted: Wed Jul 24, 2013 11:04 am
by TehDave
That's actually really cool. Doesn't seem to load the water meshes though.

Re: Dark Souls FLV file

Posted: Thu Jul 25, 2013 1:23 am
by nyxo
The water meshes are actually separate FLVERs. The order they files are loading in the video is just the order they appear in the .MSB files. At some point, it'd eventually get around to the water, I'd assume.

Re: Dark Souls FLV file

Posted: Thu Jul 25, 2013 6:38 am
by Skykila
Any chance to skeletal and animations export for public?

Re: Dark Souls FLV file

Posted: Thu Jul 25, 2013 7:09 am
by Tosyk
Skykila wrote:Any chance to skeletal and animations export for public?
there will be no option to export any type of resources.
only documented formats, as far as i recall.

Re: Dark Souls FLV file

Posted: Thu Jul 25, 2013 9:34 am
by TehDave
With all the format documentation from this though it'd be pretty easy to write a script for Noesis to do all of that.

Re: Dark Souls FLV file

Posted: Thu Jul 25, 2013 12:50 pm
by nyxo
The skeletons, skeletal animations, and collision data are all stored in standard havok format (.HKX). The Havok Physics & Animation SDK is free to use, so technically all of this is already exported in a public format.

Re: Dark Souls FLV file

Posted: Thu Jul 25, 2013 7:18 pm
by Skykila
nyxo wrote:The skeletons, skeletal animations, and collision data are all stored in standard havok format (.HKX). The Havok Physics & Animation SDK is free to use, so technically all of this is already exported in a public format.
Thanks for info.

Re: Dark Souls FLV file

Posted: Fri Jul 26, 2013 9:49 am
by TehDave
nyxo wrote:The skeletons, skeletal animations, and collision data are all stored in standard havok format (.HKX). The Havok Physics & Animation SDK is free to use, so technically all of this is already exported in a public format.
I meant getting the actual meshes with weights, uvs, and all that.

Re: Dark Souls FLV file

Posted: Sun Jul 28, 2013 7:37 am
by Troopermanaic
Hey can anyone send me the 3d model of Solaire? I want to 3d print his armor for 2013 October Comic-con.

Re: Dark Souls FLV file

Posted: Wed Jul 31, 2013 5:50 am
by nyxo
My app can load a lot more stuff now - check out this video to see some of it in action. Note that some of the stuff you see in the video isn't how it appears in-game. This is because I have placeholder stuff there while I figure out the rest of the data-- it's all described in the video description.

I'm getting close to having all the info I want in some of my templates, so once I have that all in order, I'd like to post those for the community. My template list is getting quite large now:
  • FLVER (95%)
  • BDT (100%)
  • BHD (100%)
  • BHD5 (100%)
  • BND (99%)
  • HKX (60%) - this is temporary as it may not be needed in the future
  • FFX (3%)
  • MSB (80%)
  • MTD (87%)
  • TAE (84%)
  • TPF (100%)
I might also take a look at the Noesis plugin to update it, but no promises there.

Here's a rundown on the files, and what they're used for:
FLVER: Mesh, Binding Pose, LODs, and references to material definitions & textures
BDT: Archive data. Just a bunch of data stuck together without any information about how to read it- that info is in one of the header files, below. However for any given "file" of data within the archive, if it's compressed, the compression header info is in this file.
BHD: Archive header with filenames. Contains offsets, sizes, file names, etc.. about the files that are in the associated BDT file
BHD5: Archive header without filenames. Contains offsets, sizes, filename hashes, etc.. about the files that are in the associated BDT file
BND: Single file archive. Contains all the header information as well as data for a group of same-file-type files.
HKX: Havok binary file. May contain any combination of a huge variety of data - sometimes skeleton data, sometimes collision meshes, sometimes animation data.
FFX: Particle effect file. Defines everything about rendering one specific instance of a particle effect. As far as I can tell, the only "configurable" value for a particle effect is it's position and rotation on the map.
MSB: Map Studio Binary. It's like the "glue" for a map. Contains all the info required to put all the proper map piece, entity, and object FLVERs together to create a specific zone of the world.
MTD: Material Type Definition. Contains a variety of constant values to be passed to a shader for rendering, and a few configurable values to be passed on - these always appear to be textures, and are passed in by the FLVER.
TAE: Animation set file. Contains a variety of information pertaining to animations, their IDs (for referencing externally), etc..
TPF: Texture Package Format. Contains a group of textures that always need to be loaded together.

There's other filetypes I know about, and what they're for, but they're not on my template list, so it's not convenient for me to write about them right now.

Re: Dark Souls FLV file

Posted: Mon Aug 05, 2013 10:21 am
by Mireneye
Wish I had anything more than "Claps!!!, amazing progress!"