Rage through 32 single player levels and 6 deathmatch levels of sheer terror and fully immersive sound and lighting. Arm yourself against the cannibalistic Ogre, fiendish Vore and indestructible Schambler using lethal nails, fierce Thunderbolts and abominable Rocket and Grenade Launchers.

Description

Easy conversion of OBJ files into Quake compatible MAP files.

Preview
OBJ-2-MAP v1.3
Post comment Comments
Baker55
Baker55 - - 250 comments

Tried the tool on Quaternius.com, the model RailwayTrack_Straight.obj in the hopes of getting the train tracks natively in .map.

The converted .map somehow had only 1 piece of the track.

Tried some options to see if that work made it work better (like extrusion and spikes). One of the resulted in a crash.

This was my experience with 1 obj model, maybe it was the .obj model somehow.

The idea for this tool is great.

Reply Good karma Bad karma+2 votes
LithTechGuru Author
LithTechGuru - - 408 comments

Try splitting the model up into smaller pieces. Also scale the model up larger. Often the reason why the editor crashes is because it's trying to open a .map with the vertices too small. That's what I've found tends to work.

Reply Good karma+3 votes
csd-gay
csd-gay - - 2 comments

I'm trying to convert bob-omb battlefield (https://www.models-resource.com/nintendo_64/supermario64/model/668/), which i assumed would work since it's a relatively simple model. but when i convert with standard, trenchbroom says

Brush is empty (line 3)
Brush is incomplete (line 25)
Brush is empty (line 31)
Brush is incomplete (line 65)
Brush is incomplete (line 69)
Brush is incomplete (line 77)
Brush is incomplete (line 83)
Brush is incomplete (line 172)
Brush is incomplete (line 203)
Brush is empty (line 219)
Brush is empty (line 433)
Brush is incomplete (line 471)
Brush is empty (line 485)
Brush is empty (line 531)
Brush is empty (line 561)
Brush is incomplete (line 591)
Brush is empty (line 673)
Brush is incomplete (line 787)
Brush is empty (line 817)
Brush is incomplete (line 839)
Brush is incomplete (line 861)

and then when i try to convert it with either extrusion or spikes, i get the error

"Unhandled exception has occurred in your application. If you click continue, the application will ignore this error and attempt to continue. If you click quit, the application will close immediately.

Object reference not set to an instance of an object"

there's also a details box with this in it:

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
at OBJ2MAP.XVector.Multiply(XVector _V, Double _Scalar)
at OBJ2MAP.MainForm.GoButton_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

************** Loaded Assemblies **************
mscorlib
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9181.0 built by: NET481REL1LAST_C
CodeBase: C:
----------------------------------------
OBJ2MAP
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: C: 2 map/OBJ2MAP.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9181.0 built by: NET481REL1LAST_C
CodeBase: C:
----------------------------------------
System
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9214.0 built by: NET481REL1LAST_B
CodeBase: C:
----------------------------------------
System.Drawing
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9037.0 built by: NET481REL1
CodeBase: C:
----------------------------------------
System.Configuration
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9037.0 built by: NET481REL1
CodeBase: C:
----------------------------------------
System.Core
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9214.0 built by: NET481REL1LAST_B
CodeBase: C:
----------------------------------------
System.Xml
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9037.0 built by: NET481REL1
CodeBase: C:
----------------------------------------
Accessibility
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9037.0 built by: NET481REL1
CodeBase: C:
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
<system.windows.forms jitDebugging="true" ></system>
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.

Reply Good karma Bad karma+2 votes
LithTechGuru Author
LithTechGuru - - 408 comments

It's likely too big. Try separating it into smaller pieces. Or try scaling the model larger before exporting.

Reply Good karma+2 votes
borealias
borealias - - 9 comments

Do you have the source code? I'm interested in recompiling it for BSD.

Reply Good karma Bad karma+2 votes
LithTechGuru Author
LithTechGuru - - 408 comments

As far as I know it's located here Bitbucket.org

Reply Good karma+2 votes
LithTechGuru Author
LithTechGuru - - 408 comments

EDIT: I have updated this download to include OBJ2Map 1.3. Which has a bunch of new features like support for Valve map files.

Reply Good karma+2 votes
Post a comment

Your comment will be anonymous unless you join the community. Or sign in with your social account: