Omnimaga

General Discussion => Technology and Development => Computer Projects and Ideas => Topic started by: XVicarious on September 24, 2011, 02:06:12 am

Title: MCLauncher -- A Multiple Version Launcher For Minecraft
Post by: XVicarious on September 24, 2011, 02:06:12 am
I decided I should cross post this here from MinecraftForum.net

MCLauncher is a tool where you can launch any version of Minecraft (as long as you have the JAR) without having to set up a completely new environment.

There is a list view of all the JARs you have in the JAR folder. You select on and press "Launch". this will launch minecraft and you play that version.

(http://xvicario.us/images/mclauncher_screenshot.png)

"minecraft.jar" (the launcher) will automagically download if it is not in the folder when you open the application. You will also need to place your (or another) .minecraft folder inside the root of the program. Finally you need a folder called "jar" where the actual game jars are located.

here is the link to the download: http://xvicario.us/getfile.php?f=mclauncher-install.exe

Please comment :D

edit: And I just made a new Icon, what do you think of it?
(http://xvicario.us/images/new_icon.png)
Title: Re: MCLauncher -- A Multiple Version Launcher For Minecraft
Post by: defmenge on September 24, 2011, 04:30:06 am
This looks like a nice program, I've been collecting legal Minecraft's jars (with and without various mods) since 1.5. :P
The download link appears to be broken though, due to an ellipsis being inserted into it. I most likely wouldn't be able to use it anyway since it looks like a Windows-only program and I'm using Linux. :/
Title: Re: MCLauncher -- A Multiple Version Launcher For Minecraft
Post by: Eiyeron on September 24, 2011, 09:18:24 am
I should have 1.3.1 maybe here...
Title: Re: MCLauncher -- A Multiple Version Launcher For Minecraft
Post by: Juju on September 24, 2011, 12:10:59 pm
Yep, link is broken. And any chance to get a binary or a .jar for Linux?
Title: Re: MCLauncher -- A Multiple Version Launcher For Minecraft
Post by: mrmprog on September 24, 2011, 02:09:46 pm
Nice icon. This looks pretty handy, but I can't seem to find my old jars :( This will be helpful when I want to play older custom maps.
Title: Re: MCLauncher -- A Multiple Version Launcher For Minecraft
Post by: Munchor on September 24, 2011, 02:48:39 pm
Yep, link is broken. And any chance to get a binary or a .jar for Linux?

I think it was made in .NET, hence it wont' work on non-Windows operating systems.
Title: Re: MCLauncher -- A Multiple Version Launcher For Minecraft
Post by: XVicarious on September 24, 2011, 03:27:33 pm
Wow, didn't even notice that, the link is fixed! Yeah its .NET so if you have Mono you can use that. I'll have a Linux build (a mono wrapped linux executable) in a bit. I have work in a half hour so I may release a linux executable after work (I work for 5 hours).

edit: actually it will not work in Mono right now because it uses a batch script. I'll upload a Linux version with a shiny new bash script after work.
Title: Re: MCLauncher -- A Multiple Version Launcher For Minecraft
Post by: Munchor on September 24, 2011, 03:36:21 pm
Wow, didn't even notice that, the link is fixed! Yeah its .NET so if you have Mono you can use that. I'll have a Linux build (a mono wrapped linux executable) in a bit. I have work in a half hour so I may release a linux executable after work (I work for 5 hours).

edit: actually it will not work in Mono right now because it uses a batch script. I'll upload a Linux version with a shiny new bash script after work.

But is the location of the files in Linux the same as in Windows? Also, I'm wondering of how hard it would be to make a native application, the program is not very complex. Will you upload source code?
Title: Re: MCLauncher -- A Multiple Version Launcher For Minecraft
Post by: XVicarious on September 24, 2011, 03:39:28 pm
It doesn't matter the location of the folder.  The batch script sets %APPDATA% to the current directory.  The mono wrapped application is a native linux executable, no mono required.  Its just that the application is a tad large (well not really large, but it won't be tiny).

I have no access to the source code right now.  Its not complicated at all.  Copy a JAR from the jar folder to the .minecraft/bin folder. Then call a script that launches minecraft.

edit: if anyone would mind writing a batch script for me that changes the location of the .minecraft folder to CD i could release a version right now for linux.
Title: Re: MCLauncher -- A Multiple Version Launcher For Minecraft
Post by: alberthrocks on September 24, 2011, 05:02:20 pm
edit: if anyone would mind writing a batch script for me that changes the location of the .minecraft folder to CD i could release a version right now for linux.
Very easy:
Code: [Select]
#!/bin/bash
APPDATA=$PWD # or `env pwd`
java -Xms1024M -Xmx1024M -jar minecraft.jar # "java" instead of "javaw"
Title: Re: MCLauncher -- A Multiple Version Launcher For Minecraft
Post by: BrownyTCat on September 24, 2011, 06:00:21 pm
I could make interface things like buttons but make them similar to MC's GUI if you need those.
I've got both 1.8 prereleases on my HD.
This looks like a nice program, I've been collecting legal Minecraft's jars (with and without various mods) since 1.5. :P
The download link appears to be broken though, due to an ellipsis being inserted into it. I most likely wouldn't be able to use it anyway since it looks like a Windows-only program and I'm using Linux. :/
If you have a good CPU, search for "minecraft water shader", that's a great mod.
Title: Re: MCLauncher -- A Multiple Version Launcher For Minecraft
Post by: XVicarious on September 24, 2011, 06:17:18 pm
thanks alberthrocks! I'll test it out and have a Linux version in a jiffy.
Title: Re: MCLauncher -- A Multiple Version Launcher For Minecraft
Post by: boot2490 on September 24, 2011, 07:28:54 pm
Why would you want to play an old version?
Title: Re: MCLauncher -- A Multiple Version Launcher For Minecraft
Post by: XVicarious on September 24, 2011, 08:07:38 pm
The real question is, why wouldn't you?

Annndd!!!! MCLauncherLinux: http://xvicario.us/getfile.php?f=mclauncher_linux.tar.gz

There is ONE bug. Just one... It will not download "minecraft.jar" for you :( You have to put the launcher in manually. I need to check out why this is doing what it does.
Title: Re: MCLauncher -- A Multiple Version Launcher For Minecraft
Post by: BrownyTCat on September 26, 2011, 06:31:02 pm
Why would you want to play an old version?
Historical Purposes and discontinued mods.
Title: Re: MCLauncher -- A Multiple Version Launcher For Minecraft
Post by: boot2490 on September 26, 2011, 07:59:03 pm
Ah. I see.