From darrellroot at mac.com Wed Apr 7 19:25:38 2021 From: darrellroot at mac.com (Darrell Root) Date: Wed, 7 Apr 2021 17:25:38 -0700 Subject: [netrek-dev] Java Netrek Client Lives! (almost) Message-ID: <7B45578B-B921-4441-9FFB-BF8F958628C7@mac.com> I’m pleased to announce that I grabbed a copy of Robert Temple’s old Java Netrek Client (JTrek) version 0.9.4 beta and have it _almost_ playable! JTrek was written in 1997-1998 for Java version 1.2. It took a bit of tender-loving-care, but I’ve got it imported into Eclipse, compiling, running against pickled.netrek.org , and _almost_ playable. Github repository is https://github.com/netrek/JTrek Check the releases section for the latest prebuilt runnable jar file. The most visible problem right now is that all mouse clicks are torpedo clicks. Laser or change-direction are not recognized (I think option-click worked for lasers though). I’m confident I’ll have the mouse issues knocked out in a couple days (I’m not actually a Java programmer, this is a learning exercise for me). Here’s a screenshot: https://postimg.cc/PNqxYcz1 I’ll update and announce more widely once I have it more playable. I’m also happy to review and (hopefully) accept pull requests. Darrell -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Screen Shot 2021-04-07 at 4.21.59 PM.png Type: image/png Size: 123322 bytes Desc: not available URL: From netrek at gmail.com Wed Apr 7 19:55:46 2021 From: netrek at gmail.com (Jesus Saves) Date: Wed, 7 Apr 2021 20:55:46 -0400 Subject: [netrek-dev] Java Netrek Client Lives! (almost) In-Reply-To: <7B45578B-B921-4441-9FFB-BF8F958628C7@mac.com> References: <7B45578B-B921-4441-9FFB-BF8F958628C7@mac.com> Message-ID: Well done! Zach On Wed, Apr 7, 2021 at 8:26 PM Darrell Root wrote: > I’m pleased to announce that I grabbed a copy of Robert Temple’s old Java > Netrek Client (JTrek) version 0.9.4 beta and have it _almost_ playable! > > JTrek was written in 1997-1998 for Java version 1.2. It took a bit of > tender-loving-care, but I’ve got it imported into Eclipse, compiling, > running against pickled.netrek.org, and _almost_ playable. Github > repository is https://github.com/netrek/JTrek Check the releases > section for the latest prebuilt runnable jar file. > > The most visible problem right now is that all mouse clicks are torpedo > clicks. Laser or change-direction are not recognized (I think option-click > worked for lasers though). I’m confident I’ll have the mouse issues > knocked out in a couple days (I’m not actually a Java programmer, this is a > learning exercise for me). > > Here’s a screenshot: https://postimg.cc/PNqxYcz1 > > I’ll update and announce more widely once I have it more playable. I’m > also happy to review and (hopefully) accept pull requests. > > Darrell > > > _______________________________________________ > netrek-dev mailing list > netrek-dev at us.netrek.org > http://mailman.us.netrek.org/mailman/listinfo/netrek-dev > -- http://www.fidei.org -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Screen Shot 2021-04-07 at 4.21.59 PM.png Type: image/png Size: 123322 bytes Desc: not available URL: From darrellroot at mac.com Tue Apr 20 16:31:19 2021 From: darrellroot at mac.com (Darrell Root) Date: Tue, 20 Apr 2021 14:31:19 -0700 Subject: [netrek-dev] Java Netrek Client v0.9.6 is playable! Message-ID: <8CF23734-8BCE-47BA-9566-8EA47E0451C2@mac.com> Java Netrek Client is now playable! I fixed multi-button support! Here’s the GitHub for the source: https://github.com/netrek/JavaNetrek For the latest release, including a runnable .jar file, go to https://github.com/netrek/JavaNetrek/releases/latest It needs more testing. I have not tried to run it on Windows or Linux. But it works against both C/Bronco pickled.netrek.org (by default) and (via command-line switch) my Swift/Empire server at netrek.networkmom.net ! CPU usage is high. Number of updates per second seems low. I’ve attached a screenshot of a JProfiler run, but haven’t yet tried to improve performance. As always, 99% of the source code is thanks to Robert Temple. I just did 1% to update it from Java 1.2 to recent JVMs. Darrell -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Screen Shot 2021-04-20 at 2.01.12 PM.png Type: image/png Size: 156398 bytes Desc: not available URL: