Special Codecs
Special thanks to @fission for writing this modular script. This provides an alternative way to install individual codecs in wineprefixes when needed.
When you see special: (codec)
on the Visual Novel compatibility page, use this guide to create the appropriate wineprefix.
Supported Codecs
Codec | Description |
---|---|
wmp11 | Windows Media Player 11 |
lavfilters | LAV Filters |
xaudio29 | XAudio 2.9 |
quartz2 | DirectShow Quartz |
mf | Media Foundation |
mciqtz32 | MCI QuickTime |
quartz_dx | DirectShow Quartz DirectX |
Prerequisites
IMPORTANT
Before using this script, ensure you have:
- Downloaded the script: Get the zip file from the GitHub repository
- Extracted the files to a folder (typically Downloads)
- Created a wineprefix if you haven't already (guide here)
Installation Methods
Lutris
Open Wine terminal
- Click the 🍷 Wine Bottle
- Select Bash Terminal
Navigate to script folder
bashcd <path-to-script-folder> # Example: cd ~/Downloads/vn_winestuff
Tip: Right-click folder → "Copy Location" to get the correct path
Install codecs
bashsh codec.sh <codec1> <codec2> <codec3>
Bottles
Open terminal in script directory
bashcd <path-to-script-folder> # Example: cd ~/Downloads/vn_winestuff
Generate standalone script
bashbottles-cli standalone -b BOTTLE_NAME
See Bottles CLI documentation for details.
Move standalone script to the codec script folder
Run installation
bash./standalone ./codec.sh <codec1> <codec2>
Steam (Proton)
Install protontricks
- Desktop: Install via package manager
- Steam Deck: Available in Discover store
Select your game in protontricks
- Non-Steam games show as:
GameName.exe: RandomID
- Non-Steam games show as:
Choose default wineprefix
Run commandline shell (for debugging)
Install codecs
bashsh /path/to/vn_winestuff/codec.sh <codec1> <codec2>
Common Codec Combinations
Leyline Series + Kirikiri VNs
bash
sh codec.sh wmp11 quartz2
Full Metal Daemon: Muramasa (JAST)
bash
sh codec.sh mf xaudio29
Artemis Engine VNs (SakuToki, MWA: Badge&Dagger)
bash
sh codec.sh mf quartz2 lavfilters
Rail-soft / Liar-soft Games
bash
sh codec.sh mciqtz32
Troubleshooting
- Path issues: Use absolute paths if relative paths don't work
- Permissions: Ensure the script has execute permissions (
chmod +x codec.sh
) - Multiple codecs: Separate codec names with spaces, not commas