toolbox4minecraft / amidst

Advanced Minecraft Interface and Data/Structure Tracking
GNU General Public License v3.0
2.15k stars 239 forks source link

Amidst is not able to find your '.minecraft' directory #1078

Open JimUSFSig opened 3 years ago

JimUSFSig commented 3 years ago

Recently bought a Windows 11 laptop. Minecraft working great, but Admist 4.7 (EXE file) doesn't launch:

image

Is this a pathing issue? Do I need to launch differently? Should I use a BAT file with the JAR instead?

BlueGuitarCL commented 3 years ago

I started it using java -jar amidst-v4-7.jar -mcpath <.minecraft>, trying with both launcher's %AppData%\.minecraft\ and custom .minecraft folder. I guess the launcher files changed, for the new launcher they've added ...microsoft_store.json on launcher files, meanwhile Amidst is seeking for the Unified Launcher ones.

eliaspr commented 3 years ago

I can confirm, that Amidst 4.7 seems to be incompatible with the updated Minecraft Launcher on Windows 10 and Windows 11. Apparently, Amidst searches for the launcher_profiles.json which was seemingly renamed or removed by the Launcher Update.

cakebot commented 3 years ago

Same issue, Windows 11 with the new launcher.

BlueGuitarCL commented 3 years ago

I'll post the workaround for those wondering how to make it work.

Just make a copy of the file launcher_profiles_microsoft_store.json named launcher_profiles.json. inside your %AppData%\.minecraft\ directory. Remember to remove and update the copy if you are willing to use a new profile on amidst.

I've tested to use Microsoft's mklink cmdlet to don't bother with updating the copy manually, but at least for me didn't worked.

drszxn commented 2 years ago

Here is an output, if it helps...

C:\Users\\Desktop>java -jar amidst-v4-7.jar -mcpath c:\Users\\AppData\Roaming.minecraft <-- it is Roaming\ .minecraft the editor messes this up [info] Amidst v4.7 [info] Current system time: 2021-12-02 18:32:23.953 [info] System.getProperty("os.name") == 'Windows 10' [info] System.getProperty("os.version") == '10.0' [info] System.getProperty("os.arch") == 'amd64' [info] System.getProperty("java.version") == '1.8.0311' [info] System.getProperty("java.vendor") == 'Oracle Corporation' [info] System.getProperty("sun.arch.data.model") == '64' [info] Not using OpenGL. [info] Biome profile activated: Default [info] Using look & feel: javax.swing.plaf.metal.MetalLookAndFeel [warning] amidst.mojangapi.file.DotMinecraftDirectoryNotFoundException: invalid '.minecraft' directory at: 'c:\Users\\AppData\Roaming.minecraft' **<-- it is Roaming\ .minecraft the editor messes this up_** at amidst.mojangapi.file.service.DotMinecraftDirectoryService.validate(DotMinecraftDirectoryService.java:57) at amidst.mojangapi.file.service.DotMinecraftDirectoryService.createDotMinecraftDirectory(DotMinecraftDirectoryService.java:47) at amidst.mojangapi.file.MinecraftInstallation.newLocalMinecraftInstallation(MinecraftInstallation.java:41) at amidst.PerApplicationInjector.(PerApplicationInjector.java:67) at amidst.Amidst.doStartApplication(Amidst.java:173) at amidst.Amidst.lambda$startApplication$0(Amidst.java:163) at java.awt.event.InvocationEvent.dispatch(Unknown Source) at java.awt.EventQueue.dispatchEventImpl(Unknown Source) at java.awt.EventQueue.access$500(Unknown Source) at java.awt.EventQueue$3.run(Unknown Source) at java.awt.EventQueue$3.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.run(Unknown Source)

New Default Acceleration Threshold: 0

Bruniczek2000 commented 1 year ago

I have pretty much the same problem...Though i'm using ATLauncher which does not (as i am concerned) even have a launcher profiles file...What do i do people?

eliaspr commented 1 year ago

What do i do?

Unfortunately, it appears to me as though you need to search for an alternative to Amidst...

This project has not received any new commits since more than two years. Therefore, I would assume that, even if you manage to get Amidst working, you likely won't be able to see any new biomes/structures/etc. introduced since Minecraft 1.17 let alone any of the new world generation.

In your best interest, I assume it is OK for me to recommed two alternatives to you in this discussion: https://www.chunkbase.com/apps/ https://www.mcseeder.com/

They both require no installation, support the latest Minecraft versions and offer a variaty of features which Amidst did not.

Hope this helps 😄


Edit: I actually just saw that there is another alternative which is actually listed in the top issue in this repository: https://github.com/Cubitect/cubiomes-viewer

FeedTheChunk commented 1 year ago

I have pretty much the same problem...Though i'm using ATLauncher which does not (as i am concerned) even have a launcher profiles file...What do i do people?

You've always had to use the default launcher to create the profile. Once the profile has been created by launching the game at least once from the default launcher then you can use Amidst to browse to your launcher instance. Unfortunately Amidst is abandonware so it doesn't work at all with newer version of the game nor Java.

Try using Amulet Map Editor

mehrabseyfi commented 1 year ago

@eliaspr Thanks