Skip to content

Real-Luxof/hex-encoder-rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hex-encoder-rs

A (WIP) encoder for Hex Casting spell serde by autohotkey assistance or hitting some sick ass moves on that DDR pad (ingame).

Serde algorithms built in collaboration with @Matt6049. Huge credits to him, he's basically the brilliant guy behind a lot of this. I would've never conceived it on my own.

How to get it

Either:

  • download one of the GitHub releases.
  • compile it yourself through GitHub actions.
  • do the following:
    • run cargo build -r to build the project in release mode.
    • your output executable is in target/releases
    • the only folder that is necessary is needs in the project root.
    • put the executable and the needs folder in a single folder.
    • done.

How to use it

As a CLI tool

Pass in -h as an option, and the program will tell you.

Normally

Click it. Just open the executable.

How it works

The main idea is that a person:

  • gains patterns either through the Hex Casting forums (also known as the Akashic Records) or through writing a hex and wishes to import the patterns into their Minecraft world,
  • writes patterns into a .hexpattern file,
  • runs this encoder on said file,
  • reads the binary output into their world via either:
    • performing "dance moves" (I use the word loosely) and casting their dance Artifact
      • these are sequences of states they put themselves in.
        (e.g. looking North and moving West while jumping and not sneaking at the same time)
      • each cast the state is taken, translated to binary, and written to their Focus.
      • this has less bitrate than it's alternative and is prone to error.
      • added by me, mostly for whimsy.
    • or running an autohotkey script
      • the person fills their hotbar slots 1-8 with Artifacts that write an octal to their Focus.
      • they paste the octals provided by this encoder into the autohotkey script input.
      • every 3 ticks (delay due to Artifact cooldown) the script changes slots to write the next octal to their Focus.
      • this requires no skill.
      • this has insane amounts of bitrate.
  • runs their decoder hex on their binary,
  • then is given the hex and can cast it.
  • all without any addons.

By the end, this encoder should be able to output binary, octals (for the autohotkey script), and dance moves for easy-medium-hard dance decoders, for all valid .hexpattern files. This includes macro functionality.

Oh, and I apologize for the code. This is like, my first actual Rust project.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages