Originally Posted by
MFCcomradexx
Oh my God Zappa,
I don't know what to say man,
you just saved me so much time and work.
How you even figured this out is beyond me, it looks so incredibly inefficient
Can I send you a bouquet of flowers and some Belgian chocolates?
If so Pm me your adress please.
You're getting credited for your help in every publication connected to the project, be sure of that.
And Pm me the name you want to be credited under please.
It's the least I can do.
Thank you
Comrade
I'm glad I could help
If you want to credit me you can mention me just as Zappa from the MOHAA Reborn forums
or just mention the xNULL community, I don't mind
Originally Posted by
Ley0k
Maybe try this tool ?
Attachment 2126
It's been a long time since I've used it so I forgot how to use it lol just type -help or +help. But at least it's a pretty more accurate solution, it exports all brushes, all textures, all lights (sun/spot/point), and each entity (as a note) into FBX.
If you want to use the output FBX into Blender you'd need to convert the FBX ASCII format into a binary format :rolleyes
That's cool, thank you for posting it.
I tried to convert stalingrad with your tool, but I can't make it to work
The help info shows this:
Code:
=== Help ===
?
- Shows help.
anim_delta
- [SKC] Exports animation delta.
bsp_doublesided
- [BSP] Exports faces as double-sided.
bsp_missingsurfaces
- [BSP] Attempts to recreate missing surfaces (EXPERIMENTAL).
bsp_nosky
- [BSP] Ignores sky.
bsp_no_connection
- [BSP] Prevents brushes from being connected when they are touching and sharing at least one same shader.
[BSP] Warning: Not recommended for performance.
bsp_uniquefaces
- [BSP] Treats each faces as unique instead of merging faces by shaders.
[BSP] Warning: This feature is expensive.
dontrecomputenormals
- Prevent recomputing normals of each verts.
expansions
- Includes assets from expansions (maintt and mainta game directories).
file( String file, [ String ref ] )
- Adds a file to the export list.
gamepath( String gamedir )
- Sets the game directory.
help
- Shows help.
model_not_doublesided
- [MODEL] Prevents models from being double-sided.
nomaterial
- Disables the creation of materials.
outdir( String outdir )
- Sets the output directory.
skipexistingtextures
- Skips extraction of existing textures from maps/models on the disk.
skiptextures
- Skips the extraction of textures from maps/models (useful if you already have extracted them).
tiki_export_anims
- [TIKI] Exports all animations from the tiki file.
uniquematerial
- Uses unique materials instead of merging duplicate materials (useful for models, not for levels).
So I tried running this
omohconverter_x64 -gamepath "E:/games/MOHAA" -outdir "E:/omohconverter/output" -file "maps/dm/mohdm6.bsp" -bsp_nosky -nomaterial
and returns this message
Code:
-------------------------------
OpenMoHAA Assets Converter 1.0.0.8472 win_msvc-x64 Oct 31 2017
Designed for MOHUE
Do not use this tool illegally.
-------------------------------
* Scanning paks...
16/16 paks...
.. E:/games/MOHAA\mainta\pak2.pk3 --> The pak file has wrong hash or doesn't exist
.. E:/games/MOHAA\mainta\pak4.pk3 --> The pak file has wrong hash or doesn't exist
.. E:/games/MOHAA\maintt\pak2.pk3 --> The pak file has wrong hash or doesn't exist
.. E:/games/MOHAA\maintt\pak4.pk3 --> The pak file has wrong hash or doesn't exist
.. E:/games/MOHAA\mainta\pak1.pk3 --> The pak file has wrong hash or doesn't exist
.. E:/games/MOHAA\mainta\pak3.pk3 --> The pak file has wrong hash or doesn't exist
.. E:/games/MOHAA\mainta\pak5.pk3 --> The pak file has wrong hash or doesn't exist
.. E:/games/MOHAA\maintt\pak1.pk3 --> The pak file has wrong hash or doesn't exist
.. E:/games/MOHAA\maintt\pak3.pk3 --> The pak file has wrong hash or doesn't exist
Done
* Converting file(s)...
0/0 file.
...
I only have mohaa installed, but the program is looking for the mainta and maintt folders, even when I'm not using the "expansions" param
I tried running it as administrator,
I tried extracting the bsp into the "maps/dm" folder
I also tried with different "-file" parameters
Code:
-file "maps/dm/mohdm6"
-file "mohdm6.bsp"
-file "main/maps/dm/mohdm6.bsp"
-file "E:/games/MOHAA/main/maps/dm/mohdm6.bsp"
but none of this seems to work. it always says "0/0 file."
What am I missing?