delta-client icon indicating copy to clipboard operation
delta-client copied to clipboard

Singleplayer

Open stackotter opened this issue 3 years ago • 12 comments

Add basic singleplayer support. The easiest way to achieve that would be to programmatically setup a regular server (probably paper for performance) and then provide the user with some way to manage and load worlds. Open to LAN would also be useful. One complexity for this feature is managing java versions. It would probably be best to just programmatically download the correct java version and use that (ignoring any existing java installations).

stackotter avatar Dec 31 '21 09:12 stackotter

Possibly the running Paper server could automatically install ViaVersion. Since the client is built for an older version, in the meantime while it's not updated this would allow newer versions to join when the world is opened to LAN.

ninjadev64 avatar Jan 02 '22 09:01 ninjadev64

Do purpur. Purpur is faster.

FrankTCA avatar Jan 03 '22 21:01 FrankTCA

Also purpur is more customizable if we want to mess around with it a little in the future.

FrankTCA avatar Jan 03 '22 21:01 FrankTCA

We could have like, a dialog with all the different Purpur options and stuff:

https://purpurmc.org/docs/Configuration/

FrankTCA avatar Jan 03 '22 21:01 FrankTCA

Also use zulu jdk probably since that runs best on Arm.

FrankTCA avatar Jan 03 '22 21:01 FrankTCA

Also purpur is more customizable if we want to mess around with it a little in the future.

Reading through their docs on the configuration page, most options seem to be focused on changing vanilla gameplay, which I don’t think is what we’re going for in singleplayer. A handful are nice optimisations / tweaks but I think it would be better to stick with a much more popular software like Paper.

ninjadev64 avatar Jan 05 '22 13:01 ninjadev64

I agree, let's use paper

stackotter avatar Jan 05 '22 21:01 stackotter

since it's easy to forget: obligatory reminder to put a notice to paper, as well as its download page, somewhere as per gnu gpl v3 5d and 6d

t-brieger avatar May 27 '22 23:05 t-brieger

Also purpur is more customizable if we want to mess around with it a little in the future.

Reading through their docs on the configuration page, most options seem to be focused on changing vanilla gameplay, which I don’t think is what we’re going for in singleplayer. A handful are nice optimisations / tweaks but I think it would be better to stick with a much more popular software like Paper.

It just fixes some issues present in vanilla without deeply changing the way the game work.

MoustacheOff avatar Jun 22 '22 11:06 MoustacheOff

Also use zulu jdk probably since that runs best on Arm.

Or GraalVM. We could even try to transpile the Paper jar to native with it.

ninjadev64 avatar Oct 31 '22 08:10 ninjadev64

Yoooo that's awesome they finally have a replacement for GCJ!

I wouldn't know if it would be possible to implement using someone else's complex code like Paper (that relies on closed-source)

But that is cool!!!

FrankTCA avatar Oct 31 '22 13:10 FrankTCA

Yoooo that's awesome they finally have a replacement for GCJ!

It doesn't work too well though.

ninjadev64 avatar Oct 31 '22 16:10 ninjadev64