code-disaster / steamworks4j

A thin Java wrapper to access the Steamworks API
https://code-disaster.github.io/steamworks4j/
MIT License
471 stars 64 forks source link

What happened with the old library loader? (1.10.0-SNAPSHOT) #127

Open Zomis opened 1 year ago

Zomis commented 1 year ago

I'm neither using Lwjgl3 or LibGdx (I'm using Compose Multiplatform if it matters).

Why was the old library loader deleted? Do I have to use either the Lwjgl3 loader or the LibGdx loader?

code-disaster commented 1 year ago

The old loader started life as a copy of libGDX' SharedLibraryLoader. It was just a liability and terribly out of date at this point.

I don't know Compose Multiplatform, and if it has some support for loading native shared libraries. If it does, just have a look at the GDX or LWJGL3 loader and use them as a reference to implement SteamLibraryLoader yourself.

If it doesn't, it still should be easy to just use one of the loaders. They only add the dependencies required. Personally, I found the LWJGL3 loader a lot more capable, but the GDX loader should be much closer to the old loader regarding features/behaviour.

Rizato commented 1 year ago

This is a breaking change, and should be cause for a major version bump.