Skip to content

SnowRainySkr/AffToolKtv

Repository files navigation

AffToolKtv - README

AffToolKtv is a Kotlin library designed to facilitate handling of the Arcaea File Format (aff). With AffToolKtv, you can read, modify, and write aff files using Kotlin. The name "AffToolKtv" comes from aff-toolbox

Quick Start

  1. Clone the AffKt repository to your computer and open it with IntelliJ IDEA.
  2. Create a new Kotlin entry file within the src/kotlin directory. Copy the example code provided below and update the file paths as indicated in the code.
  3. Run the entry file. The program will insert a tap note (at time = 0, lane = 1) into the aff file, save the modified file, and print the max combo count to the console.
package cn.snowrainyskr

import cn.snowrainyskr.aff.structure.Aff
import cn.snowrainyskr.aff.structure.item.note.Tap
import java.io.File

fun main() {
	val aff = Aff.fromAff(File("Your aff file path"))
	val tap = Tap(0, 1)
	aff.add(tap)
	aff.output(File("Your desired output path for the modified aff file"))
	println("Total notes in aff: ${aff.quantity}")
}

API Reference

APIReference.md

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages