Content: Slate Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate Marble
Background: Slate Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate Marble
Pattern: Blank Waves Notes Sharp Wood Rockface Leather Honey Vertical Triangles
Welcome to TerraFirmaCraft Forums

Register now to gain access to all of our features. Once registered and logged in, you will be able to contribute to this site by submitting your own content or replying to existing content. You'll be able to customize your profile, receive reputation points as a reward for submitting content, while also communicating with other members via your own private inbox, plus much more! This message will be removed once you have signed in.

  • Announcements

    • Dries007

      ATTENTION Forum Database Breach   03/04/2019

      There has been a breach of our database. Please make sure you change your password (use a password manager, like Lastpass).
      If you used this password anywhere else, change that too! The passwords themselves are stored hashed, but may old accounts still had old, insecure (by today's standards) hashes from back when they where created. This means they can be "cracked" more easily. Other leaked information includes: email, IP, account name.
      I'm trying my best to find out more and keep everyone up to date. Discord (http://invite.gg/TerraFirmaCraft) is the best option for up to date news and questions. I'm sorry for this, but the damage has been done. All I can do is try to make sure it doesn't happen again.
    • Claycorp

      This forum is now READ ONLY!   01/20/2020

      As of this post and forever into the future this forum has been put into READ ONLY MODE. There will be no new posts! A replacement is coming SoonTM . If you wish to stay up-to-date on whats going on or post your content. Please use the Discord or Sub-Reddit until the new forums are running.

      Any questions or comments can be directed to Claycorp on either platform.
CreeperVon

TFC Launcher .bat Bug

12 posts in this topic

Whenever I use the TFC launcher, I start up the .bat file and the command prompt comes up for a split second then vanishes. I spammed it and I saw the error saying something along the lines of "The file TFCLancher.jar has not been found" . Since I don't know how to use the other file, and the original launcher does have enough RAM, I'm stuck. When I install it manually I get bugs as well. I try to make a axe head and get either a door or some bread crushing thing. Help! :(

0

Share this post


Link to post
Share on other sites

Yeah, the .bat doesn't work. I've been fiddling around with it some, but still haven't managed to get it to run the launcher. I'll let you know if I get it.

0

Share this post


Link to post
Share on other sites

Okay, I figured it out.

Edit the .bat file so that it reads like this:

set APPDATA=

java -Xms512M -Xmx1G -jar TFCLauncher.jar net.minecraft.LauncherFrame

In the APPDATA line, you should put in your Launcher's path. e.g. set APPDATA=c:usersbozotheclowndesktopTFCLauncher

That SHOULD work, and you can adjust the RAM allocation as you see fit. However, in my experience, going over 1GB leads to instability.

1

Share this post


Link to post
Share on other sites

quick question (might seem foolish i know)

isnt the launcher and minecraft (with TFC) two different processes?

ive never used the launcher

0

Share this post


Link to post
Share on other sites

I suppose, yes, but this method still works.

0

Share this post


Link to post
Share on other sites

Also, you should have the latest Java SE Development kit installed.

0

Share this post


Link to post
Share on other sites

Okay, I figured it out.

Edit the .bat file so that it reads like this:

In the APPDATA line, you should put in your Launcher's path. e.g. set APPDATA=c:usersbozotheclowndesktopTFCLauncher

That SHOULD work, and you can adjust the RAM allocation as you see fit. However, in my experience, going over 1GB leads to instability.

You do you edit the .bat file?
0

Share this post


Link to post
Share on other sites

Nvm!

I found an easy solution!!! Put the jar file on your desktop! :)

0

Share this post


Link to post
Share on other sites

I'm really not sure what issues you guys are having with the .bat file other than the fact that it should be in the same directory as the launcher jar. The way that the launcher works currently is that minecraft gets launched in the same JVM instance as the launcher. This means that starting the launcher with the extra memory in the .bat will affect the game. This is easily tested on my end because without the .bat, I can't even get a world to generate in TFC because it runs out of useable memory. Assign the extra memory and it works like a charm.

0

Share this post


Link to post
Share on other sites

I dunno, mate. All I know is that when I tried to execute the .bat as it came with the download, it would just open up a command prompt window briefly and not launch the launcher.

0

Share this post


Link to post
Share on other sites

If it helps any I made my own .bat file with the following 2 lines.

java -Xmx1024M -Xms512M -jar "TFCLauncher.jar"

pause

The second line makes the command line output pause so you can read any error messages that come up. To be sure, use a better text editor like notepad++ to make sure the lines come out correctly. I have definitely had problems with using the default notepad that comes with windows messing up where lines appear. (Note: my version only works if the launcher is in the same folder as the .bat file so it is only really useful as a way to allocate more ram)
0

Share this post


Link to post
Share on other sites

The solution is to drag the .bat file and the java file TFCLauncher on to your desktop. Everything will be fine afterwards.

Bioxx posted on my thread! :)

0

Share this post


Link to post
Share on other sites