Twili Sep 14, 2015.

  1. Twili

    Twili Banned

    Mar 20, 2014
    United States
    This is a 3D model viewer for Ocarina of Time 3D and Majora's Mask 3D, with a pretty self-explanatory UI. Click and drag the left mouse button and use the WASD keys to manipulate the camera.

    Release binary: http://www.mediafire.com/download/51t3244pb23p0kd/N3DSCmbViewer.rar
    GitHub: https://github.com/xdanieldzd/N3DSCmbViewer

    I'm not the main programmer, but I contributed various knowledge on the model format. I also made a couple edits to the code (deleting 2 blocks that caused undesired operation) and compiled the binary above.

    (I deleted lines 63-70 in general-vs.glsl and lines 546-572 in ModelHandler.cs. The GitHub commit has them, because I don't have git, so I can't make a PR, etc.)

    On the Options drop-down menu, there's an "Enable Skeletal Rendering" option. Here's what models look like without and with it enabled: :lol:

  2. xdaniel

    xdaniel Advanced Member

    Sep 14, 2015
    Gambia, The
    Hey, author of the program here. Just want to clarify some things about this before eventually posting about a few other, 3DS-related things.

    Aside from viewing models from OoT3D/MM3D, the program can also export these to Collada .dae, tho this works best with static map models. Mostly because, despite what the screenshots above might imply, skeletal animation support is far from fully functional - one of the blocks of code causing "undesired operation", the lines in the vertex shader, was trying to get this to work, but failed. Twili's edits just make the program ignore the skeletal system for the model parts in question.

    The program also loads .zar (OoT3D) and .gar (MM3D; both compressed and uncompressed) archives, can extract files from them and can render models contained within them, as seen in the screenshots. There's also some support for .zsi files, which are the 3DS versions' equivalents of scene and room files from the N64 games, i.e. they describe levels, the placements of interactive actors in them, etc.


    All of that said... this program should probably be replaced by a new viewer/exporter. I'm far from being a good programmer, so the code is quite a mess, and several things about the model format aren't understood very well yet. So if anyone's interested in trying to "make things right", be my guest! Even though I'm burned out from and bored by this, I'd love to see a fresh take on this thing.
    DarthDub likes this.
  3. DarthDub

    DarthDub Amateur Hacker

    Jan 26, 2016
    United States
    Your mom's basement.
    Would be nice if I could edit the cmbs. So far, this is the only tool that can view them. @xdaniel I might be able to get people interested in helping with that format.
Quick Reply
Draft saved Draft deleted
Similar threads with keywords: N3DSCmbViewer Hide similar threads
  1. LeafAce