Page 2 of 2 FirstFirst 12
Results 11 to 18 of 18

Thread: 3d model of Stalingrad map

  1. #11
    Administrator James's Avatar
    Join Date
    May 2010
    Location
    on the intraweb
    Posts
    3,037

    Default

    Damn!! Impressive indeed? How did you even figure all that out? Wow man!!!

  2. #12

    Default

    Maybe try this tool ?
    omohconverter_x64.zip

    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
    Last edited by Ley0k; October 28th, 2019 at 11:23 AM.

  3. #13
    Administrator James's Avatar
    Join Date
    May 2010
    Location
    on the intraweb
    Posts
    3,037

    Default

    Thanks for the share Ley0k! Hope you don't mind I uploaded it on our server as well just in case.
    http://x-null.net/mohtools/omohconverter_x64.zip

  4. #14

    Default

    Quote Originally Posted by MFCcomradexx View Post
    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




    Quote Originally Posted by Ley0k View Post
    Maybe try this tool ?
    omohconverter_x64.zip

    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?

  5. #15
    Administrator James's Avatar
    Join Date
    May 2010
    Location
    on the intraweb
    Posts
    3,037

    Default

    What if you temporarily rename the main folder to maintt? It is odd that it seems to append the "expansions" attribute even though you're not using it.

  6. #16

    Default

    Quote Originally Posted by Zappa View Post
    So I tried running this

    omohconverter_x64 -gamepath "E:/games/MOHAA" -outdir "E:/omohconverter/output" -file "maps/dm/mohdm6.bsp" -bsp_nosky -nomaterial
    This command works for me :

    * Scanning paks...
    16/16 paks...
    * Fetching file(s)...
    1 file... Done
    * Converting file(s)...
    1/1 file.
    ...
    I'm using the revival build and I forgot that the converter checks the validity of pak files

  7. #17

    Default

    I tried using the Origin version of the game, which is supposed to be the same "Warchest Edition" as the Revival one, but I'm still getting error on paks 0, 1, 5 and 6.
    I think I'll need to download the Revival edition after all

  8. #18

    Default

    Quote Originally Posted by Zappa View Post
    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
    Consider it done

Page 2 of 2 FirstFirst 12

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •