What's new

Tutorial [Mac] How To Install Mods Through Terminal

  • Thread starter Jim Halpert
  • Start date
  • Views 11,515
Jim Halpert

Jim Halpert

Yoink!
Tutorial Creator Reporter
Messages
5,086
Reaction score
1,306
Points
675
Sin$
0
How to install mods through terminal

Tutorial Difficulty: 3/5


Things youll need:

-Mod of choice, ready to be installed[for this example, i will use mod loader]

-Terminal Started up

-Clean Minecraft Folder [app support], this doesnt have to be, but its eliminates any troubleshooting problems

-Basic computer knowledge

-Minecraft should not be opened during this ENTIRE tutorial

_____________________________________________________​

Step 1:Cleaning and Open Commands
*if needed, double check your starting with a fresh minecraft folder*

please start Terminal and copy and paste this command EXACTLY how it is into terminal and hit ENTER to enter the command, dont alter it, hit space, or hit enter anywhere in it
Code:
cd ~
mkdir mctmp
cd mctmp
jar xf ~/Library/Application\ Support/minecraft/bin/minecraft.jar

results in spoiler
At the end of step one, terminal should look like the following picture. Also, the command you pasted in, created the highlighted "mctmp" folder. which is located in your documents home, and contains the contents of your minecraft jar. this is where you will be pasting your Mod's Class files.
a0c2f5fd9cee03f197f95e2fd180eb63.png
_____________________________________________________​

Step 2: Pasting Your Mods Classes

Locate your mod, Unzip, or do whatever is necessary
208e9509eb2fb18e2cd518127024d65a.png

Copy all of the files and whatever is needed from the folder you just unzipped, or the classes of your mod and paste them all into the MCTMP folder, you will get this:
75b89bfa732a785bad80de52886ce1c0.png


Click Apply to All, then Replace this overwrites all the stock classes with your modded ones.
_____________________________________________________​

Step 3: Cleaning Up

Your not done yet your mods are safe, but not enough to start up the game, now bring back up terminal. You will now need to Copy and paste this EXACT command into terminal and hit ENTER to enter the command, no changing it again:
Code:
rm META-INF/MOJANG_C.*
jar uf ~/Library/Application\ Support/minecraft/bin/minecraft.jar ./
cd ..
rm -rf mctmp

This command closes the MCTMP folder and deletes the Mojang_C file automatically, so theres no confusion in what to do. the command does it all for you.

Your Terminal should now look like the following picture, and your now free to start up minecraft and test if it worked! :biggrin:
63c75862bab71c5cb94ae027d9007263.png

_____________________________________________________​

Questions and Answers:

Q: Upon Start Up, My screen was black and stays that way?
A: You installed the mod wrong, make sure you refer to the Read Me that comes with most mods, this Tutorial is for mods that only contain classes, some mods require additional work, PM me if you still need help

Q: Is this way, Easier and Better than opening the jar manually without terminal?
A: its all opinion, It may be easier, but there is no "Better" way to do it, all end results are the same

Q: Why are there Black bars in your terminal?
A: Im simply censoring my real name

Q: Why are you a blob?
A: Because




Tutorial Originally Brought To You By Jim Halpert of Se7ensins
 
HF Over 7S

Liaaaaaaaaaaam

Contributor
Messages
2,696
Reaction score
384
Points
295
Sin$
0
Follow this mans tutorials, this soab is a MC god along with zak.
 
George Bush

George Bush

Enthusiast
Messages
724
Reaction score
70
Points
95
Sin$
7
How to install mods through terminal

Tutorial Difficulty: 3/5


Things youll need:

-Mod of choice, ready to be installed[for this example, i will use mod loader]

-Terminal Started up

-Clean Minecraft Folder [app support], this doesnt have to be, but its eliminates any troubleshooting problems

-Basic computer knowledge

-Minecraft should not be opened during this ENTIRE tutorial

_____________________________________________________​

Step 1:Cleaning and Open Commands
*if needed, double check your starting with a fresh minecraft folder*

please start Terminal and copy and paste this command EXACTLY how it is into terminal and hit ENTER to enter the command, dont alter it, hit space, or hit enter anywhere in it
Code:
cd ~
mkdir mctmp
cd mctmp
jar xf ~/Library/Application\ Support/minecraft/bin/minecraft.jar

results in spoiler
At the end of step one, terminal should look like the following picture. Also, the command you pasted in, created the highlighted "mctmp" folder. which is located in your documents home, and contains the contents of your minecraft jar. this is where you will be pasting your Mod's Class files.
a0c2f5fd9cee03f197f95e2fd180eb63.png
_____________________________________________________​

Step 2: Pasting Your Mods Classes

Locate your mod, Unzip, or do whatever is necessary
208e9509eb2fb18e2cd518127024d65a.png

Copy all of the files and whatever is needed from the folder you just unzipped, or the classes of your mod and paste them all into the MCTMP folder, you will get this:
75b89bfa732a785bad80de52886ce1c0.png


Click Apply to All, then Replace this overwrites all the stock classes with your modded ones.
_____________________________________________________​

Step 3: Cleaning Up

Your not done yet your mods are safe, but not enough to start up the game, now bring back up terminal. You will now need to Copy and paste this EXACT command into terminal and hit ENTER to enter the command, no changing it again:
Code:
rm META-INF/MOJANG_C.*
jar uf ~/Library/Application\ Support/minecraft/bin/minecraft.jar ./
cd ..
rm -rf mctmp

This command closes the MCTMP folder and deletes the Mojang_C file automatically, so theres no confusion in what to do. the command does it all for you.

Your Terminal should now look like the following picture, and your now free to start up minecraft and test if it worked! :biggrin:
37906c19393a4205ff2833ba90a23944.png

_____________________________________________________​

Questions and Answers:

Q: Upon Start Up, My screen was black and stays that way?
A: You installed the mod wrong, make sure you refer to the Read Me that comes with most mods, this Tutorial is for mods that only contain classes, some mods require additional work, PM me if you still need help

Q: Is this way, Easier and Better than opening the jar manually without terminal?
A: its all opinion, It may be easier, but there is no "Better" way to do it, all end results are the same

Q: Why are there Black bars in your terminal?
A: Im simply censoring my real name

Q: Why are you a blob?
A: Because




Tutorial Originally Brought To You By Jim Halpert of Se7ensins


noob fail-
a3fb785dcfbde2873badeea055c183c3.png

fix?
 
Jim Halpert

Jim Halpert

Yoink!
Tutorial Creator Reporter
Messages
5,086
Reaction score
1,306
Points
675
Sin$
0
noob fail-
a3fb785dcfbde2873badeea055c183c3.png

fix?
you have to have some mods enabled, open the config.txt thats in the minecraft>mods>zombe>[config.txt] and find the mod you want, probably Fly mod, and where it says #flymod-enabled delete the # :smile:
 
George Bush

George Bush

Enthusiast
Messages
724
Reaction score
70
Points
95
Sin$
7
you have to have some mods enabled, open the config.txt thats in the minecraft>mods>zombe>[config.txt] and find the mod you want, probably Fly mod, and where it says #flymod-enabled delete the # :smile:
If this works, I love you.
Read this spoiler if you're Jim Halpert:
You're not Jim Halpert!
Quote me when you've seen this^
 
Jim Halpert

Jim Halpert

Yoink!
Tutorial Creator Reporter
Messages
5,086
Reaction score
1,306
Points
675
Sin$
0
If this works, I love you.
Read this spoiler if you're Jim Halpert:
Stealth fail on second terminal window image (shows enough of your name to figure it out)
Quote me when you've seen this^
should work
STALKER :3...idk what your talking about loll :tongue:
 
George Bush

George Bush

Enthusiast
Messages
724
Reaction score
70
Points
95
Sin$
7
should work
STALKER :3
My thoughts:
Ok everything looks the same...
Hmm...wait... let's look for Jim's name
S***t M****s, cool
Should I post it on his wall? Nah I bother him enough and that'd be really annoying
I'll use a spoiler for stealth.

should work
STALKER :3...idk what your talking about loll :tongue:
Still not working Jim.
 
Jim Halpert

Jim Halpert

Yoink!
Tutorial Creator Reporter
Messages
5,086
Reaction score
1,306
Points
675
Sin$
0
Still not working Jim.

i know the exact error your getting, you pry pasted the config in the minecraft.jar

did you add the config files too the right place? zombe has 2 steps to it, the one copying the classes into your mctmp[the terminal part], and the other, you have to go into your minecraft folder thats in app support [no terminal involved], make a new folder called mods, in that folder make a folder called zombe, and in that paste all the contents that are in the config folder that the zombe modpack provides, not the folder itself
1. Mods
b91f8fdea174f7a567695cf8edfffd59.png


2. zombe, ignore mellinaire
d71fe60a0a5278f008a003418bc581b8.png


3.contents

7815935556e5d4454bc11f5f0045fb50.png


4. delete the # from flymod so it looks like this
1d7c39204a23882ec23657673a8d57c8.png
 
George Bush

George Bush

Enthusiast
Messages
724
Reaction score
70
Points
95
Sin$
7
i know the exact error your getting, you pry pasted the config in the minecraft.jar

did you add the config files too the right place? zombe has 2 steps to it, the one copying the classes into your mctmp[the terminal part], and the other, you have to go into your minecraft folder thats in app support [no terminal involved], make a new folder called mods, in that folder make a folder called zombe, and in that paste all the contents that are in the config folder that the zombe modpack provides, not the folder itself
1. Mods
b91f8fdea174f7a567695cf8edfffd59.png


2. zombe, ignore mellinaire
d71fe60a0a5278f008a003418bc581b8.png


3.contents

7815935556e5d4454bc11f5f0045fb50.png


4. delete the # from flymod so it looks like this
1d7c39204a23882ec23657673a8d57c8.png
Ok thanks, but I don't have a Minecraft folder in Application support. Should I make one?
 
Jim Halpert

Jim Halpert

Yoink!
Tutorial Creator Reporter
Messages
5,086
Reaction score
1,306
Points
675
Sin$
0
Ok thanks, but I don't have a Minecraft folder in Application support. Should I make one?
you should have one, unless your using a cracked client, also are you looking in the right app support? theres 3 of them i think the one your looking for is [userhome]>library>appsupport>MC i can teamview this if ya want itd pry save some time :lol:
 
George Bush

George Bush

Enthusiast
Messages
724
Reaction score
70
Points
95
Sin$
7
you should have one, unless your using a cracked client, also are you looking in the right app support? theres 3 of them i think the one your looking for is [userhome]>library>appsupport>MC i can teamview this if ya want itd pry save some time :lol:
Ok yeah that'd probably be easier because I'm going to [myname]>and there's no library lol
 
caspertheghost

caspertheghost

Hey cutie ASL?
Messages
919
Reaction score
220
Points
185
Sin$
7
Lol Jim, you and your terminal :tongue:

There is another method thats like 10x easier for those of you who don't like to use terminal.






Step 1: Open your bin folder.

Ex. /Users/~you~/Library/Application Support/minecraft/bin

Step 2: select your minecraft.jar.

screenshot20110801at659.png


Step 3: Press return/enter on your keyboard and the filename should become editable.


screenshot20110801at702.png



Step 4: Rename minecraft.jar to minecraft.jar.zip


screenshot20110801at704.png



Step 5: A pop-up should ask you if you want to keep the extension .jar or change it to .zip. Click .zip.

screenshot20110801at704.png



Step 6: Double click minecraft.jar.zip and a new folder called minecraft.jar should be created. Put your mods into this folder.


screenshot20110801at709.png


Step 7: Done!

Ps. This is just a tut for those of you who don't like terminal (I love terminal :tongue:) this is not the "best way" because there is no best way of installing mods. Its all personal preference, like jim said in his opening post.
 
I

iscerming

Newbie
Messages
1
Reaction score
0
Points
35
Sin$
7
Ok, so I'm running 10.4.11 on a ppc mac. (Apparently I need java 6 to be able to run mods, but its not available for ppc or something)

I've tried just about every mod tutorial there is (including the ones on this post) and when I run minecraft my mod never works D:
Everything seemed to work out like the tutorials say, but in the end it doesn't work. I just tried Kasper's post and everything was the same except when I changed minecraft.jar to minecraft.jar.zip it made minecraft.jar Folder instead of minecraft.jar (idk if this matters but thought I'd say in case I need to rename it)

Yeah, so does anyone know what I'm doing wrong or if my mac just can't run mods?
 
Top Bottom
Login
Register