The most obvious way to install mods in Linux did not work; Archive Manager can not interact with JAR files in the way WinRAR can. So, I decided to write up how I install mods on my computer. This is the only way I could find, other than someone porting WinRAR to Linux, and that would be more trouble than it's worth. These instructions work regardless of Linux or Minecraft version so long as the distro you're using supports extraction of JAR files and compression into JAR files.
These instructions assume that you know how to access your .minecraft folder in Linux
Apply any patchers you wish to apply
Extract minecraft.jar into a NEW, SEPARATE FOLDER from .minecraft/bin*
Extract your mods into their own folder, separate from the one you extracted minecraft.jar into**
Drag the class files from the folder you extracted your mods to into the folder you extracted the jar into, and any folders meant to be outside the jar to where they are supposed to be
When asked if you want to merge, click "do for all current items" and then "merge"
When asked if you want to replace files, click "do for all current items" and then "replace"
Delete the folder META-INF
Select all the items in the folder, right click on any one of them and choose "Compress"
Choose .jar as your compression format
name it "minecraft" without quotes
Hit "Enter" on your keyboard
Drag your new minecraft.jar into your .minecraft/bin folder and replace the original
Don't try to skip the process of extracting the jar and recompressing it; Archive Manager won't be able to save the jar correctly and will end up deleting the original if you try the WinRAR method.
*I recommend a folder called MINECRAFT on your desktop
**Again, I recommend a folder on your desktop, preferably MODS
Rollback Post to RevisionRollBack
Every moment, a thousand worlds are born; every moment a thousand worlds die. For what is a dream but a world, at once brief and eternal, alien and familiar to the mind?
Every moment, a thousand worlds are born; every moment a thousand worlds die. For what is a dream but a world, at once brief and eternal, alien and familiar to the mind?
Dude, I seriously hope the people using linux don't need a guide on this. If they do, why are they using linux?
There are quite a few people who use Linux distros that don't take a lot of know-how to install and use. These also work on any OS that supports compression of files into JAR. These are manual install instructions. I only labelled them for Linux since it is the only OS I can think of for which installation some other way is a problem.
Rollback Post to RevisionRollBack
Every moment, a thousand worlds are born; every moment a thousand worlds die. For what is a dream but a world, at once brief and eternal, alien and familiar to the mind?
Every moment, a thousand worlds are born; every moment a thousand worlds die. For what is a dream but a world, at once brief and eternal, alien and familiar to the mind?
1. please correct your title to be consistent with the title format specified in kingbdogz's sticky.
2. what is "archive manager"?
Archive Manager is the native compression utility.
Quote from brzys »
Well, Ark works fine, just like WinRar :wink.gif:
This is assuming a user who doesn't know how to do most of what Linux is capable of and a new, unmodified Ubuntu install.
Rollback Post to RevisionRollBack
Every moment, a thousand worlds are born; every moment a thousand worlds die. For what is a dream but a world, at once brief and eternal, alien and familiar to the mind?
what about headless editing of jar files that's the only thing i can't do...
I don't even know what that is. This is just how to apply mods to your minecraft.jar, and is not meant to be an advanced tutorial on how to edit jar files.
Rollback Post to RevisionRollBack
Every moment, a thousand worlds are born; every moment a thousand worlds die. For what is a dream but a world, at once brief and eternal, alien and familiar to the mind?
These instructions assume that you know how to access your .minecraft folder in Linux
Apply any patchers you wish to apply
Extract minecraft.jar into a NEW, SEPARATE FOLDER from .minecraft/bin*
Extract your mods into their own folder, separate from the one you extracted minecraft.jar into**
Drag the class files from the folder you extracted your mods to into the folder you extracted the jar into, and any folders meant to be outside the jar to where they are supposed to be
When asked if you want to merge, click "do for all current items" and then "merge"
When asked if you want to replace files, click "do for all current items" and then "replace"
Delete the folder META-INF
Select all the items in the folder, right click on any one of them and choose "Compress"
Choose .jar as your compression format
name it "minecraft" without quotes
Hit "Enter" on your keyboard
Drag your new minecraft.jar into your .minecraft/bin folder and replace the original
Don't try to skip the process of extracting the jar and recompressing it; Archive Manager won't be able to save the jar correctly and will end up deleting the original if you try the WinRAR method.
*I recommend a folder called MINECRAFT on your desktop
**Again, I recommend a folder on your desktop, preferably MODS
There are quite a few people who use Linux distros that don't take a lot of know-how to install and use. These also work on any OS that supports compression of files into JAR. These are manual install instructions. I only labelled them for Linux since it is the only OS I can think of for which installation some other way is a problem.
2. what is "archive manager"?
Stupidity on the rise with a 40% chance of shitstorms.
Archive Manager is the native compression utility.
This is assuming a user who doesn't know how to do most of what Linux is capable of and a new, unmodified Ubuntu install.
Stupidity on the rise with a 40% chance of shitstorms.
I don't even know what that is. This is just how to apply mods to your minecraft.jar, and is not meant to be an advanced tutorial on how to edit jar files.