Botspot / pi-apps

Raspberry Pi App Store for Open Source Projects
GNU General Public License v3.0
2.04k stars 207 forks source link

Adding Mindustry #1183

Open Fuckashi opened 3 years ago

Fuckashi commented 3 years ago

Hy I saw someone who compiled mindustry (that works) but it's an old version. Will it be possible to look at its shell code to create an updated version and publish it on pi-apps ?

Link:

ryanfortner commented 3 years ago

Duplicate of https://github.com/Botspot/pi-apps/issues/1186?

Fuckashi commented 3 years ago

no i'm first

cycool29 commented 3 years ago

The script of https://github.com/azureblue/MindustryPi is outdated. The links in the script are not usable. So I tried to compile Mindustry from upstream repo, but ends up with this:

> Task :tools:pack FAILED
Exception in thread "main" arc.util.ArcRuntimeException: Couldn't load shared library 'libarcarm.so' for target: Linux, 32-bit
    at arc.util.SharedLibraryLoader.load(SharedLibraryLoader.java:84)
    at arc.util.ArcNativesLoader.load(ArcNativesLoader.java:14)
    at mindustry.tools.ImagePacker.main(ImagePacker.java:28)
Caused by: arc.util.ArcRuntimeException: Unable to read file for extraction: libarcarm.so
    at arc.util.SharedLibraryLoader.readFile(SharedLibraryLoader.java:93)
    at arc.util.SharedLibraryLoader.loadFile(SharedLibraryLoader.java:253)
    at arc.util.SharedLibraryLoader.load(SharedLibraryLoader.java:81)
    ... 2 more

FAILURE: Build failed with an exception.

* Where:
Build file '/home/pi/testdir/Mindustry/tools/build.gradle' line: 199

* What went wrong:
Execution failed for task ':tools:pack'.
> Process 'command '/usr/lib/jvm/java-17-openjdk-armhf/bin/java'' finished with non-zero exit value 1

I can't find libarcarm.so in https://github.com/azureblue/Arc.

smithmule commented 3 years ago

does the bottom half of build script have something to do with libarcarm.so it looks like its renaming parts of a file? i wish i could help but this is all way beyond me :smile:

theofficialgman commented 3 months ago

This is a simple java application. Please open a PR or add a zip following other pi-apps jar based applications as example for installing java and this jar file.