TL;DR:
To re-compress minecraft.jar from a folder don't select the folder. Select all the files inside the folder and compress those, then rename Archive.zip as 'minecraft.jar'.
What you want to do
When you want to instal mods on a mac manually you need to modify the contents of the minecraft.jar file, found in /Users/~Library/Application Support/minecraft/bin/minecraft.jar where ~ is your username.
However there seems to be quite a bit of confusion about not being able to re-compress the minecraft.jar file on a Mac without using the terminal.
Really it's very simple:
As most know *.jar files are basically (for our purposes) just *.zip files.
When you right click minecraft.jar you can uncompress it with the build in 'Archive Utility'
However selecting the resulting folder and re-compressing it as a zip file WILL NOT WORK!
Why won't it work?
Here is the folder structure after just zipping the folder and renaming the resulting file:
(screenshot via jaree)
As you can see, because we selected a folder, the jar file contains a folder at the root. Makes sense no?
Here is the original, un-modified minecraft.jar file:
The files here are not in a folder.
(The difference in file count is due to invisible files the mac OS creates in a folder, that can be ignored)
This difference in file structure results in the Minecraft launcher not being able to find the files it needs, thus black screens, crashes, etc.
What you should do
1. Open the folder.
2. Do command+a to select all the files inside.
3. Right click and choose 'compress ... items'.
4. The resulting zip file will be called "Archive.zip" and will still be inside the folder.
5. Move 'Archive.zip' out of the folder to where the original minecraft.jar file was.
6. Rename it as 'minecraft.jar' (accept the prompt that asks you if you really want to do that)
7. Delete the folder.
If done properly this will work.
Alternatively...
If you don't want to deal with this I would suggest using a mod manager like Minecrafter which does all this for you.
honestly, terminal is easier. but some people dont feel comfortable working with code, so thank you for that from my friends and from me. now i wont have to mod their games for them anymore.
Ok the tutorial is great... However, i have one problem. when i download a mod it causes the game to crash. Why is this and how can it be avoided plz make a video tutorial of this as well.
There is no way to know the answer to your question, so remember to include such information as OS version, Game version, Mod version, error message and the relevant messages from Console(in the Utilities folder). If your problem is with a specific mod, read the appropriate thread and if your question has not already been answered, post there.
Console is a system log viewer and usually has information that is missing from error messages.
Rollback Post to RevisionRollBack
Mod Installing Hack for Mac
Just add a folder name “MCPatches” to your ~/Documents/ folder.
Open inside AppleScript Editor for gritty details.
I'll also add, since there is another thread on the topic, your OS matters.
I was unable to install many mods when I was running OSX 5.8. After upgrading to OSX 6.5 ( a mere 30 $) I have had no problems with any mods. I had the same version of Java on both OS. If you are having problems with mods, consider updating your system. There is very little reason not to do it.
Might want to add in your original post that anybody running OSX 1.5.X will have issues running mods due to java issues. They would have to upgrade to Snow Leopard for them to work correctly.
Ok here goes viewtopic.php?f=25&t=63613
The "Switch Between Night and Day (All day/all night added"
useing this mod ^^
1. downloaded mod
2.draged the Ir.class file (mod from download) onto my desktop
3.opened Finder
4. opened library folder
5. opened application support folder
6. opened minecraft folder
7. opened bin folder
8. list of files in bin folder font-weight&ticket=hover, jinput.jar , lwjgl.jar , lwjgl_util.jar , minecraft.backup.jar , minecraft.jar , natives folder , version , {color
9.compressed minecraft.jar
10. double clicked minecraft.jar.zip file
11. a minecraft 2 folder appeared in the bin folder
12. opened minecraft 2 folder
13. dragged Ir.class mod into minecraft 2 folder
14. i get a massage saying "An older item named "Ir.class" allready exists in this location. Do you want to replace it with the newer one you are moveing?" There are two options "Stop" and "Replace"
15. I choose Replace
16. I do the select all command
17. I right click on a random file (while all files are selected) and choose the compress 468 files option
18. i drag archive.zip onto my desktop.
19. I then drag minecraft.jar , minecraft.jar.zip , minecraft 2 folder into the trash
20. i then drag archive.zip into the bin folder then i change archive.zip into minecraft.jar
21. Then i open minecraft
22. once i try to log in minecraft gives me a black screen
SIDE INFORMATION
Computor: MacBook
Version: 10.5.8
Game version. (i believe it is) 1.2.2
no idea what messages from the console are relevent
PLZ HELP ME IVE SPENT OVER 10 HOURS TRYING TO GET MODS ONTO MINECRAFT
You could be having one of two problems. First make sure you delete meta-inf's contents. Next if that doesn't resolve the problem, check console to make sure it's not a version problem.
Rollback Post to RevisionRollBack
Mod Installing Hack for Mac
Just add a folder name “MCPatches” to your ~/Documents/ folder.
Open inside AppleScript Editor for gritty details.
Humans Mod:
1.Downloaded Mod
2.Opened folder for mod
3.Replaced the old version of Modloader and Spawnlist with the new ones.
4.Dragged the Modloader and Spawnlist out of their folder in with the other .class files.
5.Selected the contents of the mod folder and copied the items.
6.Went to the bin folder and opened minecraft.jar(as in,Open with...->)
7.Pasted the mod files into the minecraft folder that opened.
8.Compressed the files and folders in the folder,not the folder itself like you said.
9.Changed Archive.zip to minecraft.jar and dragged it out to the bin.
10.Deleted folder.
11.Opened minecraft with a black screen,but then remembered I forgot to delete META-INF contents(wwait contents or folder itself,if contents what do I delete?)
12.Opened the modded minecraft.jar
13.Opened minecraft and got another black screen
Help?
________________
MAC OSX 10.5.8
Beta 1.1_02
And yes,I have used a mod before but it used an auto installer :/
Rollback Post to RevisionRollBack
Servers I've Created: The Plague
______________________________________________________
"Be a man. Fight a zombie."-Legolas75893
"Then again, at 12, you really shouldn't be on 4Chan."-dirminxia
I saw a post a while back that explained how to get mods to work on 10.5.8 macs.
NOTE: Make a back up of any files that I mention in the instructions as a precaution.
Instructions:
First off make sure you have Java 6 downloaded. (If you haven't done a software update in a while you should)
Go to your minecraft app, right click and choose "Show Package Contents".
Next open the contents folder and open "Info.Plist".
Once it's open look for the line that says
<key>JVMVersion</key>
<string>1.5+</string>
Once you have found it change the 5 in 1.5 to a 6, then save and exit.
Once done with that open a new finder window and go to Mac > System > Library > Frameworks > JavaVM.framework > Resources > Mac OS and then copy the file named "JavaApplicationStub".
Now go back to the contents folder and go into the "MacOS" folder and paste "JavaApplicationStub".
Mods should now work with minecraft. (Reply if they don't, I may be able to help.)
Thanks whoever posted how to do this before, it helped me very much.
Rollback Post to RevisionRollBack
Any Mac friends having trouble installing forge on your minecraft_server.jar files? Check out my script that lets you do it easily with one simple click! For more info look here http://www.minecraft...-click-install/
i think i remember posting this too you when you needed to know? no matter its all good you're just helping people out
To me? Prolly not, I am on 10.6.5
Rollback Post to RevisionRollBack
Any Mac friends having trouble installing forge on your minecraft_server.jar files? Check out my script that lets you do it easily with one simple click! For more info look here http://www.minecraft...-click-install/
I saw a post a while back that explained how to get mods to work on 10.5.8 macs.
NOTE: Make a back up of any files that I mention in the instructions as a precaution.
Instructions:
First off make sure you have Java 6 downloaded. (If you haven't done a software update in a while you should)
Go to your minecraft app, right click and choose "Show Package Contents".
Next open the contents folder and open "Info.Plist".
Once it's open look for the line that says
<key>JVMVersion</key>
<string>1.5+</string>
Once you have found it change the 5 in 1.5 to a 6, then save and exit.
Once done with that open a new finder window and go to Mac > System > Library > Frameworks > JavaVM.framework > Resources > Mac OS and then copy the file named "JavaApplicationStub".
Now go back to the contents folder and go into the "MacOS" folder and paste "JavaApplicationStub".
Mods should now work with minecraft. (Reply if they don't, I may be able to help.)
Thanks whoever posted how to do this before, it helped me very much.
Still doesn't work
Rollback Post to RevisionRollBack
Servers I've Created: The Plague
______________________________________________________
"Be a man. Fight a zombie."-Legolas75893
"Then again, at 12, you really shouldn't be on 4Chan."-dirminxia
Any Mac friends having trouble installing forge on your minecraft_server.jar files? Check out my script that lets you do it easily with one simple click! For more info look here http://www.minecraft...-click-install/
why do you need to re-compress the folder?
just rename the un-compressed folder to minecraft.jar works fine and much less work and you don't need to un-compress and re-compress each time you add a mod
To re-compress minecraft.jar from a folder don't select the folder. Select all the files inside the folder and compress those, then rename Archive.zip as 'minecraft.jar'.
What you want to do
When you want to instal mods on a mac manually you need to modify the contents of the minecraft.jar file, found in /Users/~Library/Application Support/minecraft/bin/minecraft.jar where ~ is your username.
However there seems to be quite a bit of confusion about not being able to re-compress the minecraft.jar file on a Mac without using the terminal.
Really it's very simple:
As most know *.jar files are basically (for our purposes) just *.zip files.
When you right click minecraft.jar you can uncompress it with the build in 'Archive Utility'
However selecting the resulting folder and re-compressing it as a zip file WILL NOT WORK!
Why won't it work?
Here is the folder structure after just zipping the folder and renaming the resulting file:
(screenshot via jaree)
As you can see, because we selected a folder, the jar file contains a folder at the root. Makes sense no?
Here is the original, un-modified minecraft.jar file:
The files here are not in a folder.
(The difference in file count is due to invisible files the mac OS creates in a folder, that can be ignored)
This difference in file structure results in the Minecraft launcher not being able to find the files it needs, thus black screens, crashes, etc.
What you should do
1. Open the folder.
2. Do command+a to select all the files inside.
3. Right click and choose 'compress ... items'.
4. The resulting zip file will be called "Archive.zip" and will still be inside the folder.
5. Move 'Archive.zip' out of the folder to where the original minecraft.jar file was.
6. Rename it as 'minecraft.jar' (accept the prompt that asks you if you really want to do that)
7. Delete the folder.
If done properly this will work.
Alternatively...
If you don't want to deal with this I would suggest using a mod manager like Minecrafter which does all this for you.
Hope people can find this topic via the search if they need to.
Thanks, this means I don't have to use the jar tool from the terminal anymore.
Alternatively you can use a mod manager like minecrafter that just does this all for you.
Console is a system log viewer and usually has information that is missing from error messages.
Just add a folder name “MCPatches” to your ~/Documents/ folder.
Open inside AppleScript Editor for gritty details.
I was unable to install many mods when I was running OSX 5.8. After upgrading to OSX 6.5 ( a mere 30 $) I have had no problems with any mods. I had the same version of Java on both OS. If you are having problems with mods, consider updating your system. There is very little reason not to do it.
viewtopic.php?f=25&t=63613
The "Switch Between Night and Day (All day/all night added"
useing this mod ^^
1. downloaded mod
2.draged the Ir.class file (mod from download) onto my desktop
3.opened Finder
4. opened library folder
5. opened application support folder
6. opened minecraft folder
7. opened bin folder
8. list of files in bin folder font-weight&ticket=hover, jinput.jar , lwjgl.jar , lwjgl_util.jar , minecraft.backup.jar , minecraft.jar , natives folder , version , {color
9.compressed minecraft.jar
10. double clicked minecraft.jar.zip file
11. a minecraft 2 folder appeared in the bin folder
12. opened minecraft 2 folder
13. dragged Ir.class mod into minecraft 2 folder
14. i get a massage saying "An older item named "Ir.class" allready exists in this location. Do you want to replace it with the newer one you are moveing?" There are two options "Stop" and "Replace"
15. I choose Replace
16. I do the select all command
17. I right click on a random file (while all files are selected) and choose the compress 468 files option
18. i drag archive.zip onto my desktop.
19. I then drag minecraft.jar , minecraft.jar.zip , minecraft 2 folder into the trash
20. i then drag archive.zip into the bin folder then i change archive.zip into minecraft.jar
21. Then i open minecraft
22. once i try to log in minecraft gives me a black screen
SIDE INFORMATION
Computor: MacBook
Version: 10.5.8
Game version. (i believe it is) 1.2.2
no idea what messages from the console are relevent
PLZ HELP ME IVE SPENT OVER 10 HOURS TRYING TO GET MODS ONTO MINECRAFT
Just add a folder name “MCPatches” to your ~/Documents/ folder.
Open inside AppleScript Editor for gritty details.
1.Downloaded Mod
2.Opened folder for mod
3.Replaced the old version of Modloader and Spawnlist with the new ones.
4.Dragged the Modloader and Spawnlist out of their folder in with the other .class files.
5.Selected the contents of the mod folder and copied the items.
6.Went to the bin folder and opened minecraft.jar(as in,Open with...->)
7.Pasted the mod files into the minecraft folder that opened.
8.Compressed the files and folders in the folder,not the folder itself like you said.
9.Changed Archive.zip to minecraft.jar and dragged it out to the bin.
10.Deleted folder.
11.Opened minecraft with a black screen,but then remembered I forgot to delete META-INF contents(wwait contents or folder itself,if contents what do I delete?)
12.Opened the modded minecraft.jar
13.Opened minecraft and got another black screen
Help?
________________
MAC OSX 10.5.8
Beta 1.1_02
And yes,I have used a mod before but it used an auto installer :/
The Plague
______________________________________________________
"Be a man. Fight a zombie."-Legolas75893
"Then again, at 12, you really shouldn't be on 4Chan."-dirminxia
To me? Prolly not, I am on 10.6.5
Still doesn't work
The Plague
______________________________________________________
"Be a man. Fight a zombie."-Legolas75893
"Then again, at 12, you really shouldn't be on 4Chan."-dirminxia
Did you copy these items and them paste them into the jar? You are supposed to copy the entire mob folder and paste it, not just the items inside.
These should be copied into the minecraft.jar:
mod_humansPlus.class
...
spawnlist.class (18 files)
and this entire folder should be added:
"mob"
this will automatically add:
mob/Knight.png all the way to Rogue1.png (31 files)
Edit: You can also try flushing out your files and starting with a new set:
viewtopic.php?f=25&t=119500&p=1824666#p1776243
just rename the un-compressed folder to minecraft.jar works fine and much less work and you don't need to un-compress and re-compress each time you add a mod