mirror of
https://github.com/IntQuant/noita_entangled_worlds.git
synced 2025-10-19 07:03:16 +00:00
Merge pull request #434 from merll002/patch-1
Create Linux (Lutris) install guide and automatic startup script
This commit is contained in:
commit
48774b3308
3 changed files with 42 additions and 6 deletions
3
.github/workflows/release.yml
vendored
3
.github/workflows/release.yml
vendored
|
@ -54,6 +54,9 @@ jobs:
|
|||
run: cargo build --release
|
||||
working-directory: ./noita-proxy
|
||||
|
||||
- name: Copy lutris start script to target
|
||||
run: cp scripts/start-linux.sh target/start-linux.sh
|
||||
|
||||
- name: Create archives
|
||||
run: python scripts/ci_make_archives.py linux
|
||||
|
||||
|
|
19
README.md
19
README.md
|
@ -34,7 +34,7 @@ Then, start Noita, and enable the mod.
|
|||
|
||||
Now you're ready to start a server and have fun!
|
||||
|
||||
### Installation MacOs (provided by @Ownezx and @Roenalt)
|
||||
### Installation on MacOS (provided by @Ownezx and @Roenalt)
|
||||
|
||||
1. Install a GOG copy of Noita using [portingkit](https://www.portingkit.com/) by following the guide given directly on the Noita entry page on portingkit with a few specific options in the "Advance Settings" step:
|
||||
1. Set the Engine to "WS12WineKegworks10.0-battle.net"
|
||||
|
@ -47,6 +47,15 @@ Now you're ready to start a server and have fun!
|
|||
|
||||
Note: The proxy must be launched via terminal with the command above every time you want to play multiplayer.
|
||||
|
||||
## Installation on Linux with Lutris (provided by @merll002)
|
||||
|
||||
1. Install the GOG version of Noita through the lutris game installer:
|
||||
<img width="596" height="64" alt="image" src="https://github.com/user-attachments/assets/dfc2f415-1557-4716-b3e2-c62aae941344" />
|
||||
2. Navigate to the directory where the proxy was downloaded
|
||||
3. Run the proxy by typing `./start.sh`
|
||||
4. Enable the mod (refer to main installation instructions)
|
||||
5. Done!
|
||||
|
||||
## Connect using Steam
|
||||
|
||||
In the Proxy window, click on "Create Lobby". Then, "Save lobby ID to clipboard". Send that ID to your friends, who can then *copy* it and press "Connect to lobby in clipboard".
|
||||
|
@ -84,14 +93,14 @@ There are 11 global perks:
|
|||
[The mods listed here](https://docs.google.com/spreadsheets/d/1nMdqzrLCav_diXbNPB9RgxPcCQzDPgXdEv-klKWJyS0) have been tested by the community, it is publically editable so please add any untested mod with your findings
|
||||
|
||||
|
||||
## Cli connect
|
||||
## CLI connect
|
||||
|
||||
can also connect via cli, just run `noita_proxy --lobby [steam_code/ip and port]`
|
||||
You can also connect via cli, just run `noita_proxy --lobby [steam_code/ip and port]`
|
||||
|
||||
|
||||
## Cli host
|
||||
## CLI host
|
||||
|
||||
can also host via cli, just run `noita_proxy --host [steam/port]`, "--host steam" will host a steam game and "--host 5123" or any port will host via ip at that port
|
||||
You can also host via cli, just run `noita_proxy --host [steam/port]`, "--host steam" will host a steam game and "--host 5123" or any port will host via ip at that port
|
||||
|
||||
## Connecting via steam without steam version of game
|
||||
|
||||
|
|
24
scripts/start-linux.sh
Normal file
24
scripts/start-linux.sh
Normal file
|
@ -0,0 +1,24 @@
|
|||
#!/bin/bash
|
||||
|
||||
if not pidof steam >/dev/null
|
||||
then
|
||||
echo "Steam API is not available. If you want to play without port forwarding, Steam needs to be running."
|
||||
read -rp "Do you want to start it now? [y/n] " choice
|
||||
choice="${choice,,}"
|
||||
if [ "$choice" = "y" ] || [ "$choice" = "yes" ]
|
||||
then
|
||||
nohup steam >/dev/null 2>&1 &
|
||||
read -rp "Started Steam. Press enter when it has fully initialised..."
|
||||
else
|
||||
echo "Running without Steam..."
|
||||
fi
|
||||
fi
|
||||
ID=$(lutris --list-games 2>&1 | grep Noita | awk -F'|' '{ if (length($1) >= 2) print substr($1, length($1)-1, 1) }')
|
||||
|
||||
echo "Noita Lutris instance found with ID: $ID"
|
||||
echo "Starting proxy..."
|
||||
|
||||
chmod +x noita_proxy.x86_64
|
||||
|
||||
LUTRIS_SKIP_INIT=1 ./noita_proxy.x86_64 --exe-path "/home/$USER/Games/gog/noita/drive_c/GOG Games/Noita/noita.exe" --launch-cmd "lutris lutris:rungameid/$ID"
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue