Skip to content

Instantly share code, notes, and snippets.

View Zi-SH's full-sized avatar

zi-sh Zi-SH

View GitHub Profile
"LD_* scout runtime" information:
{
"can-write-uinput" : true,
"steam-installation" : {
"path" : "/home/zish/.local/share/Steam",
"data_path" : "/home/zish/.local/share/Steam",
"bin32_path" : "/home/zish/.local/share/Steam/ubuntu12_32",
"steamscript_path" : "/usr/lib/steam/steam",
"steamscript_version" : "1.0.0.78",
diff --git a/GUI/mainwindow.cpp b/GUI/mainwindow.cpp
index d95af3c..7c9c16d 100644
--- a/GUI/mainwindow.cpp
+++ b/GUI/mainwindow.cpp
@@ -368,6 +368,7 @@ namespace
codepageSpin.setMaximum(INT_MAX);
codepageSpin.setValue(sp.codepage);
layout.addRow(CODEPAGE, &codepageSpin);
+ QObject::connect(&codepageSpin, qOverload<int>(&QSpinBox::valueChanged), [&sp](int newValue) { sp.codepage = newValue; });
QDialogButtonBox confirm(QDialogButtonBox::Ok);
@Zi-SH
Zi-SH / setup.txt
Created February 17, 2021 03:48
ROBOTICS;NOTES ELITE install and setup script
mkdir ~/.local/share/Steam/steamapps/compatdata/1111380/pfx/drive_c/sonome
cd ~/.local/share/Steam/steamapps/compatdata/1111380/pfx/drive_c/sonome
wget https://github.com/CommitteeOfZero/rne-patch/releases/download/1.0.5/RNEPatch-v1.0.5-Setup.zip
unzip RNEPatch-v1.0.5-Setup.zip
protontricks 1111380 --force vcrun2019
echo "Override dinput8 in the libraries tab. Set it to 'native, builtin'"
echo "Once you have read this, press enter in the terminal. Once you finish with winecfg, hit enter again."
read
STEAM_COMPAT_DATA_PATH=~/.local/share/Steam/steamapps/compatdata/1111380 ~/.local/share/Steam/steamapps/common/Proton\ 5.0/proton run winecfg
read