packagetool

package module
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2024 License: MIT Imports: 8 Imported by: 0

README

packagetool

A tool for working with various archive formats used in Konami arcade games

Usage

Usage: packagetool [OPTIONS] FILENAME
List of available options:
  -l    List archive contents
  -o string
        Path to the ouput directory (default "./")

To dump the contents of an archive, simply run packagetool FILENAME.

Supported Formats

  • BAR (both variants)
  • MAR
  • QAR

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BarReader

type BarReader struct{}

func (BarReader) Name

func (BarReader) Name() string

func (BarReader) Read

func (BarReader) Read(rd io.Reader, cb func(File) error) error

type File

type File struct {
	io.Reader
	Filename string
}

type MarReader

type MarReader struct {
	UseDecryption bool
}

func (MarReader) Name

func (MarReader) Name() string

func (MarReader) Read

func (mar MarReader) Read(rd io.Reader, cb func(File) error) error

type PackageReader

type PackageReader interface {
	Name() string
	Read(rd io.Reader, cb func(File) error) error
}

func DetectArchiveType

func DetectArchiveType(rd *bufio.Reader) (PackageReader, error)

type QarReader

type QarReader struct{}

func (QarReader) Name

func (QarReader) Name() string

func (QarReader) Read

func (QarReader) Read(rd io.Reader, cb func(File) error) error

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

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