Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/remapper/src/mod.ts>Info

A framework for Beat Saber map scripting.
Go to Latest
class Info
import { Info } from "https://deno.land/x/remapper@3.0.0/src/mod.ts";

Properties

authorName: string

Name of the song author.

BPM: number

BPM of the song.

contributors: Json[]

Contributors who have worked on this map.

coverFileName: string

Filename of the cover art.

customData: Json

Custom data for the info.

customEnvironment: string

A custom platform to use.

customEnvironmentHash: string

The hash for a custom platform used.

editors: Json

Editors that have edited this map.

environment: ENV_NAMES

Name of the environment.

environment360: string

Name of the environment for 360 levels.

fileName: string

The filename of this info

json: Json

The Json for this info

mapper: string

Name of the mapper(s).

name: string

Name of the song.

previewDuration: number

Duration (in seconds) of the song preview when clicking on the song.

previewStart: number

Start (in seconds) of the song preview when clicking on the song.

shuffle: boolean

Value that is meant to correct some beats being offset in a measure. This value works in tangent with shufflePeriod. More info can be found here: https://bsmg.wiki/mapping/map-format.html#shuffle

shufflePeriod: number

Value that is meant to correct some beats being offset in a measure. This value works in tangent with shuffle. More info can be found here: https://bsmg.wiki/mapping/map-format.html#shuffleperiod

songFileName: string

Filename of the song.

songOffset: number

Offsets the song audio in seconds.

subName: string

Song subname.

version: string

Info version.

Methods

load(path?: string)

Loads the Json into this info.

Saves the info.