renpyarchivetool

package module
v0.0.0-...-2bd6d86 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2023 License: MIT Imports: 11 Imported by: 0

README

renpyarchivetool

Extract files from ren'py archives

I'm refuse to run python which is why I ported the functionality I needed from github.com/Shizmob/rpatool to Go.

I added filetype detection to set correct filetype extensions of files which for one reason or another implies they are a different file type then they really are.

Documentation

Index

Constants

View Source
const (
	RPA2Magic  = "RPA-2.0 "
	RPA3Magic  = "RPA-3.0 "
	RPA32Magic = "RPA-3.2 "
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Index

type Index struct {
	Offset int64
	Length int64
	Prefix []byte
}

type RPAVersion

type RPAVersion int
const (
	RPAVersionUnknown RPAVersion = iota
	RPAVersion2
	RPAVersion3
	RPAVersion32
)

func (RPAVersion) String

func (r RPAVersion) String() string

type RenPyArchive

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

func (*RenPyArchive) FileNames

func (rp *RenPyArchive) FileNames() []string

func (*RenPyArchive) Load

func (rp *RenPyArchive) Load(fileName string) error

func (*RenPyArchive) Read

func (rp *RenPyArchive) Read(filename string) ([]byte, error)

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

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