[Mac] How To Install Mods Through Terminal

Discussion in 'Minecraft Tutorials' started by Jim Halpert, Jun 26, 2011 with 15 replies and 9,643 views.

  1. Jim Halpert

    Jim Halpert Yoink!

    Messages:
    5,112
    Likes Received:
    1,253
    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 (Text):
    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.
    [​IMG]
    _____________________________________________________​

    Step 2: Pasting Your Mods Classes

    Locate your mod, Unzip, or do whatever is necessary
    [​IMG]

    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:
    [​IMG]

    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 (Text):
    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:
    [​IMG]

    _____________________________________________________​

    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
     
    5 people like this.
  2. HF Over 7S

    HF Over 7S Member

    Messages:
    2,700
    Likes Received:
    352
    Follow this mans tutorials, this soab is a MC god along with zak.
     
  3. HF Over 7S

    HF Over 7S Member

    Messages:
    2,700
    Likes Received:
    352
    Bumping this, great tut
     
    1 person likes this.
  4. missile

    missile Enthusiast

    Messages:
    710
    Likes Received:
    90
    Great tutorial. This should be pinned for MAC users.
     
  5. George Bush

    George Bush Enthusiast

    Messages:
    723
    Likes Received:
    60

    noob fail-
    [​IMG]
    fix?
     
  6. Jim Halpert

    Jim Halpert Yoink!

    Messages:
    5,112
    Likes Received:
    1,253
    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:
     
    1 person likes this.
  7. George Bush

    George Bush Enthusiast

    Messages:
    723
    Likes Received:
    60
    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^
     
  8. Jim Halpert

    Jim Halpert Yoink!

    Messages:
    5,112
    Likes Received:
    1,253
    should work
    STALKER :3...idk what your talking about loll :tongue:
     
  9. George Bush

    George Bush Enthusiast

    Messages:
    723
    Likes Received:
    60
    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.

    Still not working Jim.
     
  10. Jim Halpert

    Jim Halpert Yoink!

    Messages:
    5,112
    Likes Received:
    1,253
    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
    [​IMG]

    2. zombe, ignore mellinaire
    [​IMG]

    3.contents

    [​IMG]

    4. delete the # from flymod so it looks like this
    [​IMG]
     
  11. George Bush

    George Bush Enthusiast

    Messages:
    723
    Likes Received:
    60
    Ok thanks, but I don't have a Minecraft folder in Application support. Should I make one?
     
  12. Jim Halpert

    Jim Halpert Yoink!

    Messages:
    5,112
    Likes Received:
    1,253
    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:
     
  13. George Bush

    George Bush Enthusiast

    Messages:
    723
    Likes Received:
    60
    Ok yeah that'd probably be easier because I'm going to [myname]>and there's no library lol
     
  14. Jim Halpert

    Jim Halpert Yoink!

    Messages:
    5,112
    Likes Received:
    1,253
    ok im on aim and ready :smile:
     
  15. caspertheghost

    caspertheghost Hey cutie ASL?

    Messages:
    929
    Likes Received:
    209
    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.

    [​IMG]

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


    [​IMG]


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


    [​IMG]


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

    [​IMG]


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


    [​IMG]

    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.
     
  16. iscerming

    iscerming Newbie

    Messages:
    1
    Likes Received:
    0
    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?