Skip to content
This repository has been archived by the owner on Feb 12, 2024. It is now read-only.

Latest commit

 

History

History
62 lines (47 loc) · 2.48 KB

README.md

File metadata and controls

62 lines (47 loc) · 2.48 KB

DaeConverter

A command line based app to import and extract Halo 2 Render Model tags

Build status

Launch Parameters

Compiling Collada models

  • Use "-compile <Model_Directory>"
  • Example : DaeConverter.exe -compile BR
  • Note : The <Model_Directory> must be organised properly

Compiling JMS files

  • Use "-compileJMS <model_Directory>"
  • Example : DaeConverter.exe -compileJMS testjms
  • Note : jms 8200 would be treated similary to 8210 in terms of material declarations,therfore it is mandatory to define LOD/permutations/regions in material section as it is done in 8210

Decompiling Render Model

  • Use "-decompile <render_model file>"
  • Example : DaeConverter.exe -decompile BR\BR.render_model
  • Note : The Path is relative to CurrentDirectory

Copying Node data

  • Use "-replace-node <destination render_model file> <source render_model file>"
  • Example : DaeConverter.exe -replace-node test\test.render_model test\battle_rifle.render_model
  • Note : The Path is relative to CurrentDirectory

Copying Marker_group data

  • similar to node data copying
  • "-replace-marker <destination render_model file> <source render_model file>"

Model_Directory

  • ParentFolder/Regions/Permutations/Collada Files(.dae)
  • Check Example

Status

  • Completed
    • the loading part of the render_model 21/2/18,a bit broken
    • render_model dumping function at 04/04/18
    • Supports multiple Permutations and multiple models
    • Supports Nodes
    • Supports Node copying
    • Calculation of vertex binormals,tangents(for proper lightning)
  • Incomplete
    • collada dumping function
    • collada loading function(its in alpha stage,therefore not error free)
    • Traingle Strip optimization(for custom skies)

Contributing

Contributions are welcome, MSVC 2015 is currently used to build the app, and is therefore the recommended IDE.

Compiling

  • Clone and build the MSVC solution

Acknowledgement

Bug Reports

The Program is still incomplete and often breaks when trying to extract render data of some tags. It is mainly due to different TAG_BLOCK header of certain tags.