commands

package
v0.0.0-...-06f5a1e Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2022 License: GPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const FILE_INDEX_NO_ENTRY = -1
View Source
const INDEX_SEPARATOR = rune('.')
View Source
const RAW_REPLACE_DIR = "raw"

Variables

This section is empty.

Functions

func ReadRaw

func ReadRaw(rawPath string, index int, xbc1Name [0x1C]byte, channel chan *FileReadResult)

func ReadTexture

func ReadTexture(texturePath string, index int, textureId formats.MSRDTextureId,
	origCacheMIBL formats.MIBL, xbc1Name [0x1C]byte, channel chan *FileReadResult)

func ReplaceTexturesInWismt

func ReplaceTexturesInWismt(inWismtPath, inTextureDir, outWismtPath string) error

Types

type FileReadResult

type FileReadResult struct {
	Err               error
	Path              string
	FileIndex         int
	CompressedData    formats.XBC1
	TextureReadResult TextureReadResult
}

type TextureReadResult

type TextureReadResult struct {
	TextureId formats.MSRDTextureId
	MipsMIBL  formats.MIBL
	CacheMIBL formats.MIBL
}

Jump to

Keyboard shortcuts

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