acd

package
Version: 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: 0

Documentation

Overview

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

* AcTools (and Content Manager)

- https://github.com/gro-ove/actools - Licensed under the Microsoft Public License (Ms-PL)

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

- https://aluigi.altervista.org/bms/assetto_corsa_acd.bms
- https://aluigi.altervista.org/quickbms.htm

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

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL