Seems like you have something good going here, I've always been a portable apps fan myself going as far as making my own UIs and apps.
Awhile back I made a jar chooser/launcher (whoo hoo who hasn't right?) well the launcher doesn't require an install and I thought you might want to include it with minecraft portable, I still have all the vb source files so it can be modified all you like, I attempted to pass it on to another user but they didn't bother continuing it...
Its coded with the most basic of vb and its relatively light so its not some large undertaking, if you would like to take a look at the source send me a pm and ill link you to it.
Seems like you have something good going here, I've always been a portable apps fan myself going as far as making my own UIs and apps.
Awhile back I made a jar chooser/launcher (whoo hoo who hasn't right?) well the launcher doesn't require an install and I thought you might want to include it with minecraft portable, I still have all the vb source files so it can be modified all you like, I attempted to pass it on to another user but they didn't bother continuing it...
Its coded with the most basic of vb and its relatively light so its not some large undertaking, if you would like to take a look at the source send me a pm and ill link you to it.
Looks great, and good for use in school. Have downloaded. Thank you for putting your time and effort into making a tool like this that is efficient and easy to use.
Looks great, and good for use in school. Have downloaded. Thank you for putting your time and effort into making a tool like this that is efficient and easy to use.
Sorry, right now it stands that the mac launcher is just too unstable for release. I promise it will be out. It's one of the biggest problems that I'm working on right now.
Would It be possible to just make the .exe into a .jar? My school computers restrict use of foreign .exe's but allow the use of any executable .jar file.
Would It be possible to just make the .exe into a .jar? My school computers restrict use of foreign .exe's but allow the use of any executable .jar file.
I don't think that is possible. Well, I mean it is but it would take a hell of a long time work out, even for an experienced programmer. The biggest problem with my launcher is that it assumes you have control of the cmd. Does the computer you're trying to play Minecraft on have this setting? If not, then you probably couldn't play anyway.
A solution is to just run the raw batch code if you have command line access. If this isn't possible, my only other recommendation is to play minecraft locally. Here's how you can play:
In the minecraft portable folder there is a file called "minecraft.jar" It's not in the .minecraft folder, but it's in the same directory as this folder.
If you run that then you'll be able to play minecraft. If you want to play the game that you've saved onto your flash drive, simply move the ".minecraft" folder to your computer's default %APPDATA% folder.
I was about to say "Hey, I finally got something to do for free time in school!", but the computers in school restrict using .exe's. Meh. Still, I like.
Yeah, sorry. I'm glad you at least like the concept. While I'm not trying to promote playing Minecraft in school instead of, say, actual work portability implies that it will run on-the-go: A normal non-admin account can run this program without trouble. I'll try my best to by-pass this new problem while also trying not to break any laws. lol. We'll see how far I get.
I plan to re-write this launcher from batch (DOS Command line) to C++. This is more of a learning experience for me. I taught myself batch specifically because of this launcher, and I fully intend to teach myself C++ which from my understanding is much more complicated. I've already got a working setup in C++ and hope that by doing this that computers that block command line access will be able to run this.
If you are a C++ programmer and would like to help me out that'd be great; I need help with just about everything.
If you do want to help if you could please give examples that may or may not help me. For example, I want to use:
execl () but I don't know how to. I need this to run Minecraft. I've looked through other resources and I understand that there are other methods but execl seems to be the best option.
If you could help me with this launcher that'd be great.
I just need some help, is basically what I'm saying. I'm not ashamed of that.
If you could please help me this could get rid of one of the biggest problems of my launcher right now, which is being blocked by school computers. (Command Prompt)
I plan to re-write this launcher from batch (DOS Command line) to C++. This is more of a learning experience for me. I taught myself batch specifically because of this launcher, and I fully intend to teach myself C++ which from my understanding is much more complicated. I've already got a working setup in C++ and hope that by doing this that computers that block command line access will be able to run this.
If you are a C++ programmer and would like to help me out that'd be great; I need help with just about everything.
If you do want to help if you could please give examples that may or may not help me. For example, I want to use:
execl () but I don't know how to. I need this to run Minecraft. I've looked through other resources and I understand that there are other methods but execl seems to be the best option.
If you could help me with this launcher that'd be great.
I just need some help, is basically what I'm saying. I'm not ashamed of that.
If you could please help me this could get rid of one of the biggest problems of my launcher right now, which is being blocked by school computers. (Command Prompt)
i think you should learn C# instead of C++, C++ is getting old and C# is in my opinion more powerful
in C#, you simply need to use the Process.Start method, here's what i do
using System;
using System.Diagnostics;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace ProcessStartInfo_example
{
public partial class fm_main : Form
{
public fm_main()
{
InitializeComponent();
}
private void bt_execute_Click(object sender, EventArgs e)
{
string exepath = tb_pathbar.Text;
string aug1 = tb_aug1.Text;
string aug2 = tb_aug2.Text;
Process.Start(exepath, aug1 + " " + aug2);
//to execute anything (.bat, .jar, .exe), simply use the statement below:
//Process.Start(path to your file, arguments separated by a space)
//so an example on using the Process.Start method executing example.bat with arguments 100 and somearg would be
//Process.Start(example.bat, "100 somearg")
}
}
}
i think you should learn C# instead of C++, C++ is getting old and C# is in my opinion more powerful
in C#, you simply need to use the Process.Start method, here's what i do
using System;
using System.Diagnostics;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace ProcessStartInfo_example
{
public partial class fm_main : Form
{
public fm_main()
{
InitializeComponent();
}
private void bt_execute_Click(object sender, EventArgs e)
{
string exepath = tb_pathbar.Text;
string aug1 = tb_aug1.Text;
string aug2 = tb_aug2.Text;
Process.Start(exepath, aug1 + " " + aug2);
//to execute anything (.bat, .jar, .exe), simply use the statement below:
//Process.Start(path to your file, arguments separated by a space)
//so an example on using the Process.Start method executing example.bat with arguments 100 and somearg would be
//Process.Start(example.bat, "100 somearg")
}
}
}
Thanks for the reply. I only consider C++ because I have the compiler for it on my flash drive (Eclipse Portable). Everything that I do is done from my 8GB flash drive, Minecraft included.
Like I said earlier, I'm a big fan of portable apps.com.
Also, I've found the solution to my earlier described problem but thanks again for your input.
EDIT: Also, from what I now understand I believe that C# needs .NET framework to run, which would hinder my program since not ALL computers are guaranteed to have it. That is not something that I have the capacity to portabilize nor is that my goal. I want to portablize Minecraft, not the entire .NET framework. I'm not saying that it wouldn't get the job done because it obviously could and is definitely powerful enough too. I'm just saying that for portability reasons it's just not practical.
Dude, holy ****. That is long as ****. Yeah, i'm Chinese. I'm American born though. Anyways, back on topic, what you have encountered is a Java error (Although you probably already knew that.). Unfortunately I don't know much in terms of actual Java code. The only thing I can ask is that you try this again. If you don't have command access then you might be stuck because this entire launcher and all of it's functions are written in batch.
I don't know how to work around this at the moment, so try this again and if this doesn't work then I'll look into making this more non-admin friendly.
I don't think that C: access should matter. However, if that is preventing the script from running then I will try and work around that too.
The biggest problem that I see here is CMD restriction. If you encounter this error again then please post again.
From what I see it doesn't look like an error created by my launcher. Try running the minecraft.jar in my launcher. This is the client. If this works then it is my launcher, but if you encounter a similar error then it is most likely not my launcher and it is not something that I can help.
You can find the launcher in the Minecraft Portable Folder:
Change the drive letter to the letter of your flash drive.
Please reply asap with your results. If this is related to my launcher then this is a critical error and must be fixed immediately.
EDIT: From further examination of the code you have provided it seems as though you have changed the folder name and the location of portable java. If it is possible, I ask that you re-install both portableJava and Minecraft Portable in their pre-set locations as specified in the install instructions above. This is a problem that will be fixed in my next update. The batch has the java location hard-coded into it and must be in that specific location in order to work.
*Omfg, I just realized. I don't know why I missed this earlier, but I just realized that this entire script doesn't point you to my launcher, but rather NotTart's launcher. This has 2.6 on it. Not sure what difference this makes now, but if you're still running into problems you should contact NotTarts.
BUMP. I just finished Minecraft Portable Support for the Mac! I will upload this new Beta as Beta 3 and will be available for download ASAP (Meaning as soon as I get out of school lol.) IT WORKS. =D XD YEEEEESSSSSSSSSS!!!!!!!!!
EDIT: Nix that, I've still got a few kinks to work out. I also need to write the installer. Lol. Got ahead of myself. If you want a working copy of Minecraft Portable to use please PM me. It's 100% functional and will be out as soon as I write the installer for it.
-1st of sorry for the long and very silent wait. I don't want to keep you guys in the dark about my program so here's what's currently going on:
Minecraft Portable Mac works.
Minecraft Portable Win is being re-written from scratch in C++.
The PortableApps.com installer doesn't like that I have a (Mac) ".app" folder and refuses to incorporate it into my installation.
I need to write an installer that can run on macs.
If you guys could help me, especially with the one about installation creation on macs, that'd be much appreciated.
Again I'm sorry for leaving you guys like this. I also changed my post to match the up and coming updates but since I haven't uploaded them I look like a liar. Plus, they still need to be worked out. It's better to release a good product late then a crappy product early. Just look at Vista's reviews.
-2nd I've been away a while, and I'd be lying to you if I told you it was school. I just bought Fallout: New Vegas and I can't believe what I've been missing out on. It's actually really good and I'm hooked. I still play Minecraft a lot too but New Vegas has been eating up my time so I haven't given myself much time to work on Minecraft Portable. Sorrry for that guys. The only thing I can ask of you is that you be patient and understand.
Like I said earlier, the mac version works. If you would like a working copy, just PM me. I should note that the working version is still written in batch in terms of running it on windows, although that part is also more refined. The C++ version still has much more development before it ever becomes as useful as the batch version.
One more thing on the note of C++: If ANY of you could PLEASE tell me how to make the console of a C++ program not show up when you try to run the compiled program as stand-alone that'd be great. I'm currently using Eclipse C/C++. It's been driving me crazy.
Again, thanks for your patients and support of my program. (And for understanding)
I came across this lovely piece of programming a little while ago and I discovered that there appears to be an issue with the Adf.ly link to MP. I hoped you might be able to fix it, as I would really love to try it out. I'll probably send you a PM for the Mac version too since all my school's computers are Macs as well.
I came across this lovely piece of programming a little while ago and I discovered that there appears to be an issue with the Adf.ly link to MP. I hoped you might be able to fix it, as I would really love to try it out. I'll probably send you a PM for the Mac version too since all my school's computers are Macs as well.
What is the difference between your minecraft portable and the portable version given in the link above?
Thanks
Regards
Well the first difference is that mine isn't in french lol. All joking aside though I can't really say. I know that the above link that you provided gives a raw batch file, which is essentially what my program is. However, My launcher will work on macs, and that one, despite what it says, most likely does not work for macs. Batch files only run in Windows environments. Additionally, my launcher supports Portable Java.
As of right now all my launcher supports is Windows, but I do have a Beta that is hybrid: it works on macs and windows. If you'd like a working download please P.M. me and I'll send the link to you. The reason I offer this is because it does technically work and I need to work on the new installation and the admin rights problem on windows:
I'm re-writting this program from batch to C++. It's actually going pretty well but I do this so that any computers that don't like batch files will still be able to run this program.
Awhile back I made a jar chooser/launcher (whoo hoo who hasn't right?) well the launcher doesn't require an install and I thought you might want to include it with minecraft portable, I still have all the vb source files so it can be modified all you like, I attempted to pass it on to another user but they didn't bother continuing it...
Its coded with the most basic of vb and its relatively light so its not some large undertaking, if you would like to take a look at the source send me a pm and ill link you to it.
Otherwise just ignore this post. ^^
Sounds good. I'll pm you asap. Thanks.
Thanks. I'm glad you found my program useful. =D
Sorry, right now it stands that the mac launcher is just too unstable for release. I promise it will be out. It's one of the biggest problems that I'm working on right now.
Yes, you can install mods onto Minecraft and it will stay with you. :biggrin.gif:
Awesome! Now I can be an alchemist anywhere! :biggrin.gif:
I don't think that is possible. Well, I mean it is but it would take a hell of a long time work out, even for an experienced programmer. The biggest problem with my launcher is that it assumes you have control of the cmd. Does the computer you're trying to play Minecraft on have this setting? If not, then you probably couldn't play anyway.
A solution is to just run the raw batch code if you have command line access. If this isn't possible, my only other recommendation is to play minecraft locally. Here's how you can play:
In the minecraft portable folder there is a file called "minecraft.jar" It's not in the .minecraft folder, but it's in the same directory as this folder.
D = drive letter
D:\PortableApps\MinecraftPortable\App\Minecraft\minecraft.jar
If you run that then you'll be able to play minecraft. If you want to play the game that you've saved onto your flash drive, simply move the ".minecraft" folder to your computer's default %APPDATA% folder.
i.e.
C:\Users\<INSERT USERNAME HERE>\AppData\Roaming
Hope this helps.
Yeah, sorry. I'm glad you at least like the concept. While I'm not trying to promote playing Minecraft in school instead of, say, actual work portability implies that it will run on-the-go: A normal non-admin account can run this program without trouble. I'll try my best to by-pass this new problem while also trying not to break any laws. lol. We'll see how far I get.
If you are a C++ programmer and would like to help me out that'd be great; I need help with just about everything.
If you do want to help if you could please give examples that may or may not help me. For example, I want to use:
execl () but I don't know how to. I need this to run Minecraft. I've looked through other resources and I understand that there are other methods but execl seems to be the best option.
If you could help me with this launcher that'd be great.
I just need some help, is basically what I'm saying. I'm not ashamed of that.
If you could please help me this could get rid of one of the biggest problems of my launcher right now, which is being blocked by school computers. (Command Prompt)
i think you should learn C# instead of C++, C++ is getting old and C# is in my opinion more powerful
in C#, you simply need to use the Process.Start method, here's what i do
Thanks for the reply. I only consider C++ because I have the compiler for it on my flash drive (Eclipse Portable). Everything that I do is done from my 8GB flash drive, Minecraft included.
Like I said earlier, I'm a big fan of portable apps.com.
Also, I've found the solution to my earlier described problem but thanks again for your input.
the execl() command is formatted like this:
EDIT: Also, from what I now understand I believe that C# needs .NET framework to run, which would hinder my program since not ALL computers are guaranteed to have it. That is not something that I have the capacity to portabilize nor is that my goal. I want to portablize Minecraft, not the entire .NET framework. I'm not saying that it wouldn't get the job done because it obviously could and is definitely powerful enough too. I'm just saying that for portability reasons it's just not practical.
*Omfg, I just realized. I don't know why I missed this earlier, but I just realized that this entire script doesn't point you to my launcher, but rather NotTart's launcher. This has 2.6 on it. Not sure what difference this makes now, but if you're still running into problems you should contact NotTarts.
EDIT: Nix that, I've still got a few kinks to work out. I also need to write the installer. Lol. Got ahead of myself. If you want a working copy of Minecraft Portable to use please PM me. It's 100% functional and will be out as soon as I write the installer for it.
-1st of sorry for the long and very silent wait. I don't want to keep you guys in the dark about my program so here's what's currently going on:
If you guys could help me, especially with the one about installation creation on macs, that'd be much appreciated.
Again I'm sorry for leaving you guys like this. I also changed my post to match the up and coming updates but since I haven't uploaded them I look like a liar. Plus, they still need to be worked out. It's better to release a good product late then a crappy product early. Just look at Vista's reviews.
-2nd I've been away a while, and I'd be lying to you if I told you it was school. I just bought Fallout: New Vegas and I can't believe what I've been missing out on. It's actually really good and I'm hooked. I still play Minecraft a lot too but New Vegas has been eating up my time so I haven't given myself much time to work on Minecraft Portable. Sorrry for that guys. The only thing I can ask of you is that you be patient and understand.
Like I said earlier, the mac version works. If you would like a working copy, just PM me. I should note that the working version is still written in batch in terms of running it on windows, although that part is also more refined. The C++ version still has much more development before it ever becomes as useful as the batch version.
One more thing on the note of C++: If ANY of you could PLEASE tell me how to make the console of a C++ program not show up when you try to run the compiled program as stand-alone that'd be great. I'm currently using Eclipse C/C++. It's been driving me crazy.
Again, thanks for your patients and support of my program. (And for understanding)
--Matt Tam
a.k.a. Starport592
I came across this lovely piece of programming a little while ago and I discovered that there appears to be an issue with the Adf.ly link to MP. I hoped you might be able to fix it, as I would really love to try it out. I'll probably send you a PM for the Mac version too since all my school's computers are Macs as well.
Thanks, I'll attend to that asap.
EDIT: Fixed.
Well the first difference is that mine isn't in french lol. All joking aside though I can't really say. I know that the above link that you provided gives a raw batch file, which is essentially what my program is. However, My launcher will work on macs, and that one, despite what it says, most likely does not work for macs. Batch files only run in Windows environments. Additionally, my launcher supports Portable Java.
As of right now all my launcher supports is Windows, but I do have a Beta that is hybrid: it works on macs and windows. If you'd like a working download please P.M. me and I'll send the link to you. The reason I offer this is because it does technically work and I need to work on the new installation and the admin rights problem on windows:
I'm re-writting this program from batch to C++. It's actually going pretty well but I do this so that any computers that don't like batch files will still be able to run this program.
I hope I've answered all of your questions.
qhost-gen!i
Generic.dx!bc3d