Skip to content

Releases: krypto5863/COM3D2.ShortMenuLoader

Minor Edits

20 Feb 02:47
Compare
Choose a tag to compare
  • Cleaned the code a little.
  • Throw a very in your face error when dependencies aren't met.

Minor cleaning, updated for SMVD rewrite.

28 Jan 18:15
Compare
Choose a tag to compare

Warning

You need to get the latest SMVD(ShortMenuVanillaDatabase) if you use SMVD and delete all your caches!!! Don't forget!

Changes

  • Cleaned a bit with ReSharper.
  • Recompiled for latest SMVD.
  • Implemented a TimedWait coroute yield instruction that should be effective at yielding without wasting resources.
  • That's kinda it.
  • Quit reading, I'm done.

Minor Update

04 Aug 00:28
Compare
Choose a tag to compare
  • Cleaned Code
  • SMVD 1.2 compatibility.

Danger: You need to update SMVD(ShortMenuVanillaDatabase) if you use it too!

3.00 Compatibility

06 Mar 00:54
Compare
Choose a tag to compare

Somehow it just consisted of adding two conditions to parse out CRC menu files... Best used in 2.00+ or 3.13+

Bug Fix 2

20 Jan 00:42
Compare
Choose a tag to compare
  • Made a little whoopsie where mod files were fetched from the whole COM3D2 folder, not just the Mod folder. Thanks Pain.

Bug Fix

03 Jan 02:09
Compare
Choose a tag to compare
  • Fixed a bug where .models were confused for .mods. Minor hiccup.
  • Optimized file loading, instead of multiple GetFiles calls, we call it once and filter through those results.

RAM Usage Fix

01 Jan 19:13
Compare
Choose a tag to compare

Advisory

If you are having issues with your RAM usage during icon preloading, you may want to disable the preloader entirely in the config file or in the F1 menu (requires ConfigurationManager). The function was optimized and streamlined but due to Unity's heap management, it will increase your RAM usage. Though noticeably less.

Changes

  • Reduced RAM usage when loading .mod files. Small oddity with large byte arrays not releasing in good time. (Unity's fault, their heap scheme isn't good in this version.)
  • Reduced RAM usage when preloading icons. This one is a combination of corrupt tex files instructing code to make very large byte arrays (sometimes gigabytes large) and unity not releasing large byte arrays in good time.

Bug Fixes

03 Dec 19:07
Compare
Choose a tag to compare
  • Reverted structs to classes, could've been causing minor bugs.
  • Adjusted pre-loader core usage. Now only uses 25% of your cores or 4 cores. Whichever is smallest.
  • Added a config option to outright disable the pre-loader. Incase preloading just isn't right for you.

WARNING: this will require an SMVD update if you're using SMVD!

Big Release!

26 Nov 16:02
Compare
Choose a tag to compare
  • Added an Icon Preloader for mod icons, this runs in the background in a maximum of 4 threads. It won't affect your FPS.
  • Disabled the vanilla preloader for vanilla files(Kiss's implementation is garbage) as it was causing FPS dips.
  • Vanilla icons are now loaded when you click a category, not before or all at once or whatever.
  • Changed classes to structs. Should confer a minor speed boost.
  • Changed all mutexes to monitors. A lot less overhead, managed solution built for C#. It's better, faster.
  • Minor option added to add menu file names to descriptions. It's a little janky if the description text is stupid long but it works as it says on the tin.
  • Cache files are now stored in the BepinEx/Cache folder along with SMVD cache.

Warning: You need to update SMVD too if you use it.

Fixed Mutex Timeouts... Again...

23 Sep 14:37
Compare
Choose a tag to compare

Apparently some systems are slow enough that expecting a file to read within 5 seconds is wishful thinking so the error kept occurring for the odd user.

  • Pushed default mutex timeout limit to 50 seconds to target #2
  • Added a new config option. In case a mutex timeout of 50 seconds isn't enough, you can manually increase it to whatever you need. If your computer needs more than 50 seconds to read a file though, it might be time to eat the potato you hooked up wires to and decided to call a computer. This also targets #2

With this I hope to have successfully defeated this bug that has been haunting SML for the last few releases...

Enjoy and don't abuse your meidos!