Overview
The first-run wizard consists of several sequential steps:- Welcome screen
- System dependencies check
- Default paths configuration
- Voice pack selection
- Component downloads (Wine & DXVK)
- Completion
Setup Process
Welcome Screen
The launcher presents a welcome message and checks for required dependencies.What happens automatically:
- Checks for
git,dwebp, and7z/7zapackages - If all dependencies are found, skips to Default Paths
- If dependencies are missing, shows the Dependencies page
The launcher uses
is_available() checks in src/ui/first_run/welcome.rs:82-85 to detect installed packages.System Dependencies (if needed)
If required packages are missing, the launcher displays installation commands for your distribution.Supported package managers:
- Arch Linux (pacman):
sudo pacman -Syu git p7zip libwebp-utils - Debian/Ubuntu (apt):
sudo apt install git p7zip-full webp - Fedora (dnf):
sudo dnf install git p7zip libwebp-tools
gitp7ziplibwebp
- Install the packages using your package manager
- Click Check to verify installation
- The launcher validates each dependency before continuing
Default Paths Configuration
Configure where the launcher stores its files and game data.Primary folder:
- Launcher Folder: Root directory for all launcher files (default:
~/.local/share/anime-game-launcher)
- Runners Folder: Wine builds storage
- DXVK Folder: DXVK builds storage
- Wine Prefix Folder: Windows compatibility prefix
- Global Game Installation: Game files for global version
- Chinese Game Installation: Game files for Chinese version
- FPS Unlocker Folder: FPS unlocker tool location
- Components Index: Components repository path
- Temp Folder: Temporary download files
Voice Pack Selection
Choose which voice language packs to download with the game.Available languages:
- English (en-us) - Pre-selected by default
- Japanese (ja-jp)
- Korean (ko-kr)
- Chinese (zh-cn)
- Each voice pack is approximately 2-4 GB in size
- You can change voice packs later in Settings > General > Game Voiceovers
- Multiple packs can be installed simultaneously
- Only selected packs will be downloaded and updated
config.game.voices in the configuration file.Voice pack sizes are defined in the source at
src/ui/first_run/select_voiceovers.rs:156-170 and stored as locale codes (e.g., “en-us”, “ja-jp”).Download Components
Download and configure Wine and DXVK for running the game.Wine Selection:
- The launcher shows the 4 latest versions from the 4 first available Wine groups
- Recommended versions are pre-selected
- Wine builds are stored in the Runners folder
- Shows the 4 latest versions from the 4 first available DXVK groups
- DXVK provides DirectX to Vulkan translation for better performance
- Download Wine - Downloads selected Wine build (~100-300 MB)
- Create Prefix - Initializes Wine prefix for game compatibility
- Download DXVK - Downloads selected DXVK build (~5-15 MB)
- Apply DXVK - Installs DXVK into the Wine prefix
- A progress bar at the bottom shows download progress
- Downloads are stored in the temp folder before extraction
- The launcher skips downloading if components are already present
The download process is defined in
src/ui/first_run/download_components.rs. Wine and DXVK are essential for running Windows games on Linux.Completion
Setup is complete! The launcher shows a success message with two options:
- Restart: Closes and reopens the launcher (recommended)
- Exit: Closes the launcher
- All configuration saved to
config.json - Wine and DXVK installed and ready
- Voice pack preferences saved
- First-run flag cleared
- Download the game
- Configure additional settings
- Launch the game once installed
Skipping Components
The launcher intelligently skips already-completed steps:- Wine already downloaded: Skips to prefix creation
- DXVK already downloaded: Skips to DXVK application
- Dependencies installed: Skips dependency page
Troubleshooting First-Run
Dependencies not detected after installation
Dependencies not detected after installation
Solution:
- Make sure packages are installed system-wide, not in a container
- Verify packages are in your PATH:
which git,which 7z,which dwebp - Restart your terminal or log out and back in
- Click Check again in the dependencies page
Wine download fails
Wine download fails
Common causes:
- Network connectivity issues
- Insufficient disk space
- Firewall blocking downloads
- Check your internet connection
- Verify free space in your Runners folder
- Try a different Wine version from the dropdown
- Check the console output for detailed error messages
Prefix creation hangs
Prefix creation hangs
This usually happens when:
- Wine is initializing for the first time
- System resources are limited
- Wait a few minutes - first-time prefix creation can take 2-5 minutes
- Check system resources (RAM, CPU)
- If stuck for >10 minutes, restart the launcher and try again
Want to change paths after setup
Want to change paths after setup
You can modify paths later:
- Open Settings (gear icon)
- Navigate to the relevant section:
- Game paths: Settings > General
- Wine/DXVK paths: Settings > Enhancements
- Change the paths as needed
- Restart the launcher for changes to take effect
Related Configuration
All first-run settings are stored inconfig.json:
Next Steps
After completing first-run setup:Updating Games
Learn how to download and update the game
Voice Packs
Manage voice language packs