From a9b78c86ecd441ff34aad34750f482a630dda59b Mon Sep 17 00:00:00 2001 From: Leo <76182388+merll002@users.noreply.github.com> Date: Fri, 3 Oct 2025 22:05:06 +0100 Subject: [PATCH 1/4] Fix typos and create Lutris install guide Added Linux install guide and fixed some things --- README.md | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 8a8ad129..dc77bd0c 100644 --- a/README.md +++ b/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: + image +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 From 1415d4030453a7685b27ef42b2c98c454de5a43f Mon Sep 17 00:00:00 2001 From: Leo <76182388+merll002@users.noreply.github.com> Date: Fri, 3 Oct 2025 22:38:54 +0100 Subject: [PATCH 2/4] Upload easy launch script --- scripts/start.sh | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 scripts/start.sh diff --git a/scripts/start.sh b/scripts/start.sh new file mode 100644 index 00000000..738966a5 --- /dev/null +++ b/scripts/start.sh @@ -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" + From 2f4150543303d27391d9882624303e2c2d84c746 Mon Sep 17 00:00:00 2001 From: Leo <76182388+merll002@users.noreply.github.com> Date: Fri, 3 Oct 2025 22:39:21 +0100 Subject: [PATCH 3/4] Change name --- scripts/{start.sh => start-linux.sh} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename scripts/{start.sh => start-linux.sh} (100%) diff --git a/scripts/start.sh b/scripts/start-linux.sh similarity index 100% rename from scripts/start.sh rename to scripts/start-linux.sh From 6eea42586d95c8935bc69393a1c98a91b42c1f71 Mon Sep 17 00:00:00 2001 From: Leo <76182388+merll002@users.noreply.github.com> Date: Fri, 3 Oct 2025 22:42:39 +0100 Subject: [PATCH 4/4] Add step to copy Lutris start script to target --- .github/workflows/release.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9124fd11..55d37d13 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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 @@ -126,4 +129,4 @@ jobs: with: #draft: true artifacts: "*.zip" - bodyFile: last_release_notes.md \ No newline at end of file + bodyFile: last_release_notes.md