acd

package
v1.7.9 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2021 License: MIT Imports: 4 Imported by: 1

Documentation

Overview

This code would not have been possible without the two following projects:

* AcTools (and Content Manager)

* Luigi Auriemma's QuickBMS, specifically the "Assetto Corsa ACD" script.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type File

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

File is contained within an Assetto Corsa .acd archive.

func (*File) Bytes

func (f *File) Bytes() ([]byte, error)

Bytes returns the data of the file

func (*File) Name

func (f *File) Name() string

Name is the filename per the archive

type Reader

type Reader struct {
	Files []*File
	// contains filtered or unexported fields
}

Reader is a reader for Assetto Corsa .acd files

func NewReader

func NewReader(r io.ReadSeeker, parentFolderName string) (*Reader, error)

NewReader creates a reader for a given io.Reader. parentFolderName must be the original parent folder name as it is used for deciphering purposes

Jump to

Keyboard shortcuts

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