Help Extracting Models and Textures from Heroes Of Might And Magic Quest For The Dragonbone Staff PS2

Skeletons, animations, shaders, texturing, converting, fixing and anything else related to read game models
Stephen999
Posts: 24
Joined: Tue Jan 02, 2018 11:42 pm

Help Extracting Models and Textures from Heroes Of Might And Magic Quest For The Dragonbone Staff PS2

Post by Stephen999 »

Hello all i am interested in figuring out how to extract the Models and Textures from this game. By either a script or Hex Editing but i lack in both fields so i was wondering if someone would be willing to help me on this. :D

im hoping that someone can help me with this. :)

Link: http://www.mediafire.com/file/77og8vbhn ... S.PS2/file
Last edited by Stephen999 on Fri Aug 24, 2018 10:11 am, edited 1 time in total.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Help Extracting Models and Textures from Heroes Of Might And Magic Quest For The Dragonbone Staff PS2

Post by aluigi »

Code: Select all

get FILES long
for i = 0 < FILES
    getdstring NAME 0x44
    get OFFSET long
    get SIZE long
    get ZSIZE long
    clog NAME OFFSET ZSIZE SIZE
next i
Stephen999
Posts: 24
Joined: Tue Jan 02, 2018 11:42 pm

Re: Help Extracting Models and Textures from Heroes Of Might And Magic Quest For The Dragonbone Staff PS2

Post by Stephen999 »

Hi is this a Script your writting if you dont mind me asking :D
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Help Extracting Models and Textures from Heroes Of Might And Magic Quest For The Dragonbone Staff PS2

Post by aluigi »

It's a script for quickbms (http://quickbms.com) that extracts all the files from the archive with PS2 extension.
Copy it in a text file with notepad and save it, then select it when you launch quickbms
Stephen999
Posts: 24
Joined: Tue Jan 02, 2018 11:42 pm

Re: Help Extracting Models and Textures from Heroes Of Might And Magic Quest For The Dragonbone Staff PS2

Post by Stephen999 »

Hello i managed to look inside the archive so thanks for that. but each model in the game has a extension .Met
so do you have any ideas on how to open a file with a .Met extension. :D so close
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Help Extracting Models and Textures from Heroes Of Might And Magic Quest For The Dragonbone Staff PS2

Post by aluigi »

Upload one of these extracted MET files in case someone can check them.
If they are 3d files I can move the topic in the appropriate section for giving it more visibility.
Stephen999
Posts: 24
Joined: Tue Jan 02, 2018 11:42 pm

Re: Help Extracting Models and Textures from Heroes Of Might And Magic Quest For The Dragonbone Staff PS2

Post by Stephen999 »

What do you think I should do now is there not a script that can open MET File extensions?
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Help Extracting Models and Textures from Heroes Of Might And Magic Quest For The Dragonbone Staff PS2

Post by aluigi »

The only thing I can do is posting a script for extracting the data/files from these met files.
They are not files that you can use since they are custom formats like SEQ2, HIR3, TEX2, MAT2 and so on.

Code: Select all

idstring "PMET"
get FILES long
for i = 0 < FILES
    get ID long
    get ZERO long
    get OFFSET long
    getdstring NAME 100
    putarray 0 i OFFSET
    putarray 1 i NAME
next i
    get OFFSET asize
    putarray 0 i OFFSET
sortarray 0 1
for i = 0 < FILES
    getarray OFFSET 0 i
    getarray NAME   1 i
    math i + 1
    getarray SIZE   0 i
    math SIZE - OFFSET
    if NAME == "*UNKNOWN*"
        string NAME + /
    endif
    log NAME OFFSET SIZE
next

Ah, I have fixed your mediafire link because it didn't work
Stephen999
Posts: 24
Joined: Tue Jan 02, 2018 11:42 pm

Re: Help Extracting Models and Textures from Heroes Of Might And Magic Quest For The Dragonbone Staff PS2

Post by Stephen999 »

Hello the script worked Brilliently. but now t each file has an extension of .b here is a sample file. I sent you a file of what im guessing contains the Model but it has a b Extension maybe a Hex editior or somethingcould fix this but i have no knowledge with Hex or scripts. but the only good sign to this is that the deeper into the files we get the more the bytes are dropping to smaller values. :)
shaunanthonywheeldon
Posts: 25
Joined: Thu Aug 23, 2018 4:15 pm

Re: Help Extracting Models and Textures from Heroes Of Might And Magic Quest For The Dragonbone Staff PS2

Post by shaunanthonywheeldon »

after Analysing the file within the Zip (.B) with a program called Analyze It. The file may actually be a .MDL which is a model file type I have attached a link for more information into the file type:

http://www.stmuc.com/moray/

If anyone could look into this that would be great. or even extract the model with Model Researcher that would be equally as good.

Thank you
shaunanthonywheeldon
Posts: 25
Joined: Thu Aug 23, 2018 4:15 pm

Re: Help Extracting Models and Textures from Heroes Of Might And Magic Quest For The Dragonbone Staff PS2

Post by shaunanthonywheeldon »

whether this helps or not, I am not sure but I have looked at the .b file through Ravioli Game Tools scanner and it says that the .B is a .DAT) I have attached the extracted .DAT for people to hopefully find a way of opening it. Thank you. :D fingers crossed someone will be successful as some of these models are lower res versions from older might and magic game particularly 7 & 8.
Stephen999
Posts: 24
Joined: Tue Jan 02, 2018 11:42 pm

Re: Help Extracting Models and Textures from Heroes Of Might And Magic Quest For The Dragonbone Staff PS2

Post by Stephen999 »

Hi Aluigi can you make a Scrip to extract files containing the extension of B I do have an example file on here from a bit back that contains an example file with the B extension. :D
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Help Extracting Models and Textures from Heroes Of Might And Magic Quest For The Dragonbone Staff PS2

Post by aluigi »

Are you referring to the file you attached to your previous post?
It has a MDC1 magic that it's probably related to models or similar (there are some float values)
Stephen999
Posts: 24
Joined: Tue Jan 02, 2018 11:42 pm

Re: Help Extracting Models and Textures from Heroes Of Might And Magic Quest For The Dragonbone Staff PS2

Post by Stephen999 »

Yes that one :) Do you think you could work your magic and make a script to extract this format :D
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Help Extracting Models and Textures from Heroes Of Might And Magic Quest For The Dragonbone Staff PS2

Post by aluigi »

Eh no because it's not an archive format.
Stephen999
Posts: 24
Joined: Tue Jan 02, 2018 11:42 pm

Re: Help Extracting Models and Textures from Heroes Of Might And Magic Quest For The Dragonbone Staff PS2

Post by Stephen999 »

okay so what can be done then to get those models out from that format?
Stephen999
Posts: 24
Joined: Tue Jan 02, 2018 11:42 pm

Re: Help Extracting Models and Textures from Heroes Of Might And Magic Quest For The Dragonbone Staff PS2

Post by Stephen999 »

So with this not being an archive. there must be a way or some script that can convert this file into an OBJ or FBX something that 3D Applications can understand.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Help Extracting Models and Textures from Heroes Of Might And Magic Quest For The Dragonbone Staff PS2

Post by aluigi »

Moved in the 3d section.