Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cdgo

Compact Disc plus Graphics (Karoke file) format library for Go (Golang).

Example

The example below will load a file and print the first instruction packet

file, _ := os.Open("path/to/cdg_file.cdg")
cdgFile := cdgo.NewFile(file)

packet, _ := cdgFile.NextPacket()

packet.Print()

cmd

cdg2images: Write each frame of a CDG file

go run cmd/cdg2images/main.go test.cdg

cdg2text: Debugging tool. Will print human readable instructions of a CDG

go run cmd/cdg2text/main.go test.cdg

References:

https://jbum.com/cdg_revealed.html

https://goughlui.com/2019/03/31/tech-flashback-the-cdgraphics-format-cdg/

About

CDG reader in Go (Golang)

Topics

Resources

Stars

3 stars

Watchers

3 watching

Forks

Releases

Packages

Used by

Contributors

Languages