Special thanks to @fission
for writing this modular script. This is an alternative way to installing individual codecs in our wineprefixes when we need them.
When you see special: (codec)
on the Visual Novel compatibility page, then you’re currently on the right page to check how to make that special wineprefix.
At the moment, these are the currently supported special codecs:
wmp11, lavfilters, xaudio29, quartz2, mf, mciqtz32, quartz_dx
Using the script is simple, and it isn’t any different to how we did things in with the Wineprefixes in Lutris.
This assumes you already made a Wineprefix folder and already set it to a random game entry you want to get working. Name the Wineprefix whatever you want, like wmp11
if it has only wmp11
inside of it.
If you don’t know how to generally make a wineprefix, please click here
To start, download the zip wherever you want (normally Downloads folder) from the Github repo below:
Bash Terminal
.Note: You can also right click a folder and select Copy Location, which will give you the right path for the cd command.
cd <path-to-the-script-folder-you-just-extracted>
# could be like this if in Downloads folder: cd ~/Downloads/vn_winestuff
sh codec.sh <write-your-codecs-here-with-spaces-between-other-codecs>
Done!
cd <path-to-the-script-folder-you-just-extracted>
# could be like this if in Downloads folder: cd ~/Downloads/vn_winestuff
bottles-cli standalone -b BOTTLE
Move the generated standalone script inside to the script folder (drag and drop, or whatever you prefer)
Run the script using this command:
./standalone ./codec.sh wmp11 quartz2
Done!
Example 1: installing the codecs for wmp
+ quartz2
(leyline series, various kirikiri VNs)
sh codec.sh wmp11 quartz2
Example 2: installing the codecs for Full Metal Daemon: Muramasa (jast)
sh codec.sh mf xaudio29
Example 3: installing mf
+ quartz2
+ lavfilters
(artemis engine VNs like SakuToki and MWA:Badge&Dagger)
sh codec.sh mf quartz2 lavfilters
Example 4: installing mciqtz32
(rail-soft / liar-soft games)
sh codec.sh mciqtz32
Done!