GithubHelp home page GithubHelp logo

blueskythlikesclouds / tagtools Goto Github PK

View Code? Open in Web Editor NEW
32.0 9.0 11.0 9.64 MB

Tools for editing Havok 2015/2016 binary tag files (See Havoc branch for reference)

License: MIT License

Python 100.00%
havok

tagtools's Introduction

Tag Tools

Tools for editing Havok 2016 1.0 binary tag files.

Releases

Tools

Tag Tools

This tool can be used to convert Havok files (version <= 2012 2.0) to Havok 2016 1.0 binary tag files, and vice versa.

Usage

TagTools [source] [destination]
Destination is optional, meaning you can do a drag and drop, saving changes to the source file.

Example

TagTools chr_Sonic_HD.skl.hkx chr_sonic.skl.hkx

Collision Converter

This tool converts rigid bodies within a Havok file to static compound shapes.
For example, this can be used to convert Sonic Generations collision to Sonic Lost World / Sonic Forces collision.

Every collision mesh has a "type" as well as various "flags".
To specify these, simply append "tags" at the end of the names of your collision meshes, like so:

MyCollisionMesh -> MyCollisionMesh@Grass
MyOtherCollisionMesh -> MyOtherCollisionMesh@WallJump@Not_Ground@Stone

Any of the following can be used as valid tags:
(NOTE: Not all of these are functional in-game; the "@PARKOUR" flag doesn't seem to do anything in Forces, for example.)

Types

@STONE
@EARTH
@WOOD
@GRASS
@IRON
@SAND
@PHANTOMCUBE
@FORD
@GLASS
@SNOW
@SANDFALL
@ICE
@WATER
@SEA
@WATERFALL
@DEAD
@WATERDEAD
@DAMAGE
@POOL
@AIR
@INVISIBLE
@WIREMESH
@DEAD_ANYDIR
@DAMAGE_THROUGH
@DRY_GRASS
@WETROAD
@SNAKE

Flags

@NOT_STAND
@SLIDE
@BREAKABLE
@STAIRS
@PARKOUR
@WALLJUMP
@NOT_GROUND
@PRESS_DEAD
@MOVABLE
@RAYBLOCK
@SLIP

NOTE: This tool saves files in 2012 2.0 packfile format. If you wish to get 2016 1.0 binary tag file, use TagTools after converting your collision.

Usage

CollisionConverter [source]
Since the tool accepts only one argument, you can do a drag and drop, saving changes to the source file.

Example

CollisionConverter ghz200_col.phy.hkx

This tool was originally made by NeKit, TwilightZoney and N69 for Sonic Lost World.
Modified by me to work with Tag Tools.

License

Tag Tools uses the MIT License.
For details, see LICENSE.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.