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

MultiMC on ARM Surface Pro X wont launch #3025

Closed
BenjyP1235 opened this issue Mar 5, 2020 · 7 comments
Closed

MultiMC on ARM Surface Pro X wont launch #3025

BenjyP1235 opened this issue Mar 5, 2020 · 7 comments

Comments

@BenjyP1235
Copy link

Cannot get multimc to launch vanilla minecraft with any java versions I have tried, runnning ARm 64bit but believe MultiMC should make Minecraft java possible to run. Any advice or help would be appreciated.
Error: https://paste.ee/p/bN1c2

Thanks

@QuImUfu
Copy link

QuImUfu commented Mar 6, 2020

the lwjgl library and text2speech include natives that you'd need to compile for ARM+windows and use the compiled version.
Hmm, i am not sure if that's the issue. What versions of Java and MultiMC are you using? the x86 version? how does that even work?

@BenjyP1235
Copy link
Author

the lwjgl library and text2speech include natives that you'd need to compile for ARM+windows and use the compiled version.
Hmm, i am not sure if that's the issue. What versions of Java and MultiMC are you using? the x86 version? how does that even work?

I am using whichever java can find, tried a few but not sure possible to install the Linux ARM java on windows somehow, otherwise just use latest. Also latest MultiMC version. Unsure about how to recompile that myself

@QuImUfu
Copy link

QuImUfu commented Mar 8, 2020

Ok, i read up some things about ARM Surface Pro X.
It uses emulation to run x86 32bit code, so you approach should theoretically work, albeit with bad performance.
Even if you get it to run, afaik minecaft uses OpenGL ?1.3? and your system only supports 1.1.
Hmm, what happens if you (try to) launch minecraft from the default launcher?
What happens if you try to start minecraft 1.5.2 from MultiMC?

(The best way to make this work performant would be porting java, lwjgl, text2speech to windows ARM 64 (some of those are already available for Linux arm64 which should make it a bit easier), and to write proper, performant OpenGL drivers for your systems GPU. So unless you are very good at programming and have good relations and a lot of time, bad luck with that approach.)

@peterix peterix closed this as completed Aug 10, 2020
@adiantek
Copy link

adiantek commented Mar 26, 2021

EDIT: easier version: https://github.com/adiantek/mc-spx

  1. Go to https://store.rg-adguard.net/
  2. Select "ProductId" and type 9nqpsl29bfff
  3. Download and install appx arm64 (eappx is encrypted, I don't know how to decrypt, so I used appx)
  4. Download from https://www.lwjgl.org/customize early access (Minecraft working from lwjgl 3.3.0 build 11) - you can load config from: lwjgl-nightly-custom-zip.zip (github doesn't accept JSON)
  5. Unpack all natives like this:
    image
  6. Run latest Minecraft snapshot from launcher on x86 (1.16.5 doesn't work on windows arm64 - they used legacy GL11 which is not implemented in the OpenGL® mapping layers to DirectX and OpenGL to DirectX is closed source, so without rewrite <=1.16.5 we can't run it)
  7. wmic process where(name="javaw.exe") get commandline
  8. Edit the command line:
  • Change execute to Java arm64 (I changed to C:\Program Files (Arm)\Java\jdk-16-ea+19-windows-aarch64\bin\java.exe)
  • Replace old java.library.path to: -Djava.library.path=C:\Users\username\Downloads\lwjgl-build11\natives (location to natives)
  • In -cp you must replace all lwjgl old libraries to new: C:\Users\username\Downloads\lwjgl-build11\lwjgl.jar;C:\Users\username\Downloads\lwjgl-build11\lwjgl-jemalloc.jar;C:\Users\username\Downloads\lwjgl-build11\lwjgl-openal.jar;C:\Users\username\Downloads\lwjgl-build11\lwjgl-opengl.jar;C:\Users\username\Downloads\lwjgl-build11\lwjgl-glfw.jar;C:\Users\username\Downloads\lwjgl-build11\lwjgl-stb.jar;C:\Users\username\Downloads\lwjgl-build11\lwjgl-tinyfd.jar (you can copy from me and use find&replace to modify directory)
  • Add at the end --width 1920 --height 1080 bcuz Surface Pro X has large resolution and small screen
  1. Save command line as .bat to %appdata%.minecraft
    image
    Without optifine and render distance 4 I've 20-40 fps on singleplayer.

@AverageComet250
Copy link

AverageComet250 commented Mar 26, 2021 via email

@adiantek
Copy link

Sorry, what's your issue again? Also please fill out the issue templatr Thanks, Shravan Mandava

________________________________ From: Adrian Antkowiak @.> Sent: Friday, March 26, 2021 3:25:15 AM To: MultiMC/MultiMC5 @.> Cc: Subscribed @.***> Subject: Re: [MultiMC/MultiMC5] MultiMC on ARM Surface Pro X wont launch (#3025) 1. Go to https://store.rg-adguard.net/ 2. Select "ProductId" and type 9nqpsl29bfff 3. Download and install appx arm64 (eappx is encrypted, I don't know how to decrypt, so I used appx) 4. Download from https://www.lwjgl.org/customize early access (Minecraft working from lwjgl 3.3.0 build 11) - you can load config from: lwjgl-nightly-custom-zip.ziphttps://github.com/MultiMC/MultiMC5/files/6209150/lwjgl-nightly-custom-zip.zip (github doesn't accept JSON) 5. Unpack all natives like this: [image]https://user-images.githubusercontent.com/13407885/112572327-40906280-8dea-11eb-955b-7ca08a151e1a.png 6. Run Minecraft snapshot (1.16.5 doesn't work on windows arm64) from launcher on x86 7. wmic process where(name="javaw.exe") get commandline 8. Edit the command line: * Change execute to Java arm64 (I changed to C:\Program Files (Arm)\Java\jdk-16-ea+19-windows-aarch64\bin\java.exe) * Replace old java.library.path to: -Djava.library.path=C:\Users\username\Downloads\lwjgl-build11\natives (location to natives) * In -cp you must replace all lwjgl old libraries to new: C:\Users\username\Downloads\lwjgl-build11\lwjgl.jar;C:\Users\username\Downloads\lwjgl-build11\lwjgl-jemalloc.jar;C:\Users\username\Downloads\lwjgl-build11\lwjgl-openal.jar;C:\Users\username\Downloads\lwjgl-build11\lwjgl-opengl.jar;C:\Users\username\Downloads\lwjgl-build11\lwjgl-glfw.jar;C:\Users\username\Downloads\lwjgl-build11\lwjgl-stb.jar;C:\Users\username\Downloads\lwjgl-build11\lwjgl-tinyfd.jar (you can copy from me and use find&replace to modify directory) * Add at the end --width 1920 --height 1080 bcuz Surface Pro X has large resolution and small screen 1. Save command line as .bat to %appdata%.minecraft [image]https://user-images.githubusercontent.com/13407885/112572703-ffe51900-8dea-11eb-9f2f-0550927f1c9f.png Without optifine and render distance 4 I've 20-40 fps on singleplayer. — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub<#3025 (comment)>, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AL5SCZI7TOUEIZRV4DGMYBLTFP5BXANCNFSM4LCTG3YA.

it's not the issue, it's a tutorial on how to run Minecraft on Surface Pro X. Where did I write anything about that I have a problem with something or that something is not working?

@AverageComet250
Copy link

There's just the fact that this is a bug tracker not a help forum. I think you should go talk with the guys managing the discord for something like this. Also don't try launching Minecraft with MMC if it won't run anyway in the official launcher.

Also this issue is closedz why are you still using it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants