Update manifest, README and project files
This commit is contained in:
		
							parent
							
								
									f53f837e3f
								
							
						
					
					
						commit
						c7b67b9042
					
				
							
								
								
									
										2
									
								
								Justfile
								
								
								
								
							
							
						
						
									
										2
									
								
								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 }}" | ||||
|  |  | |||
|  | @ -2,13 +2,29 @@ | |||
| 
 | ||||
|     <PropertyGroup> | ||||
|         <TargetFramework>netstandard2.1</TargetFramework> | ||||
|         <AssemblyName>MuzikaGromche</AssemblyName> | ||||
|         <Description>Opa che tut u nas</Description> | ||||
|         <Title>MuzikaGromche</Title> | ||||
|         <PackageId>MuzikaGromche</PackageId> | ||||
|         <RootNamespace>MuzikaGromche</RootNamespace> | ||||
|         <AssemblyName>Ratijas.MuzikaGromche</AssemblyName> | ||||
|         <Product>Muzika Gromche</Product> | ||||
|         <Description>Add some content to your inverse teleporter experience on Titan!</Description> | ||||
|         <Version>13.37.9001</Version> | ||||
|         <AllowUnsafeBlocks>true</AllowUnsafeBlocks> | ||||
|         <LangVersion>latest</LangVersion> | ||||
|         <Nullable>enable</Nullable> | ||||
| 
 | ||||
|         <PackageReadmeFile>../README.md</PackageReadmeFile> | ||||
|         <PackageProjectUrl>https://git.vilunov.me/ratijas/muzika-gromche</PackageProjectUrl> | ||||
|         <RepositoryUrl>https://git.vilunov.me/ratijas/muzika-gromche</RepositoryUrl> | ||||
|         <RepositoryType>git</RepositoryType> | ||||
| 
 | ||||
|         <!-- NuGet Information --> | ||||
|         <RestoreAdditionalProjectSources> | ||||
|             https://api.nuget.org/v3/index.json; | ||||
|             https://nuget.bepinex.dev/v3/index.json; | ||||
|             https://nuget.windows10ce.com/nuget/v3/index.json | ||||
|         </RestoreAdditionalProjectSources> | ||||
| 
 | ||||
|         <!-- Prevent Publicizer Warnings from Showing --> | ||||
|         <NoWarn>$(NoWarn);CS0436</NoWarn> | ||||
|     </PropertyGroup> | ||||
|  | @ -57,7 +73,7 @@ | |||
|             <PackagedResources Include="$(SolutionDir)manifest.json" /> | ||||
|             <PackagedResources Include="$(ProjectDir)UnityAssets\muzikagromche_discoball" /> | ||||
|             <PackagedResources Include="$(ProjectDir)UnityAssets\muzikagromche_poweredlightsanimators" /> | ||||
|             <PackagedResources Include="$(TargetDir)MuzikaGromche.dll" /> | ||||
|             <PackagedResources Include="$(TargetDir)$(AssemblyName).dll" /> | ||||
|         </ItemGroup> | ||||
| 
 | ||||
|         <ItemGroup> | ||||
|  |  | |||
|  | @ -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)); | ||||
|             } | ||||
|         } | ||||
|     }; | ||||
|  |  | |||
|  | @ -1,7 +0,0 @@ | |||
| <?xml version="1.0" encoding="utf-8"?> | ||||
| <configuration> | ||||
|   <packageSources> | ||||
|     <add key="BepInEx" value="https://nuget.bepinex.dev/v3/index.json" /> | ||||
|     <add key="AAron Thunderstore" value="https://nuget.windows10ce.com/nuget/v3/index.json" /> | ||||
|   </packageSources> | ||||
| </configuration> | ||||
|  | @ -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!<sup>1</sup>_ | ||||
| 
 | ||||
| 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/ | ||||
|  |  | |||
|  | @ -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", | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue