diff --git a/Justfile b/Justfile
index 4f48f5d..9e10f9a 100644
--- a/Justfile
+++ b/Justfile
@@ -11,7 +11,7 @@ build-debug:
clean:
rm -rf dist MuzikaGromche/bin MuzikaGromche/obj
-plugin_dir := "$HOME/.config/r2modmanPlus-local/LethalCompany/profiles" / imperium_profile / "BepInEx/plugins/Oflor-MuzikaGromche/"
+plugin_dir := "$HOME/.config/r2modmanPlus-local/LethalCompany/profiles" / imperium_profile / "BepInEx/plugins/Ratijas-MuzikaGromche/"
install-imperium:
rm -rf "{{ plugin_dir }}"
diff --git a/MuzikaGromche/MuzikaGromche.csproj b/MuzikaGromche/MuzikaGromche.csproj
index 10cb0c1..d69b2d7 100644
--- a/MuzikaGromche/MuzikaGromche.csproj
+++ b/MuzikaGromche/MuzikaGromche.csproj
@@ -2,13 +2,29 @@
netstandard2.1
- MuzikaGromche
- Opa che tut u nas
+ MuzikaGromche
+ MuzikaGromche
+ MuzikaGromche
+ Ratijas.MuzikaGromche
+ Muzika Gromche
+ Add some content to your inverse teleporter experience on Titan!
13.37.9001
true
latest
enable
+ ../README.md
+ https://git.vilunov.me/ratijas/muzika-gromche
+ https://git.vilunov.me/ratijas/muzika-gromche
+ git
+
+
+
+ https://api.nuget.org/v3/index.json;
+ https://nuget.bepinex.dev/v3/index.json;
+ https://nuget.windows10ce.com/nuget/v3/index.json
+
+
$(NoWarn);CS0436
@@ -57,7 +73,7 @@
-
+
diff --git a/MuzikaGromche/Plugin.cs b/MuzikaGromche/Plugin.cs
index 29029ec..1031202 100644
--- a/MuzikaGromche/Plugin.cs
+++ b/MuzikaGromche/Plugin.cs
@@ -10,9 +10,11 @@ using LobbyCompatibility.Attributes;
using LobbyCompatibility.Enums;
using System;
using System.Collections.Generic;
+using System.IO;
using System.Linq;
using System.Net.NetworkInformation;
using System.Net.Sockets;
+using System.Reflection;
using System.Security.Cryptography;
using UnityEngine;
using UnityEngine.Networking;
@@ -513,13 +515,13 @@ namespace MuzikaGromche
private void Awake()
{
- string text = Info.Location.TrimEnd((PluginInfo.PLUGIN_NAME + ".dll").ToCharArray());
+ string dir = Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location);
UnityWebRequest[] requests = new UnityWebRequest[Tracks.Length * 2];
for (int i = 0; i < Tracks.Length; i++)
{
Track track = Tracks[i];
- requests[i * 2] = UnityWebRequestMultimedia.GetAudioClip($"File://{text}{track.FileNameStart}", track.AudioType);
- requests[i * 2 + 1] = UnityWebRequestMultimedia.GetAudioClip($"File://{text}{track.FileNameLoop}", track.AudioType);
+ requests[i * 2] = UnityWebRequestMultimedia.GetAudioClip($"file://{dir}/{track.FileNameStart}", track.AudioType);
+ requests[i * 2 + 1] = UnityWebRequestMultimedia.GetAudioClip($"file://{dir}/{track.FileNameLoop}", track.AudioType);
requests[i * 2].SendWebRequest();
requests[i * 2 + 1].SendWebRequest();
}
@@ -545,7 +547,7 @@ namespace MuzikaGromche
else
{
var failed = requests.Where(request => request.result != UnityWebRequest.Result.Success).Select(request => request.GetUrl());
- Logger.LogError("Could not load audio file" + string.Join(", ", failed));
+ Logger.LogError("Could not load audio file " + string.Join(", ", failed));
}
}
};
diff --git a/NuGet.Config b/NuGet.Config
deleted file mode 100644
index a58b3de..0000000
--- a/NuGet.Config
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
-
-
-
-
-
diff --git a/README.md b/README.md
index e1f9935..5ca69fa 100644
--- a/README.md
+++ b/README.md
@@ -1,6 +1,7 @@
# Muzika Gromche!
-Add some content to your reverse teleport experience on Titan!
+_Add some content to your Inverse teleporter experience on Titan!1_
+
This mod's name literally means "cranck music louder".
To keep it a surprise, it is adviced that you do not read the detailed description below.
@@ -30,6 +31,9 @@ Any player can change their personal preferences locally.
- [Just Nothing](https://t.me/REALJUSTNOTHING): Visual artist; contributed palettes, timings and animation curves.
- [WaterGun](https://www.youtube.com/channel/UCCxCFfmrnqkFZ8i9FsXBJVA): Created [`V70PoweredLights_Fix`] mod, patched certain tiles with amazing lightshow.
+---
+
+1. Actually not limited to Inverse teleporter or Titan.
[`CSync`]: https://thunderstore.io/c/lethal-company/p/Sigurd/CSync/
[`LethalConfig`]: https://thunderstore.io/c/lethal-company/p/AinaVT/LethalConfig/
diff --git a/manifest.json b/manifest.json
index d90e208..51456ca 100644
--- a/manifest.json
+++ b/manifest.json
@@ -1,9 +1,9 @@
{
"name": "MuzikaGromche",
"version_number": "13.37.9001",
- "author": "Oflor",
- "description": "Glaza zakryvaj",
- "website_url": "https://git.vilunov.me/nikita/muzika-gromche",
+ "author": "Ratijas",
+ "description": "Add some content to your inverse teleporter experience on Titan!",
+ "website_url": "https://git.vilunov.me/ratijas/muzika-gromche",
"dependencies": [
"BepInEx-BepInExPack-5.4.2100",
"Sigurd-CSync-5.0.1",