Skip to content
This repository was archived by the owner on Aug 4, 2020. It is now read-only.

Commit 9380c73

Browse files
committed
Last fixes for v2.1 and setup compile
1 parent e4dd137 commit 9380c73

16 files changed

Lines changed: 5 additions & 5 deletions

File tree

0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.

BeatModder/bin/Debug/allMods.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

BeatModder/bin/Debug/config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"windowSize":"1520, 725","beatSaberLocation":"G:\\Steam\\steamapps\\common\\Beat Saber","showConsole":false,"allowNonApproved":false,"autoUpdate":false,"firstTime":false,"keepModArchives":true}
1+
{"windowSize":"1057, 696","beatSaberLocation":"G:\\Steam\\steamapps\\common\\Beat Saber","showConsole":false,"allowNonApproved":false,"autoUpdate":true,"firstTime":false,"keepModArchives":true}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
[{"author":{"_id":"5ca5739d723eb30bd71900fb","username":"Kyle 1413","lastLogin":"2019-08-03T01:34:26.391Z"},"authorId":"5ca5739d723eb30bd71900fb","category":"Core","dependencies":[{"author":{"_id":null,"username":null,"lastLogin":null},"authorId":"5ca5739d723eb30bd71900fb","category":"Core","dependencies":[{"author":{"_id":null,"username":null,"lastLogin":null},"authorId":null,"category":null,"dependencies":null,"description":null,"downloads":null,"link":null,"status":null,"required":false,"updatedDate":null,"uploadDate":null,"_id":"5ca57778723eb30bd7190102","name":null,"version":null,"gameVersion":null},{"author":{"_id":null,"username":null,"lastLogin":null},"authorId":null,"category":null,"dependencies":null,"description":null,"downloads":null,"link":null,"status":null,"required":false,"updatedDate":null,"uploadDate":null,"_id":"5cabe4775234aa4740ba3c59","name":null,"version":null,"gameVersion":null},{"author":{"_id":null,"username":null,"lastLogin":null},"authorId":null,"category":null,"dependencies":null,"description":null,"downloads":null,"link":null,"status":null,"required":false,"updatedDate":null,"uploadDate":null,"_id":"5cabf7435234aa4740ba3c77","name":null,"version":null,"gameVersion":null},{"author":{"_id":null,"username":null,"lastLogin":null},"authorId":null,"category":null,"dependencies":null,"description":null,"downloads":null,"link":null,"status":null,"required":false,"updatedDate":null,"uploadDate":null,"_id":"5ced76730a8c00640fb96f2a","name":null,"version":null,"gameVersion":null}],"description":"A plugin for handling custom songs in Beat Saber, and converting old libraries into the new format","downloads":[{"hashMD5":[{"hash":"270bd9b51e076395c37b83406ef84877","file":"Beat Saber_Data/CustomLevels/One More Time/cover.jpg"},{"hash":"93cec86e3b549340ddf24f28d7d643de","file":"Beat Saber_Data/CustomLevels/One More Time/Credits.txt"},{"hash":"3393e2608d34b401552ca6a60080736f","file":"Beat Saber_Data/CustomLevels/One More Time/Easy.dat"},{"hash":"9525c71ca72035a6fa504057703b89c5","file":"Beat Saber_Data/CustomLevels/One More Time/Expert.dat"},{"hash":"0c70a4984eb35a8daa95c0c3194fc2b6","file":"Beat Saber_Data/CustomLevels/One More Time/Hard.dat"},{"hash":"42aafe4bf7d773a0f3c770b5ef76b890","file":"Beat Saber_Data/CustomLevels/One More Time/info.dat"},{"hash":"ace00a2d13e1e44ece3e6139ae20e14f","file":"Beat Saber_Data/CustomLevels/One More Time/lyrics.srt"},{"hash":"803a07231d1c145cbb37723c97f0d4d8","file":"Beat Saber_Data/CustomLevels/One More Time/Normal.dat"},{"hash":"ec27d43f54564ef29faf311b07f1685c","file":"Beat Saber_Data/CustomLevels/One More Time/One More Time.ogg"},{"hash":"93e46340545527077a168c7ecf971a32","file":"Plugins/SongCore.dll"},{"hash":"7253bc715fa4f5bc1e06970e70ffee6b","file":"songe-converter.exe"}],"type":"universal","url":"/uploads/5d02684e7661221f0c4f096c/universal/SongCore-2.0.8.zip"}],"link":"https://github.com/Kylemc1413/SongCore","status":"inactive","required":true,"updatedDate":"2019-06-13T15:15:40.122Z","uploadDate":"2019-06-13T15:14:22.631Z","_id":"5d02684e7661221f0c4f096c","name":"SongCore","version":"2.0.8","gameVersion":"1.1.0"},{"author":{"_id":null,"username":null,"lastLogin":null},"authorId":"5ca6a5fe317fa3777c3327cb","category":"Core","dependencies":[],"description":"The new mod loader for Beat Saber. Provides a number of useful tools and features for mods to use.","downloads":[{"hashMD5":[{"hash":"aa156a789840ef85e6c0fd08b27a18a6","file":"IPA/Data/Managed/I18N.dll"},{"hash":"a75f9881a0e9b61ad1d02bdba0406468","file":"IPA/Data/Managed/I18N.West.dll"},{"hash":"d842d2db84b34cdcba09445881b78a21","file":"IPA/Data/Managed/IPA.Injector.dll"},{"hash":"d5c30beb20f2fe16edce5987a209ab9d","file":"IPA/Data/Managed/IPA.Injector.pdb"},{"hash":"1f28c1388ceee147420a1fc45802a7c3","file":"IPA/Data/Managed/IPA.Loader.dll"},{"hash":"03b239cc43d3a14a40e1d1f3ae343de4","file":"IPA/Data/Managed/IPA.Loader.pdb"},{"hash":"63a40d681cddcf8813fbec1ffdc2dae8","file":"IPA/Data/Managed/IPA.Loader.xml"},{"hash":"c739259c418dad08468a4def4c4d1486","file":"IPA/Data/Managed/System.Runtime.Serialization.dll"},{"hash":"e11a2fa00d46a40c485b41126cd7d1c8","file":"IPA/Libs/0Harmony.1.2.0.1.dll"},{"hash":"6ded8fcbf5f1d9e422b327ca51625e24","file":"IPA/Libs/Ionic.Zip.1.9.1.8.dll"},{"hash":"16c4cb74628930724dd717da06f7bc69","file":"IPA/Libs/Mono.Cecil.0.10.3.0.dll"},{"hash":"baf762f8bc3b6d7a0715c8c049228635","file":"IPA/Libs/Mono.Cecil.Mdb.0.10.3.0.dll"},{"hash":"7def3d4cbe3227adc33097787cd611e2","file":"IPA/Libs/Mono.Cecil.Pdb.0.10.3.0.dll"},{"hash":"e4c29a2bf3bd583c8f2daf8cc8b3c4ca","file":"IPA/Libs/Mono.Cecil.Rocks.0.10.3.0.dll"},{"hash":"d827dd8a8c4b2a2cfa23c7f90f3cce95","file":"IPA/Libs/Newtonsoft.Json.12.0.0.0.dll"},{"hash":"723488e359fd75c971ee5fbb65e50f54","file":"IPA/Libs/Newtonsoft.Json.12.0.0.0.pdb"},{"hash":"f0a2d65976e56446c84578e8b8030a34","file":"IPA/Libs/SemVer.1.2.0.0.dll"},{"hash":"387d456530ef6fd1a75e2a5f35688a31","file":"IPA/winhttp.dll"},{"hash":"96d8ac61d0a49bf3b36b82f88e2fdebb","file":"IPA.exe"},{"hash":"5dc08024161b4bf895bc0d254de19fef","file":"IPA.exe.config"}],"type":"universal","url":"/uploads/5ca8e93398ef0e6a459f482b/universal/BSIPA-3.12.8.zip"}],"link":"https://github.com/nike4613/BeatSaber-IPA-Reloaded","status":"inactive","required":true,"updatedDate":"2019-04-08T04:39:13.247Z","uploadDate":"2019-04-06T18:00:19.339Z","_id":"5ca8e93398ef0e6a459f482b","name":"BSIPA","version":"3.12.8","gameVersion":"0.13.2"},{"author":{"_id":null,"username":null,"lastLogin":null},"authorId":"5ca6748f35796b56f2d26507","category":"Libraries","dependencies":[{"author":{"_id":null,"username":null,"lastLogin":null},"authorId":null,"category":null,"dependencies":null,"description":null,"downloads":null,"link":null,"status":null,"required":false,"updatedDate":null,"uploadDate":null,"_id":"5ca57778723eb30bd7190102","name":null,"version":null,"gameVersion":null}],"description":"This mod allows for Beat Saber mod developers to implement custom settings user interfaces in a simple and easy way. This mod does nothing on its own!","downloads":[{"hashMD5":[{"hash":"f06dd4ba966cc7f6907e606b41071245","file":"Plugins/BeatSaberCustomUI.dll"}],"type":"universal","url":"/uploads/5ca6aa02317fa3777c3327d5/universal/CustomUI-1.4.1.zip"}],"link":"https://github.com/brian91292/BeatSaber-CustomUI","status":"inactive","required":true,"updatedDate":"2019-04-08T04:39:51.648Z","uploadDate":"2019-04-05T01:06:10.155Z","_id":"5ca6aa02317fa3777c3327d5","name":"CustomUI","version":"1.4.1","gameVersion":"0.13.2"},{"author":{"_id":null,"username":null,"lastLogin":null},"authorId":"5ca5739d723eb30bd71900fb","category":"Libraries","dependencies":[{"author":{"_id":null,"username":null,"lastLogin":null},"authorId":null,"category":null,"dependencies":null,"description":null,"downloads":null,"link":null,"status":null,"required":false,"updatedDate":null,"uploadDate":null,"_id":"5ca574a1723eb30bd71900ff","name":null,"version":null,"gameVersion":null}],"description":"A basic library for mods to use for common functionality. ","downloads":[{"hashMD5":[{"hash":"775425fd259d2542ebfc86594308847b","file":"Plugins/BS_Utils.dll"}],"type":"universal","url":"/uploads/5ca575ba723eb30bd7190101/universal/BS Utils-1.2.2.zip"}],"link":"https://github.com/Kylemc1413/Beat-Saber-Utils","status":"inactive","required":false,"updatedDate":"2019-04-05T04:01:31.964Z","uploadDate":"2019-04-04T03:10:50.133Z","_id":"5ca575ba723eb30bd7190101","name":"BS Utils","version":"1.2.2","gameVersion":"0.13.2"}],"description":"Enables you to download songs from BeatSaver in-game.","downloads":[{"hashMD5":[{"hash":"c5ba81f34cdf7db58eb785275a598bc1","file":"Plugins/BeatSaverDownloader.dll"}],"type":"universal","url":"/uploads/5d68161abe34f5432f209d65/universal/BeatSaverDownloader-4.4.0.zip"}],"link":"https://github.com/Kylemc1413/BeatSaverDownloader/","status":"approved","required":false,"updatedDate":"2019-08-29T18:15:57.068Z","uploadDate":"2019-08-29T18:14:50.236Z","_id":"5d68161abe34f5432f209d65","name":"BeatSaverDownloader","version":"4.4.0","gameVersion":"1.3.0"}]
1+
[]
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.

Installer/InstallScript - no beatsaver.iss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
33

44
#define MyAppName "Beat Modder"
5-
#define MyAppVersion "2.0"
5+
#define MyAppVersion "2.1"
66
#define MyAppPublisher "CodeStix; Stijn Rogiest"
77
#define MyAppURL "https://github.com/CodeStix/Beat-Modder"
88
#define MyAppExeName "BeatModder.exe"

Stx.BeatModsAPI/BeatMods.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ public Task RefreshMods(bool useCachedOldMods = false, int timeout = 12000)
104104
AllGameVersions = JsonConvert.DeserializeObject<List<string>>(allGameVersionsJson)
105105
.OrderByDescending((e) => SemVersionExtenions.AsNumber(e)).ToList();
106106

107-
if (cache.allGameVersions == null || !cache.allGameVersions.SequenceEqual(AllGameVersions))
107+
if (cache != null && (cache.allGameVersions == null || !cache.allGameVersions.SequenceEqual(AllGameVersions)))
108108
{
109109
cache.allGameVersions = AllGameVersions;
110110
File.WriteAllText(cacheFile, JsonConvert.SerializeObject(cache));

0 commit comments

Comments
 (0)