Jump to content
Zlepper

Modpack Helper | Pack modpacks | Check permissions | Upload to web | Update Solder Automatically

Recommended Posts

A little background story first:
I have been hosting packs and servers for the last few years. A few years ago Technic added support for allowing us to host custom modpacks. This was  awesome and I went ahead almost the moment it happened. This was still the time of big and heavy zip files.
Then came along Solder. Solder helped us destributing files one at a time.
It took me almost a year to get it working from when I started attempting to use it. I did however get it working, back in June I think it was.
All was well, though I quite quickly discovered that packing files for Solder was quite the hasle.
So being the enormous lazy guy I am I sat down one Tuesday and made a script that could pack all the files for me.
Nice i thought, the only problem was that I had to enter modname, modversion and minecraft version for each and every mod... And having a 150 files modpack that certainly wasn't boring :irony:
So I had what the h**k and turned it into an actual program, that could figure out most of the important stuff like name, version and mcversion.
Since then I added quite a few extra things I thought was necesarry, like only packing updated mods, checking permissions, including forge and configs.
So enough with the story:
 
Solder Helper
The result of all this is something I thought others could make use of, so that's why I decided to share it with you guys here, since i'm likely not the only one who has been pretty bored with updating.
 
Core features:

  • Create packs for either Solder or just normal zip packs.
  • Create FTB Packs and get permission lists
  • Include any forge version you wishes, just choose from the application.
  • Include configs
  • Check permissions if you wishes so (Highly encouraged) Both private and public.
  • Get permission list in a nice text format
  • Get a list nice and simple list of all packed mods
  • Runs on both Linux and Windows
  • Get modlist
  • Include unarchieved mods
  • Include stuff like the script folder from Minetweaker
  • Automatically upload Solder Files to an FTP host
  • Automatically update your modpacks on your solder install
  • Automatically upload Solder Files to Amazon S3 services

With all the improvement it's shouldn't take more than a minute to pack all your files for distribution.
The program is OpenSource and can be found on github.
 
For Windows the installer can be found here. This installer also included an autoupdater for when I add additional features.
This uses about 10 MB of space total.
 
For Linux just do the following and you can find the program in your home directory:

curl https://raw.githubusercontent.com/zlepper/TechnicSolderHelper/master/TechnicSolderHelper/install.sh | bash

It can be done from from anywhere, though you have to use the terminal, then the installer script takes care of the rest.
WARNING: It will use quite a lot extra space, since it requires mono to be installed, about 250 MB. However the installation of mono is included in the script.
To run the program just navigate into the install directory and look for the file called "Run SolderHelper.sh"
To update it just run the "update.sh" file.
 
Planned features:

  • Support for FTB packs Added
  • Support for AT Launcher packs
  • Autoupload to FTP servers Added
  • Autoupdate of the actual Technic Solder installs, so you don't have to enter versions each time. Added
  • Creation of a modlist you can paste in places like Technic ads Added
  • Creation of a complete permissionlist. Added (Would be nice if we could format things in the pack configs, but that's for another time)

Bugs
I expect a few bugs here and there. If you happen to stumble into any the program will create a crash report on your desktop. If you could report the issue on github and include the crashlog, and what you were doing I would be very grateful, and will try to fix issues ASAP.
There shouldn't be any dangerous bugs, but incase anything goes wrong I'm not responsible for it.

Warning:

If you decide to use the mysql function of the program, be warned: You have to open a port to your MySQL server, which is a major security risk.

It is recommended you create an ssh tunnel to connect to the remote server:

ssh -L 3306:hostname:3306 [email protected]

The syntax is

ssh -L <localport>:hostname:<remoteport> <username>@<servername>

The you can point Modpack Helper to localhost and everything should work securely.

Contact

If you have a question to ask, just write in this thread, or find me on the Technic Discord Server.

Edited by Zlepper
Removed info from unmaintained v2 version

Share this post


Link to post
Share on other sites

This looks genuinely awesome! Will install when I get home.

Hope you find it helpful :)

I just pushed a patch that fixes a crash on windows with subfolders in the mod directory.

You will also get modlists now.

 

Also, if you find anything amiss, just say and I'll see what I can do. More features are almost always welcome :)

Share this post


Link to post
Share on other sites

Alright. I've updated the application with full support for making FTB packs.

FTB will have their own permission list and even if you make both Technic and FTB files at the same time they will not disturb each other, so you can create FTB packs and Solder or Technic zips at the same time.

You can now also find a modlist in the output directory.

If you have turned on permissions for Technic you will now also get a complete permission list which you can paste wherever you want to.

Both of these features work for both Solder and zip files.

Modlist will also generate for FTB.

On linux the version list for Solder will now open automatically if you have selected Solder packs. Up to now this only worked on windows.

Share this post


Link to post
Share on other sites

You sir are a God Mr. Zlepper!

PRAISE THIS MAN! :D

 

Great work!

Glad to hear!

 

But to be the bearer of bad news, I have just released an update, which to make some things more compatible will break the current install, so before you update I would suggest you to go into the %appdata% directory, look for solderhelper, and delete the files there. If you don't you might end up having a lot of crashes due to missing database information.

 

Changelog:

Improved mod detection, now a few more mods should be identified.

Permission is now 100% working, though even more improvements are coming.

Lots of quality improvements.

For those using Technic Solder, the mods file that opens in your webbrowser should now autoselect text in the outputtable. (You might have to force your browser to reload it's cache (shift + F5)) EDIT: Or rather, this will work once cloudfront decides to actually update the mirrored files there.

Loads of bugfixes.

Edited by Zlepper

Share this post


Link to post
Share on other sites

If you redownload your pack from solder you should be able to restore most of the data, and if you would send me a zipfile of what you ran the program on it would help debugging.

Share this post


Link to post
Share on other sites

Ok... I hadn't uploaded any of it to solder yet, I was just using it to help with all the file structure madness, I have all the mods still so no worries. Just wish I had saved the folder that had them all ready to upload to Solder lol. It's life though. I have only recently gotten Solder up and running after almost 400 years of struggling with it for some reason (shared hosting woes.)


Here is a link to the folder I ran it on. Bare in mind that this worked on the exact same folder last night, short of having to name a few files and it skipped the mods that run unarchived of course, ie... Millenaire.

https://dl.dropboxusercontent.com/u/93032141/mods.zip

Share this post


Link to post
Share on other sites

Ok... I hadn't uploaded any of it to solder yet, I was just using it to help with all the file structure madness, I have all the mods still so no worries. Just wish I had saved the folder that had them all ready to upload to Solder lol. It's life though. I have only recently gotten Solder up and running after almost 400 years of struggling with it for some reason (shared hosting woes.)

Here is a link to the folder I ran it on. Bare in mind that this worked on the exact same folder last night, short of having to name a few files and it skipped the mods that run unarchived of course, ie... Millenaire.

https://dl.dropboxusercontent.com/u/93032141/mods.zip

The crash issue is fixed now. It seems forge decided to suddenly change something in their version 2 json.

 

I will get around to the unarchieved mods soon.

Share this post


Link to post
Share on other sites

Here is a link to the folder I ran it on. Bare in mind that this worked on the exact same folder last night, short of having to name a few files and it skipped the mods that run unarchived of course, ie... Millenaire.

You will now be asked about unarchieved stuff, at least as long as a .jar file isn't found in the folder.

Share this post


Link to post
Share on other sites

This is awesome, with my 173 mods, I was dreading the solder setup, now only if it would auto make the sql statements as well.

Finishing autoupload to FTP will likely happen before this, but I will get around to it at some point.

Share this post


Link to post
Share on other sites

Have you tested this on 64 bit Windows yet?

I do half the debugging on Windows 64x. That how i build the windows version too.

32x however I have not tested throughout.

Also, chancelog:

Added the feature to select additional folders in the minecraft root directory. Just select them from the menu on the right.

Now autodetects a few more mods.

The "Reset database" button no longer forces you to reenter everything, it just tells the problem that nothing is on solder yet, so it will be readded should you run a solder run.

Fixed a ton of visual bugs.

Fixed a ton of other bugs.

Share this post


Link to post
Share on other sites

Still working on ftp uploads? I'm looking forward to not having to make any data directly in solder(can be such a pain some times)

Yeah, I'm still working on that. I have most of it working, but I can't, for my life figure out what is going wrong with my code right now.

 

Also: Solder Helper will now remember where you chose input beforehand, so you can switch between modpacks without having to find the entire path again.

Share this post


Link to post
Share on other sites

Hey, I took a look at your tool and loved what it did, but I found me wanting even more automation. The first attempt was to generate MySQL scripts with it but MySQL has issues with conditionals. The thought of directly integrating into your tool for the SQL wasn’t appealing as it would make it much less portable for data inserts. So instead of relying on the generated MySQL or direct SQL inserts scripts I tweaked the program a little to dump a csv file. Which is then read into a PHP script that inserts the appropriate data into MySQL. This script can be re-run without creating duplicate records. I also noticed that the tool sometimes gets odd numbers for the mods Minecraft version and/or the mod version itself (Not an issue with the tool so much it is an issue with weird data in mod mcmod.info files). To get around this issue the csv has two columns that will overwrite the default columns as well as rename any zip files created by your tool. In the process of making this automation I ended up learning some C#, PHP, and MySQL all of which I never knew any syntax before, so that was fun. If you like to take a look at the changes and the PHP script let me know. I’ve not too familiar with GIT so just let me know what to do if you are interested.

Share this post


Link to post
Share on other sites

Update online that will allow complete autoupdating of modpack, and almost automatically modpack creation. The only thing you have to do yourself if add pictures, and make a version recomended or latest.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Similar Content

    • By Zilacon
      Website: http://apocgaming.org | Server IP: AS.APOCGAMING.ORG | Discord: https://discord.gg/uctbDQb
      Technic Modpack Link: https://www.technicpack.net/modpack/agrarian-skies.1540828
      You can also join our AS 4.1.0 server using Curse, Technic, or ATL.
      For more information on our servers, network, status, wiki's, launchers, pack pages, and more checkout our server page here:
      http://apocgaming.org/servers
      AGN is a community of gamers for minecraft and other online games founded in 1999 for gaming and setup in 2010 for minecraft servers.
      We host independently from Zilacon's own privately hosted dedicated servers.
      (Bungeecord, Vanilla, & Tekkit Classic are on a paid host. All others are hosted by Zilacon)
      I pride myself in hosting and managing high performance servers with virtually zero down time. All of our servers have deadlock, lag, and crash detection.
      Automated restart scripts, entity clearing/merging, spawn limits, timing adjustments, etc. To make the server run as smooth as possible.
      Our servers normally maintain 19-20 TPS no matter what. If you experience any type of lag with a good ping to the network, please contact us so we can look into it.
      Me and my staff team are available almost 24/7 on our discord server.
      On APOC we have many gameplay styles for you to choose from, along with over a dozen modpacks and servers to play on.
      All of our servers (excluding skyblock modpacks) have all of the features below.
      Server Features:
      Always Online: Dedicated, optimized, built for performance servers since 2010. Our servers are fully automated with almost zero need for human intervention to remain online and running smooth. Multiworld: We have worlds for PVP and PVE. These worlds are Survival (PVE/GriefPrevention Protection), Factions (PVP/Factions Protection), and Towny (PVP/Towny Protection). PVP worlds allow griefing and raiding by following the rules within the factions and towny plugins for war. Survival is PVE only and uses GriefPrevention for its protections. Custom Economy (APOC-Payday): Our economy is like no other, with one giant plugin (APOC-Payday) this plugin offers rewards for over 30 gameplay activities from killing mobs/players to crafting items. It also rewards you for voting with keys/kits to redeem for items and economy/exp/claimblocks. Our plugin also handles sign shops, player plots, automatic ranking, online/login rewards, and much more. Admin & Player Shops: We provide basic vanilla items in the spawn tower for admin shops. And we leave the modded side for players to buy a plot in spawn, create a shop, and select their items and prices for their shop. We encourage a competitive player market on APOC. Our admin shops will not interfere with selling modded items. Custom /help Commands: We have a custom menu of /help commands that explain everything on apoc. How to use our economy, claim systems, worlds, voting, shops, teleportation and homes, and much more. If these help commands cannot answer your questions, staff are available on the servers or on discord. MCMMO & APOC-RPG: All of our servers come equipped with MCMMO and APOC-RPG which adds skills, bonus drops for actions, custom enchanted item drops from mobs, and randomly placed chests or structures with loot inside in the worlds. Bungeecord: Our custom bungeecord server allows clients of any version to connect to our network & servers. Once connected to the server of your choice, you can communicate with everyone from every server, and see everyone who is online in the tab list from all servers. Looking for Staff:
      We are seeking active staff members for all servers on apoc. If you are interested in any position please apply on the links below. We are looking for java developers and server staff. Apply for Chat Mod: http://apocgaming.org/cmodapp Apply for Developer: http://apocgaming.org/devapp Voting & Reviewing Rewards:
      Voting for our network on one of the 36 vote sites listed on our /vote command in game or on our site at http://apocgaming.org/vote will give you 1 Common Key and 1 VoteKey. Common keys are one of 4 types of item reward keys issued on the servers. These keys can be earned by voting, being online, or logging in daily. When redeemed they will give you one item out of a long list of possible rewards. The higher grade the key is the better the rewards. Redeeming keys like Common have a chance to upgrade to Uncommon, and Uncommon to Rare, etc. Vote Keys are issued only for voting for sites, they give 1 EXP Level, $100 Economy, and 10 Claimblocks. We also reward for reviewing our network/servers on vote sites and forums like this (technic). If you enjoy our servers, please write us a review by replying to this topic for $2500 Economy and 3 Rare keys as a reward. If you got any suggestions or ideas for improvement, we are open to change. Just let us know!
    • By Ghostxz_
      Quando eu tento abrir algum modpack , ele sempre volta pra tela do launcher e aparece isso :                                                                                                                                                                                                           [B#510] SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
                [B#510] SLF4J: Defaulting to no-operation (NOP) logger implementation
                [B#510] SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
       
      Algm me ajuda pfv
    • By Upikia123
      I really need some help please, it's making like 2 days I'm trying to figure out what's wrong with technic launcher, because everytime I click on play to launch a modpack, it's just closing the technic launcher sreen, load a littlebit and then it just pop-up the technic launcher screen again, I know that Java is not the problem because I tried the 8u25, the 8 251 and the 8 191 version and they all did the same error again and again. I was thinking that my graphic card driver was the problem, but I just updated it to the last version and it did the same. I also did every Windows Update and it did the same again... I would be glad to find a solution.. 
      Here are the last crash report (log) I had:crash-2020-04-19_20.41.04-client.txt
    • By Mikewood
      I was used to play modpacks on the technic launcher. But today i can't start the modpack.
      When i click on the play button, it closes the window like the modpack is normally loading. But after maybe 10 seconds it open the technic launcher window again.  Here is my crash report. I don't know why is it not working. Can anyone help or know the possible fixes ? 
       
      crash-2020-04-17_13.07.04-client.txt
    • By KingVolts
      so guys i was doing a cool modpack to play with the boys but it doesn't open it ,it just pops the minecraft 1.12.2 vanilla screen 
      i did exactly as the tutorials said over and over and nothing changes 
      can someone help??
       
      modpack below
      https://www.technicpack.net/modpack/uskorno-brazzers.1640370
      obs(dont mind name or ricardo at icon) kkkkkk
×
×
  • Create New...