Browse Source

Merge 1.0.0 changes

pull/12/head
Anairkoen Schno 5 years ago
parent
commit
cfa72fd761
1733 changed files with 124 additions and 39 deletions
  1. +2
    -2
      BSIPA-ModList/BSIPA-ModList.csproj
  2. +18
    -0
      BSIPA-ModList/Plugin.cs
  3. +1
    -1
      BSIPA-ModList/UI/ButtonUI.cs
  4. +2
    -2
      BSIPA-ModList/UI/DownloadProgressCell.cs
  5. +1
    -1
      BSIPA-ModList/UI/FloatingNotification.cs
  6. +1
    -1
      BSIPA-ModList/UI/ViewControllers/DownloadProgressViewController.cs
  7. +50
    -15
      BSIPA-ModList/UI/ViewControllers/MarkdownView.cs
  8. +4
    -4
      BSIPA-ModList/UI/ViewControllers/ModCells.cs
  9. +10
    -5
      BSIPA-ModList/UI/ViewControllers/ModInfoViewController.cs
  10. +2
    -0
      BSIPA-ModList/UI/ViewControllers/ModListController.cs
  11. +3
    -0
      BSIPA-ModList/UI/ViewControllers/SettingsViewController.cs
  12. +3
    -3
      BSIPA-ModList/manifest.json
  13. +1
    -1
      IPA.Loader/Config/SelfConfig.cs
  14. +2
    -2
      IPA.Loader/Loader/manifest.json
  15. +1
    -1
      IPA/Program.cs
  16. BIN
      Refs/Assembly-CSharp.dll
  17. BIN
      Refs/BeatSaberCustomUI.dll
  18. +22
    -0
      Refs/BeatSaberCustomUI.xml
  19. BIN
      Refs/Unity.TextMeshPro.dll
  20. BIN
      Refs/UnityEngine.CoreModule.dll
  21. +0
    -0
      TMP Exporter/Assembly-CSharp-Editor.csproj
  22. +0
    -0
      TMP Exporter/Assets/AssetBundles/AssetBundles
  23. +0
    -0
      TMP Exporter/Assets/AssetBundles/AssetBundles.manifest
  24. +0
    -0
      TMP Exporter/Assets/AssetBundles/fonts/consolas.font
  25. +0
    -0
      TMP Exporter/Assets/AssetBundles/fonts/consolas.font.manifest
  26. +0
    -0
      TMP Exporter/Assets/Consolas/CONSOLA.TTF
  27. +0
    -0
      TMP Exporter/Assets/Consolas/CONSOLAB.TTF
  28. +0
    -0
      TMP Exporter/Assets/Consolas/CONSOLAI.TTF
  29. +0
    -0
      TMP Exporter/Assets/Consolas/CONSOLAS.asset
  30. +0
    -0
      TMP Exporter/Assets/Consolas/CONSOLAS_BOLD.asset
  31. +0
    -0
      TMP Exporter/Assets/Consolas/CONSOLAS_BOLD_ITALIC.asset
  32. +0
    -0
      TMP Exporter/Assets/Consolas/CONSOLAS_ITALIC.asset
  33. +0
    -0
      TMP Exporter/Assets/Consolas/CONSOLAZ.TTF
  34. +0
    -0
      TMP Exporter/Assets/Editor/AssetBundle.cs
  35. +0
    -0
      TMP Exporter/Assets/Scenes/SampleScene.unity
  36. +0
    -0
      TMP Exporter/Assets/TextMesh Pro/Documentation/TextMesh Pro User Guide 2016.pdf
  37. +0
    -0
      TMP Exporter/Assets/TextMesh Pro/Resources/Fonts & Materials/LiberationSans SDF - Drop Shadow.mat
  38. +0
    -0
      TMP Exporter/Assets/TextMesh Pro/Resources/Fonts & Materials/LiberationSans SDF - Outline.mat
  39. +0
    -0
      TMP Exporter/Assets/TextMesh Pro/Resources/Fonts & Materials/LiberationSans SDF.asset
  40. +0
    -0
      TMP Exporter/Assets/TextMesh Pro/Resources/LineBreaking Following Characters.txt
  41. +0
    -0
      TMP Exporter/Assets/TextMesh Pro/Resources/LineBreaking Leading Characters.txt
  42. +0
    -0
      TMP Exporter/Assets/TextMesh Pro/Resources/Shaders/TMP_Bitmap-Custom-Atlas.shader
  43. +0
    -0
      TMP Exporter/Assets/TextMesh Pro/Resources/Shaders/TMP_Bitmap-Mobile.shader
  44. +0
    -0
      TMP Exporter/Assets/TextMesh Pro/Resources/Shaders/TMP_Bitmap.shader
  45. +0
    -0
      TMP Exporter/Assets/TextMesh Pro/Resources/Shaders/TMP_SDF Overlay.shader
  46. +0
    -0
      TMP Exporter/Assets/TextMesh Pro/Resources/Shaders/TMP_SDF-Mobile Masking.shader
  47. +0
    -0
      TMP Exporter/Assets/TextMesh Pro/Resources/Shaders/TMP_SDF-Mobile Overlay.shader
  48. +0
    -0
      TMP Exporter/Assets/TextMesh Pro/Resources/Shaders/TMP_SDF-Mobile.shader
  49. +0
    -0
      TMP Exporter/Assets/TextMesh Pro/Resources/Shaders/TMP_SDF-Surface-Mobile.shader
  50. +0
    -0
      TMP Exporter/Assets/TextMesh Pro/Resources/Shaders/TMP_SDF-Surface.shader
  51. +0
    -0
      TMP Exporter/Assets/TextMesh Pro/Resources/Shaders/TMP_SDF.shader
  52. +0
    -0
      TMP Exporter/Assets/TextMesh Pro/Resources/Shaders/TMP_Sprite.shader
  53. +0
    -0
      TMP Exporter/Assets/TextMesh Pro/Resources/Shaders/TMPro.cginc
  54. +0
    -0
      TMP Exporter/Assets/TextMesh Pro/Resources/Shaders/TMPro_Properties.cginc
  55. +0
    -0
      TMP Exporter/Assets/TextMesh Pro/Resources/Shaders/TMPro_Surface.cginc
  56. +0
    -0
      TMP Exporter/Assets/TextMesh Pro/Resources/Sprite Assets/EmojiOne.asset
  57. +0
    -0
      TMP Exporter/Assets/TextMesh Pro/Resources/Style Sheets/Default Style Sheet.asset
  58. +0
    -0
      TMP Exporter/Assets/TextMesh Pro/Resources/TMP Settings.asset
  59. +0
    -0
      TMP Exporter/Assets/TextMesh Pro/Sprites/EmojiOne Attribution.txt
  60. +0
    -0
      TMP Exporter/Assets/TextMesh Pro/Sprites/EmojiOne.json
  61. +0
    -0
      TMP Exporter/Assets/TextMesh Pro/Sprites/EmojiOne.png
  62. +0
    -0
      TMP Exporter/BS TMP Exporter.sln
  63. +0
    -0
      TMP Exporter/Library/AnnotationManager
  64. +0
    -0
      TMP Exporter/Library/AssetImportState
  65. +0
    -0
      TMP Exporter/Library/BuildPlayer.prefs
  66. +0
    -0
      TMP Exporter/Library/BuildSettings.asset
  67. +0
    -0
      TMP Exporter/Library/CurrentLayout.dwlt
  68. +0
    -0
      TMP Exporter/Library/EditorUserBuildSettings.asset
  69. +0
    -0
      TMP Exporter/Library/EditorUserSettings.asset
  70. +0
    -0
      TMP Exporter/Library/InspectorExpandedItems.asset
  71. +0
    -0
      TMP Exporter/Library/LastBuild.buildreport
  72. +0
    -0
      TMP Exporter/Library/LastSceneManagerSetup.txt
  73. +0
    -0
      TMP Exporter/Library/LibraryFormatVersion.txt
  74. +0
    -0
      TMP Exporter/Library/MonoManager.asset
  75. +0
    -0
      TMP Exporter/Library/PackageCache/[email protected]/CHANGELOG.md
  76. +0
    -0
      TMP Exporter/Library/PackageCache/[email protected]/Editor/Resources/Android/builds/unity-ads.aar
  77. +0
    -0
      TMP Exporter/Library/PackageCache/[email protected]/Editor/Resources/Editor/landscape.jpg
  78. +0
    -0
      TMP Exporter/Library/PackageCache/[email protected]/Editor/Resources/Editor/portrait.jpg
  79. +0
    -0
      TMP Exporter/Library/PackageCache/[email protected]/Editor/Resources/iOS/builds/UnityAds.framework/Headers/UADSInAppPurchaseMetaData.h
  80. +0
    -0
      TMP Exporter/Library/PackageCache/[email protected]/Editor/Resources/iOS/builds/UnityAds.framework/Headers/UADSJsonStorage.h
  81. +0
    -0
      TMP Exporter/Library/PackageCache/[email protected]/Editor/Resources/iOS/builds/UnityAds.framework/Headers/UADSMediationMetaData.h
  82. +0
    -0
      TMP Exporter/Library/PackageCache/[email protected]/Editor/Resources/iOS/builds/UnityAds.framework/Headers/UADSMetaData.h
  83. +0
    -0
      TMP Exporter/Library/PackageCache/[email protected]/Editor/Resources/iOS/builds/UnityAds.framework/Headers/UADSPlayerMetaData.h
  84. +0
    -0
      TMP Exporter/Library/PackageCache/[email protected]/Editor/Resources/iOS/builds/UnityAds.framework/Headers/UnityAds.h
  85. +0
    -0
      TMP Exporter/Library/PackageCache/[email protected]/Editor/Resources/iOS/builds/UnityAds.framework/Headers/UnityAdsExtended.h
  86. +0
    -0
      TMP Exporter/Library/PackageCache/[email protected]/Editor/Resources/iOS/builds/UnityAds.framework/Headers/UnityAdsUnityDelegate.h
  87. +0
    -0
      TMP Exporter/Library/PackageCache/[email protected]/Editor/Resources/iOS/builds/UnityAds.framework/Info.plist
  88. +0
    -0
      TMP Exporter/Library/PackageCache/[email protected]/Editor/Resources/iOS/builds/UnityAds.framework/Modules/module.modulemap
  89. +0
    -0
      TMP Exporter/Library/PackageCache/[email protected]/Editor/Resources/iOS/builds/UnityAds.framework/UnityAds
  90. +0
    -0
      TMP Exporter/Library/PackageCache/[email protected]/Editor/UnityEditor.Advertisements.dll
  91. +0
    -0
      TMP Exporter/Library/PackageCache/[email protected]/Editor/UnityEditor.Advertisements.dll.mdb
  92. +0
    -0
      TMP Exporter/Library/PackageCache/[email protected]/License.md
  93. +0
    -0
      TMP Exporter/Library/PackageCache/[email protected]/README.md
  94. +0
    -0
      TMP Exporter/Library/PackageCache/[email protected]/UnityEngine.Advertisements.dll
  95. +0
    -0
      TMP Exporter/Library/PackageCache/[email protected]/UnityEngine.Advertisements.dll.mdb
  96. +0
    -0
      TMP Exporter/Library/PackageCache/[email protected]/package.json
  97. +0
    -0
      TMP Exporter/Library/PackageCache/[email protected]/CHANGELOG.md
  98. +0
    -0
      TMP Exporter/Library/PackageCache/[email protected]/DataPrivacy/AssemblyInfo.cs
  99. +0
    -0
      TMP Exporter/Library/PackageCache/[email protected]/DataPrivacy/DataPrivacy.cs
  100. +0
    -0
      TMP Exporter/Library/PackageCache/[email protected]/DataPrivacy/DataPrivacyButton.cs

+ 2
- 2
BSIPA-ModList/BSIPA-ModList.csproj View File

@ -80,7 +80,7 @@
<Compile Include="UI\ButtonUI.cs" />
<Compile Include="UI\DownloadProgressCell.cs" />
<Compile Include="UI\ModListFlowCoordinator.cs" />
<Compile Include="UI\SettingsViewController.cs" />
<Compile Include="UI\ViewControllers\SettingsViewController.cs" />
<Compile Include="UI\ViewControllers\BackButtonNavigationController.cs" />
<Compile Include="UI\ViewControllers\DownloadProgressViewController.cs" />
<Compile Include="UI\FloatingNotification.cs" />
@ -122,7 +122,7 @@
<EmbeddedResource Include="README.md" />
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="TMP Exporter\Assets\AssetBundles\fonts\consolas.font">
<EmbeddedResource Include="..\TMP Exporter\Assets\AssetBundles\fonts\consolas.font">
<Link>Bundles\consolas.font</Link>
</EmbeddedResource>
</ItemGroup>


+ 18
- 0
BSIPA-ModList/Plugin.cs View File

@ -4,6 +4,9 @@ using IPALogger = IPA.Logging.Logger;
using BSIPA_ModList.UI;
using UnityEngine;
using IPA.Logging;
using BSIPA_ModList.UI.ViewControllers;
using System.Collections;
using IPA.Loader;
namespace BSIPA_ModList
{
@ -21,6 +24,8 @@ namespace BSIPA_ModList
Logger.log = logger;
IPA.Updating.BeatMods.Updater.ModListPresent = true;
}
public void OnActiveSceneChanged(Scene prevScene, Scene nextScene)
@ -33,7 +38,20 @@ namespace BSIPA_ModList
public void OnApplicationStart()
{
// Load resources ahead of time
MarkdownView.StartLoadResourcesAsync();
SharedCoroutineStarter.instance.StartCoroutine(LoadPluginIcons());
}
private static IEnumerator LoadPluginIcons()
{
foreach (var p in PluginManager.AllPlugins)
{
yield return null;
Logger.log.Debug($"Loading icon for {p.Metadata.Name}");
var _ = p.Metadata.GetIcon();
}
}
public void OnFixedUpdate()


+ 1
- 1
BSIPA-ModList/UI/ButtonUI.cs View File

@ -14,7 +14,7 @@ namespace BSIPA_ModList.UI
internal class ButtonUI : MonoBehaviour
{
private const string ControllerPanel = "MainMenuViewController/SmallButtons";
private const string CopyButton = "CreditsButton";
private const string CopyButton = "BeatmapEditorButton";
internal static ButtonUI Instance;


+ 2
- 2
BSIPA-ModList/UI/DownloadProgressCell.cs View File

@ -34,7 +34,7 @@ namespace BSIPA_ModList.UI
_songNameText = GetComponentsInChildren<TextMeshProUGUI>().First(x => x.name == "SongName");
_songNameText.enableWordWrapping = false;
_songNameText.overflowMode = TextOverflowModes.Overflow;
_coverImage = GetComponentsInChildren<UnityEngine.UI.Image>().First(x => x.name == "CoverImage");
_coverRawImage = GetComponentsInChildren<UnityEngine.UI.RawImage>().First(x => x.name == "CoverImage");
_bgImage = GetComponentsInChildren<UnityEngine.UI.Image>().First(x => x.name == "BG");
_highlightImage = GetComponentsInChildren<UnityEngine.UI.Image>().First(x => x.name == "Highlight");
_beatmapCharacteristicAlphas = new float[0];
@ -46,7 +46,7 @@ namespace BSIPA_ModList.UI
_songNameText.text = $"{mod.Mod.Name} <size=60%>v{mod.Mod.ResolvedVersion}</size>";
_authorText.text = "";
_coverImage.sprite = mod.Icon;
_coverRawImage.texture = mod.Icon.texture;
_bgImage.enabled = true;
_bgImage.sprite = Sprite.Create(new Texture2D(1, 1), new Rect(0, 0, 1, 1), Vector2.one / 2f);


+ 1
- 1
BSIPA-ModList/UI/FloatingNotification.cs View File

@ -16,7 +16,7 @@ namespace BSIPA_ModList.UI
private Image _loadingBackg;
private Image _loadingBar;
private static readonly Vector3 Position = new Vector3(2.3f, 2.3f, 1.35f);
private static readonly Vector3 Position = new Vector3(2.25f, 2.3f, 1.55f);
private static readonly Vector3 Rotation = new Vector3(0, 60, 0);
private static readonly Vector3 Scale = new Vector3(0.01f, 0.01f, 0.01f);


+ 1
- 1
BSIPA-ModList/UI/ViewControllers/DownloadProgressViewController.cs View File

@ -152,7 +152,7 @@ namespace BSIPA_ModList.UI.ViewControllers
public float CellSize()
{
return 10f;
return 8.5f;
}
public int NumberOfCells()


+ 50
- 15
BSIPA-ModList/UI/ViewControllers/MarkdownView.cs View File

@ -12,6 +12,7 @@ using System.Reflection;
using UnityEngine.EventSystems;
using System.Diagnostics;
using System.Collections;
using System.IO;
namespace BSIPA_ModList.UI.ViewControllers
{
@ -86,39 +87,73 @@ namespace BSIPA_ModList.UI.ViewControllers
return uri.Substring(3);
}
private static Stream ConsolasAssetBundleFontStream => Assembly.GetExecutingAssembly().GetManifestResourceStream("BSIPA_ModList.Bundles.consolas.font");
private static AssetBundleCreateRequest _bundleRequest;
private static AssetBundle _bundle;
private static AssetBundle Bundle
{
get
{
if (_bundle == null && _bundleRequest != null)
throw new InvalidOperationException("Asset bundle is being loaded asynchronously; please wait for that to complete");
if (_bundle == null)
_bundle = AssetBundle.LoadFromStream(Assembly.GetExecutingAssembly().GetManifestResourceStream("BSIPA_ModList.Bundles.consolas.font"));
_bundle = AssetBundle.LoadFromStream(ConsolasAssetBundleFontStream);
return _bundle;
}
}
private static AssetBundleRequest _consolasRequest;
private static TMP_FontAsset _unsetConsolas;
private static TMP_FontAsset _consolas;
private static TMP_FontAsset Consolas
{
get
{
if (_consolas == null)
{
_consolas = Bundle?.LoadAsset<TMP_FontAsset>("CONSOLAS");
if (_consolas != null)
{
var originalFont = Resources.FindObjectsOfTypeAll<TMP_FontAsset>().Last(f => f.name == "Teko-Medium SDF No Glow");
var matCopy = Instantiate(originalFont.material);
matCopy.mainTexture = _consolas.material.mainTexture;
matCopy.mainTextureOffset = _consolas.material.mainTextureOffset;
matCopy.mainTextureScale = _consolas.material.mainTextureScale;
_consolas.material = matCopy;
MaterialReferenceManager.AddFontAsset(_consolas);
}
}
if (_unsetConsolas == null && _consolasRequest != null)
throw new InvalidOperationException("Asset is being loaded asynchronously; please wait for that to complete");
if (_unsetConsolas == null)
_unsetConsolas = Bundle?.LoadAsset<TMP_FontAsset>("CONSOLAS");
if (_consolas == null && _unsetConsolas != null)
_consolas = SetupFont(_unsetConsolas);
return _consolas;
}
}
private static TMP_FontAsset SetupFont(TMP_FontAsset f)
{
var originalFont = Resources.FindObjectsOfTypeAll<TMP_FontAsset>().Last(f2 => f2.name == "Teko-Medium SDF No Glow");
var matCopy = Instantiate(originalFont.material);
matCopy.mainTexture = f.material.mainTexture;
matCopy.mainTextureOffset = f.material.mainTextureOffset;
matCopy.mainTextureScale = f.material.mainTextureScale;
f.material = matCopy;
f = Instantiate(f);
MaterialReferenceManager.AddFontAsset(f);
return f;
}
internal static void StartLoadResourcesAsync()
{
SharedCoroutineStarter.instance.StartCoroutine(LoadResourcesAsync());
}
private static IEnumerator LoadResourcesAsync()
{
Logger.md.Debug("Starting to load resources");
_bundleRequest = AssetBundle.LoadFromStreamAsync(ConsolasAssetBundleFontStream);
yield return _bundleRequest;
_bundle = _bundleRequest.assetBundle;
Logger.md.Debug("Bundle loaded");
_consolasRequest = _bundle.LoadAssetAsync<TMP_FontAsset>("CONSOLAS");
yield return _consolasRequest;
_unsetConsolas = _consolasRequest.asset as TMP_FontAsset;
Logger.md.Debug("Font loaded");
}
protected void Awake()
{
if (Consolas == null)


+ 4
- 4
BSIPA-ModList/UI/ViewControllers/ModCells.cs View File

@ -44,7 +44,7 @@ namespace BSIPA_ModList.UI.ViewControllers
{
var desc = Plugin.Manifest.Description;
if (string.IsNullOrWhiteSpace(desc))
desc = "<color=#BFBFBF><i>No description</i>";
desc = "*No description*";
infoView = BeatSaberUI.CreateViewController<ModInfoViewController>();
infoView.Init(icon, Plugin.Name, "v" + Plugin.Version.ToString(), subtext,
@ -87,7 +87,7 @@ namespace BSIPA_ModList.UI.ViewControllers
{
var desc = Plugin.Manifest.Description;
if (string.IsNullOrWhiteSpace(desc))
desc = "<color=#BFBFBF><i>No description</i>";
desc = "*No description*";
infoView = BeatSaberUI.CreateViewController<ModInfoViewController>();
infoView.Init(icon, Plugin.Name, "v" + Plugin.Version.ToString(), authorText,
@ -109,7 +109,7 @@ namespace BSIPA_ModList.UI.ViewControllers
this.list = list;
if (string.IsNullOrWhiteSpace(subtext))
subtext = "<color=#BFBFBF><i>Unspecified Author</i>";
subtext = "<color=#BFBFBF><i>Unspecified Author</i></color>";
icon = Utilities.DefaultLibraryIcon;
}
@ -124,7 +124,7 @@ namespace BSIPA_ModList.UI.ViewControllers
{
var desc = Plugin.Manifest.Description;
if (string.IsNullOrWhiteSpace(desc))
desc = "<color=#BFBFBF><i>No description</i>";
desc = "*No description*";
infoView = BeatSaberUI.CreateViewController<ModInfoViewController>();
infoView.Init(icon, Plugin.Name, "v" + Plugin.Version.ToString(), subtext,


+ 10
- 5
BSIPA-ModList/UI/ViewControllers/ModInfoViewController.cs View File

@ -76,7 +76,9 @@ namespace BSIPA_ModList.UI
rowTransform = Instantiate(rowTransformOriginal, rectTransform);
rowTransform.anchorMin = new Vector2(0f, 0f);
rowTransform.anchorMax = new Vector2(1f, .15f);
rowTransform.anchoredPosition = new Vector2(-3.5f, -2f);
rowTransform.anchoredPosition = new Vector2(-3.5f, 4f);
rowTransform.sizeDelta = Vector2.zero;
Destroy(rowTransform.GetComponent<StartMiddleEndButtonsGroup>());
foreach (Transform child in rowTransform)
{
@ -86,32 +88,35 @@ namespace BSIPA_ModList.UI
if (links?.ProjectHome != null)
{
linkHomeButton = BeatSaberUI.CreateUIButton(rowTransform, "QuitButton", buttonText: "Home",
linkHomeButton = BeatSaberUI.CreateUIButton(rowTransform, "QuitButton", buttonText: "Home", anchoredPosition: Vector2.zero, sizeDelta: new Vector2(20, 10),
onClick: () => Process.Start(links.ProjectHome.ToString()));
linkHomeButton.GetComponentInChildren<HorizontalLayoutGroup>().padding = new RectOffset(6, 6, 0, 0);
addedLink = true;
}
if (links?.ProjectSource != null)
{
linkSourceButton = BeatSaberUI.CreateUIButton(rowTransform, "QuitButton", buttonText: "Source",
linkSourceButton = BeatSaberUI.CreateUIButton(rowTransform, "QuitButton", buttonText: "Source", anchoredPosition: Vector2.zero, sizeDelta: new Vector2(20, 10),
onClick: () => Process.Start(links.ProjectSource.ToString()));
linkSourceButton.GetComponentInChildren<HorizontalLayoutGroup>().padding = new RectOffset(6, 6, 0, 0);
addedLink = true;
}
if (links?.Donate != null)
{
linkDonateButton = BeatSaberUI.CreateUIButton(rowTransform, "QuitButton", buttonText: "Donate",
linkDonateButton = BeatSaberUI.CreateUIButton(rowTransform, "QuitButton", buttonText: "Donate", anchoredPosition: Vector2.zero, sizeDelta: new Vector2(20, 10),
onClick: () => Process.Start(links.Donate.ToString()));
linkDonateButton.GetComponentInChildren<HorizontalLayoutGroup>().padding = new RectOffset(6, 6, 0, 0);
addedLink = true;
}
if (moreInfoLink != null)
{
linkDonateButton = BeatSaberUI.CreateUIButton(rowTransform, "QuitButton", buttonText: "More Info",
linkDonateButton = BeatSaberUI.CreateUIButton(rowTransform, "QuitButton", buttonText: "More Info", anchoredPosition: Vector2.zero, sizeDelta: new Vector2(20, 10),
onClick: () => Process.Start(moreInfoLink.ToString()));
linkDonateButton.GetComponentInChildren<HorizontalLayoutGroup>().padding = new RectOffset(6, 6, 0, 0);
addedLink = true;
}
foreach (var cmp in rowTransform.GetComponentsInChildren<StartMiddleEndButtonBackgroundController>())
cmp.SetMiddleSprite();
}
if (UpdateInfo != null && !addedLink)
StartCoroutine(GetMoreInfoLink());


+ 2
- 0
BSIPA-ModList/UI/ViewControllers/ModListController.cs View File

@ -22,6 +22,8 @@ namespace BSIPA_ModList.UI
var cell = base.CellForIdx(idx) as LevelListTableCell;
var nameText = cell.GetPrivateField<TextMeshProUGUI>("_songNameText");
nameText.overflowMode = TextOverflowModes.Overflow;
var authorText = cell.GetPrivateField<TextMeshProUGUI>("_authorText");
authorText.overflowMode = TextOverflowModes.Overflow;
return cell;
}


BSIPA-ModList/UI/SettingsViewController.cs → BSIPA-ModList/UI/ViewControllers/SettingsViewController.cs View File

@ -33,6 +33,9 @@ namespace BSIPA_ModList.UI
SelfConfig.LoaderConfig.Store(SelfConfig.SelfConfigRef.Value);
};
autoCheck.Init();
autoUpdate.Init();
return menu.viewController;
}
}

+ 3
- 3
BSIPA-ModList/manifest.json View File

@ -8,13 +8,13 @@
"",
"## An in-game interface client for BSIPA.",
],
"gameVersion": "0.13.2",
"gameVersion": "1.0.0",
"id": "BSIPA Mod List",
"name": "BSIPA Mod List",
"version": "1.2.1",
"version": "1.2.2",
"icon": "BSIPA_ModList.Icons.self.png",
"dependsOn": {
"BSIPA": "^3.12.18",
"BSIPA": "^3.12.19",
"CustomUI": "^1.5.4"
},
"features": [],


+ 1
- 1
IPA.Loader/Config/SelfConfig.cs View File

@ -37,7 +37,7 @@ namespace IPA.Config
}
internal const string IPAName = "Beat Saber IPA";
internal const string IPAVersion = "3.12.18";
internal const string IPAVersion = "3.12.19";
public bool Regenerate = true;


+ 2
- 2
IPA.Loader/Loader/manifest.json View File

@ -5,10 +5,10 @@
"#![IPA.Loader.description.md]",
"A mod loader specifically for Beat Saber."
],
"gameVersion": "0.13.2",
"gameVersion": "1.0.0",
"id": "BSIPA",
"name": "Beat Saber IPA",
"version": "3.12.18",
"version": "3.12.19",
"icon": "IPA.icon.png",
"features": [
"define-feature(print, IPA.Loader.Features.PrintFeature)",


+ 1
- 1
IPA/Program.cs View File

@ -23,7 +23,7 @@ namespace IPA
Unknown
}
public const string FileVersion = "3.12.18";
public const string FileVersion = "3.12.19";
public static Version Version => Assembly.GetEntryAssembly().GetName().Version;


BIN
Refs/Assembly-CSharp.dll View File


BIN
Refs/BeatSaberCustomUI.dll View File


+ 22
- 0
Refs/BeatSaberCustomUI.xml View File

@ -129,6 +129,28 @@
<param name="sizeDelta">The size of the color picker's RectTransform.</param>
<returns></returns>
</member>
<member name="M:CustomUI.BeatSaber.BeatSaberUI.CreateTextSegmentedControl(UnityEngine.RectTransform,UnityEngine.Vector2,UnityEngine.Vector2,UnityEngine.Events.UnityAction{System.Int32},System.Single,System.Single)">
<summary>
Creates a custom TextSegmentedControl component.
</summary>
<param name="parent">Thet transform to parent the new TextSegmentedControl component to.</param>
<param name="anchoredPosition">The position the TextSegmentedControl component should be anchored to.</param>
<param name="sizeDelta">The size of the TextSegmentedControl component RectTransform.</param>
<param name="onValueChanged">Callback when the user clicks on one of the segments.</param>
<param name="fontSize">Size of text in segments.</param>
<param name="padding">Size of padding in segments.</param>
<returns>The newly created TextSegmentedControl component.</returns>
</member>
<member name="M:CustomUI.BeatSaber.BeatSaberUI.CreateIconSegmentedControl(UnityEngine.RectTransform,UnityEngine.Vector2,UnityEngine.Vector2,UnityEngine.Events.UnityAction{System.Int32})">
<summary>
Creates a custom IconSegmentedControl component.
</summary>
<param name="parent">Thet transform to parent the new IconSegmentedControl component to.</param>
<param name="anchoredPosition">The position the IconSegmentedControl component should be anchored to.</param>
<param name="sizeDelta">The size of the IconSegmentedControl component RectTransform.</param>
<param name="onValueChanged">Callback when the user clicks on one of the segments.</param>
<returns>The newly created IconSegmentedControl component.</returns>
</member>
<member name="F:CustomUI.BeatSaber.CustomFlowCoordinator.parentFlowCoordinator">
<summary>
The FlowCoordinator that presented this FlowCoordinator


BIN
Refs/Unity.TextMeshPro.dll View File


BIN
Refs/UnityEngine.CoreModule.dll View File


BSIPA-ModList/TMP Exporter/Assembly-CSharp-Editor.csproj → TMP Exporter/Assembly-CSharp-Editor.csproj View File


BSIPA-ModList/TMP Exporter/Assets/AssetBundles/AssetBundles → TMP Exporter/Assets/AssetBundles/AssetBundles View File


BSIPA-ModList/TMP Exporter/Assets/AssetBundles/AssetBundles.manifest → TMP Exporter/Assets/AssetBundles/AssetBundles.manifest View File


BSIPA-ModList/TMP Exporter/Assets/AssetBundles/fonts/consolas.font → TMP Exporter/Assets/AssetBundles/fonts/consolas.font View File


BSIPA-ModList/TMP Exporter/Assets/AssetBundles/fonts/consolas.font.manifest → TMP Exporter/Assets/AssetBundles/fonts/consolas.font.manifest View File


BSIPA-ModList/TMP Exporter/Assets/Consolas/CONSOLA.TTF → TMP Exporter/Assets/Consolas/CONSOLA.TTF View File


BSIPA-ModList/TMP Exporter/Assets/Consolas/CONSOLAB.TTF → TMP Exporter/Assets/Consolas/CONSOLAB.TTF View File


BSIPA-ModList/TMP Exporter/Assets/Consolas/CONSOLAI.TTF → TMP Exporter/Assets/Consolas/CONSOLAI.TTF View File


BSIPA-ModList/TMP Exporter/Assets/Consolas/CONSOLAS.asset → TMP Exporter/Assets/Consolas/CONSOLAS.asset View File


BSIPA-ModList/TMP Exporter/Assets/Consolas/CONSOLAS_BOLD.asset → TMP Exporter/Assets/Consolas/CONSOLAS_BOLD.asset View File


BSIPA-ModList/TMP Exporter/Assets/Consolas/CONSOLAS_BOLD_ITALIC.asset → TMP Exporter/Assets/Consolas/CONSOLAS_BOLD_ITALIC.asset View File


BSIPA-ModList/TMP Exporter/Assets/Consolas/CONSOLAS_ITALIC.asset → TMP Exporter/Assets/Consolas/CONSOLAS_ITALIC.asset View File


BSIPA-ModList/TMP Exporter/Assets/Consolas/CONSOLAZ.TTF → TMP Exporter/Assets/Consolas/CONSOLAZ.TTF View File


BSIPA-ModList/TMP Exporter/Assets/Editor/AssetBundle.cs → TMP Exporter/Assets/Editor/AssetBundle.cs View File


BSIPA-ModList/TMP Exporter/Assets/Scenes/SampleScene.unity → TMP Exporter/Assets/Scenes/SampleScene.unity View File


BSIPA-ModList/TMP Exporter/Assets/TextMesh Pro/Documentation/TextMesh Pro User Guide 2016.pdf → TMP Exporter/Assets/TextMesh Pro/Documentation/TextMesh Pro User Guide 2016.pdf View File


BSIPA-ModList/TMP Exporter/Assets/TextMesh Pro/Resources/Fonts & Materials/LiberationSans SDF - Drop Shadow.mat → TMP Exporter/Assets/TextMesh Pro/Resources/Fonts & Materials/LiberationSans SDF - Drop Shadow.mat View File


BSIPA-ModList/TMP Exporter/Assets/TextMesh Pro/Resources/Fonts & Materials/LiberationSans SDF - Outline.mat → TMP Exporter/Assets/TextMesh Pro/Resources/Fonts & Materials/LiberationSans SDF - Outline.mat View File


BSIPA-ModList/TMP Exporter/Assets/TextMesh Pro/Resources/Fonts & Materials/LiberationSans SDF.asset → TMP Exporter/Assets/TextMesh Pro/Resources/Fonts & Materials/LiberationSans SDF.asset View File


BSIPA-ModList/TMP Exporter/Assets/TextMesh Pro/Resources/LineBreaking Following Characters.txt → TMP Exporter/Assets/TextMesh Pro/Resources/LineBreaking Following Characters.txt View File


BSIPA-ModList/TMP Exporter/Assets/TextMesh Pro/Resources/LineBreaking Leading Characters.txt → TMP Exporter/Assets/TextMesh Pro/Resources/LineBreaking Leading Characters.txt View File


BSIPA-ModList/TMP Exporter/Assets/TextMesh Pro/Resources/Shaders/TMP_Bitmap-Custom-Atlas.shader → TMP Exporter/Assets/TextMesh Pro/Resources/Shaders/TMP_Bitmap-Custom-Atlas.shader View File


BSIPA-ModList/TMP Exporter/Assets/TextMesh Pro/Resources/Shaders/TMP_Bitmap-Mobile.shader → TMP Exporter/Assets/TextMesh Pro/Resources/Shaders/TMP_Bitmap-Mobile.shader View File


BSIPA-ModList/TMP Exporter/Assets/TextMesh Pro/Resources/Shaders/TMP_Bitmap.shader → TMP Exporter/Assets/TextMesh Pro/Resources/Shaders/TMP_Bitmap.shader View File


BSIPA-ModList/TMP Exporter/Assets/TextMesh Pro/Resources/Shaders/TMP_SDF Overlay.shader → TMP Exporter/Assets/TextMesh Pro/Resources/Shaders/TMP_SDF Overlay.shader View File


BSIPA-ModList/TMP Exporter/Assets/TextMesh Pro/Resources/Shaders/TMP_SDF-Mobile Masking.shader → TMP Exporter/Assets/TextMesh Pro/Resources/Shaders/TMP_SDF-Mobile Masking.shader View File


BSIPA-ModList/TMP Exporter/Assets/TextMesh Pro/Resources/Shaders/TMP_SDF-Mobile Overlay.shader → TMP Exporter/Assets/TextMesh Pro/Resources/Shaders/TMP_SDF-Mobile Overlay.shader View File


BSIPA-ModList/TMP Exporter/Assets/TextMesh Pro/Resources/Shaders/TMP_SDF-Mobile.shader → TMP Exporter/Assets/TextMesh Pro/Resources/Shaders/TMP_SDF-Mobile.shader View File


BSIPA-ModList/TMP Exporter/Assets/TextMesh Pro/Resources/Shaders/TMP_SDF-Surface-Mobile.shader → TMP Exporter/Assets/TextMesh Pro/Resources/Shaders/TMP_SDF-Surface-Mobile.shader View File


BSIPA-ModList/TMP Exporter/Assets/TextMesh Pro/Resources/Shaders/TMP_SDF-Surface.shader → TMP Exporter/Assets/TextMesh Pro/Resources/Shaders/TMP_SDF-Surface.shader View File


BSIPA-ModList/TMP Exporter/Assets/TextMesh Pro/Resources/Shaders/TMP_SDF.shader → TMP Exporter/Assets/TextMesh Pro/Resources/Shaders/TMP_SDF.shader View File


BSIPA-ModList/TMP Exporter/Assets/TextMesh Pro/Resources/Shaders/TMP_Sprite.shader → TMP Exporter/Assets/TextMesh Pro/Resources/Shaders/TMP_Sprite.shader View File


BSIPA-ModList/TMP Exporter/Assets/TextMesh Pro/Resources/Shaders/TMPro.cginc → TMP Exporter/Assets/TextMesh Pro/Resources/Shaders/TMPro.cginc View File


BSIPA-ModList/TMP Exporter/Assets/TextMesh Pro/Resources/Shaders/TMPro_Properties.cginc → TMP Exporter/Assets/TextMesh Pro/Resources/Shaders/TMPro_Properties.cginc View File


BSIPA-ModList/TMP Exporter/Assets/TextMesh Pro/Resources/Shaders/TMPro_Surface.cginc → TMP Exporter/Assets/TextMesh Pro/Resources/Shaders/TMPro_Surface.cginc View File


BSIPA-ModList/TMP Exporter/Assets/TextMesh Pro/Resources/Sprite Assets/EmojiOne.asset → TMP Exporter/Assets/TextMesh Pro/Resources/Sprite Assets/EmojiOne.asset View File


BSIPA-ModList/TMP Exporter/Assets/TextMesh Pro/Resources/Style Sheets/Default Style Sheet.asset → TMP Exporter/Assets/TextMesh Pro/Resources/Style Sheets/Default Style Sheet.asset View File


BSIPA-ModList/TMP Exporter/Assets/TextMesh Pro/Resources/TMP Settings.asset → TMP Exporter/Assets/TextMesh Pro/Resources/TMP Settings.asset View File


BSIPA-ModList/TMP Exporter/Assets/TextMesh Pro/Sprites/EmojiOne Attribution.txt → TMP Exporter/Assets/TextMesh Pro/Sprites/EmojiOne Attribution.txt View File


BSIPA-ModList/TMP Exporter/Assets/TextMesh Pro/Sprites/EmojiOne.json → TMP Exporter/Assets/TextMesh Pro/Sprites/EmojiOne.json View File


BSIPA-ModList/TMP Exporter/Assets/TextMesh Pro/Sprites/EmojiOne.png → TMP Exporter/Assets/TextMesh Pro/Sprites/EmojiOne.png View File


BSIPA-ModList/TMP Exporter/BS TMP Exporter.sln → TMP Exporter/BS TMP Exporter.sln View File


BSIPA-ModList/TMP Exporter/Library/AnnotationManager → TMP Exporter/Library/AnnotationManager View File


BSIPA-ModList/TMP Exporter/Library/AssetImportState → TMP Exporter/Library/AssetImportState View File


BSIPA-ModList/TMP Exporter/Library/BuildPlayer.prefs → TMP Exporter/Library/BuildPlayer.prefs View File


BSIPA-ModList/TMP Exporter/Library/BuildSettings.asset → TMP Exporter/Library/BuildSettings.asset View File


BSIPA-ModList/TMP Exporter/Library/CurrentLayout.dwlt → TMP Exporter/Library/CurrentLayout.dwlt View File


BSIPA-ModList/TMP Exporter/Library/EditorUserBuildSettings.asset → TMP Exporter/Library/EditorUserBuildSettings.asset View File


BSIPA-ModList/TMP Exporter/Library/EditorUserSettings.asset → TMP Exporter/Library/EditorUserSettings.asset View File


BSIPA-ModList/TMP Exporter/Library/InspectorExpandedItems.asset → TMP Exporter/Library/InspectorExpandedItems.asset View File


BSIPA-ModList/TMP Exporter/Library/LastBuild.buildreport → TMP Exporter/Library/LastBuild.buildreport View File


BSIPA-ModList/TMP Exporter/Library/LastSceneManagerSetup.txt → TMP Exporter/Library/LastSceneManagerSetup.txt View File


BSIPA-ModList/TMP Exporter/Library/LibraryFormatVersion.txt → TMP Exporter/Library/LibraryFormatVersion.txt View File


BSIPA-ModList/TMP Exporter/Library/MonoManager.asset → TMP Exporter/Library/MonoManager.asset View File


BSIPA-ModList/TMP Exporter/Library/PackageCache/[email protected]/CHANGELOG.md → TMP Exporter/Library/PackageCache/[email protected]/CHANGELOG.md View File


BSIPA-ModList/TMP Exporter/Library/PackageCache/[email protected]/Editor/Resources/Android/builds/unity-ads.aar → TMP Exporter/Library/PackageCache/[email protected]/Editor/Resources/Android/builds/unity-ads.aar View File


BSIPA-ModList/TMP Exporter/Library/PackageCache/[email protected]/Editor/Resources/Editor/landscape.jpg → TMP Exporter/Library/PackageCache/[email protected]/Editor/Resources/Editor/landscape.jpg View File


BSIPA-ModList/TMP Exporter/Library/PackageCache/[email protected]/Editor/Resources/Editor/portrait.jpg → TMP Exporter/Library/PackageCache/[email protected]/Editor/Resources/Editor/portrait.jpg View File


BSIPA-ModList/TMP Exporter/Library/PackageCache/[email protected]/Editor/Resources/iOS/builds/UnityAds.framework/Headers/UADSInAppPurchaseMetaData.h → TMP Exporter/Library/PackageCache/[email protected]/Editor/Resources/iOS/builds/UnityAds.framework/Headers/UADSInAppPurchaseMetaData.h View File


BSIPA-ModList/TMP Exporter/Library/PackageCache/[email protected]/Editor/Resources/iOS/builds/UnityAds.framework/Headers/UADSJsonStorage.h → TMP Exporter/Library/PackageCache/[email protected]/Editor/Resources/iOS/builds/UnityAds.framework/Headers/UADSJsonStorage.h View File


BSIPA-ModList/TMP Exporter/Library/PackageCache/[email protected]/Editor/Resources/iOS/builds/UnityAds.framework/Headers/UADSMediationMetaData.h → TMP Exporter/Library/PackageCache/[email protected]/Editor/Resources/iOS/builds/UnityAds.framework/Headers/UADSMediationMetaData.h View File


BSIPA-ModList/TMP Exporter/Library/PackageCache/[email protected]/Editor/Resources/iOS/builds/UnityAds.framework/Headers/UADSMetaData.h → TMP Exporter/Library/PackageCache/[email protected]/Editor/Resources/iOS/builds/UnityAds.framework/Headers/UADSMetaData.h View File


BSIPA-ModList/TMP Exporter/Library/PackageCache/[email protected]/Editor/Resources/iOS/builds/UnityAds.framework/Headers/UADSPlayerMetaData.h → TMP Exporter/Library/PackageCache/[email protected]/Editor/Resources/iOS/builds/UnityAds.framework/Headers/UADSPlayerMetaData.h View File


BSIPA-ModList/TMP Exporter/Library/PackageCache/[email protected]/Editor/Resources/iOS/builds/UnityAds.framework/Headers/UnityAds.h → TMP Exporter/Library/PackageCache/[email protected]/Editor/Resources/iOS/builds/UnityAds.framework/Headers/UnityAds.h View File


BSIPA-ModList/TMP Exporter/Library/PackageCache/[email protected]/Editor/Resources/iOS/builds/UnityAds.framework/Headers/UnityAdsExtended.h → TMP Exporter/Library/PackageCache/[email protected]/Editor/Resources/iOS/builds/UnityAds.framework/Headers/UnityAdsExtended.h View File


BSIPA-ModList/TMP Exporter/Library/PackageCache/[email protected]/Editor/Resources/iOS/builds/UnityAds.framework/Headers/UnityAdsUnityDelegate.h → TMP Exporter/Library/PackageCache/[email protected]/Editor/Resources/iOS/builds/UnityAds.framework/Headers/UnityAdsUnityDelegate.h View File


BSIPA-ModList/TMP Exporter/Library/PackageCache/[email protected]/Editor/Resources/iOS/builds/UnityAds.framework/Info.plist → TMP Exporter/Library/PackageCache/[email protected]/Editor/Resources/iOS/builds/UnityAds.framework/Info.plist View File


BSIPA-ModList/TMP Exporter/Library/PackageCache/[email protected]/Editor/Resources/iOS/builds/UnityAds.framework/Modules/module.modulemap → TMP Exporter/Library/PackageCache/[email protected]/Editor/Resources/iOS/builds/UnityAds.framework/Modules/module.modulemap View File


BSIPA-ModList/TMP Exporter/Library/PackageCache/[email protected]/Editor/Resources/iOS/builds/UnityAds.framework/UnityAds → TMP Exporter/Library/PackageCache/[email protected]/Editor/Resources/iOS/builds/UnityAds.framework/UnityAds View File


BSIPA-ModList/TMP Exporter/Library/PackageCache/[email protected]/Editor/UnityEditor.Advertisements.dll → TMP Exporter/Library/PackageCache/[email protected]/Editor/UnityEditor.Advertisements.dll View File


BSIPA-ModList/TMP Exporter/Library/PackageCache/[email protected]/Editor/UnityEditor.Advertisements.dll.mdb → TMP Exporter/Library/PackageCache/[email protected]/Editor/UnityEditor.Advertisements.dll.mdb View File


BSIPA-ModList/TMP Exporter/Library/PackageCache/[email protected]/License.md → TMP Exporter/Library/PackageCache/[email protected]/License.md View File


BSIPA-ModList/TMP Exporter/Library/PackageCache/[email protected]/README.md → TMP Exporter/Library/PackageCache/[email protected]/README.md View File


BSIPA-ModList/TMP Exporter/Library/PackageCache/[email protected]/UnityEngine.Advertisements.dll → TMP Exporter/Library/PackageCache/[email protected]/UnityEngine.Advertisements.dll View File


BSIPA-ModList/TMP Exporter/Library/PackageCache/[email protected]/UnityEngine.Advertisements.dll.mdb → TMP Exporter/Library/PackageCache/[email protected]/UnityEngine.Advertisements.dll.mdb View File


BSIPA-ModList/TMP Exporter/Library/PackageCache/[email protected]/package.json → TMP Exporter/Library/PackageCache/[email protected]/package.json View File


BSIPA-ModList/TMP Exporter/Library/PackageCache/[email protected]/CHANGELOG.md → TMP Exporter/Library/PackageCache/[email protected]/CHANGELOG.md View File


BSIPA-ModList/TMP Exporter/Library/PackageCache/[email protected]/DataPrivacy/AssemblyInfo.cs → TMP Exporter/Library/PackageCache/[email protected]/DataPrivacy/AssemblyInfo.cs View File


BSIPA-ModList/TMP Exporter/Library/PackageCache/[email protected]/DataPrivacy/DataPrivacy.cs → TMP Exporter/Library/PackageCache/[email protected]/DataPrivacy/DataPrivacy.cs View File


BSIPA-ModList/TMP Exporter/Library/PackageCache/[email protected]/DataPrivacy/DataPrivacyButton.cs → TMP Exporter/Library/PackageCache/[email protected]/DataPrivacy/DataPrivacyButton.cs View File


Some files were not shown because too many files changed in this diff

Loading…
Cancel
Save