Skip to content

cxntered/SpareChange

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

"changing" Sparebeat maps into osu!mania beatmaps... get it? ahaha...

Showcase

Showcase

Usage

Web App

SpareChange is also available as a web app here!

Command Line

Usage: sparechange [options] <id>
Options:
  -b, --beta           Whether to fetch a beta Sparebeat map
  -m, --music string   Path to a local .mp3 audio file to use
  -p, --path string    Path to a local Sparebeat map JSON file

Development

Requirements

  • Go (v1.24.5 or higher)
  • TinyGo: For building the WebAssembly module, optional (v0.39.0 or higher)
    • binaryen: Required on Windows for WebAssembly builds

Building

Command Line

$ go build -o bin/SpareChange ./cmd/cli

Web App

# Copy the images folder to the web directory
$ cp -r internal/assets/images web/

# Build the WebAssembly module
$ GOOS=js GOARCH=wasm tinygo build -o web/main.wasm -no-debug ./cmd/wasm

Resources

To Do

not comprehensive at all, just a rough list for now

  • Fetch Sparebeat map from both beta and stable
  • Parse Sparebeat map JSON
  • Convert Sparebeat map to an osu!mania beatmap
  • Create a .osz file with the converted map and audio
  • Properly convert Sparebeat BPM & speed changes to osu!mania SV
  • Allow local Sparebeat maps to be converted
  • Allow osu!mania beatmaps to be converted into Sparebeat maps