rpgmaker

package
v0.0.24 Latest Latest
Warning

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

Go to latest
Published: May 16, 2026 License: GPL-3.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DetectGameLocale

func DetectGameLocale(projectRoot string) string

Types

type Engine

type Engine struct {
	PrefixRoot    string
	CurrentPlugin string
}

func New

func New() *Engine

New returns an RPG Maker engine installer with sane defaults. You can override fields directly if your caller already resolved runner/prefix.

func (*Engine) AddGame added in v0.0.14

func (e *Engine) AddGame(ctx context.Context, dir string) (*game.Game, error)

func (*Engine) FollowGameText added in v0.0.14

func (e *Engine) FollowGameText(ctx context.Context, g *game.Game, opts ...engine.FollowGameOptions) (chan engine.Line, error)

func (*Engine) GetDefaultPlugin added in v0.0.8

func (e *Engine) GetDefaultPlugin() string

func (*Engine) GetFile added in v0.0.11

func (e *Engine) GetFile(g *game.Game, file string) (*engine.EngineFileInfo, error)

func (*Engine) GetTextractor added in v0.0.14

func (e *Engine) GetTextractor(game *game.Game) *textractor.Client

func (*Engine) InstallGame

func (e *Engine) InstallGame(dir string) (*game.Game, error)

func (*Engine) InstallHook added in v0.0.14

func (e *Engine) InstallHook(ctx context.Context, g *game.Game) error

func (*Engine) InstallTextHook

func (e *Engine) InstallTextHook(g *game.Game) error

func (*Engine) IsDirEngine

func (e *Engine) IsDirEngine(dir string) bool

func (*Engine) IsEngine

func (e *Engine) IsEngine(dir string) bool

func (*Engine) ManagedGames added in v0.0.14

func (e *Engine) ManagedGames() []*game.Game

func (*Engine) Name

func (e *Engine) Name() string

func (*Engine) RunGame added in v0.0.14

func (e *Engine) RunGame(ctx context.Context, g *game.Game) (*gr.Process, error)

func (*Engine) SetCustomPlugin added in v0.0.8

func (e *Engine) SetCustomPlugin(data string) error

func (*Engine) Shutdown added in v0.0.14

func (e *Engine) Shutdown() error

func (*Engine) StopGame added in v0.0.14

func (e *Engine) StopGame(ctx context.Context, proc *gr.Process) (*gr.Process, error)

Jump to

Keyboard shortcuts

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