Code Monkey home page Code Monkey logo

Comments (28)

HeyaGlitz avatar HeyaGlitz commented on June 11, 2024 1

@binex-dsk PolyMC depends on Zeker's ForgeWrapper for launching Forge, and he added support for 1.20.3 and 1.20.4 in 1.5.8 so the fix would be updating the ForgeWrapper on our meta server

from polymc.

Kaydax avatar Kaydax commented on June 11, 2024 1

I just made a PR that fixes the issue here. Now we just wait for Lenny to merge it and from there polymc should just work

from polymc.

binex-dsk avatar binex-dsk commented on June 11, 2024

What ways did you try to install?
Does Fabric with, e.g. Fabulously Optimized work?

from polymc.

Zatan16 avatar Zatan16 commented on June 11, 2024

I installed the JAR file and then tried to allow executing permissions but there was no such option to allow executing.
I tried using sudo chmod +x filename to allow the executing permissions but still, it wouldn't execute
And then I used java -jar filename to run it and it worked, but when I selected the .minecraft folder of my instance, it said The directory is missing a launcher profile. Please run the minecraft launcher first. and it closed when I pressed "OK"
Edit: I also clicked on the "Install Forge" option and then selected "Download All" in the Edit Instance Menu but still am getting the same error.

from polymc.

binex-dsk avatar binex-dsk commented on June 11, 2024

Okay. What happens when you create a new Vanilla 1.20.4 instance, select Edit Instance, then Install Forge, and install 49.0.19? Doing that has no issues for me.

For now though, I would highly recommend using Fabric with Fabulously Optimized, it's significantly better than OptiFine on top of being open-source. If installing Fabric fails as well, then you probably are lacking write permissions or something.

from polymc.

Zatan16 avatar Zatan16 commented on June 11, 2024

Thank you, and one last thing. Does Fabulously Optimized have a feature where light blocks glow when in your hand and when dropped or do I need to manually install another mod for it? Also for the feature where I can zoom in to things.
Edit: I forgot to tell you, the former doesn't work but the latter does. Thank you for your help.

from polymc.

binex-dsk avatar binex-dsk commented on June 11, 2024

Thank you, and one last thing. Does Fabulously Optimized have a feature where light blocks glow when in your hand and when dropped or do I need to manually install another mod for it? Also for the feature where I can zoom in to things.
Edit: I forgot to tell you, the former doesn't work but the latter does. Thank you for your help.

Ok, it might be worth it to investigate this further but since I can't reproduce there's not much I can do for now.

I forget if Fabulously Optimized includes it, but if not, I think LambdDynamicLights is what you need. I believe it needs Cloth Config as well, but I think that's included too.

from polymc.

binex-dsk avatar binex-dsk commented on June 11, 2024

Where is this handled? I don't see it on any of the meta repos.

from polymc.

HeyaGlitz avatar HeyaGlitz commented on June 11, 2024

https://github.com/PolyMC/meta-scripts/blob/master/meta%2Fcommon%2Fforge.py
FORGEWRAPPER_MAVEN but I don't know how our maven works so you'll have to ask Lenny or something

from polymc.

binex-dsk avatar binex-dsk commented on June 11, 2024

PolyMC/files#2

from polymc.

adamsong avatar adamsong commented on June 11, 2024

I'm still seeing this after that pr was merged

from polymc.

HeyaGlitz avatar HeyaGlitz commented on June 11, 2024

There's something wrong with the meta server, Lenny is investigating it

from polymc.

binex-dsk avatar binex-dsk commented on June 11, 2024

@adamsong the meta server as fixed, are you still facing issues or is everything good?

from polymc.

adamsong avatar adamsong commented on June 11, 2024

Sorry about the delay, still getting the error

SEVERE: Exception caught from launcher.
java.lang.reflect.InvocationTargetException
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:568)
	at org.polymc.impl.OneSixLauncher.invokeMain(OneSixLauncher.java:104)
	at org.polymc.impl.OneSixLauncher.launchWithMainClass(OneSixLauncher.java:176)
	at org.polymc.impl.OneSixLauncher.launch(OneSixLauncher.java:186)
	at org.polymc.EntryPoint.listen(EntryPoint.java:144)
	at org.polymc.EntryPoint.main(EntryPoint.java:74)
Caused by: java.lang.RuntimeException: Unable to detect the forge installer!
	at io.github.zekerzhayard.forgewrapper.installer.detector.IFileDetector.getDataFromInstaller(IFileDetector.java:157)
	at io.github.zekerzhayard.forgewrapper.installer.detector.IFileDetector.getInstallProfileExtraData(IFileDetector.java:136)
	at io.github.zekerzhayard.forgewrapper.installer.detector.IFileDetector.checkExtraFiles(IFileDetector.java:170)
	at io.github.zekerzhayard.forgewrapper.installer.Main.main(Main.java:38)
	... 9 more
Feb 22, 2024 8:28:26 AM org.polymc.EntryPoint main
INFO: Exiting with 1

from polymc.

HeyaGlitz avatar HeyaGlitz commented on June 11, 2024

from Lenny:

first close PolyMC, then delete the folder %AppData%/PolyMC/meta and then it should work after re-opening PolyMC

from polymc.

adamsong avatar adamsong commented on June 11, 2024

Where is that on linux?

from polymc.

HeyaGlitz avatar HeyaGlitz commented on June 11, 2024

~/.local/share/PolyMC/

from polymc.

adamsong avatar adamsong commented on June 11, 2024

Works now, thanks

from polymc.

XakepSDK avatar XakepSDK commented on June 11, 2024

Doesn't work for me. Modpack Fear The Nightfall v12 from curseforge. I tried deleting polymc/meta directory. I'm using PolyMC 6.1 portable on windows.

from polymc.

binex-dsk avatar binex-dsk commented on June 11, 2024

Doesn't work for me. Modpack Fear The Nightfall v12 from curseforge. I tried deleting polymc/meta directory. I'm using PolyMC 6.1 portable on windows.

I can't remember off the top of my head, but it might be in PolyMC/files.

If not, post your error, it might give some clues

from polymc.

XakepSDK avatar XakepSDK commented on June 11, 2024

I don't have PolyMC/files directory, but I have PolyMC/meta directory. I tried deleting it, didn't help.
This directory %AppData%/PolyMC/meta does not exist.
Here is the error: https://gist.github.com/XakepSDK/2c1a1b2edf7d67087360eaf9772d3591

from polymc.

binex-dsk avatar binex-dsk commented on June 11, 2024

Are you 100% sure that you closed PolyMC before deleting the directory?

from polymc.

XakepSDK avatar XakepSDK commented on June 11, 2024

Yes

from polymc.

atzaveri avatar atzaveri commented on June 11, 2024

aparently polymc of any version stoped download forge installer, check under the folder: \libraries\net\minecraftforge\forge\1.19.2-43.3.5\ if you have forge-1.19.2-43.3.5-installer.jar
btw, you can solve this just downloading the correct forge version > https://maven.minecraftforge.net/net/minecraftforge/forge/1.19.2-43.3.5/forge-1.19.2-43.3.5-installer.jar
place on the folder and try again

from polymc.

shroneko avatar shroneko commented on June 11, 2024

I'm having the same issue trying to run forge modpacks from 1.19 and 1.20. Fabric modpacks work fine, so does vanilla mc.

SEVERE: Exception caught from launcher.
java.lang.reflect.InvocationTargetException
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.base/java.lang.reflect.Method.invoke(Unknown Source)
	at org.polymc.impl.OneSixLauncher.invokeMain(OneSixLauncher.java:104)
	at org.polymc.impl.OneSixLauncher.launchWithMainClass(OneSixLauncher.java:176)
	at org.polymc.impl.OneSixLauncher.launch(OneSixLauncher.java:186)
	at org.polymc.EntryPoint.listen(EntryPoint.java:144)
	at org.polymc.EntryPoint.main(EntryPoint.java:74)
Caused by: java.lang.RuntimeException: Unable to detect the forge installer!
	at io.github.zekerzhayard.forgewrapper.installer.detector.IFileDetector.getDataFromInstaller(IFileDetector.java:157)
	at io.github.zekerzhayard.forgewrapper.installer.detector.IFileDetector.getInstallProfileExtraData(IFileDetector.java:136)
	at io.github.zekerzhayard.forgewrapper.installer.detector.IFileDetector.checkExtraFiles(IFileDetector.java:170)
	at io.github.zekerzhayard.forgewrapper.installer.Main.main(Main.java:38)
	... 9 more
Feb 29, 2024 8:12:35 AM org.polymc.EntryPoint main
INFO: Exiting with 1
Process exited with code 1. 

This is what the error code looks like and I'm pretty sure its a forge installer issue.

from polymc.

Kaydax avatar Kaydax commented on June 11, 2024

This is most likely due to the fact every single forge installer has been updated, thus causing checksums to change and prob some other things. This was due to something on mojang's end where they decided to kill off one domain, causing every installer to just break

from polymc.

binex-dsk avatar binex-dsk commented on June 11, 2024

@XakepSDK @atzaveri @shroneko The PR's been merged. Try it now after deleting the meta directory.

from polymc.

XakepSDK avatar XakepSDK commented on June 11, 2024

It works! Thank you.

from polymc.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.