8000 GitHub - max-te/barrels: A dwarven customary container format for Wine hoarding
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
/ barrels Public

A dwarven customary container format for Wine hoarding

License

Notifications You must be signed in to change notification settings

max-te/barrels

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Barrels - Customary dwarven Wine hoarding containers

Version 1: Alder

A tool for creating portable, self-contained Wine environments using dwarfs compressed filesystem images. It allows you to package Windows applications (primarily games) into portable containers that can be easily distributed and run on Linux systems.

Overview

Barrels packages Wine and Wine Mono (Kron4ek builds) into a single compressed archives using the dwarfs filesystem. The main executable (barrels) serves as both a Wine environment and a driver for creating and running application containers, allowing you to create portable Windows application packages that can run anywhere with just the driver and the application's .dwarfs container.

Prerequisites

  • Linux system
  • dwarfs filesystem tools (dwarfs, mkdwarfs)
  • fuse-overlayfs
  • wget
  • Basic build tools (make, tar)

Building

To build the Wine environment driver:

make barrels

This will:

  1. Download the required Wine and Wine Mono versions
  2. Create a Wine prefix with necessary components
  3. Package everything into a compressed dwarfs filesystem
  4. Create a self-contained executable driver

Usage

Creating Application Containers

To create a new application container:

./barrels --create <app>.dwarfs

This will set up the necessary mounts and Wine prefix. You now need to do the following:

  1. Install your Windows application into the Wine prefix
  2. Create an entrypoint.sh script (example provided in example-entrypoint.sh) Once you're done, exit the shell, and the application container will be created.

Editing Application Containers

To modify an existing application container:

./barrels --edit <app>.dwarfs

This will mount the existing container and allow you to make changes to it. The original container will be backed up as <app>.dwarfs.backup before creating the new container with your changes.

Running Applications

To run a packaged application:

./barrels <app>.dwarfs [-- <args>]

The application container will be mounted and launched according to its entrypoint script. Any arguments after -- will be passed to the entrypoint script.

Alternatively, you can specify a command to run instead of the entrypoint:

./barrels <app>.dwarfs <command> [<args>...]

User data will be stored in ~/.local/share/dwarf-<app>.

About

A dwarven customary container format for Wine hoarding

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0