Coder Social home page Coder Social logo

ftbteam / ftb-app Goto Github PK

View Code? Open in Web Editor NEW
89.0 15.0 24.0 207.17 MB

Electron, Vue2, and Tailwind based frontend system for the FTB App; a new Modpack launcher for FTB and Curse modpacks.

Home Page: https://feed-the-beast.com/app

License: GNU Lesser General Public License v2.1

JavaScript 0.98% HTML 0.39% Vue 31.18% TypeScript 13.88% SCSS 0.49% Java 52.19% C# 0.75% Makefile 0.13%
electron tailwindcss vue2 launcher

ftb-app's Introduction

FTB App

Welcome to the FTB App! Our app is designed to provide our users with a simple and easy way to install, update, and customise their FTB Modpacks. We have built-in support for CurseForge modpacks and mods as well as instance management, pack customisation, and a whole lot more.

FTB App

Features

  • Simple and Easy to Use: Our app is designed to be simple and easy to use for all users, regardless of their experience with modpacks.
  • CurseForge Modpacks and Mods: We have built-in support for CurseForge modpacks and mods, making it easy to install and update your favourite modpacks and mods.
  • Instance Management: Change your modpacks name, artwork, Java version, settings, and more.
  • Pack Customisation: Customise your modpacks with ease, add more mods from CurseForge, or upload your own mods. You can also customise your modpacks settings, such as the amount of RAM, Java Version, JVM Arguments, Startup arguments and more.
  • Browse and Install Modpacks: Browse and install modpacks from FTB & CurseForge.
  • Sharing: Share your modpacks with friends with just a few clicks.

Download

You can download the latest version of the FTB App from our website.

Contributing

We welcome any and all contributions to the FTB App, we see our app as a community project and we would love to have you involved.

Support / Issues

If you have any issues with the FTB App, please open an issue on our GitHub

Development

The FTB App is built using Electron and Vue(2) and is written in TypeScript, styled with Scss and TailwindCSS. We also have a Java backend that uses websockets to communicate with the frontend.

Prerequisites

  • Node.js
  • PNPM (We require PNPM to be used for package management)

Getting Started

  1. Clone the repository
  2. Run pnpm install to install the dependencies
  3. Run pnpm run dev to start the development server
  4. Run pnpm run build to build the app (Please note this is not required for development)

Java

  1. Load the /subprocess folder into your IDE
  2. Let the IDE handle the rest
  3. When using IntelliJ (Highly recommended), a Start Backend run configuration will be created for you
  4. Run the Start Backend run configuration to start the Java backend

Running the backend is require for frontend development, as the frontend communicates with the backend via websockets.

Notes on Overwolf

The FTB App, as of 1.25.0 has officially moved onto Electron. The app is still cross built to the overwolf platform. We do not expect any contributions to be made for the overwolf (/overwolf folder) as we are actively phasing it out and to develop for the overwolf platform, you would need an approved Overwolf developer account.

Please note, this only applies to the FTB App for Windows, the FTB App for Mac and Linux has always been built on Electron.

Why the move?

As we've already mentioned, we see the FTB App as a community project and with this, we listen to our community. We've had a lot of feedback about our use of the Overwolf Platform and have decided that now Overwolf is supporting, what they call, "Electron Apps", we now have the ability to move to Electron but still have the 'benefit' of being an ad supported app.

ftb-app's People

Contributors

bryce-schultz avatar cloudhunter avatar covers1624 avatar deepsource-io[bot] avatar deepsourcebot avatar gaz492 avatar gigabit101 avatar jake-e avatar latvianmodder avatar manmaed avatar michaelhillcox avatar rushmead avatar su226 avatar sunekaer avatar thepaul-t avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ftb-app's Issues

FTB Omnia Install Issue

When I try to download FTB Omnia I receive this message:
"Error installing FTB Omnia - Download file is not the same size. - Retry?"

I have removed it and tried to download again and the same happened. I also tried with another modpack (SF3) to see if the issue would happen again and it did.

Capture

Launcher doesn't open with invalid instances

I was trying to port over an instance of FTB:Interactions from the Twitch Launcher, just to see if it would work. I tried the instance itself and then stealing the name of the folder from an instance installed through the FTB client. With both invalid, the launcher doesn't open.

I deleted both instances and the launcher still does not open.

launcher.log
error.log

I understand that I jumped the gun a bit, but glad to report a bug and help in any way I can.

Upload launcher.log and error.log from app

An option for users to go into settings and click "send logs to server", then give the user an ID for the upload. This would then send the logs off to whatever system.

This would make it easier to troubleshoot issues with less technically inclined people.

Server Files Installer Wipes Folder

Upon running the server files.exe for Omnia my folder i had selected for the download was wiped clean. Luckily i had it running in a place with files i don't care about. But i believe it should at least have a warning that it will clear the folder as there was no warning before i selected the folder

Installer has invisible text when using certain dark themes on Linux

When opening the installer on Linux, if your window manager has a dark theme, the text may be invisible: Image (using GTK Adawaita Dark)

When I open the application with a different user, there is no issue: Image

Other screens are still visible, so it's not necessarily a critical issue. It may also be a general problem with Swing apps, which looks to be what the installer uses.

Launcher doesn't install

It downloads and installs java runtime then closes and it's the same thing every time I launch it.

Enhancements for non-technical users.

Context

Many players of modded Minecraft are non-technical users whose technical prowess may end at pressing download and play. Some enhancements to default values and GUI would limit their possible problems.

Problem 1:

Default memory in settings defaults to 512mb, which is probably not enough for even 'litest' of modpacks.
image

Proposed solution:

Increase default ram to higher value

Problem 2:

No indication that modpack version can be changed on download screen.
image

Proposed solution:

Add any symbol pointing down like: ▾, to indicate that it's a dropdown menu.

Server file download problems

It is very weird that it downloads an exe instead of a zip for the server files. It should totally be a zip that you just extract to wherever you want, having an exe is just weird and I don't understand it.

The exe was blocked by Windows Defender

It installs all the files to the folder the exe is in, instead of letting you choose where it goes. I know you can move the exe, but that's still weird.

Feature: View mods in modpack

When I press the three dots (More information) on a modpack, a list view that displays the mods and their version would be nice. An addition to this could be an option to disable/enable mods.

From what I can tell, version.json contains most of the necessary information.

Colour/usability question

Under the versions tab, why does the blue button become a lighter blue, while the orange button also becomes a light blue? Seems odd

Unable to launch a modpack

Hi !

I've been able to launch a modpack a few hours ago but it seems to be broken after some update.
Here is my log

It search for a bin folder in my home directory, which is not here but I'm assuming it's the one in ~/AppData/Roaming/FTBA

Launcher tried to install *already installed* vanilla launcher

I clicked download on FTB continuum, then the pack downloaded. While the launcher said "installing vanilla launcher", the Minecraft Vanilla launcher loaded and ran the pack successfully. However, it now appeared like the pack was running flawlessly while the FTB launcher was still trying to install it. As someone with no programming experience what so ever, I was a little concerned. I closed both the game and the launcher, and when I tried to reopen the FTB launcher, I was greeted with this.

https://drive.google.com/file/d/1S-he4BfAkbxcqJPg1bRQWeg0816pqyMJ/view?usp=sharing

I asked for and received the go-ahead from slowpoke to attempt a reinstall. I tried both options, saving to my desktop with the second, and neither of them worked. I tried deleting the previous installation (including the FTBApp.exe and installer) but when I tried to delete the old FTBA folder in my roaming folder or the FTBApp.exe, it wouldn't allow me to.

https://drive.google.com/file/d/1_bWZ_HsEEeJW3tIvptRP5U69ljV9sfKa/view?usp=sharing

https://drive.google.com/file/d/1zvA_qScZ9dxaFMilXrXdU9QKTZ-6JT0A/view?usp=sharing

The end!

error.log

error.log

Permissions problem when installed in Program Files

Description:

Installed FTB-App in Program Files, when downloading any pack it errors out due to lack of permissions
image

Current workarounds:

Run FTB-App as administrator
Reinstall FTB-App in sane location

Proposed fixes:

Warn during instalation that installing there could cause issues
Allow to install modpacks in different customizable directory than FTB-App

Linux application does not install all files

Suspected Error:
Linux App is not downloading the Minecraft Launcher correctly.

Full Report:
As it seems, the Linux App fails to download all files.
After a fresh install under Ubuntu 18.04, the App had problems downloading the pack, after a restart it seemed to be fine (actually it did not download all files). It did not start, so checking the error log:

java.io.FileNotFoundException: /home/mudar/FTBA/bin/launcher_profiles.json (No such file or directory)

After some messing around I figured out that this file is created by the Minecraft launcher, copying a file from a Minecraft install did not work properly. So I figured I'd try to paste in the install of the Minecraft launcher. This worked to the point that I could log in, but it failed to start as it did not have all the files. Exiting and redownloading the pack worked to the point that I could see the forge install in the launcher.

temporary fix:
Download and install a Minecraft Launcher from the Mojang website and copy the folder into the FTBApp/bin/ directory.

Changelog isn't functioning correctly

Description:

Can't scroll to the bottom of changelog. Issue persists in both windowed and full-screen mode.

image
Impossible to scroll lower.

Can't hide changelog to display other versions or other changelogs
image

Pressing Changelog in that does nothing.

My screen size is 1920x1080

Apps JAVA settings not transferring to instance settings

I went under the app settings and set memory allocation and my put usual arguments there. I downloaded Omnia and when I go to the instances settings, it has defaulted to 3GB of memory ( I set the app settings to 6GB) and no arguments. It looks like the packs don't grab them settings from the app settings.

FTB Launcher exe disappeared after launch attempt

I downloaded the launcher to a folder in my documents folder. When I double clicked the .exe to launch the .exe disappeared and nothing launched. Re-downloaded with the same issue.

Running Windows 10

Button to purge cache

Can we get a button (With a warning) in settings that allows us to purge the full cache?

MC Launcher doesn't open after clicking play

After downloading FTB Omnia and clicking the play icon, nothing happens/the MC launcher doesn't launch.

Steps to Recreate

  1. Download a modpack
  2. Press the play icon
  3. Observe that nothing happens

Expected Behavior
Presumably, the Minecraft launcher would launch with a profile to play FTB Omnia.

System/Environment Information
OS: Linux, elementary OS 5.1.2, Built on Ubuntu 18.04.3
Java: OpenJDK 1.8.0_242
FTB App: v1.0.2

  • Settings: Default RAM: 7GB, FTB Omnia RAM: 7GB

Additional context
Potentially relevant log file: https://gist.github.com/lifeofchrome/7854e5a62c6d5c526e4b1ff7576225fe
Discord conversation: https://discordapp.com/channels/372448486723158016/695329867037933609/695338181087723610

Problem while installing ftb launcher

Capture
It's stuck at the first screenshot and disk usage/internet usage is at 0.
Using BitDefender, had the old launcher and just uninstalled it.
minecraft working perfectly fine and jre is up to date.

Error Installing FTB Omnia

I get the following error in the UI, with no obvious way to respond.

Error Installing FTB Omnia - Downloaded file is not the same size. - Retry

This error is in error.log:

Apr 03, 2020 4:45:46 AM net.creeperhost.creeperlauncher.CreeperLogger warning WARNING: packicon.png's SHA1 checksum failed. Apr 03, 2020 4:45:46 AM net.creeperhost.creeperlauncher.CreeperLogger error SEVERE: net.creeperhost.creeperlauncher.IntegrityCheckException: Downloaded file is not the same size. java.util.concurrent.CompletionException: net.creeperhost.creeperlauncher.IntegrityCheckException: Downloaded file is not the same size. at java.base/java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:314) at java.base/java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:319) at java.base/java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1739) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) at java.base/java.lang.Thread.run(Thread.java:831) Caused by: net.creeperhost.creeperlauncher.IntegrityCheckException: Downloaded file is not the same size. at net.creeperhost.creeperlauncher.api.DownloadableFile.validate(DownloadableFile.java:197) at net.creeperhost.creeperlauncher.install.tasks.DownloadTask.lambda$execute$0(DownloadTask.java:92) at net.creeperhost.creeperlauncher.install.tasks.DownloadTask$$Lambda$271.000000000DFE8300.run(Unknown Source) at java.base/java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1736) ... 3 more

Issue on Revelation startup with new launcher, please help.

Hey guys, I've just downloaded the new launcher, along with FTB's Revelation pack. Now when launching the pack it returns this msg; "You must include the right dependencies for Just Enough HarvestCraft: Requires harvestcraft 1.12.2z or above (missing)" and fails to launch. Attached is the latest.log produced when the error occurs.
latest log 0204.txt

Many thanks for the new launcher, either way, hope you can help! :)

Cant Download any Modpacks

Every time it tries to download a pack it takes so long I cant download any pack. Im on Mac OS X if thats helps.

Linux download

I tried a few times back to back, but the ability to download the linux launcher seems to be lacking. I'm presented with what seems to be a .sh script. I copy that, and attempt to run it then presented with nata.

New FTBApp launcher not launching properly when pined to start in windows 10

After installing and useing the new feed the beast launcher i pined it to my start bar. It kept saying backend issues please wait or restart. Well when i went to the file it had no problems launching the launcher. I inspected the properties on the pined shortcut and it was a simple fix to remove the bin folder portion in the target path. Im not sure if im the only one with this problem but its a problem none the less.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.