|
|
Re: Blender scripts for mdl models |
Wed, 30 October 2013 21:25 |
Keshire
Messages: 137 Registered: August 2013
|
Senior Member |
|
|
see first post:
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.
[Updated on: Wed, 30 October 2013 21:26] Report message to a moderator
|
|
|
|
|
|
|
|
Re: Blender 2.82 Model Importer |
Sat, 14 August 2021 11:46 |
|
CultOfByron
Messages: 11 Registered: August 2013 Location: Ilkley, West Yorkshire
|
Junior Member |
|
|
Just thought I'd share some architecture with you all
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"?
[Updated on: Wed, 18 August 2021 04:10] Report message to a moderator
|
|
|
|
|
Re: Blender 2.82 Model Importer |
Mon, 14 February 2022 05:31 |
Garanor1
Messages: 3 Registered: February 2022
|
Junior Member |
|
|
I've spent the last god knows how many hours trying to decompile or use BNK browser for fable 3's model files/textures/audios etc and ran into so many issues that i went crazy
|
|
|