Hi! I'm Limitless and I'm working on a custom client that I eventually intend to release here. However, there are some design decisions to be made, which is why I'm making this post.
My goals for my client will be mainly to update the codebase to at least java 11, and also to make it work on apple silicon.
By "update the codebase" I mean add modules, this should hopefully increase readability and increase speed on future work. Also I want to migrate to maven as a build tool, which should make adding/removing dependancies much easier.
And by "make it work on apple silicon" I mean your M1 Macs, etc. Basically both of these things are "under the hood" changes that most people won't notice, but every client has to start somewhere, right?
The first design decision is what to do with JOGL. JOGL hasn't had a stable update since 2015, and ALL the clients currently depend on it. JOGL also doesn't support M1 Macs, which is what's causing that problem. One solution would be to use JOGL 2.4, which is pre-release and could be unstable, while the other option is to move to a different library like LWJGL.
JOGL 2.4 could be unstable, but I haven't tested it personally. Migrating to LWJGL would be a lot of work, but might not even work properly. LWJGL is actively maintained at the moment though, so there is a good level of support for the foreseeable future.
TL;DR: JOGL or LWJGL? I'd have to figure out a solution either way
-
noindyfikator
- Posts: 1478
- Joined: Fri Jul 15, 2011 11:10 am
Re: Working on a new client
Neither of them. Use unity
-
shubla
- Posts: 13041
- Joined: Sun Nov 03, 2013 11:26 am
- Location: Finland
Re: Working on a new client
My design decision is to install linux instead.

I'm not sure that I have a strong argument against sketch colors - Jorb, November 2019
http://i.imgur.com/CRrirds.png?1
Join the moderated unofficial discord for the game! https://discord.gg/2TAbGj2
Purus Pasta, The Best Client
-
Limitless0
- Posts: 11
- Joined: Wed Jan 05, 2022 4:40 pm
Re: Working on a new client
Ah yes, let me throw this whole codebase away, brush off my C#, and rebuild the whole thing from scratch!noindyfikator wrote:Use unity
Bruh, it's been the year of linux on desktop for like 15 years now. Let it go.shubla wrote:linux
-
shubla
- Posts: 13041
- Joined: Sun Nov 03, 2013 11:26 am
- Location: Finland
Re: Working on a new client
You won't need to add dependencies etc. very often so migrating from ant to maven is likely just waste of time.
What you mean by updating codebase to java 11? Is there something in java 11 that you need? Sounds like another way to waste time for nothing.
After reading the code a bit, rebuilding from scratch doesn't probably sound that bad anymore.
Sounds like a pain to maintain lwjgl bindings whenever loftar decides to change anything with jogl.
What you mean by updating codebase to java 11? Is there something in java 11 that you need? Sounds like another way to waste time for nothing.
After reading the code a bit, rebuilding from scratch doesn't probably sound that bad anymore.
Sounds like a pain to maintain lwjgl bindings whenever loftar decides to change anything with jogl.

I'm not sure that I have a strong argument against sketch colors - Jorb, November 2019
http://i.imgur.com/CRrirds.png?1
Join the moderated unofficial discord for the game! https://discord.gg/2TAbGj2
Purus Pasta, The Best Client
-
mvgulik
- Posts: 4088
- Joined: Fri May 21, 2010 2:29 am
...
...
Last edited by mvgulik on Wed Jul 17, 2024 7:24 pm, edited 1 time in total.
Ignored(29): "Would you like to know more"
-
Limitless0
- Posts: 11
- Joined: Wed Jan 05, 2022 4:40 pm
Re: Working on a new client
Modules! Currently the main package is a bit of a dumping ground for whatever, wouldn’t it be nice if it was organised into neat modules? I get antsy to split up a package when there’s about 5-10 files in it, and there’s easily over 100. Also, I really hate ant
-
noindyfikator
- Posts: 1478
- Joined: Fri Jul 15, 2011 11:10 am
Re: Working on a new client
That's completely true. Current client code is really so bad, maintaining it in the future will be pain in the ass. No developer will want to do it. It's just one big mess and antipattern. (no offence, but I would get fired after 1 day from my work if I write my code this way).shubla wrote:After reading the code a bit, rebuilding from scratch doesn't probably sound that bad anymore.
If you are not going with unity, it's waste of time. Client needs to be completely rewritten with modern libraries. Actually it's unity or similar. Don't bother with jogl or lwjgl or libdx because you will waste a lot of time, result will be probably the same.
Last edited by noindyfikator on Fri Jan 07, 2022 1:51 pm, edited 2 times in total.
-
iamahh
- Posts: 1806
- Joined: Sat Dec 12, 2015 8:23 pm
Re: Working on a new client
join the Modders discord, may find something there
-
noindyfikator
- Posts: 1478
- Joined: Fri Jul 15, 2011 11:10 am
Re: Working on a new client
it's dead discordiamahh wrote:join the Modders discord, may find something there