Skip to main content

Crate rkg_utils

Crate rkg_utils 

Source
Expand description

This crate is meant to be a library to completely and coherently access the data in RKGD files, Mario Kart Wii’s native Ghost Data.

Features:

  • Reading and Writing Vanilla Game Data (including embedded Mii data)
  • Reading and Writing CTGP Modified Data
  • Reading and Writing Pulsar (Retro Rewind) Modified Data
  • Reading and Writing MKW-SP Modified Data
  • Implementing TryFrom<_> for T where T: Into<ByteHandler>, relies on https://github.com/rust-lang/rust/issues/31844 currently
  • Represent at a Type-system level which types can convert from T1 (Bytes) to crate::byte_handler::ByteHandler to T2 (Typed Structs)
  • Optimize Little-Endian calculations with crate::byte_handler::ByteHandler
  • Figure out whether Big-Endian works with crate::byte_handler::ByteHandler

Modules§

byte_handler
crc
footer
header
input_data

Structs§

Ghost
A fully parsed Mario Kart Wii RKG ghost file.

Enums§

GhostError
Errors that can occur while parsing or modifying a Ghost.