![]() ![]() ~/.steam/$PROTONVER/proton waitforexitandrun \ ORIGIN_EXE="pfx/drive_c/Program Files (x86)/Origin/Origin.exe"Įxport STEAM_COMPAT_DATA_PATH=~/.steam/steam/steamapps/compatdata/$COMPATDIR/ # Location of Origin.exe within the compatdata folder PROTONVER=root/compatibilitytools.d/Proton-5.21-GE-1 #PROTONVER=steam/steamapps/common/Proton\ 5.0 # Set the to the Origin Game ID of the game to launch # Set this the folder where Steam created the Origin prefix Finally you can set and icon and grid artwork as you would for any other non-Steam game.Use the Add non-Steam game command again to add a shortcut to the script (note this time don't choose to run under Proton as this will cause Steam to create a second compatdata prefix directory which we don't want as we've already got everything setup in the existing prefix).Back in Steam, delete the previously created "non-Steam" shortcut to OriginThinSetup.exe.Save the script somewhere convenient (I just put it in my home directory) and use chmod to mark it executable.I found for The Run, Proton-5.21-GE-1 worked best. If you've got other versions of Proton installed you can experiment with the PROTONVER variable in the script to change which version will be used.The Origin Game Id for NFS The Run is 231088400. You can get this by logging into and clicking on the game in your library and the game ID will show up in the URL (see screen shot below). Also update the variable GAMEID to the Origin Id of the game you installed.In the script update the variable COMPATDIR from 3627082160 to whatever the folder is called on your machine.Next you'll need to create a bash script with the code shown below.It should be in a sub-folder named pfx/drive_c/Program Files (x86)/Origin/Origin.exe. If you have multiple directories go into each one and work out which has the Origin.exe program. Go to the directory ~/.steam/steam/steamapps/compatdata/ and look for a sub-directory named with 10 digits.The method I ended up using was a bash script: ![]() Now that Origin and the game are installed, the trick is figuring out how to start it directly instead of running the Origin installer again.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |