rtmi

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2022 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Overview

Package rtmi encodes/decodes data with XOR encryption as used by Return to Monkey Island.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Key

type Key struct {
	MagicBytes1 [256]byte
	MagicBytes2 [65536]byte
	Modifier    byte
	// contains filtered or unexported fields
}

Key is an XOR key for Return to Monkey Island.

func (*Key) DecodingReader

func (key *Key) DecodingReader(r io.Reader, expectedSize int64) io.Reader

func (*Key) EncodingWriter

func (key *Key) EncodingWriter(w io.Writer, expectedSize int64) io.Writer

func (*Key) LoadFrom

func (key *Key) LoadFrom(execFile string) error

func (*Key) NeedsLoading

func (key *Key) NeedsLoading() bool

func (*Key) UsesShortKeyIndices

func (key *Key) UsesShortKeyIndices() bool

Jump to

Keyboard shortcuts

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