Почему этот гайд стоило написать
4482просмотров
Данный гайд будет полезен для тех, кто хочет слезть с иглы одобрения Microsoft и уйти от их ужасной проприетарной ( proprietary — собственность ) политики программного обеспечения. Список минусов их политики ПО можно вести очень большой, но мы перечислим несколько самых важных:
- Мы не знаем, что делает ПО точно. Исходный код мы никак не можем увидеть. За нами могут следить, собирать информацию, передавать третьим лицам. Без реверс-инжинеринга это узнать нельзя.
- В случае некорректной работы мы никак не можем ее устранить самостоятельно (зачастую).
- Проприетарное ПО стоит денег, оно распространяется по лицензиям. Еще до недавнего времени никто даже и не мог подумать, что например гео-политические события в мире могут повлиять на «владение ПО». Но в интернете вы уже видели, как например компания — разработчик Cinema4D просто отключила лицензии у российских потребителей, несмотря на то, что лицензии были полностью оплачены. Это абсолютно незаконно в Российской Федерации, компания — разработчик по российскому законодательству должна будет ответить за это. Но факт остается фактом — это ПО вам не принадлежит и даже арендой это назвать сложно. А учитывая текущее сотношения рубль/доллар — лицензии становятся слишком дорогие.
Решением этой проблемы являются OpenSource аналоги, исходный код, который лежит в открытых репозиториях и открыт для всех. Любой человек может взять этот код, скомпилировать ( сделать сборку ) и использовать полученные исполняемые файлы.
Есть много вариантов лицензий для OpenSource продуктов. Одни позволяют модифицировать код для использования в личных целях, а другие позволяют изменять его и даже распространять от своего имени как форк ( fork — вилка; подразумевается, что развитие продукта распаралеливается).
Lutris — open gaming platform
Lutris is a video game preservation platform aiming to keep your
video game collection up and running for the years to come.
Over the years, video games have gone through many different hardware
and software platforms. By offering the best software available to
run your games, Lutris makes it easy to run all your games, old and new.
Releases · lutris/lutris
Steam Deck support
We’re pleased to announce the release of Lutris 0.5.10! This is the first release since the Steam Deck has started shipping and yes, Lutris runs quite nicely on the device. Many thanks to Valve for providing a dev kit!
Please note that the Flatpak version still needs some work and will be the next point of focus now that 0.5.10 is out. Currently, Lutris has been tested with the installation from the Arch and AUR repositories. This requires disabling the read only flag of your Deck’s system drive and should only be done if you’re comfortable with Linux to some extent. Consider re-enabling the read-only flag after installing Lutris.
Also note that major SteamOS upgrades might reset the system partition and require you to reinstall Lutris. This hasn’t happened yet, and minor Steam Deck updates won’t affect your Lutris installation. We hope having the Flatpak version ready before any major upgrade happens.
It’s recommended to use the «Create Steam shortcut» when installing games, this will make the game available in the Deck UI and allow you to benefit from Steam Input. If you want to play games in desktop mode and use the Deck controls as a joypad, make sure you configure Steam accordingly, as it is set by default to emulate a keyboard and mouse.
Adding games
Make sure to click the » » button to see its new functionality. It used to be for adding a game manually but now offers a lot of other options as shown below
«Search the Lutris website» replaces the «Community installers» tab in the Lutris service. The Lutris service now acts like the others and simply show your library from tankmods.ru.
«Scan a folder for games» is useful if you have a folder of games you previously installed with lutris but are no longer indexed in the client. This feature matches folder names with lutris game identifiers and uses the install script to find the correct executable
«Install a Windows game from media» is useful when you want to install a game from a setup.exe in an optical media or a download.
«Install from a local install script» is a GUI version of the previously available -i / --install
command line flag and allows you to install local YAML installers
«Add locally installed game» open the dialog to add a game manually, this was the default behavior of the » » button.
Integrations
Lutris receives 2 new integration with support for Origin and Ubisoft Connect. As with the Epic Games Store integration, you will need to install the Origin and Ubisoft Connect clients to use this integration. This is especially important for Ubisoft Connect, since their API doesn’t return all your games and most will be available once you have logged in the Windows client.
Ubisoft Connect also has a tendency to be slow and getting stuck on an «Initializing» dialog. If this happens, close the dialog and retry installing or launching the game you which to play.
The Origin client can sometimes fail to update itself. When this happens click the «cancel» button but when Origin asks you for confirmation to cancel the update, say no and Origin will restart the update process, completing it successfully.
Humble Bundle has made changes to their API and it is currently not possible to log in or install games until we provide a patch.
Changelog
- Add new window to add games to Lutris, with searches from the website,
scanning a folder for previously installed games, installing a Windows
game from a setup file, installing from a YAML script or configuring a
single game manually. - Move the search for Lutris installers from a tab in the Lutris service
to the window for adding games. - Add option to add a Lutris game to Steam
- Add a coverart format
- Add integration with EA Origin
- Add integration with Ubisoft Connect
- Download missing media on startup
- Remove Winesteam runner (install Steam for Windows in Lutris instead)
- PC (Linux and Windows) games have their own dedicated Nvidia shader cache
- Add dgvoodoo2 option
- Add option to enable BattleEye anti-cheat support
- Default to Retroarch cores in ~/.config/retroarch/cores if available
- Add support for downloading patches and DLC for GOG games
- Add —export and —import command line flags to export a game a lutris
game and re-import it (requires —dest for the destination path, feature still experimental) - Add command line flags to manage runners: —install-runner, —uninstall-runners,
—list-runners, —list-wine-versions - Change behavior of the «Stop» button, remove «Kill all Wine processes» action
- Gamescope option is now disabled on Nvidia GPUs
- Enable F-Sync by default
§
- 3rd party services are now available from the main window
- The «Import games» window has been removed. The concept of
importing games from other services into Lutris has been removed.
Syncing games from other services on start has been removed. - Integration with the lutris website such as login and showing your
library has been delegated to the ‘lutris’ service in the sidebar. - The lutris service gives the option of searching your library or the whole
lutris.net library. - Games from 3rd party services no longer depend on an install script to be
present on the website. Lutris will automatically install games with an
auto-generated script. Scripts from the website take precedence if available. - Steam games are directly loaded from the Steam API and it is no longer needed
to sync your Steam library on the lutris website to see all your Steam games. - Game banners and icons are downloaded from the services themselves. This
allows for customized media size in the UI based on what’s available from the
service. - Added option to hide the text under the icons
- The installer game cache configuration has been moved to the installer
window. - Installers now offer the choice between downloaded files, custom user
provided files or cached files (when available). - Bonus content for GOG games such as manuals or soundtracks can now be
downloaded as part of the install process. Selected content are downloaded
in a ‘extras’ folder in the game folder. Those files will likely be in
compressed format. - The right side bar has been moved to the bottom of the window to optimize
space and to declutter the overall design. Game actions are now shown in a
popover menu displayed next to the play button. Runner actions, if available
(for example, wine), will show up in a popover menu next to the runner icon. - Running games have been moved from the right side bar to a row on the left
side bar. - Added favorites section and allow to add/remove games from favorites
- When removing a game, Lutris now displays the size of the folder to be
deleted. - Game logs are no longer erased when switching to another game in the
window. - Game logs can be saved to a file
- Lutris runners can now be written in JSON instead of Python code. This
handles only simple cases but it’s enough to handle a vast number of
emulators or game engines. Some existing runners have been migrated to JSON
such as dgen, ppsspp, citra, ags, virtualjaguar… as well as new ones like
melonds, tic80, pcem… Check out theshare/lutris/json
folder for those
runners. If you plan to submit new JSON based runner be sure to provide a valid
‘download_url’ otherwise the lutris client won’t have a runner to download. - Lutris will not delete any game folder that is used by another game or any
folder that is in some predefined locations. Note that protection of folders
such as ‘Documents’ or ‘Downloads’ only works on English locales for the moment. - Added a Mangohud option with special modes for OpenGL and 32bit games.
- Added a wine menu entry to launch a bash shell in the game’s environment
with WINEPREFIX set and the correct Wine build aliased towine
. - Added a command line option to generate a bash script that will run a
lutris game without the client. ex:lutris quake --output-script quake.sh
.
This will create a ‘quake.sh’ script to launch the game. - Removed all platform and runner icons from the code base to eliminate any
issue regarding their licenses (This is done to help get the lutris
package into debian). - DOSBox and PCSX2 display an error if needed libraries are missing.
- The old versions of gamemode are no longer supported. Make sure you have
the one that ships with agamemoderun
executable. - The runtime now supports downloading individual files. New icons can be
submitted by sending a PR to github.com/lutris/lutris-runtime. - Refactor of several core components. New python packages
lutris.database
andlutris.gui.installer
§
First release after the initial 0.5 branch creation, this version brings a lot of stability to the GOG integration, the PGA cache and introduces a new feature to submit problems to the lutris team!
When running lutris —submit-issue, you’ll be prompted with a message box asking you to describe your problem. This will generate a file you can send to the support team to help troubleshooting your issues.
Changelog:
- Download the default Lutris Wine version when not available
- Prevent duplicates when importing games from 3rd party services
- Fix some sorting issues in the view
- Add issue reporting feature with the —submit-issue flag. The issue can
only be saved locally, API integration will be implemented at a later stage. - Add support for CD-ROM images for non CD32/CDTV Amiga models
- Remove website search from sidebar and merge it with the main search entry
- Display a warning message if the installed Nvidia driver is too old
- Fix GOG games not being installable without being connected to GOG
- Improve performance of log handling
- Remove winecfg if Proton is used
- Use discrete graphics by default with compatible systems
- Increase game icon size from 32×32 to 128×128
- Various fixes
§
§
А для кого этот гайд?
Для тех, кто хочет перейти на OpenSource продукты насколько это по-максимуму возможно ( полностью это практически невозможно в игровой сфере) и продолжать играть в любимые игры.
Минимальный порог вхождения для использования гайда:
- Ты смог установить себе убунту ( гайд на ее установку будет позже)
- Ты можешь открыть терминал, ввести там команды и немножко примерно понимать, что ты вводишь.
- Ты не боишься определения «try-hard». Возможно с первого раза не получится, что-то будет сыпаться и разваливаться, но ты не придашься отчаянию ибо «таков путь».
Запуск игры
Моя игра находится в директории /nvme/AmazingGame, а ее исполняемый файл /nvme/AmazingGame/game.exe
Вот и все, Вы справились, вы молодец!
P.S. А почему нет сообщества Linux? Может я конечно просто не нашел, но если его нет — надо создать!
Наш аппаратный стек
- CPU: Любой, в нашем случае будет AMD на базе am4 сокете
- RAM: Минимум 8 гб рам, нам нужно кормить систему и игру, чем больше — тем лучше. Но знайте, что Linux потребляет намного меньше RAM и CPU чем Windows как система.
- Видеокарта: AMD/Nvidia, в нашем случае это будет Nvidia Geforce 1650 super, потому что я пару лет назад зажал денег на 2060.
- Сеть: У вас должен быть подключен интернет, чем быстрее — тем быстрее будут скачиваться пакеты, но вообще не принципиально.
В нашем случае за место игры на примере будут фейковые файлы, по понятным причинам.
Установка по
Устанавливаем последние драйвера на Nvidia
Устанавливаем Lutris
Lutris — это наш менеджер для запуска игр. Он формирует правильные скрипты для запуска исполняемых файлов в нужной wine среде на основе удобного GUI.
Если вы используете иные дистрибутивы, то инструкцию по установку Lutris’а можно увидеть на официальном сайте
Открываем терминал и вводим команды, если в ходе выполнения терминал попросит нажать Enter — нажмите.
Так же давайте сразу установим mangohud, чтобы видеть фпс и иные метрики.
Устанвливаем wine-ge-custom
Все установлено, мы молодцы.