Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rplpa

rplpa is an osu! replay parser/writer for golang.

Examples:

Reading the replay

package main

import (
  "ioutil"

  "github.com/wieku/rplpa"
)

func main() {
  b, err := ioutil.ReadFile("path/to/replay.osr")
  if err != nil {
    panic(err)
  }
  replay, err := ParseReplay(b)
  if err != nil {
    panic(err)
  }
}

Reading compressed input data

package main

import (
  "ioutil"

  "github.com/wieku/rplpa"
)

func main() {
  RawData := []byte{} // Compressed LZMA stream of input events in delta1|x1|y1|keys1,delta2|x2|y2|keys2 format
  replaydata, err := ParseCompressed(RawData)
  if err != nil {
    panic(err)
  }
}

About

rplpa is a Library to parse Osu! Replays.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages