This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Install: mangohud gamemode | |
#You need to unlock the card for over/under-clocking work, add this as grub boot kernel argument: | |
amdgpu.ppfeaturemask=0xffffffff | |
#In OpenSUSE: | |
vim /etc/default/grub | |
GRUB_CMDLINE_LINUX_DEFAULT="mitigations=off amdgpu.ppfeaturemask=0xffffffff security=apparmor" | |
#Create and secure 1 directory to store 2 scrips: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Mainly extracted from https://www.simhubdash.com/community-2/simhub-support/guide-simhub-on-linux/ | |
First, Linux games are isolated 'Vessels' per game, it may look weird, but after understanding it better its quite handy, | |
if something goes wrong you just delete the whole 'vessel' and start from scratch, as if windows was resinatalled. | |
The vessel for each game has an unique ID: | |
get your game ID with: | |
grep name ~/.steam/steam/steamapps/appmanifest_* | |
I will be using ID 1066890 which is for Automobilista2. | |
Remember, each game is an independ windows-vessel, if you want it on more games you have to install on all game ID's |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
winetricks -q dotnetdesktop6 | |
#Download AMSCM from: | |
https://www.overtake.gg/downloads/automobilista-2-content-manager.59727/ | |
wine AMS2CM.msi (Do not forget to install CLI that you have to select in the AMS2CM installer) | |
#Double check the path on the bellow file, this is the most important: | |
vim /home/slemke/.wine/drive_c/Program\ Files/AMS2CM/Config.yaml | |
Path: Z:\home\slemke\.steam\steam\steamapps\common\Automobilista 2 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Get the correct refresh rate for the amount of frames/Hz: | |
-> Bellow is my resolution(5120x1440) and my desired frame cap(165), I want it to display the ideal Hz for that. | |
I will use the CLI command 'cvt': | |
slemke@leap:~> cvt 5120 1440 165.00 | |
# 5120x1440 164.88 Hz (CVT) hsync: 261.83 kHz; pclk: 1881.00 MHz | |
Modeline "5120x1440_165.00" 1881.00 5120 5584 6152 7184 1440 1443 1453 1588 -hsync +vsync | |
-> Above we can see that the ideal Hz for my resolution@fps is 164.88, so, in my case, we add it to MangoHud config: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Odissey G9 flicker at 240hz: | |
-> add this as grub boot argument to fix resolution on VTs: | |
video=DP-1:2560x1440@120 | |
-> Systemd unit: | |
#localhost:~ # cat /etc/systemd/system/fixres.service | |
[Unit] | |
Description=Fix Resolution | |
[Service] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Tutorial Date: 12/12/2024 | |
#This is for: 211500 (ACC), if you are installing for another game use that game ID | |
#If not raceroom, find game id with bellow command: | |
grep name ~/.steam/steam/steamapps/appmanifest_* | |
------------ | |
Install protontricks and winetricks on your distro. | |
Install dotnet48 into the game vessel. 211500(raceroom) in this example, to install dotnet48: | |
-> All commands are as normal user (never root) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//This was extracted from the raceroom website: | |
//It's simhub ready, I have a dash and works fine | |
//but I did not test all cars, the ones I did | |
//returned the info fine. | |
car = lcase($prop('CarModel')) | |
horse_power = '' | |
drive_type = '' | |
aspiration = '' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- If you use a loadcell, you will never go to regular pedals again; | |
- If you use a direct drive wheel, you will never go to a belt driver wheel again; | |
- If you see it at 120FPS, you will never be able to play at 60FPS again; | |
- The secret practice: "What, are we going to Bathurst tonight? - Oh my, I haven't raced there for months, ok, | |
Ill join for fun, god help me :)))" - Finishes first on practice, qualy and race, 25seconds ahead of the rest; | |
- The random car selector: "oh well, I really just want to have fun, it's all about fun, isn't it? Let me pick |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
car = $prop('CarId'); | |
if ((car == 'mercedes_amg_gt3_evo') || | |
(car == 'mercedes_amg_gt3')) | |
return "Naturally Aspirated V8, 6.3" | |
if ((car == 'ferrari_488_gt3_evo') || | |
(car == 'ferrari_488_challenge_evo')|| | |
(car == 'ferrari_488_gt3')) | |
return "Twin Turbo V8, 3.9" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cd /etc/zypp/repos.d/; sed -i -- 's/15.5/15.6/g' * |
NewerOlder