Skip to content

jpoz/cdgo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages