utils

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2025 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DllInfo

type DllInfo struct {
	FilePath           string
	Md5sum             string
	IsArcdps           bool
	IsArcdpsAddon      bool
	IsAddonLoaderShim  bool
	IsAddonLoaderCore  bool
	IsAddonLoaderAddon bool
	IsNexus            bool
	IsNexusAddon       bool
	IsGw2Load          bool
	IsGw2LoadAddon     bool
	IsD3D11Shim        bool
	IsDXGIShim         bool
	IsQuarantined      bool
	IsReshade          bool
	FileVersion        WinVersion
	FileDescription    string
	ProductName        string
	ProductVersion     string
	Error              string
}

func ParseDll added in v0.2.0

func ParseDll(logger *zap.SugaredLogger, dllPath string) (*DllInfo, error)

ParseDll parses a DLL and returns information about the DLL

func (*DllInfo) Flags added in v0.2.0

func (info *DllInfo) Flags() string

func (*DllInfo) String

func (info *DllInfo) String() string

type LoadOrder added in v0.4.0

type LoadOrder struct {
	DllInfo *DllInfo
	Source  string     // Description of where this DLL was found
	Parent  *LoadOrder // The DLL that loaded this DLL
}

LoadOrder represents the order in which DLLs will be loaded

func ResolveDllLoadResolution added in v0.4.0

func ResolveDllLoadResolution(dllInfos []*DllInfo, gw2Path string) []LoadOrder

type LoadType added in v0.4.0

type LoadType int

LoadType represents how a DLL was loaded

const (
	LoadTypeShim             LoadType = iota // Loaded as d3d11.dll, dxgi.dll, or chainloaded as a shim
	LoadTypeArcdpsAddon                      // Loaded as an arcdps addon
	LoadTypeAddonLoaderAddon                 // Loaded as an addon loader addon
	LoadTypeAddonLoaderCore                  // Loaded as addon loader core
	LoadTypeNexusAddon                       // Loaded as a nexus addon
	LoadTypeGw2LoadAddon                     // Loaded as a GW2Load addon
)

Jump to

Keyboard shortcuts

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