Jump to content

  • Curse Sites
Become a Premium Member! Help
Latest News Article

Daviidi's Minecraft Mod Manager


  • Please log in to reply
26 replies to this topic

#1

Daviidi
    Daviidi

    Coal Miner

  • Members
  • 122 posts
  • Minecraft: Daviidi

Posted 13 February 2012 - 08:21 PM

Daviidi's Minecraft Mod Manager
Works on all mods*

Posted Image

This mod manager allows you to quickly switch between both in-jar mods, and mod folder (or ModLoader) mods.

Setup / Basic Usage
Spoiler:

Advanced Usage
Spoiler:

Quick Button Reference
Spoiler:

Downloads (once you've given it a try, please come back and insult/complain/give feedback about it, thanks Posted Image)
Version 3 (latest)
Version 3 Source
  • Fixed a bug that made it completely unusable under certain conditions... Oops. :/
[Versions 1-2 removed due to the fact they don't work under certain conditions]

*Doesn't work on mods that need resource unpacking Posted Image

Oh, and a useless license:
I really don't care what you do with this software or source.
Only limitation is you're not allowed to sell or make money from  it, because I used noncommercial
software to create it. The other reason being that if you do, you're evil.
(Jigloo form creator, see the source code for their license)

KeonCraft- A factions PVP Survival server.

Register or log in to remove.

#2

JHohn
    JHohn

    Iron Miner

  • Members
  • 260 posts
  • Location: Brunswick, GA
  • Minecraft: JHohn

Posted 13 February 2012 - 08:24 PM

First post?... Posted Image

Looks very nice, I'll give it a shot!
:-Did I help you today? Give me some Rep.!

#3

Deonyi
    Deonyi

    Blaze Extinguisher

  • Members
  • 4339 posts
  • Location: Melbourne
  • Minecraft: Deonyi

Posted 13 February 2012 - 08:51 PM

Nice.

I will have a to after school ;)

The Awesome Miner
Posted Image

#4

darklordme

Posted 16 February 2012 - 12:35 AM

•Once finished installing, use the "Set Current Jar / Compile" button to edit the minecraft.jar file and insert mods.

this gives me a vague error message .

#5

Mist3rCak3
  • Minecraft: Mist3rCak3

Posted 16 February 2012 - 10:41 PM

I've seen you on ROBLOX, or you just have the same name :P Also very nice.

#6

Apollo556
    Apollo556

    Coal Miner

  • Curse Premium
  • Curse Premium
  • 136 posts

Posted 16 February 2012 - 10:45 PM

looks very nice, definitely checking this out....
Posted Image  Clicking this dragon here will help it grow! Imagine that! :I BTW Xephonos, my other dragon, grew up! I shall update my avatar every week with new dragon eggs and such, so be sure to click! :D
I'd like to see someone rule 34 my avatar. hur hur hur

#7

Sophus
    Sophus

    Tree Puncher

  • Members
  • 20 posts

Posted 18 February 2012 - 01:45 AM

I like this!
1 main thing missing:
backup\install(also remove[why not?])files required from some mod to put--> in mainfolder\*  or mainfolder\subfolder\* ..Example: equivalent exchange require some audio files in main\resources...or single player command require file on main\bin ..or millenaire add some custom folders in main\millenaire\* ...etc etc
2 little things missing:
some scrolling bars or I cant see all my installed mods.
and please make the new mod buttons able to remember the last folder or u need hit every time ctrl v or manually find the mods directory! (im lazy) :)
Great job!
EDIT:
yeee! I added the scrollbars myself! :D
this is my maximum coding skillz ..Im noob! lol
Posted Image

#8

Sophus
    Sophus

    Tree Puncher

  • Members
  • 20 posts

Posted 18 February 2012 - 11:00 PM

mhh seems that the "incompatible with" option does not work. If I set incompatibility between 2 mods and try to compile jar the modmanager dont show any warning and install everything. B)
:Diamond: :Diamond: :Diamond:
EDIT: works only if u set mods from minecraft.jar mods, i cant set incompatibility for modloader mods or for mixed modloader and jar mods.

#9

Daviidi
    Daviidi

    Coal Miner

  • Members
  • 122 posts
  • Minecraft: Daviidi

Posted 19 February 2012 - 10:16 AM

View PostSophus, on 18 February 2012 - 01:45 AM, said:

I like this!
1 main thing missing:
backup\install(also remove[why not?])files required from some mod to put--> in mainfolder\*  or mainfolder\subfolder\* ..Example: equivalent exchange require some audio files in main\resources...or single player command require file on main\bin ..or millenaire add some custom folders in main\millenaire\* ...etc etc
2 little things missing:
some scrolling bars or I cant see all my installed mods.
and please make the new mod buttons able to remember the last folder or u need hit every time ctrl v or manually find the mods directory! (im lazy) :)
Great job!
EDIT:
yeee! I added the scrollbars myself! :D
this is my maximum coding skillz ..Im noob! lol
Posted Image

It automatically backs up any jars/mods added into it's jars/mods folder. I'll have a look at the putting files in folders thing.
Nice work adding the scrollbars :). I'll add scrollbars and the remember folder thing as soon as I update, which should be soon.

View PostSophus, on 18 February 2012 - 11:00 PM, said:

mhh seems that the "incompatible with" option does not work. If I set incompatibility between 2 mods and try to compile jar the modmanager dont show any warning and install everything. B)
:Diamond: :Diamond: :Diamond:
EDIT: works only if u set mods from minecraft.jar mods, i cant set incompatibility for modloader mods or for mixed modloader and jar mods.

Thanks for the bug report, I'll fix that. :)
KeonCraft- A factions PVP Survival server.

#10

Sophus
    Sophus

    Tree Puncher

  • Members
  • 20 posts

Posted 19 February 2012 - 01:38 PM

seems that the downloads are broken!

anyway thanks for satisfied my requests! :D

#11

Daviidi
    Daviidi

    Coal Miner

  • Members
  • 122 posts
  • Minecraft: Daviidi

Posted 19 February 2012 - 02:56 PM

View PostSophus, on 19 February 2012 - 01:38 PM, said:

seems that the downloads are broken!

anyway thanks for satisfied my requests! :D
Hm, fixed. Thanks.

It seems the Version 2 source was lost though, I still have a later version of the source, so it's all fine.

Edit: I'm currently working on a better tool that does almost the same thing, but in a much more awesome way, I won't be updating this any more.

Edited by Daviidi, 19 February 2012 - 03:08 PM.

KeonCraft- A factions PVP Survival server.

#12

Sophus
    Sophus

    Tree Puncher

  • Members
  • 20 posts

Posted 19 February 2012 - 03:23 PM

View PostDaviidi, on 19 February 2012 - 02:56 PM, said:

Hm, fixed. Thanks.

It seems the Version 2 source was lost though, I still have a later version of the source, so it's all fine.

Edit: I'm currently working on a better tool that does almost the same thing, but in a much more awesome way, I won't be updating this any more.
thx for v2!
im testing this and "incompatible with" seems not fully fixed :P
-folder mods(modloader mods) still ignore incompatibility
-"mixed" mods now works! but dont show the dialog box "modA incompatible with modB"
anyway the tool is fully usable, there is no hurry to fix it!!
:Diamond: :Diamond:  
Sorry for my english, Please! :P
EDIT:

View PostDaviidi, on 19 February 2012 - 02:56 PM, said:

Edit: I'm currently working on a better tool that does almost the same thing, but in a much more awesome way, I won't be updating this any more.
uhh, I had not read this, well I'm glad that this will be better because this is already great!

Edited by Sophus, 19 February 2012 - 03:28 PM.


#13

Sophus
    Sophus

    Tree Puncher

  • Members
  • 20 posts

Posted 25 February 2012 - 11:07 PM

Hello!i make some tweaks to this tool! im learning a little of java from this
i added ability to reconize if the mods need to put in mods folder or in .minecraft and other other many things

but i really dont know how to "check if *somefile* exist in the .zip file..but scanning ONLY in the first directory and not in subdirectory" from this code

if(file.isFile()) {
	if(file.toString().endsWith(".zip")) {
		   ZipFile zip = new ZipFile(file);
	   Enumeration<? extends ZipEntry> z = zip.entries();
	   while(z.hasMoreElements())
	   {
		/*
		*  i need something here for check only the main folder without subsfolder
		*/
		if(z.nextElement().toString().endsWith(".class")) {
			System.out.print("class present");
			break;				
		}		
	   }		
	  }
}
I know this is so easy but im so noob :D
Sorry for the OT but I enjoying play whit this code

#14

Daviidi
    Daviidi

    Coal Miner

  • Members
  • 122 posts
  • Minecraft: Daviidi

Posted 26 February 2012 - 07:28 PM

View PostSophus, on 25 February 2012 - 11:07 PM, said:

Hello!i make some tweaks to this tool! im learning a little of java from this
i added ability to reconize if the mods need to put in mods folder or in .minecraft and other other many things

but i really dont know how to "check if *somefile* exist in the .zip file..but scanning ONLY in the first directory and not in subdirectory" from this code

if(file.isFile()) {
	if(file.toString().endsWith(".zip")) {
		   ZipFile zip = new ZipFile(file);
	   Enumeration<? extends ZipEntry> z = zip.entries();
	   while(z.hasMoreElements())
	   {
		/*
		*  i need something here for check only the main folder without subsfolder
		*/
		if(z.nextElement().toString().endsWith(".class")) {
			System.out.print("class present");
			break;				
		}		
	   }		
	  }
}
I know this is so easy but im so noob :D
Sorry for the OT but I enjoying play whit this code


I would use this: z.nextElement().toString().contains("/")
to see if it's a directory or not
KeonCraft- A factions PVP Survival server.

#15

Sophus
    Sophus

    Tree Puncher

  • Members
  • 20 posts

Posted 27 February 2012 - 12:30 AM

View PostDaviidi, on 26 February 2012 - 07:28 PM, said:

I would use this: z.nextElement().toString().contains("/")
to see if it's a directory or not
I had thought for that solution, the problem was that when i used !z.nextElement().toString().contains("/") && z.getName().endsWith(".class") give me some exceptions :D
..anyway I solved the problem :) I have seen the File method getPath and I tried to turn z.nextElement() into a file to be able to use getPath. And worked :D :D !
			if(file.toString().endsWith(".zip")) {
							ZipFile zip = new ZipFile(file);
							Enumeration<? extends ZipEntry> z = zip.entries();
							
							while(z.hasMoreElements()) {
								File file2 = new File(z.nextElement().getName());
								if(!file2.getPath().contains("\\") && file2.getPath().endsWith(".class")) {
										JOptionPane.showMessageDialog(modFrame, "class present");
										break;
								}
							}
			}

Im sure this solution is the worst possible solution. anyway this work :P ..thanks for the tip! and sorry 2 all  for the dumbest question I did.

#16

Skidoodle

Posted 27 February 2012 - 03:27 AM

For your license, you should use the CCPL.

Here's a linkthat will help you pick the correct license for you.

#17

Daviidi
    Daviidi

    Coal Miner

  • Members
  • 122 posts
  • Minecraft: Daviidi

Posted 27 February 2012 - 04:32 AM

View PostSophus, on 27 February 2012 - 12:30 AM, said:

I had thought for that solution, the problem was that when i used !z.nextElement().toString().contains("/") && z.getName().endsWith(".class") give me some exceptions :D
..anyway I solved the problem :) I have seen the File method getPath and I tried to turn z.nextElement() into a file to be able to use getPath. And worked :D :D !
-snip-
Im sure this solution is the worst possible solution. anyway this work :P ..thanks for the tip! and sorry 2 all  for the dumbest question I did.

Awesome, glad to hear it :)

View PostSkidoodle, on 27 February 2012 - 03:27 AM, said:

For your license, you should use the CCPL.

Here's a linkthat will help you pick the correct license for you.

But... I don't care what people do with it, I'm not updating the manager any more, I'm not gaining anything from it, so why bother with a really long license?
KeonCraft- A factions PVP Survival server.

#18

coppertop64
  • Location: Why do you wanna know where i live STALKER

Posted 29 February 2012 - 12:51 AM

PLEASE RESPOND TO THIS

whenever i press set current jar/compile it says vague error.
I did everything you said and for some reason it just says vague error

#19

coppertop64
  • Location: Why do you wanna know where i live STALKER

Posted 03 March 2012 - 12:34 AM

View Postdarklordme, on 16 February 2012 - 12:35 AM, said:

•Once finished installing, use the "Set Current Jar / Compile" button to edit the minecraft.jar file and insert mods.

this gives me a vague error message .
someone says this and you do not do anything?

#20

Daviidi
    Daviidi

    Coal Miner

  • Members
  • 122 posts
  • Minecraft: Daviidi

Posted 18 April 2012 - 10:11 AM

View Postdarklordme, on 16 February 2012 - 12:35 AM, said:

•Once finished installing, use the "Set Current Jar / Compile" button to edit the minecraft.jar file and insert mods.

this gives me a vague error message .

View Postcoppertop64, on 03 March 2012 - 12:34 AM, said:

someone says this and you do not do anything?

I apologise, I completely forgot about this thread, the version I published evidently had a major bug in it. I have now fixed this bug (v3).

For those who are interested, the bug was caused because I accidentally mixed up the variable used for locating the original minecraft jar file and the variable used for backing it up.
KeonCraft- A factions PVP Survival server.