Jump to content

ForgeGradle offline


JModder99

Recommended Posts

So, I live in Cuba and I'm trying to setup ForgeGradle 3.0, I updated from ForgeGradle 2.3 (which I manage to setup offline) but ForgeGradle 3.0 is a LOT different and I can't pass from the metadata (the mojang version manifest) download...

Does someone knows what should I do?

Things to take into account:

My computer has not and will never have internet...

I can only use internet with my cellphone.

 

Anyone can help?

Link to comment
Share on other sites

How expensive is cell data and do you have one of those phones that can become a wifi hotspot or share internet through a USB tether?

This is my Forum Signature, I am currently attempting to transform it into a small guide for fixing easier issues using spoiler blocks to keep things tidy.

 

As the most common issue I feel I should put this outside the main bulk:

The only official source for Forge is https://files.minecraftforge.net, and the only site I trust for getting mods is CurseForge.

If you use any site other than these, please take a look at the StopModReposts project and install their browser extension, I would also advise running a virus scan.

 

For players asking for assistance with Forge please expand the spoiler below and read the appropriate section(s) in its/their entirety.

Spoiler

Logs (Most issues require logs to diagnose):

Spoiler

Please post logs using one of the following sites (Thank you Lumber Wizard for the list):

https://gist.github.com/100MB Requires member (Free)

https://pastebin.com/: 512KB as guest, 10MB as Pro ($$$)

https://hastebin.com/: 400KB

Do NOT use sites like Mediafire, Dropbox, OneDrive, Google Drive, or a site that has a countdown before offering downloads.

 

What to provide:

...for Crashes and Runtime issues:

Minecraft 1.14.4 and newer:

Post debug.log

Older versions:

Please update...

 

...for Installer Issues:

Post your installer log, found in the same place you ran the installer

This log will be called either installer.log or named the same as the installer but with .log on the end

Note for Windows users:

Windows hides file extensions by default so the installer may appear without the .jar extension then when the .log is added the log will appear with the .jar extension

 

Where to get it:

Mojang Launcher: When using the Mojang launcher debug.log is found in .minecraft\logs.

 

Curse/Overwolf: If you are using the Curse Launcher, their configurations break Forge's log settings, fortunately there is an easier workaround than I originally thought, this works even with Curse's installation of the Minecraft launcher as long as it is not launched THROUGH Twitch:

Spoiler
  1. Make sure you have the correct version of Forge installed (some packs are heavily dependent on one specific build of Forge)
  2. Make a launcher profile targeting this version of Forge.
  3. Set the launcher profile's GameDir property to the pack's instance folder (not the instances folder, the folder that has the pack's name on it).
  4. Now launch the pack through that profile and follow the "Mojang Launcher" instructions above.

Video:

Spoiler

 

 

 

or alternately, 

 

Fallback ("No logs are generated"):

If you don't see logs generated in the usual place, provide the launcher_log.txt from .minecraft

 

Server Not Starting:

Spoiler

If your server does not start or a command window appears and immediately goes away, run the jar manually and provide the output.

 

Reporting Illegal/Inappropriate Adfocus Ads:

Spoiler

Get a screenshot of the URL bar or copy/paste the whole URL into a thread on the General Discussion board with a description of the Ad.

Lex will need the Ad ID contained in that URL to report it to Adfocus' support team.

 

Posting your mod as a GitHub Repo:

Spoiler

When you have an issue with your mod the most helpful thing you can do when asking for help is to provide your code to those helping you. The most convenient way to do this is via GitHub or another source control hub.

When setting up a GitHub Repo it might seem easy to just upload everything, however this method has the potential for mistakes that could lead to trouble later on, it is recommended to use a Git client or to get comfortable with the Git command line. The following instructions will use the Git Command Line and as such they assume you already have it installed and that you have created a repository.

 

  1. Open a command prompt (CMD, Powershell, Terminal, etc).
  2. Navigate to the folder you extracted Forge’s MDK to (the one that had all the licenses in).
  3. Run the following commands:
    1. git init
    2. git remote add origin [Your Repository's URL]
      • In the case of GitHub it should look like: https://GitHub.com/[Your Username]/[Repo Name].git
    3. git fetch
    4. git checkout --track origin/master
    5. git stage *
    6. git commit -m "[Your commit message]"
    7. git push
  4. Navigate to GitHub and you should now see most of the files.
    • note that it is intentional that some are not synced with GitHub and this is done with the (hidden) .gitignore file that Forge’s MDK has provided (hence the strictness on which folder git init is run from)
  5. Now you can share your GitHub link with those who you are asking for help.

[Workaround line, please ignore]

 

Link to comment
Share on other sites

It at 1$ per hour, public WiFi on the middle of the street with captive portal.

Really far from home.

My cellphone doesn't accept their 3G frequency...I will have to buy another...and the data internet is purchased by data packages being 7$ for 600MB. That of course if your cellphone accepts 3G of their frequency...

Link to comment
Share on other sites

16 hours ago, DaemonUmbra said:

How expensive is cell data and do you have one of those phones that can become a wifi hotspot or share internet through a USB tether?

Yes, my cellphone can so that, but as I said, no 3G because of the wrong frequency, If I had the good one I would be using 4G right now instead of being on the street this late...

I would be modding right now! By the way Forge for 1.13.2 is really nice! Deobf on installation, and java 9 compatible! Though I have a resource pack that depends on Optifine, I hope they make it more appropriate for modding if they are going to also remake it. It suck how much optifine breaks any healthy environment...

I'm running out of time, will be back tomorrow. Just in case nobody sees me answering.

 

By the way, my cellphone accept s 850Mz and other two above 1000Mz and in here there's only 900Mz for the 3G, no idea about 4G but I think it must be the same issue, I really can't afford buying another cellphone at the moment though...

Edited by JModder99
Added necessary details at the end
Link to comment
Share on other sites

I suppose there's nothing I can do huh...?

Well, it's possible to mod while obf?

Like everything's being searge names and no javadoc for anything?

At least that would allow me to port my overworld like nether ores...after all, they are only blocks with drops...

No more disenchanting I guess ? I'll have to wait for 1.14 for the "magical grinding stone"

Sorry for my English if it seems weird.

Link to comment
Share on other sites

Oh now that I remember, I do have an IDE, I use IntelliJ IDEA Community at the moment,(before I used eclipse but idea is better for installing plugins while offline)

Sooo any future advice can be made if it's related to an IDE...

Link to comment
Share on other sites

Unfortunately pretty much all development assumes you can connect the machine to the internet at least once.

This is my Forum Signature, I am currently attempting to transform it into a small guide for fixing easier issues using spoiler blocks to keep things tidy.

 

As the most common issue I feel I should put this outside the main bulk:

The only official source for Forge is https://files.minecraftforge.net, and the only site I trust for getting mods is CurseForge.

If you use any site other than these, please take a look at the StopModReposts project and install their browser extension, I would also advise running a virus scan.

 

For players asking for assistance with Forge please expand the spoiler below and read the appropriate section(s) in its/their entirety.

Spoiler

Logs (Most issues require logs to diagnose):

Spoiler

Please post logs using one of the following sites (Thank you Lumber Wizard for the list):

https://gist.github.com/100MB Requires member (Free)

https://pastebin.com/: 512KB as guest, 10MB as Pro ($$$)

https://hastebin.com/: 400KB

Do NOT use sites like Mediafire, Dropbox, OneDrive, Google Drive, or a site that has a countdown before offering downloads.

 

What to provide:

...for Crashes and Runtime issues:

Minecraft 1.14.4 and newer:

Post debug.log

Older versions:

Please update...

 

...for Installer Issues:

Post your installer log, found in the same place you ran the installer

This log will be called either installer.log or named the same as the installer but with .log on the end

Note for Windows users:

Windows hides file extensions by default so the installer may appear without the .jar extension then when the .log is added the log will appear with the .jar extension

 

Where to get it:

Mojang Launcher: When using the Mojang launcher debug.log is found in .minecraft\logs.

 

Curse/Overwolf: If you are using the Curse Launcher, their configurations break Forge's log settings, fortunately there is an easier workaround than I originally thought, this works even with Curse's installation of the Minecraft launcher as long as it is not launched THROUGH Twitch:

Spoiler
  1. Make sure you have the correct version of Forge installed (some packs are heavily dependent on one specific build of Forge)
  2. Make a launcher profile targeting this version of Forge.
  3. Set the launcher profile's GameDir property to the pack's instance folder (not the instances folder, the folder that has the pack's name on it).
  4. Now launch the pack through that profile and follow the "Mojang Launcher" instructions above.

Video:

Spoiler

 

 

 

or alternately, 

 

Fallback ("No logs are generated"):

If you don't see logs generated in the usual place, provide the launcher_log.txt from .minecraft

 

Server Not Starting:

Spoiler

If your server does not start or a command window appears and immediately goes away, run the jar manually and provide the output.

 

Reporting Illegal/Inappropriate Adfocus Ads:

Spoiler

Get a screenshot of the URL bar or copy/paste the whole URL into a thread on the General Discussion board with a description of the Ad.

Lex will need the Ad ID contained in that URL to report it to Adfocus' support team.

 

Posting your mod as a GitHub Repo:

Spoiler

When you have an issue with your mod the most helpful thing you can do when asking for help is to provide your code to those helping you. The most convenient way to do this is via GitHub or another source control hub.

When setting up a GitHub Repo it might seem easy to just upload everything, however this method has the potential for mistakes that could lead to trouble later on, it is recommended to use a Git client or to get comfortable with the Git command line. The following instructions will use the Git Command Line and as such they assume you already have it installed and that you have created a repository.

 

  1. Open a command prompt (CMD, Powershell, Terminal, etc).
  2. Navigate to the folder you extracted Forge’s MDK to (the one that had all the licenses in).
  3. Run the following commands:
    1. git init
    2. git remote add origin [Your Repository's URL]
      • In the case of GitHub it should look like: https://GitHub.com/[Your Username]/[Repo Name].git
    3. git fetch
    4. git checkout --track origin/master
    5. git stage *
    6. git commit -m "[Your commit message]"
    7. git push
  4. Navigate to GitHub and you should now see most of the files.
    • note that it is intentional that some are not synced with GitHub and this is done with the (hidden) .gitignore file that Forge’s MDK has provided (hence the strictness on which folder git init is run from)
  5. Now you can share your GitHub link with those who you are asking for help.

[Workaround line, please ignore]

 

Link to comment
Share on other sites

2 hours ago, DaemonUmbra said:

Unfortunately pretty much all development assumes you can connect the machine to the internet at least once.

Aww, so not even a obf setup will work? I did that once before for 1.12.2 modding, using a Minecraft source made by the MCP tool and the forge universal jar...(it was horrible that way but worked) do you think that may work on 1.13? At least to make a very messy source code for a messy but working mod? At least that way I could give a little personal touch to mc...maybe...or just crashing the game on startup...?

Link to comment
Share on other sites

If you try and mod the game, I think you possibly, just possibly, might be able to crash the game on startup. Forge and it’s libraries aren’t that big and you only need to download them once. I’m guessing that their probably half a gigabyte all up. My gradle libraries + decompiled minecraft is just over 500mb.

About Me

Spoiler

My Discord - Cadiboo#8887

My WebsiteCadiboo.github.io

My ModsCadiboo.github.io/projects

My TutorialsCadiboo.github.io/tutorials

Versions below 1.14.4 are no longer supported on this forum. Use the latest version to receive support.

When asking support remember to include all relevant log files (logs are found in .minecraft/logs/), code if applicable and screenshots if possible.

Only download mods from trusted sites like CurseForge (minecraft.curseforge.com). A list of bad sites can be found here, with more information available at stopmodreposts.org

Edit your own signature at www.minecraftforge.net/forum/settings/signature/ (Make sure to check its compatibility with the Dark Theme)

Link to comment
Share on other sites

16 hours ago, Cadiboo said:

If you try and mod the game, I think you possibly, just possibly, might be able to crash the game on startup. Forge and it’s libraries aren’t that big and you only need to download them once. I’m guessing that their probably half a gigabyte all up. My gradle libraries + decompiled minecraft is just over 500mb.

I do have the libs, I'm still thinking how the setup would look like...

The offline gradle env was almost ready but the task DownloadMCMeta was harder to setup...you can't use maven local for that one...and no idea how that would look in the cache, (possibly it would be the file with some metadata)

On ForgeGradle 2.3 I just placed the files in the gradle cache, in the folder Minecraft with the expected names and paths by ForgeGradle....but now it's not that easy.

Link to comment
Share on other sites

I guess that when I end the paperwork and move to the USA to live with my father the issue will be something of the past...still it seems to be an overpowered solution .

Maybe if someone not just only me had this issue a "solution" if you wanted a deobf workspace would be to download ForgeGradle sources and tweak them yourself..at least it's open source...

It would take time but it can be done...

Although the reason because I didn't do that is because I have not the energy at the moment for that...

Link to comment
Share on other sites

Stop spamming our forum with your sob story.

I already told you on github that the issue should not be present as everything we do caches the files and tasks after they are first run.

So internet should not be strictly necessary unless something in your cache is corrupt.

IF you have a real reproducible issue submit a PR to fix it. That's what open source/github is for.

Until then we don't want to hear your sob story.

I do Forge for free, however the servers to run it arn't free, so anything is appreciated.
Consider supporting the team on Patreon

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.