Topic: How do you create your own Minecraft mod pack with an installer?
Anonymous A started this discussion 15 years ago#12,510
I've been thinking of creating a mod pack specifically for me with an installer for easy installation/uninstallation. Similar to the yogbox. But the problem is that I don't have any experience making installers and what not. Is it complicated?
dreamworks !AUIkTW/L46 joined in and replied with this 15 years ago, 3 hours later[^][v]#224,540
why would you want to uninstall and install a lot?
r04r joined in and replied with this 15 years ago, 32 minutes later, 4 hours after the original post[^][v]#224,542
Not super complicated, you'll probably want to find some scriptable gui installer if you want to distribute it, if just for yourself it's probably easiest to learn batch scripting and find some command-line tools.
Basically you'll want a .bat file with something along the lines of (Assuming you're using windows):
REM Go to minecraft bin directory
pushd %appdata%/.minecraft
cd bin
REM Replace with a command-line zip tool you find:
unzip minecraft.jar
REM Figure out where it extracts to, cd to there:
cd minecraft.jar/
REM Remove the META-INF folder
rd /s /q META-INF
REM Add your stuff to the minecraft jar (Back to where the bat file was launched)
popd
REM Again change directory here:
copy /Y jarfile/* %appdata%/.minecraft/bin/minecraft.jar/
pushd %appdata%/.minecraft/bin
move /Y minecraft.jar minecraft.jar.old
zip minecraft.jar/ minecraft.jar
Have fun
Anonymous A (OP) replied with this 15 years ago, 11 hours later, 16 hours after the original post[^][v]#224,923
!hEyBrieeXM replied with this 15 years ago, 5 minutes later, 17 hours after the original post[^][v]#225,036
@previous (D)
Now OP is going to create an executable file from some copy pasted code he doesn't understand and run it on his computer.
Way to go.
Anonymous A (OP) replied with this 15 years ago, 6 minutes later, 18 hours after the original post[^][v]#225,041
@225,030 (!hEyBrieeXM)
Is that software on a trial? Because I can download all three they present there yet they have a Free version.
I assume this means you probably can use the main version for 30 days?
!hEyBrieeXM replied with this 15 years ago, 4 minutes later, 18 hours after the original post[^][v]#225,044
http://www.createinstall.com/help/license.html > CreateInstall ("SOFTWARE PRODUCT") is not freeware. You may install the trial version of the SOFTWARE PRODUCT to test and evaluate it for 30 days; after this time you must either purchase a license ("LICENSED VERSION") to continue to use the SOFTWARE PRODUCT or delete the SOFTWARE PRODUCT from your computer.
(Edited 1 minute later.)
Anonymous H joined in and replied with this 15 years ago, 1 hour later, 19 hours after the original post[^][v]#225,112
@previous (!hEyBrieeXM) > after trial buy license or delete
lol
Anonymous A (OP) replied with this 15 years ago, 3 days later, 4 days after the original post[^][v]#227,122
I downloaded the free version. How would I actually make this installer?
r04r replied with this 15 years ago, 33 minutes later, 4 days after the original post[^][v]#227,141
@previous (A)
It probably won't be capable of unpacking the minecraft.jar and then repacking it. What do you want your mod pack to do, exactly? Like, drop/replace some files in the minecraft.jar or what? Why do you want it?