Skip to content

TheOnly92/sgreader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sgreader

Installation

go get github.com/TheOnly92/sgreader

Documentation

http://godoc.org/github.com/TheOnly92/sgreader

Usage

package main

import (
    "github.com/TheOnly92/sgreader"
)

func main() {
    file := sgreader.ReadFile("C3.sg2")
    err := file.Load()
    if err != nil {
        panic(err)
    }

    bitmaps := file.BitmapCount()
    fmt.Printf("Bitmaps: %d\n", bitmaps)
}

About

Library for reading SG files (asset files for the City Builder games) in pure Go

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages