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.
Necoxus

[Solved] Error Building Deobf Version of TFC 0.79.29

5 posts in this topic

For add-on development, I build TFC from its source code to get the deof version as it is not generally available for download. I've tried running build.bat several times after extracting TFC from the source zip found on Github (TFCraft-0.79.29.zip), it has failed repeatedly. So I tried executing the command myself to see what the issue was.

According to the console log/error it is having an issue with "BlockStair.java:90", and the error reads to be "binary  literals are not supported in  -source 1.6" Please note this is TFC being compiled, not compiling an add-on. What I need to know is if this is an issue with the TFC source I downloaded or if it could be an issue on my end, I can run the command again with debug or info to get extra information if it is needed.

I didn't think this counted as a normal bug or issue so I didn't use the general format.

Edited by Powerman913717
0

Share this post


Link to post
Share on other sites

The 4c9459e commit should have fixed that. I can build it without issue, however I use IntelliJ and build using command line gradlew build. Prior to 4c9459e it was failing for me though. It was first changed in commit 99b8735. So if the current version on the repo won't build for you just revert the Blocks/BlockStair to what it was prior to that commit.

0

Share this post


Link to post
Share on other sites

I'm building the same way, I just use eclipse to code...however that shouldn't be causing an issue as I have done anything with eclipse to the TFC source, I haven't even imported it yet. I just ran setup.bat, then ran build.bat where the issue occured. Is it possible that the fix didn't get pushed to source zip? I would prefer to avoid changing any TFC files just in case it causes other issues in the future.

0

Share this post


Link to post
Share on other sites

The source zip was created before the fix was applied. There's no easy way for us to update the tag to move it to a latter commit. For development, you should be using git to clone the repo, not manually downloading the source zip.

0

Share this post


Link to post
Share on other sites

Ok, thanks...I'll try doing that instead.

0

Share this post


Link to post
Share on other sites