CgfxViewer 3DS

From GameBrew

CgfxViewer
Cgfxviewer2.png
General
Authorplanetarian
Last Updated2014/11/18
TypeOther PC Utilities
Version2014
LicenseMixed
Links
Windows Download
Website

CgfxViewer is a Viewer that Views CGFX models, made in the Unity 5 beta.

User guide

To open a CGFX file, just extract CgfxViewer somewhere, then drag your CGFX file (likely a .bin or something) onto the CgfxViewer exe.

You can also select multiple files and drag them all onto the exe at once to open them together (useful for character models that store head/body/face/etc in different files).

Associate your CGFX files' extension with the exe and you can open them by doubleclicking.

Once you open it, just use your mouse to change the camera view.

Screenshots

cgfxviewer3.png

Known issues

This is mostly featureless alpha:

  • Animations, cameras, basically anything that is beyond the model itself, its bones, and its textures, not implemented.
  • Complex bone manipulations not implemented. The occasional model has random bits dangling in odd places.
  • Any shaders beyond basic diffuse/cutout not implemented. You'll see weird texture tiling sometimes.
  • No actual lighting/shading. The games that the author worked with so far have had lighting disabled (fullbright on) and shadows are baked into the textures.
  • Everything is mirrored along the Z axis. 3DS, surprisingly, uses right-handed coordinates. Unity uses left-handed.

Credits

Thanks to Gericom for helping out.

A few of the data structures used in the source code (specifically MTOB and skeleton data) were basically ported from EveryFileExplorer.

External links