Pokechu22/WorldDownloader

1.16.5 Forge WDL help

jrocktwo opened this issue · 5 comments

Hello, I have no idea how to update the mod to 1.16.5 forge version. I am trying to download a server that I frequently play on but I want to continue on single player as the mod is intended for, but I cannot access the server without the mods, so I have to install it using forge but I have no idea how to use gradle or anything of this nature. It is all very complicated for me.I can use the 1.16.4 version on 1.16.5 forge but as soon as I download the world, it takes me to a saving world screen but then immediately crashes after. This is obviously because of the version mismatch I would assume. Here are the logs of the crash.
crash-2021-10-20_22.49.08-client.txt
.
I am sorry to waste anyone's time, I am completely new to this type of stuff. Thank you.

This crash seems to not be a version compatibility thing (though that would be a reasonable guess), but instead a conflict with the emojiful mod due to how to WDL does its text rendering. It should be possible to fix the issue in WDL (though I don't know when I'll have time to release a new version), but for now you can try removing emojiful (which I don't think would be required to join a server?).

Yea it does seem like it is required to join the server. When I try to connect it says "Failed the synchronize registry data from server, closing connection". There is no workaround besides you having to manually update your code to fix this? If this is the only way, I'm totally fine with you not doing it, I wouldn't want to waste your time for this.

I don't think there's any workaround besides updating WDL itself. The actual fix is easy and I've just now made it (c7e1d26); it's just that I don't have time to properly release a new stable version of the mod (since there are other features to implement, and testing that needs to be done). If you build it yourself with this newer commit, the issue should be fixed, though that would require figuring out how to use gradle (which, if everything works properly, just involves entering the commands in the README into a command window, but if something goes wrong then you'd probably be very confused).

Yea I'm going to be completely honest, I have no idea what to do. The readme I read just said to install the extension to BEGradle which was forge gradle. I am going to need a step by step explanation or something because I'm afraid I might mess something up, unless there already is one that I have not seen like the readme you were talking about? Not sure.

Hmm, I thought I had clearer instructions, but I guess not. These instructions assume no knowledge of git or Java and no familiarity with the command line. If any step fails, you should be able to stop there and let me know, and then later continue at the next step.

  1. Download and install OpenJDK 8 from Adoptium (previously known as AdoptOpenJDK). In the installer, make sure "Add to PATH" and "Set JAVA_HOME variable" are enabled (I don't think the other options matter; they can be enabled as well if you want)
  2. Open a command prompt window by opening the start menu and then searching for "cmd".
  3. Type cd Downloads and then press enter. This will change the current directory to your Downloads folder (which I'm recommending because it's easy to find, not because things won't work in other locations)
  4. Run curl -L https://github.com/Pokechu22/ForgeGradle-extensions/archive/refs/heads/master.zip -o ForgeGradle-extensions-master.zip. This will download the source code for the BEGradle repository.
  5. Run tar -xf ForgeGradle-extensions-master.zip. This will extract the zip folder.
  6. Run cd ForgeGradle-extensions-master. This will change the current directory to that downloaded zip folder.
  7. Run gradlew install. This will first set up gradle, and then install BEGradle locally.
  8. Run cd ... This will change the current directory back to your downloads folder. (.. indicates the parent folder.)
  9. Run curl -L https://github.com/Pokechu22/WorldDownloader/archive/refs/heads/v4.zip -o WorldDownloader-4.zip which downloads WDL's code.
  10. Run tar -xf WorldDownloader-4.zip.
  11. Run cd WorldDownloader-4.
  12. Run gradlew setupDecompWorkspace build. After a while, this should eventually build it.
  13. The built files will be in the libs folder in the WorldDownloader-4 in your Downloads folder.