Skeletons are imported and skin weights are assigned now.
Still a lot of unknown data so no exporting from blender to F3 yet.
]]>Keshire2013-10-22T03:43:22-00:00Re: Blender scripts for mdl models
http://fable3mod.com/forums/index.phpindex.php?t=rview&goto=222&th=98#msg_222
]]>Keshire2013-10-30T19:16:19-00:00Re: Blender scripts for mdl models
http://fable3mod.com/forums/index.phpindex.php?t=rview&goto=223&th=98#msg_223
updated to newest blender version. Still no bones, so animated models are imported as static meshes still. I'm also not sure about normals or smoothing groups. I'll get it worked out eventually though.]]>Keshire2013-10-31T04:25:38-00:00Re: Blender scripts for mdl models
http://fable3mod.com/forums/index.phpindex.php?t=rview&goto=224&th=98#msg_224
I started working on an exporter to get models into Fable 3. It's not in a usable condition though until I find out some more of the unknowns.
]]>Keshire2013-11-01T14:27:28-00:00Re: Blender scripts for mdl models
http://fable3mod.com/forums/index.phpindex.php?t=rview&goto=230&th=98#msg_230
Keshire2013-11-03T01:47:26-00:00Re: Blender scripts for mdl models
http://fable3mod.com/forums/index.phpindex.php?t=rview&goto=725&th=98#msg_725
I've just started working with your import script (thank you so much for sharing it by the way! and just wanted to mention that when I import any model, it always has "flipped normals". Also, whenever I try to import another model after clearing the scene, it always re-imports the first model of the session - this might not be down to the script though, I shall investigate. ]]>CultOfByron2016-01-02T09:03:31-00:00Re: Blender 2.82 Model Importer
http://fable3mod.com/forums/index.phpindex.php?t=rview&goto=915&th=98#msg_915
Keshire2020-02-24T15:54:11-00:00Re: Blender 2.82 Model Importer
http://fable3mod.com/forums/index.phpindex.php?t=rview&goto=941&th=98#msg_941
Everything appears as it should, an unexpected bonus is that nested in the scene collection info are all the relevant texture names too! Maybe I didn't notice this before?
Thanks again for this superb tool, now if I can get my head around the TEX converter I'll be a very happy bunny.]]>CultOfByron2020-05-21T10:13:12-00:00Re: Blender 2.82 Model Importer
http://fable3mod.com/forums/index.phpindex.php?t=rview&goto=1059&th=98#msg_1059
Also, a "Ravenscar" Farmhouse from Fable 2 - 2 sub-meshes exported as .obj using HexWorkshop and Model Researcher by Lazov/Mr Game Viewer:
I know it's about 13 years too late but I have been looking through the mdl files as exported from the Fable 2 BNK explorer tool and have been able to spot the "important" stuff, i.e; vertices (3x pairs of half-floats) and faces (SHORTs directly following on from the vertex arrays). I'm not 100% on the rest of the data contained within the 20-byte arrays, nor the groups of data before each vertex chunk and after the last faces chunk, but I'm pleased with how quick I managed to spot the patterns to find the verts and faces, so maybe the rest will emerge in due course. As I understand it, it should be 2x SHORTs for UV coords, and there are always 2x bytes of 00 directly after the vertex coords which leaves 8-bytes unaccounted for. Apologies if necessary for posting this here but the Fable 2 modding forum seems a bit, how shall I put this politely, quiet lately...? ;)
Sample array from Brightwood Tower exterior.mdl:
Vertex Coords↓ ---- Nowt↓ -- UVs somewhere in this lot?↓
---------------------------------------------↓ - ↓ - ↓ - ↓ -(most likely)
CC D3 48 9B 4B 12 00 00 CC 05 E4 6D 34 73 39 E9 C0 C8 37 94
Did anyone make any more progress with this, or even get as far as a working Fable 2 mdl import script for anything (blender? or did there not seem much point since Fable 2 wasn't "moddable"?]]>CultOfByron2021-08-14T18:46:03-00:00Re: Blender 2.82 Model Importer
http://fable3mod.com/forums/index.phpindex.php?t=rview&goto=1072&th=98#msg_1072
Garanor12022-02-14T10:10:40-00:00Re: Blender 2.82 Model Importer
http://fable3mod.com/forums/index.phpindex.php?t=rview&goto=1073&th=98#msg_1073
The textures were added by converting the .tex files with Artofeel's converter which can be found here:http:// fable3mod.com/forums/index.php?t=msg&th=72&start=0&a mp;a mp;a mp;
The importer and tex converter do not work with the equivalent Fable 2 files, despite their apparent similarity, due to compression/encryption and differences in structure.
The Ravenscar/Oakfield farmhouse mdl (and others) were generated using this handy tool: http://mr.game-viewer.org/ and looking at the hex code for the individual model files.
The texture files for Fable 2 are compressed/encrypted and I can't make any more progress with them with my current skillset(! so I am adapting Fable 3 or Fable TLC/Anniversary ones where necessary.]]>CultOfByron2022-02-14T12:37:57-00:00Re: Blender 2.82 Model Importer
http://fable3mod.com/forums/index.phpindex.php?t=rview&goto=1075&th=98#msg_1075
Garanor12022-02-14T13:31:23-00:00