Giter VIP home page Giter VIP logo

hitman249 / wine-launcher Goto Github PK

View Code? Open in Web Editor NEW
271.0 13.0 10.0 73.2 MB

Wine Launcher - Running Windows games under Linux

Home Page: http://wine.hostronavt.ru

License: GNU General Public License v3.0

JavaScript 78.92% HTML 1.11% Vue 5.29% CSS 13.84% Less 0.59% SCSS 0.13% Shell 0.12% Dockerfile 0.01%
wine-launcher mangohud dxvk vkbasalt wine wine-staging proton proton-ge-custom proton-tkg dosbox

wine-launcher's Introduction

Wine Launcher

Wine Launcher is a Wine-based container for running Windows applications.

Steam Deck Support!

Review

Main

Gamepads

Gamepads

Video instruction

- !!!Warning!!!
! Wine Launcher is not a PREFIX MANAGER like PoL and Lutris!
! Don't try to install all your games into it!
+ Use a separate Wine Launcher for each game.

Philosophy and features of the project:

  • Portable assembly.
  • Easy Wine update and prefix re-creation without losing game progress.
  • System isolation, no files are written to the main system.
  • Compressing games into squashfs images.
  • Integration with Proton, VKD3D Proton, DXVK, MangoHud, vkBasalt, Media Foundation, Gamemode, AMD FidelityFX Super Resolution, ESYNC, FSYNC others.
  • Gamepads. Integration with gamepads for games that do not support gamepads. Support for multiple layouts by next_mapping key.
  • Diagnostics. Checking the system for correct settings and required libraries installed.
  • Patch system. Auto commit the changes in the prefix and the registry.

Installation

  1. Download the current start (x86_64 only) file from the releases page.
  2. Create an empty directory anywhere and move the file there.
  3. Make the file executable and run
    chmod +x ./start && ./start
  4. Wait for initialization.
  5. Close the launcher and move the start file to the bin folder that appears.
  6. Done.

Quick command:

mkdir WL; cd "$_"; curl -L https://github.com/hitman249/wine-launcher/releases/latest/download/start --output start; chmod +x ./start; ./start

In one Wine Launcher, it is recommended to install only one game. Then it will be more convenient for you to compress it to save places in the section Tools > Packaging

How to install the game?
  1. Before installing the game, you need to create a new patch.
  2. Give the patch a meaningful name as this word will be called the folder in which the patch is stored.
  3. After installing the game, do not forget to save the patch. This will come in handy for you to upgrade Wine in the future to recreate the prefix.
  4. If you need to install something else, repeat steps 1-3.

The game must be sure installed in the C:\Games folder! If another folder is required, it must be reassigned to prefix settings, and then recreate it.


Debugging

  1. You can run application in the debug mode

    In this mode the dev tools will be available

    env debug=1 ./start
  2. Building the project

    sudo apt-get install libxtst-dev libpng++-dev
    sudo npm install -g node-gyp
    npm i && cd ./src && npm i && cd ../
    npm run electron-rebuild
    npm run build

    When build finishes, dist directory will have executable file start

  3. Building the project in Docker (required docker-compose)

    ./build.sh
  4. Development

    Step 1. Launch Vue

    npm run serve

    Step 2. Run application in debug mode

    env debug=1 ./start

    Step 3. In the opened dev tools bar, go to

    app.href('http://localhost:8080')

wine-launcher's People

Contributors

dependabot[bot] avatar hitman249 avatar paulkovalov avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

wine-launcher's Issues

Не создаётся префикс

Я устанавливаю Proton GE и меняю префикс на 64бит. Нажимаю пересоздать и на этом всё, прога виснет, бесконечное создание.

Trouble with USB Generic Joystick

I cannot connect or configure my USB joystick. It is known that there is a problem with USB joysticks that can be solved by disabling one of the drivers detected by Wine. But I can't access that configuration menu, how could I run "wine control" inside my Wine profile? Thanks for your work

Вопрос

Можно ли сделать порт ланчера под виндовс, в упрощенном виде, в котором будет возможно создавать образы Squashfs игры, и запускать их из контейнера?

Проблемы с запуском

Manjaro, запускаю через AppImageLauncher. При попытке создания патча появляется ошибка:
Screenshot_20200523_115636
Я понимаю, что это из-за отсутствия вайна в папке, куда монтируются приложения AppImage, но как это обойти?
Не важно, запускаю я приложение из консоли или из файлового менеджера (dolphin), все равно перехватывается AppImageLauncher'ом

How to install winetrick modules in Wine launcher?

I'm trying to get Photoshop working. My wine is wine-7.0-rc3 (Staging) and prefix is properly set:

screenshot02

Unfortunately my photoshop returns me:

wine: failed to open L"C:\\windows\\system32\\explorer.exe": c0000135
003c:err:module:import_dll Library MSVCP140_CODECVT_IDS.dll (which is needed by L"C:\\Games\\photoshop\\AdobePDFSettings.dll") not found
003c:err:module:import_dll Library AdobePDFSettings.dll (which is needed by L"C:\\Games\\photoshop\\Photoshop.exe") not found

I remember I had to install various modules trough winetricks:
vcrun2019 vcrun2012 vcrun2013 vcrun2010 gdiplus msxml3 msxml6 atmlib corefonts

How Do I install them in Wine launcher ?

app.5f70caf5.js:1 Error: ENOENT: no such file or directory

ElementaryOS 6 Odin (Ubuntu 20.4 based)

app.5f70caf5.js:1 Error: ENOENT: no such file or directory, scandir '/home/username/Documents/Games/WL/prefix/drive_c/regedit.reg'
at Object.readdirSync (fs.js:959)
at Object.e.readdirSync (electron/js2c/asar_bundle.js:5)
at t (app.5f70caf5.js:1)
at t.value (app.5f70caf5.js:1)
at t.value (app.5f70caf5.js:1)
at t.value (app.5f70caf5.js:1)
at t.value (app.5f70caf5.js:1)
at app.5f70caf5.js:1
window.console.error @ app.5f70caf5.js:1
(anonymous) @ app.5f70caf5.js:1
emit @ events.js:315
window.onerror @ electron/js2c/renderer_init.js:91

Error on game/application launching

Hi i have a small problem,i moved the game to the specified folder /data/,installed all prefix needed prepped and ready to luanch but....when i go to launch the game i get this error :

[Wine Launcher] Run command:
sh -c "export LD_LIBRARY_PATH="/home/maddog76/Wine-Launcher/bin/libs/i386:/home/maddog76/Wine-Launcher/bin/libs/x86-64:$LD_LIBRARY_PATH" VK_LAYER_PATH="$VK_LAYER_PATH:/home/maddog76/Wine-Launcher/data/cache/implicit_layer.d" XDG_CACHE_HOME="/home/maddog76/Wine-Launcher/data/cache" WINE="wine" WINE64="wine64" WINEPREFIX="/home/maddog76/Wine-Launcher/prefix" WINESERVER="wineserver" WINEARCH="win64" WINEDEBUG="-all" WINESTART="C:\windows\command\start.exe" WINEDLLOVERRIDES="" LC_ALL="it_IT.UTF-8" DXVK_CONFIG_FILE="/home/maddog76/Wine-Launcher/prefix/drive_c/dxvk.conf" DXVK_STATE_CACHE_PATH="/home/maddog76/Wine-Launcher/prefix/drive_c/cache" DXVK_LOG_PATH="/home/maddog76/Wine-Launcher/prefix/drive_c/logs" WINEESYNC="1" WINEFSYNC="1" STAGING_SHARED_MEMORY="1" WINE_LARGE_ADDRESS_AWARE="1" vblank_mode="0" mesa_glthread="true" DXVK_HUD="fps,devinfo" && cd "/home/maddog76/Wine-Launcher" && cd "/home/user/Wine-Launcher/prefix/drive_c/Games/The Super Game" && "wine" "AoEDE.exe" "

sh: 1: cd: can't cd to /home/user/Wine-Launcher/prefix/drive_c/Games/The Super Game

If i am not mistaken the program cannot "cd" to specified folder,stating that i am a noob using linux that error to me seems something regarding the application.
in case that someone asks if i have given the right permission to the exec yes i did in the property of the application.
I wonder how do i overcome this issue?.
Thanks in advance for any help fixing my problem.

Roadmap дальнейшего развития Wine Launcher

Прелагайте свои варианты в комментариях

Roadmap

  • При работе с патчами не хватает информации о статусе выполнения команд. Сейчас чтобы узнать выполнились ли команды и есть ли ошибки, нужно идти в логи. Не очень удобно. Идеально было бы видеть лог выполнения как в терминале (читай в режиме реального времени) или после завершения выполнения команд в окне программы
  • Поддержка установки из образов .iso, .nrg, .bin, .mdf и .img
  • Допилить страницу обновлений
  • Сделать анимированную превьюшку репозитория

Поддержка PipeWire

ArchLinux, удалён PulseAudio, установлен PipeWire и pipewire-pulse

Wine, запускаемый через лаунчер, не видит этого и загружает winealsa.drv
В то же время в системном Wine никаких проблем.
Screenshot_20210215_120346

Flatpak version

Thanks for working on this new Wine launcher. Also, it's really great to see that someone still plays Lineage II and even on Linux! :-)

Are there any plans to package wine-launcher as a Flatpak and publish it on Flathub?

Указание пути к исполняемому файлу

Добрый день!
Программа не плохая, но так и не смог разобраться как указать путь к исполняемому файлу.
Так же нет возможности установить последнюю версию Wine 5.10, хотя она уже доступна для загрузки из Github.

Please,Hi, I have a bug. please help me

Here is the log from the console:

--2021-10-29 09:42:32--  https://github.com/hitman249/wine-launcher/releases/download/v1.5.10/start

SSL_INIT
Загружен сертификат CA «/etc/ssl/certs/ca-certificates.crt»
Распознаётся github.com (github.com)… 140.82.121.3
Подключение к github.com (github.com)|140.82.121.3|:443... соединение установлено.
HTTP-запрос отправлен. Ожидание ответа… 302 Found
Адрес: https://github-releases.githubusercontent.com/243064754/eea682e2-234b-4e38-a87a-66a38c0e7ebc?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20211029%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20211029T034233Z&X-Amz-Expires=300&X-Amz-Signature=43c647913cd5f3bf16faf7ce3cd72c907859f03512a55741ee7a30eb1abe7564&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=243064754&response-content-disposition=attachment%3B%20filename%3Dstart&response-content-type=application%2Foctet-stream [переход]
--2021-10-29 09:42:33--  https://github-releases.githubusercontent.com/243064754/eea682e2-234b-4e38-a87a-66a38c0e7ebc?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20211029%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20211029T034233Z&X-Amz-Expires=300&X-Amz-Signature=43c647913cd5f3bf16faf7ce3cd72c907859f03512a55741ee7a30eb1abe7564&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=243064754&response-content-disposition=attachment%3B%20filename%3Dstart&response-content-type=application%2Foctet-stream
SSL_INIT
Распознаётся github-releases.githubusercontent.com (github-releases.githubusercontent.com)… 185.199.109.154, 185.199.111.154, 185.199.110.154, ...
Подключение к github-releases.githubusercontent.com (github-releases.githubusercontent.com)|185.199.109.154|:443... соединение установлено.
HTTP-запрос отправлен. Ожидание ответа… 200 OK
Длина: 83338432 (79M) [application/octet-stream]
Сохранение в: «start»

start                                  100%[============================================================================>]  79,48M   238KB/s    за 6m 48s  

2021-10-29 09:49:22 (200 KB/s) - «start» сохранён [83338432/83338432]

Created symlink /home/kirill/.config/systemd/user/default.target.wants/appimagelauncherd.service → /usr/lib/systemd/user/appimagelauncherd.service.
[AppImageLauncher] Warning: can't find fallback icon for namedialog-ok
[AppImageLauncher] Warning: can't find fallback icon for namedialog-cancel
[AppImageLauncher] Warning: can't find fallback icon for namedocument-revert
A JavaScript error occurred in the main process
Uncaught Exception:
Error: /usr/lib/libc.so.6: version `GLIBC_2.34' not found (required by /tmp/.org.chromium.Chromium.FqUUnv)
    at process.func [as dlopen] (electron/js2c/asar_bundle.js:5:1812)
    at Object.Module._extensions..node (internal/modules/cjs/loader.js:1203:18)
    at Object.func [as .node] (electron/js2c/asar_bundle.js:5:2039)
    at Module.load (internal/modules/cjs/loader.js:992:32)
    at Module._load (internal/modules/cjs/loader.js:885:14)
    at Function.f._load (electron/js2c/asar_bundle.js:5:12633)
    at Module.require (internal/modules/cjs/loader.js:1032:19)
    at require (internal/modules/cjs/helpers.js:72:18)
    at bindings (/tmp/.mount_startbFvTg1/resources/app.asar/node_modules/bindings/bindings.js:112:48)
    at Object.<anonymous> (/tmp/.mount_startbFvTg1/resources/app.asar/node_modules/node-gamepad/gamepad.js:1:34)

Here is the output of neofetch:

 kirill@KirillPC 
 --------------- 
OS: Manjaro Linux x86_64 
Kernel: 5.10.18-zen-1-zen-lts510-g513e3c94a40f 
Uptime: 46 mins 
Packages: 1296 (pacman) 
Shell: zsh 5.8 
Resolution: 1280x1024 
DE: Plasma 5.22.5 
WM: KWin 
Theme: Breeze Light [Plasma] 
Icons: Papirus [Plasma], Papirus [GTK2/3] 
Terminal: konsole 
CPU: Pentium E5800 (2) @ 1.212GHz 
GPU: NVIDIA GeForce GT 630 
Memory: 2524MiB / 5938MiB                                                  

AUR package

I was searching for wine stuff on reddit and found this project! Really liked it, seems beautiful and direct.

Do you have any plans to release it in AUR? Would be really nice to have it.

Appimagelauncher interferes with wine-launcher

I have appimagelauncher installed on my system, and I use it to open .appimage files on my system, and it works quite fine, but when I use it to open wine-launcher, I get these errors in the terminal:

wine: chdir to /run/user/1000/appimagelauncherfs/prefix : No such file or directory
wine: chdir to /run/user/1000/appimagelauncherfs/prefix : No such file or directory
ln: failed to create symbolic link '/run/user/1000/appimagelauncherfs/prefix/drive_c/Games': No such file or directory

wine-launcher is not aware that it is run by another application, and that is the cause of this issue.

Пожелания по функционалу

Во-первых, спасибо за работу!

Во-вторых, есть ряд предложений, касательно интерфейса:

  1. Добавить кнопку выхода из приложения (для увеличения производительности, запускаю данный лаунчер в отдельном Х-сервере и для закрытия приходится завершать сессию)
  2. При работе с патчами не хватает информации о статусе выполнения команд. Сейчас чтобы узнать выполнились ли команды и есть ли ошибки, нужно идти в логи. Не очень удобно. Идеально было бы видеть лог выполнения как в терминале (читай в режиме реального времени) или после завершения выполнения команд в окне программы

Спасибо

Look into using zstd for squashfs compression

cmd = `mksquashfs "${folder}" "${squashfs}" -b 1048576 -comp xz -Xdict-size 100%`;

zstd will probably be a better choice due to much better decompression speed, and it can compress almost as good as xz on higher compression levels

> mksquashfs help
...
-comp <comp>            select <comp> compression
...
Compressors available and compressor specific options:
...
        zstd
          -Xcompression-level <compression-level>
                <compression-level> should be 1 .. 22 (default 15)

Проблема с символьными ссылками

В последних версиях Wine TKG перестали определяться символьные ссылки в префиксе. Последней рабочей версией остался Wine 6.0.

Содержимое диска C: до обновления (wine-tkg 6.0.r0)
изображение

И после обновления (wine-tkg 6.3.r0)
изображение

Понимаю, что скорее всего это не проблема лаунчера, просто на всякий случай.

первый старт

При запуске папки prefix, data, bin создаются в $HOME

Как сделать, чтобы они создовались там же где и start ?

Проблема при подготовке к сжатию игры

В разделе упаковка, RW директории, при установке переключателя напротив папки с игрой и нажатии сохранить происходит бесконечный процесс принятия изменеий. Если закрыть приложение и снова открыть, произвести сжатие игры, игра перестает запускаться. С остальными игрыми таких проблем нет. Игра: street legal racing. В папке с игрой имеется огромное количество папок и файлов. Подскажите какую информацию можно направить для выяснения причин данной проблемы?

Параметры создания и монтирования squashfs образов

Добрый день.

Спасибо за этот проект. Функционал шикарен. Хотелось бы видеть дальнейшее развитие киллер-фичи wine-launcher'а -- упаковки префиксов в squashfs образ. В частности:

  1. Возможность указать параметры сжатия. Как минимум, алгоритм компрессии. Я, например, использую zstd для большей степени сжатия и при сохранении образов на HDD или SATA SSD или LZ4 для NVMe SSD. "Классические" gzip, xz, lzma мне кажутся вообще не подходящими для использования в этом случае
    P.S. Размер блока и уровень компрессии тоже важны, но, имхо, вторичны.

  2. Возможность использовать системный mount (с вводом пароля через sudo/su) вместо fuse для лучшей производительности

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.