Skip to content

Latest commit

 

History

8 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

teraclassicctl

teraclassicctl installs and launches TERA Europe Classic+ on Arch Linux with system Wine. It creates an isolated Wine prefix, uses the official Windows launcher, and does not bundle proprietary game files or use Lutris.

Install

Install the Arch packaging tools if they are not already available:

sudo pacman -Syu --needed base-devel git

Clone this repository, then build and install the local package:

git clone https://github.com/bnema/teraclassicctl.git
cd teraclassicctl
makepkg -si

makepkg -si installs the required Wine packages (wine, wine-mono, and wine-gecko), builds the CLI, installs its desktop entry and icon, and installs the package. By default, teraclassicctl uses wine from PATH; Wine 11 or newer is required for that default. An alternate executable selected through TERA_CLASSIC_WINE requires Wine 10 or newer.

Wine runtime

Set TERA_CLASSIC_WINE to an absolute path when using another Wine build. Its sibling wineboot executable is used for the same prefix. Set it when running install so the generated desktop entry retains the selection.

For CachyOS Wine:

TERA_CLASSIC_WINE=/opt/wine-cachyos/bin/wine teraclassicctl install

First run

teraclassicctl doctor
teraclassicctl install

install creates a 64-bit Wine prefix at ~/Games/tera-classic, downloads the official launcher installer, and opens its Windows setup UI. Finish that setup, then launch TERA Europe Classic+ from your desktop environment's application menu. The launcher downloads and manages the game files.

Locations

Purpose Default location
Wine prefix and game files ~/Games/tera-classic
Wrapper data ~/.local/share/teraclassicctl
Installer cache ~/.cache/teraclassicctl

Set TERA_CLASSIC_GAME_DIR to use another absolute location:

TERA_CLASSIC_GAME_DIR=/path/to/tera-classic teraclassicctl install

Compatibility

The official launcher uses Microsoft WebView2. On Wine, its DirectComposition renderer can produce a blank white or black window. Before installing or launching, teraclassicctl configures Windows 7 compatibility only for the msedgewebview2.exe subprocess. The launcher and game remain at the prefix's normal Windows version.

Optional DXVK renderer

TERA uses Direct3D 9. DXVK can translate that renderer to Vulkan, but it remains opt-in. Install a DXVK package that provides /usr/share/dxvk/x64/d3d9.dll, then enable it while the launcher and game are closed:

teraclassicctl install --dxvk

For an existing installation, use the explicit DXVK commands:

teraclassicctl dxvk status
teraclassicctl dxvk enable
teraclassicctl dxvk disable

Enabling DXVK backs up Wine's original 64-bit d3d9.dll and sets the d3d9 Wine override to native,builtin. Disabling restores that original DLL. Neither operation downloads, patches, or removes TERA game files.

Maintenance

teraclassicctl doctor       # Check Wine and launcher installation
teraclassicctl clean        # Remove wrapper cache and metadata only
teraclassicctl clean --all  # Remove the wrapper-owned prefix and game files

clean --all refuses to remove a prefix that was not created by teraclassicctl.

Troubleshooting

Use teraclassicctl launch only when diagnosing a launcher problem. Provide the same TERA_CLASSIC_WINE value, if configured, so terminal output comes from the Wine build used by the desktop entry:

TERA_CLASSIC_WINE=/opt/wine-cachyos/bin/wine teraclassicctl launch

Development

make test
make vet
make build

make build produces build/teraclassicctl. Use makepkg -si for a complete local installation with desktop integration.

Upstream

License

MIT

About

Install and launch TERA Europe Classic+ on Arch Linux with Wine

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages