This is a read only copy without any forum functionality of the old Modcraft forum.
If there is anything that you would like to have removed, message me on Discord via Kaev#5208.
Big thanks to Alastor for making this copy!

Menu

Author Topic: [TOOL] OBJ to M2 converter + Sources  (Read 39370 times)

ProfVice

  • Contributors
  • Polygonshifter
  • *****
  • Posts: 60
    • View Profile
Re: [TOOL] OBJ to M2 converter
« Reply #30 on: August 22, 2013, 04:54:30 pm »
Need some help,
first im new to blender and i  havn't 3ds max, so here is my problem:

I Exportet a few models from Warhammer Online
like this


first i have it exportet as an OBJ and convert it to a WMO... and it works perfectly, but a mortar is only a decorative so i beginn to edit the obj and tried to convert the obj as an M2... but it wont work, the converter crashes at Adding Materials.
So i know it must be a mistake of me, but i can't find the mistake and so i need help.

(oh and i tried a few other 3ds and obj to m2/mdx converter... nothing works)
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Garthog

  • Contributors
  • Polygonshifter
  • *****
  • Posts: 56
    • View Profile
Re: [TOOL] OBJ to M2 converter
« Reply #31 on: August 22, 2013, 07:33:57 pm »
You might want to send me the obj file. It's most likely wrong configuration of blender.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

ProfVice

  • Contributors
  • Polygonshifter
  • *****
  • Posts: 60
    • View Profile
Re: [TOOL] OBJ to M2 converter
« Reply #32 on: August 22, 2013, 09:23:08 pm »
Here the Object with all necessary files

https://mega.co.nz/#!FxlAmaTK!BJ1ShQ4oR ... fm5ixwrDp8

edit: New with obj ^^
« Last Edit: August 22, 2013, 09:56:34 pm by Admin »

Garthog

  • Contributors
  • Polygonshifter
  • *****
  • Posts: 56
    • View Profile
Re: [TOOL] OBJ to M2 converter
« Reply #33 on: August 22, 2013, 09:36:17 pm »
It's just missing the obj file =p, which is the only necessary file !
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

venumfox

  • Registred Member
  • LUA Script Tinker
  • *****
  • Posts: 41
    • View Profile
Re: [TOOL] OBJ to M2 converter
« Reply #34 on: September 05, 2013, 09:30:58 pm »
I've got an issue with it, whenever i go to run the program i get an error,

Program can't start because MSVCP110.dll is missing from your computer, I have visual studio redist. installed, and .net 4.0 Am i doing something wrong?
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Garthog

  • Contributors
  • Polygonshifter
  • *****
  • Posts: 56
    • View Profile
Re: [TOOL] OBJ to M2 converter
« Reply #35 on: September 05, 2013, 09:51:55 pm »
You might need visual studio 2012 redistributable
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

venumfox

  • Registred Member
  • LUA Script Tinker
  • *****
  • Posts: 41
    • View Profile
Re: [TOOL] OBJ to M2 converter
« Reply #36 on: September 05, 2013, 10:03:28 pm »
Quote from: "Garthog"
You might need visual studio 2012 redistributable

Got it working, but now i'm getting this Error


Might have to click on the image to see the big one.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

venumfox

  • Registred Member
  • LUA Script Tinker
  • *****
  • Posts: 41
    • View Profile
Re: [TOOL] OBJ to M2 converter
« Reply #37 on: September 06, 2013, 01:46:34 am »
I've tried remaking the object as well and exporting it with the correct settings then converting it, still not success.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

PhilipTNG

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 709
    • View Profile
Re: [TOOL] OBJ to M2 converter
« Reply #38 on: September 06, 2013, 02:21:57 am »
Quote from: "venumfox"
Quote from: "Garthog"
You might need visual studio 2012 redistributable

Got it working, but now i'm getting this Error


Might have to click on the image to see the big one.

Your obj is probably incorrect in some way, I got that error when I first used the tool as well.  I believe it would happen if I exported the obj out from 3D Studio Max,  so now I export it out of Blender, I still make models in Max, but when I do the final things, I get the mesh into blender then export to the final obj from Blender.

My Blender 2.68 obj export settings:


which I got from Gamh's website.

Second is that my model all use one texture only and is all joined together into one piece of geometry(you folks call it geosets) before final export.  This error may also be caused if your mesh is made up of multiple geosets and or use multiple textures... I wouldn't know since I join everything together in the end.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

venumfox

  • Registred Member
  • LUA Script Tinker
  • *****
  • Posts: 41
    • View Profile
Re: [TOOL] OBJ to M2 converter
« Reply #39 on: September 06, 2013, 02:37:21 am »
Thank for the information, I've got a new error now.



The object is very basic, it's a cube, a 25x25x25 Cube, i'm not sure how large that is in-game as I'm just making this as a test, when i go into 3ds, i just make a cube, export it as an OBJ, import it into blender, export it using the setting provided by Anthony, would uploading my Max file help?
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

PhilipTNG

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 709
    • View Profile
Re: [TOOL] OBJ to M2 converter
« Reply #40 on: September 06, 2013, 04:31:18 am »
Quote from: "venumfox"
Thank for the information, I've got a new error now.



The object is very basic, it's a cube, a 25x25x25 Cube, i'm not sure how large that is in-game as I'm just making this as a test, when i go into 3ds, i just make a cube, export it as an OBJ, import it into blender, export it using the setting provided by Anthony, would uploading my Max file help?

I'm curious about what you're putting into the command line.

why does it end with just a simple  ?   Do you plan to put your texture files at the front of the MPQ file rather than in a folder?  If so, don't put anything,  just end it off with the name you are going to have your m2 and skin files be called, as your image says TheGrassC  which would output files named TheGrassC.m2 and TheGrassC00.skin  .

I made a tutorial on it a long while ago but I never released it due to a few friends not being able to figure it out on their own without my direct assistance.  You can try to view it and see if you can pick up any pointers from it:



Best to watch it on youtube since you can make it bigger or fullscreen where as the youtube tag here for videos disables the fullscreen function.

Goodluck.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

venumfox

  • Registred Member
  • LUA Script Tinker
  • *****
  • Posts: 41
    • View Profile
Re: [TOOL] OBJ to M2 converter
« Reply #41 on: September 06, 2013, 10:41:15 am »
Quote from: "AnthonysToolbox"
Quote from: "venumfox"
Thank for the information, I've got a new error now.



The object is very basic, it's a cube, a 25x25x25 Cube, i'm not sure how large that is in-game as I'm just making this as a test, when i go into 3ds, i just make a cube, export it as an OBJ, import it into blender, export it using the setting provided by Anthony, would uploading my Max file help?

I'm curious about what you're putting into the command line.

why does it end with just a simple  ?   Do you plan to put your texture files at the front of the MPQ file rather than in a folder?  If so, don't put anything,  just end it off with the name you are going to have your m2 and skin files be called, as your image says TheGrassC  which would output files named TheGrassC.m2 and TheGrassC00.skin  .

I made a tutorial on it a long while ago but I never released it due to a few friends not being able to figure it out on their own without my direct assistance.  You can try to view it and see if you can pick up any pointers from it:



Best to watch it on youtube since you can make it bigger or fullscreen where as the youtube tag here for videos disables the fullscreen function.

Goodluck.

Got it first try, thank you very much for the tutorial! (: Except i messed up on rotating the file, so my gameobject is laying on it's side xD oh well it's 2:00am been working on it for hours. Thanks again
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

PhilipTNG

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 709
    • View Profile
Re: [TOOL] OBJ to M2 converter
« Reply #42 on: September 06, 2013, 11:25:16 am »
Quote from: "venumfox"
Got it first try, thank you very much for the tutorial! (: Except i messed up on rotating the file, so my gameobject is laying on it's side xD oh well it's 2:00am been working on it for hours. Thanks again

I'm glad you got your issue resolved and was able to make use of my video......unlike several of my mates :grumble..grumble...grum...:  XD......well you can still rotate the model manually in Noggit atleast. hehe.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Garthog

  • Contributors
  • Polygonshifter
  • *****
  • Posts: 56
    • View Profile
Re: [TOOL] OBJ to M2 converter
« Reply #43 on: September 06, 2013, 01:31:58 pm »
Yeah I'm sorry the tool isn't very convenient at first use. It's still a heavy work in progress. I'm not really deving on it for now, since I have very important exam to pass <-<. However once it's done, I will probably release better versions !

Garthog
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

venumfox

  • Registred Member
  • LUA Script Tinker
  • *****
  • Posts: 41
    • View Profile
Re: [TOOL] OBJ to M2 converter
« Reply #44 on: September 06, 2013, 06:26:51 pm »
Quote from: "Garthog"
Yeah I'm sorry the tool isn't very convenient at first use. It's still a heavy work in progress. I'm not really deving on it for now, since I have very important exam to pass <-<. However once it's done, I will probably release better versions !

Garthog

It gets the job done, my mistakes were mine so no fault to you there, thank you for a great tool
« Last Edit: January 01, 1970, 01:00:00 am by Admin »