Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running FeudalTactics on Mobile Linux #84

Open
jonnius opened this issue Nov 9, 2024 · 1 comment
Open

Running FeudalTactics on Mobile Linux #84

jonnius opened this issue Nov 9, 2024 · 1 comment
Labels
question Further information is requested

Comments

@jonnius
Copy link

jonnius commented Nov 9, 2024

I tried starting the release desktop jar like java -jar FeudalTactics-desktop.jar on an arm64 Ubuntu Touch Linux device, but keep getting:

[LWJGL] GLFW_API_UNAVAILABLE error
        Description : EGL: Failed to find support for OpenGL
        Stacktrace  :
                org.lwjgl.glfw.GLFW.nglfwCreateWindow(GLFW.java:2058)
                org.lwjgl.glfw.GLFW.glfwCreateWindow(GLFW.java:2229)
                com.badlogic.gdx.backends.lwjgl3.Lwjgl3Application.createGlfwWindow(Lwjgl3Application.java:527)
                com.badlogic.gdx.backends.lwjgl3.Lwjgl3Application.createWindow(Lwjgl3Application.java:463)
                com.badlogic.gdx.backends.lwjgl3.Lwjgl3Application.createWindow(Lwjgl3Application.java:449)
                com.badlogic.gdx.backends.lwjgl3.Lwjgl3Application.<init>(Lwjgl3Application.java:163)
                de.sesu8642.feudaltactics.lwjgl3.Lwjgl3Launcher.createApplication(Lwjgl3Launcher.java:24)
                de.sesu8642.feudaltactics.lwjgl3.Lwjgl3Launcher.main(Lwjgl3Launcher.java:16)
[de.sesu8642.feudaltactics.lwjgl3.Lwjgl3Launcher] the game crashed because of an unexpected exception
com.badlogic.gdx.utils.GdxRuntimeException: Couldn't create window
        at com.badlogic.gdx.backends.lwjgl3.Lwjgl3Application.createGlfwWindow(Lwjgl3Application.java:530)
        at com.badlogic.gdx.backends.lwjgl3.Lwjgl3Application.createWindow(Lwjgl3Application.java:463)
        at com.badlogic.gdx.backends.lwjgl3.Lwjgl3Application.createWindow(Lwjgl3Application.java:449)
        at com.badlogic.gdx.backends.lwjgl3.Lwjgl3Application.<init>(Lwjgl3Application.java:163)
        at de.sesu8642.feudaltactics.lwjgl3.Lwjgl3Launcher.createApplication(Lwjgl3Launcher.java:24)
        at de.sesu8642.feudaltactics.lwjgl3.Lwjgl3Launcher.main(Lwjgl3Launcher.java:16)

I assume, it is requiring OpenGL support, while Ubuntu Touch provides GLES. As you support Android, I assume that GLES should be supported by this game. Is that correct? Can you provide any guidance how to package/start the game so that it utilizes GLES?

@Sesu8642
Copy link
Owner

I think you might need to edit the config in de.sesu8642.feudaltactics.lwjgl3.Lwjgl3Launcher. See https://libgdx.com/wiki/graphics/opengl-es-support.

@Sesu8642 Sesu8642 added the question Further information is requested label Nov 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants