Fractal Softworks Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

Starsector 0.98a is out! (03/27/25)

Pages: 1 ... 14 15 [16] 17

Author Topic: [0.98a] LazyLib v3.0 (released 2025-03-27)  (Read 1259231 times)

LazyWizard

  • Global Moderator
  • Admiral
  • *****
  • Posts: 1374
    • View Profile
    • GitHub Profile
Re: [0.96a] LazyLib v2.8 (released 2023-05-05)
« Reply #225 on: May 05, 2023, 10:37:40 AM »

Version 2.8 is out, get it here (mirror).

Thanks to Liral for contributing the KeplerOrbit class. Um, several months ago. Something something living up to my username...

Changelog:
Quote
2.8 (April 05, 2023)
======================
Updated to be compatible with Starsector 0.96a
Updated bundled libraries:
 - kotlin-stdlib: v1.5.31 -> v1.6.21
 - kotlinx-coroutines: v1.5.2 -> v1.6.4 (custom build)
 - These are the last versions that support Java 7
Added org.lazywizard.lazylib.campaign.orbits.KeplerOrbit:
 - Submitted by Liral, this provides more accurate orbits than EllipticalOrbit
Changes to CombatUtils:
 - Updated to use CombatEngineAPI's bin-lattice system where applicable, as
   requested by several modders since those methods introduction
Logged
Active mods: LazyLib | Combat Radar | Console Commands | Version Checker  ||  Old mods: Autosave | Omnifactory | Simulator Overhaul
Feel free to use any code I've written or PM me for help with your own. Anyone is free to translate my work.

Someone432

  • Ensign
  • *
  • Posts: 2
    • View Profile
Re: [0.96a] LazyLib v2.8 (released 2023-05-05)
« Reply #226 on: June 23, 2023, 11:17:15 PM »

Where can I find a version compatible with 0.95? I'm really lost here
Logged

SpaceDrake

  • Admiral
  • *****
  • Posts: 558
  • Piloting space mecha for fun and profit(?)
    • View Profile
Re: [0.96a] LazyLib v2.8 (released 2023-05-05)
« Reply #227 on: June 26, 2023, 05:31:42 AM »

Consult LazyWizard's Github. However, unless you're looking to run a game of Starsector with extremely specific un-updated mods, there's no real reason to run .95 anymore; .96 is just .95 But Better. Still, it's up to you.
Logged

LazyWizard

  • Global Moderator
  • Admiral
  • *****
  • Posts: 1374
    • View Profile
    • GitHub Profile
Re: [0.97a] LazyLib v2.8b (released 2024-02-02)
« Reply #228 on: February 02, 2024, 06:02:03 PM »

Version 2.8b is out, get it here (mirror) (mirror 2).

Changelog:
Quote
2.8b (February 02, 2024)
==========================
Updated to be compatible with Starsector 0.97a
Changes to LazyFont:
 - Changed default blendSrc back to GL_SRC_ALPHA (was GL_ONE since 2.4c)
Deprecated org.lazywizard.lazylib.campaign.orbits.KeplerOrbit:
 - Deprecated at the request of its contributor
Logged
Active mods: LazyLib | Combat Radar | Console Commands | Version Checker  ||  Old mods: Autosave | Omnifactory | Simulator Overhaul
Feel free to use any code I've written or PM me for help with your own. Anyone is free to translate my work.

Madao

  • Ensign
  • *
  • Posts: 39
    • View Profile
Re: [0.97a] LazyLib v2.8b (released 2024-02-02)
« Reply #229 on: February 03, 2024, 10:49:26 PM »

Thank you for your efforts LazyWizard
Logged

Killer of Fate

  • Admiral
  • *****
  • Posts: 3478
    • View Profile
Re: [0.97a] LazyLib v2.8b (released 2024-02-02)
« Reply #230 on: February 17, 2024, 02:59:10 AM »

Version 2.8b is out, get it here (mirror) (mirror 2).

Changelog:
Quote
2.8b (February 02, 2024)
==========================
Updated to be compatible with Starsector 0.97a
Changes to LazyFont:
 - Changed default blendSrc back to GL_SRC_ALPHA (was GL_ONE since 2.4c)
Deprecated org.lazywizard.lazylib.campaign.orbits.KeplerOrbit:
 - Deprecated at the request of its contributor
holy *** that response time, wtf?
Logged
off to write another nightmare

sanya02

  • Lieutenant
  • **
  • Posts: 78
    • View Profile
Re: [0.97a] LazyLib v2.8b (released 2024-02-02)
« Reply #231 on: April 10, 2024, 03:46:26 AM »

 If I use version LazyLib v2.8b for 0.95.1. Will there be any problems?
Logged

TimeDiver

  • Captain
  • ****
  • Posts: 418
    • View Profile
Re: [0.97a] LazyLib v2.8b (released 2024-02-02)
« Reply #232 on: April 10, 2024, 04:25:06 AM »

If I use version LazyLib v2.8b for 0.95.1. Will there be any problems?
Won't work; newer releases are NOT backwards-compatible with older versions of StarSector.

Having said that, the download for v2.7b is still around and IS explicitly-compatible with 0.95.1a:

The link: https://github.com/LazyWizard/lazylib/releases/download/2.7b/LazyLib.2.7b.zip
Logged

Vali

  • Ensign
  • *
  • Posts: 3
    • View Profile
Re: [0.97a] LazyLib v2.8b (released 2024-02-02)
« Reply #233 on: July 24, 2024, 02:12:59 AM »

Hey just downloaded the game again after a while of not playing. Im trying to get this mod to work, it said wasn't compatible with the game mode, and then when i tried to re-download it, it wont even show up in the game start menu mod function. Im at a loss as to what to do
Logged

LazyWizard

  • Global Moderator
  • Admiral
  • *****
  • Posts: 1374
    • View Profile
    • GitHub Profile
Re: [0.98a] LazyLib v3.0 (released 2025-03-27)
« Reply #234 on: March 27, 2025, 12:43:13 PM »

LazyLib 3.0 is out, get it here (mirror 1 | mirror 2).

This is a major release that takes advantage of the move to Java 17 to make some long-awaited upgrades. Existing code using LazyLib should remain compatible, but there's a small chance that something could have been broken during the library updates. Please let me know if you encounter any problems!

Full changelog:
Quote
3.0 (March 27, 2025)
======================
Updated to be compatible with Starsector 0.98a and Java 17
Updated to Kotlin 2.1 and the K2 compiler
Updated bundled libraries to take advantage of the move to Java 17:
 - kotlin-stdlib: v1.6.21 -> v2.1.20
 - kotlinx-coroutines: v1.6.4 (custom build) -> v1.10.1
 - jetbrains-annotations: v23.0.0 -> REMOVED (now included in kotlin-stdlib)
Changes to jar file locations:
 - Moved LazyLib-Console.jar and Kotlin-Runtime.jar to jars/internal, to
   better signify that they aren't meant to be added as mod dependencies
Added org.lazywizard.lazylib.ShapeUtils:
 - Copy of org.lazywizard.lazylib.opengl.DrawUtils, except its methods
   return a list of vertices instead of drawing the requested shape
Changes to CollisionUtils:
 - Fixed getCollisionPoint(Vector2f lineStart, Vector2f lineEnd,
   CombatEntityAPI target) returning null if entire line was within target's
   bounds without touching a bounds segment (now returns copy of lineStart)
 - getNearestPointOnBounds() no longer requires you to call bounds.update();
   as with all other CollisionUtils methods it now calls update() itself
Changes to ColorUtils:
 - Added genRandomColor(), returns a Color with random RGB values
Changes to FastTrig:
 - atan() properly reduces its argument if it's not between -1 and 1
   (credit to Genir for the bug report and the fix)
Changes to LazyFont:
 - Fixed display of fonts whose texture scaling doesn't match their texture size
   (credit to Psiyon for the bug report and the fix)
 - Added buildUntilLimit(String line, float fontSize, float maxWidth), which
   returns a substring of line that will fit within maxWidth width
 - Unicode smart quotes (single and double) are converted into basic quotes
 - Attempting to create a DrawableString with missing character data will only
   log a warning once per missing character, instead of every time one is used
   (explanation: if the font doesn't define Ç, it will log a warning the first
    time you try to draw one while replacing the missing character with either
    a question mark, or empty space if the font doesn't define a question mark)
 - LazyFont.loadFont() will now make up fake data for a space character if the
   font file lacks one (it creates an invisible pixel with extra padding)
 - Cached fallback char used when font doesn't contain a requested character;
   very slight performance improvement
 - Added missing Javadoc to LazyChar
Changes to VectorUtils:
 - Added toFloatArray(List<Vector2f> vectors), which converts a List of
   Vector2fs into an array of floats containing their coordinates
 - Added toVectorList(float[] coordinates), which converts a float array of
   coordinates into a List of Vector2fs
Removed org.lazywizard.lazylib.campaign.orbits.KeplerOrbit
 - Removed at the request of its contributor
Removed from org.lazywizard.lazylib.ui.LazyFont:
 - Removed drawText(); use createText() instead
 - Removed appendText(); use append() instead
 - Removed getColor() and setColor(); use get/setBaseColor() instead
 - Removed checkRebuild(); use triggerRebuildIfNeeded() instead
« Last Edit: March 27, 2025, 01:21:47 PM by LazyWizard »
Logged
Active mods: LazyLib | Combat Radar | Console Commands | Version Checker  ||  Old mods: Autosave | Omnifactory | Simulator Overhaul
Feel free to use any code I've written or PM me for help with your own. Anyone is free to translate my work.

ChocoMoo

  • Ensign
  • *
  • Posts: 28
  • mod enjoyer
    • View Profile
Re: [0.98a] LazyLib v3.0 (released 2025-03-27)
« Reply #235 on: March 27, 2025, 02:01:57 PM »

how is this already updated. its only been 2 hours since 0.98 ???
« Last Edit: March 27, 2025, 02:07:13 PM by ChocoMoo »
Logged

Gantradies

  • Lieutenant
  • **
  • Posts: 53
    • View Profile
Re: [0.98a] LazyLib v3.0 (released 2025-03-27)
« Reply #236 on: March 28, 2025, 10:24:16 PM »

i, am having a bunch of issues getting stuff to run properly via TriOS atm-
could be a quirk/bug on its end, but there's a bunch of mods (including ones that just got updated for the new patch!) that are refusing to recognize/enable with lazylib 3.0-
like the ship-weapons pack,
underworld ect-
will poke around at stuff a little, try and see if its an actual problem or the game just being weird on my end xD
has anyone else been seeing anything similar?
« Last Edit: March 29, 2025, 02:50:01 AM by Gantradies »
Logged

Huntster

  • Ensign
  • *
  • Posts: 2
    • View Profile
Re: [0.98a] LazyLib v3.0 (released 2025-03-27)
« Reply #237 on: March 29, 2025, 08:11:57 PM »

Yes, I'm seeing the same thing as Gantradies. Everything with dependencies are showing errors in TriOS, saying "Required Mods: LazyLib (disabled 3.0.0)" and soforth, even though that's the current version. Bit confusing.
Logged

LazyWizard

  • Global Moderator
  • Admiral
  • *****
  • Posts: 1374
    • View Profile
    • GitHub Profile
Re: [0.98a] LazyLib v3.0 (released 2025-03-27)
« Reply #238 on: March 30, 2025, 09:21:45 AM »

i, am having a bunch of issues getting stuff to run properly via TriOS atm-
could be a quirk/bug on its end, but there's a bunch of mods (including ones that just got updated for the new patch!) that are refusing to recognize/enable with lazylib 3.0-
like the ship-weapons pack,
underworld ect-
will poke around at stuff a little, try and see if its an actual problem or the game just being weird on my end xD
has anyone else been seeing anything similar?

Yes, I'm seeing the same thing as Gantradies. Everything with dependencies are showing errors in TriOS, saying "Required Mods: LazyLib (disabled 3.0.0)" and soforth, even though that's the current version. Bit confusing.

Those mods haven't been updated for 0.98a yet so they might not work anyway, but the issue you're having is because they declare a specific version of LazyLib as a dependency.

You can get them to work (assuming nothing broke in 0.98a) by editing their mod_info.json and removing the line "version": "2.8b", from LazyLib's dependency entry.
Logged
Active mods: LazyLib | Combat Radar | Console Commands | Version Checker  ||  Old mods: Autosave | Omnifactory | Simulator Overhaul
Feel free to use any code I've written or PM me for help with your own. Anyone is free to translate my work.

Raatle

  • Lieutenant
  • **
  • Posts: 55
    • View Profile
Re: [0.98a] LazyLib v3.0 (released 2025-03-27)
« Reply #239 on: March 30, 2025, 11:59:53 AM »

I have a mod in development. CollisionUtils.getCollisionPoint seems to be returning some really odd results in the latest patch. Returning null when it shouldnt or returning values that are vastly inaccurate. Dont know if its linked to 0.98a or Java 17. Will be looking further into it myself.
Logged
Pages: 1 ... 14 15 [16] 17