bootstrapper

package
v0.0.0-...-b7b89c5 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2026 License: GPL-3.0 Imports: 33 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var BootstrapperLog = bytes.Buffer{}
View Source
var GameJoinLoadTime = regexp.MustCompile(`universeid:([0-9]+).*userid:([0-9]+)`)
View Source
var GameJoinPattern = regexp.MustCompile(`! Joining game '([0-9a-f\-]{36})' place ([0-9]+) at ([0-9\.]+)`)

these were taken from bloxstrap's activity watcher

View Source
var GameJoinUdmux = regexp.MustCompile(`UDMUX Address = ([0-9\.]+), Port = [0-9]+ \| RCC Server Address = ([0-9\.]+), Port = [0-9]+`)
View Source
var GlobalInman = &common.Inman{}
View Source
var LightningTechnology = regexp.MustCompile(`\[FLog::Graphics\] (.*) shadows`)
View Source
var PlayerStateChanged = regexp.MustCompile(`Warning: (?:added|removed)  ([^\n\r ]*)`)
View Source
var UiState = BootstrapperUIState{
	LogOutput:        &nucular.TextEditor{},
	Progress:         0,
	CurrentOperation: "Waiting for bootstrapper...",
}

Functions

func ApplyFileMod

func ApplyFileMod(installDir string, modBa []byte)

func ApplyFileMods

func ApplyFileMods(installDir string)

func CheckAndPerformUpdates

func CheckAndPerformUpdates(installDir string, latestVersion clientsettingscdnResponse)

func DeleteCacheDb

func DeleteCacheDb()

func DeleteOldRobloxBinaries

func DeleteOldRobloxBinaries()

func EvalSpecialFile

func EvalSpecialFile(file string) string

removed globalbasicsettings due to possible misuse

func FindAndOpenLog

func FindAndOpenLog(instance *common.Instance)

func GetBootstrapperImage

func GetBootstrapperImage() []byte

func GetLatestVersion

func GetLatestVersion() clientsettingscdnResponse

func GetRawPackageMap

func GetRawPackageMap() []byte

func InstallWebView2

func InstallWebView2(installDir string)

func IsWebView2Installed

func IsWebView2Installed() bool

func LaunchBootstrapper

func LaunchBootstrapper(newProcess bool, robloxArgs string)

func LaunchUI

func LaunchUI()

func PerformKVMod

func PerformKVMod(fileType string, file []byte, key string, value string) (out []byte, ok bool)

func Println

func Println(args ...any)

func RequiresInstallation

func RequiresInstallation(latestVersion string) bool

func RunBootstrapperReadLoop

func RunBootstrapperReadLoop(conn *websocket.Conn)

func StartProxy

func StartProxy(inman *common.Inman) *websocket.Conn

func TryLock

func TryLock() (conn *websocket.Conn, state string)

Types

type BootstrapperUIState

type BootstrapperUIState struct {
	LogOutput        *nucular.TextEditor
	Progress         int
	CurrentOperation string
	Update           func()
	CloseWindow      func()
}

type DiscordRPC

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

func (*DiscordRPC) RunRPC

func (rpc *DiscordRPC) RunRPC()

type LogProcessor

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

func (*LogProcessor) ProcessLine

func (lp *LogProcessor) ProcessLine(line string) error

func (*LogProcessor) Write

func (lp *LogProcessor) Write(p []byte) (int, error)

type Package

type Package struct {
	Name                string //eg. RobloxApp.zip
	ExtractionDirectory string
	CompressedSize      int64
	UncompressedSize    int64
}

func GetPackages

func GetPackages(VersionGUID string) (packages []Package, totalUc int64, totalC int64)

Directories

Path Synopsis
rich-go
ipc

Jump to

Keyboard shortcuts

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