Giter VIP home page Giter VIP logo

sergeyhist / hlu-js Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 0.0 500 KB

Linux script for configuring wine/proton, interacting with legendary and managing systemd services

License: GNU General Public License v3.0

JavaScript 90.86% TypeScript 9.14%
linux steam proton proton-ge wine wine-ge dxvk epic-games gamemode launchers legendary libstrangle mangohud prefix services systemd vkbasalt vkd3d winetricks luxtorpeda

hlu-js's Introduction

Hist Linux Utilities (NodeJS Version)

Requirements:

Installation methods:

NPM:

Install package: npm i -g hlu
Run: hlu


Direct run:

zx "https://raw.githubusercontent.com/sergeyhist/hlu-js/main/dev/hlu.mjs"


Download "hlu.mjs" file from the repo.
Give exec permission:

cd <path_to_downloaded_file>; chmod +x hlu.mjs

Run script:

zx hlu.mjs or ./hlu.mjs

Also you may create symlink to /usr/local/bin (/usr/bin or ~/.local/bin):

$ ln -s <path_to_downloaded_file>/hlu.mjs /usr/local/bin/

and run from terminal

hlu.mjs

Features:

Launcher Controller:

  • Create, edit, run or delete launcher for wine game/app, linux native game/app, legendary(epic games) game or retroarch game.
    Launcher settings:
    • Main settings
      • Name
      • Category
      • Prefix (wine/proton/legendary)
      • Core (retroarch)
      • Select wine/proton version (wine/proton/legendary)
      • Add additional arguments/commands
      • Enable gamemode, mangohud, vkbasalt
      • Enable pulse audio latency
      • Enable debug (~/.local/share/Hist/.logs)
    • Libstrangle settings
      • Enable libstrangle
      • Set max framerate
      • Set max framerate for battery power
      • Enable Vsync
      • Run glFinish after every frame
      • Set mip-map LoD bias
      • Set anisotropic filtering level (Vulkan only)
      • Enable force trilinear filtering (Vulkan only)
      • Disable linear texture filtering (Vulkan only)
      • Disable dlsym hooking
      • Stop strangle OpenGL libs from loading
      • Enable the implicit Vulkan layer
      • Disable the implicit Vulkan layer
    • FSR settings
      • Enable wine FSR
      • Select FSR Strength
    • DXVK settings
      • Enable DxvkHUD
      • Enable Dxvk async
      • Disable State Cache
    • Wine settings
      • Enable FSYNC
      • Enable ESYNC
      • Enable WineD3D
      • Enable virtual desktop
    • Proton settings
      • Enable wined3d
      • Enable large address aware
      • Enable old GL string
      • Enable Seccomp
      • Disable D3D12
      • Disable D3D11
      • Disable D3D10
      • Disable D3D9
      • Disable ESYNC
      • Disable FSYNC
      • Disable FUTEX2
    • Nvidia settings
      • Enable threaded optimizations
      • Enable graphics API visual indicator
    • AMD settings
      • Enable threaded optimizations
      • Enable radeon ACO vulkan compiler
  • Generate bash scripts and desktop files for launchers.
    Scripts are located in the ~/.local/share/Hist/Scripts directory and sorted by categories.
    Desktop files are located in the ~/.local/share/applications/HLU directory.
  • Display information about launcher in terminal.

Wine/Proton Helper:

  • Prefix commands (winecfg, control, regedit, etc.)
  • Winetricks (only for wine prefixes)
  • Prefix manager
    • Add prefix
    • Create prefix (only for wine prefixes)
    • Delete prefix
    • Install DXVK (only for wine prefixes)
    • Install VKD3D (only for wine prefixes)
    • Install MF (only for wine prefixes)
    • Install MF-Cab (only for wine prefixes)
  • Runners manager
    • Add wine runner
    • Delete wine runner
    • Install GE-Proton
    • Install GE-Wine

Legendary(Epic Games) Helper:

  • Sign in
  • Sign out
  • Import game
  • Install game
  • Verify game
  • Repair game
  • Update game
  • Move game
  • Uninstall game
  • Check updates
  • Upload cloud saves
  • Fix cloud saves
  • Game info
  • Install EOS-Overlay
  • Update EOS-Overlay
  • Remove EOS-Overlay

Systemd Controller

  • Services list
    • Start
    • Stop
    • Restart
    • Enable
    • Disable
    • Status
    • Unlist
  • Add service to the list

Launch options for steam game

  • Select needed options and paste them into steam game launch options.

Install Luxtorpeda

  • Install selected luxtorpeda release package.

Update settings and packages

  • Download latest packages.json and settings.json from this repo.

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.