bmscanner

package module
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 26, 2025 License: MIT Imports: 10 Imported by: 0

README

bmscanner

[!warning] This is not a full bms parser, it only scans the meta data of the files

scan bms files

Documentation

Overview

Package bmscanner scan bms files

Index

Constants

This section is empty.

Variables

View Source
var (
	Commands       []CommandWord
	IgnorePrefixes = []string{
		"#WAV",
		"#RANDOM",
		"#ENDRANDOM",
		"#IF",
		"#ENDIF",
		"#BMP",
		"#STOP",
		"#SCROLL",
	}
)
View Source
var EXTS []string = []string{
	".bms",
	".pms",
	".bmson",
	".bme",
	".bml",
}

Functions

This section is empty.

Types

type BMSModel

type BMSModel struct {
	MD5         string
	SHA256      string
	Genre       string
	Title       string
	SubTitle    string
	Artist      string
	SubArtist   string
	Path        string
	Player      int
	PlayerLevel string
}

func ReadDirectories

func ReadDirectories(paths ...string) ([]*BMSModel, error)

type CommandWord

type CommandWord struct {
	// contains filtered or unexported fields
}

CommandWord represents one command word in bms file

format: #cw.name arg
example: #PLAYER 1

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL