preload button hover image:
Current Time: Mar 19, 2018, 05:24:25 am
 Mount&Blade Repository » Modding Tools » Obj file to M&B map.txt converter (Java version)
Registration is not required to download. However, it will allow you to vote, comment, and request upload access. Forgot your password?
View this file on the M&B NexusFile Listing: Obj file to M&B map.txt converter (Java version)
Last Updated: Oct 11, 2010, 12:43:32 pm
First Created: Apr 26, 2010, 08:44:22 pm
File version: 1.1
For M&B version: Multiple
Downloads: 1,218 (1,431) Size: 177.4 KB
Views: 4,314 (4,857) Type: ZIP
Rating (2 votes): 5.0 / 5.0
UPDATE 1.1: Now should support 'ford' texture type (you'll have to add it in Wings yourself as I don't have it installed right now.)

This is a Java version of Tul's utility of the same name located here:

I only made this because there seems to be some incompatibility issue with Tul's version on my PC. The idea was his and I could never have gotten this done so quickly without his version to do some backwards engineering on, so HUGE thanks and credit to Tul for that. I hope he doesn't mind that I created this backup version--as I've said, I'm only making it available to those who need to use it for some reason.

-The bottom of the model must have a Wings3D 'hole' material
-Set materials using the existing ones in the map.wings (or obj) file (it only uses the names)
-The map should be exported as map.obj (this is the filename the Java utility looks for). The model must be *triangulated* when you export from Wings3D (note: this is different from Tul's version, and generally slower to export from Wings).
-Place all files into the same directory and double click ObjToMap.bat to kick off the jar file (you could also just double click the jar file if you have Windows set up to execute jar's with Java)
-A map.txt file should be written to which can be dropped into your module's folder

This utility works with Warband (in fact I didn't test with original M&B ).

I've included a referential Wings, obj and map.txt file.

Additional notes:
-java.exe MUST be in your computer's path to run the batch file successfully, JRE or JDK version 6
-This may not work for obj files exported from other 3d apps at all, Wings3D obj exports work but I can't say for sure about other apps.
-I included a jpg file with a screen capture showing the Wings3D settings to use (most importantly, 'swap Y and Z axis')
-Hopefully this helps someone :)

Below are the names that materials must have (again, huge thanks to Tul for this list):
ford (added v1.1, thanks to othr)
More From This Author
IP: logged
 Obj file to M&B map.txt convert (v 1.0)  » posted by barf on May 02, 2010, 01:58:02 am
it works with 3ds max :-D .
IP: logged
 Obj file to M&B map.txt convert (v 1.1)  » posted by jingalay on Oct 13, 2010, 10:52:38 pm
hey i just want to know that can it work to :-) creat warband map using this before i download
IP: logged
 Obj file to M&B map.txt convert (v 1.1)  » posted by bloodpass on Dec 21, 2010, 11:37:11 pm
This utility works with Warband (in fact I didn't test with original M&B ).

Hosted by Hypernia.
Website © 2018 FenriSoft. The core site script is PHCDownload (© 2005-2018).