Skip to content

Instantly share code, notes, and snippets.

View BXZ's full-sized avatar
💀
Don't Dead Open Inside

Toby BXZ

💀
Don't Dead Open Inside
View GitHub Profile
@BXZ
BXZ / DuckGame.md
Last active February 11, 2021 21:22
How I got Duck Game running under Wine on Linux

The version I used was wine-staging 6.1 and winetricks-git 20210206 but this should work on other versions too

Create a 32bit Wine prefix with WINEARCH="win32" winecfg

Install VisualC++ runtime 2010, 2012, 2013, and 2015 using winetricks vcrun2010 vcrun2012 vcrun2013 vcrun2015

Install .Net 4.0 using winetricks --force dotnet40 Either reboot or manually kill any wine process that will eventually hang after the previous step

Install .Net 4.8 using winetricks --force dotnet48

@BXZ
BXZ / y700.md
Last active August 17, 2023 11:53
Configuring and unmuting subwoofer/LFE on Lenovo Ideapad Y700

Good news, everyone! There exists a predefined quirk in the linux kernel that we can as of version 5.15 apply to our laptops that will automatically manage the muting and unmuting of the LFE properly. For older kernel versions you'll have to use the old solution below (or patch and build the kernel driver yourself). We just have to create/edit the following files:

/lib/firmware/hda-jack-retask.fw
/etc/modprobe.d/hda-jack-retask.conf

first off the hda-jack-retask.fw file should contain the following: