betacraftuk / betacraft-launcher

A launcher for Minecraft focused on legacy versions of the game
https://betacraft.uk
GNU General Public License v3.0
333 stars 40 forks source link

support more CPU ISA's per Os #151

Open jredfox opened 2 years ago

jredfox commented 2 years ago

ISA:(Instruction set architecture) the architecture of your cpu's instruction set. this determines whether or not you can run your compiled programs / natives on your pc. You may have a native image of say arm64 bit windows exe but it won't run a an x64 windows pc without emulation or conversion

Say it again but in english: minecraft's lwjgl natives [.dll in windows] can't run if the cpu instruction set doesn't match the file's instruction set. this is where issues begain. Say it again but this time dumber ok fine: you need to update minecraft's natives so it can run on any pc for the supported platforms(Operating systems)

general ISA issues

arm:

ok let's say you fixed this issue now what: well fixing this issue also causes the problem of you not being able to play offline or when betacraft's servers are down. Why? because #141 the libs and natives are not version controlled as of yet. this is a must fix when fixing this issue. Without fixing it betacraft would became unplayable the second it's servers are offline without an archive of natives /libs and manual swapping

r58Playz commented 2 years ago
  • mac now has arm64 you may have to manually run mac's rosetta stone 2 to grab them from x64 intel natives that are converted. Mac: M1 Color Issue #38 is most likely the cause.

rosetta 2 runs when you launch an app, and afaik it doesn't store the arm64 translated app.

Plus arm64 natives have been compiled and even using rosetta 2 the color issue is still present.

jredfox commented 2 years ago

@r58Playz well if there were not issues with mac m1 then there wouldn't be 30 open issues with it. it has to do with the natives being wrong as minecraft runs on mac m1 say 1.12.2 which is before they updated to lwjgl 3. I assure you everything written on my comment was accurate.

he needs to get the proper natives exact ISA to prevent emulation or boot time going way up to to rosetta. Also it fails on the mac m1 which leads me to believe the natives for mac are x86 or even powerpc not x64 or simply fails for some odd reason in java 8.

also no, the color issues are not present on correct compiled arm64 macOs natives. look at 1.12.2 does it contain the color issue on the mac m1 the natives are translated properly using rosetta 2 correctly. what I say still stands.

notdevcody commented 9 months ago

Will look into it for v2, in which case it would only support the platforms we provide builds for.