This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2011-04-29 22:01:39

PythonLibrary
Scratcher
Registered: 2011-03-26
Posts: 100+

Batch Programming Help!

ssss linked me to a .jar file for Minecraft, as you might know, it doesn't work on Windows XP. So he linked me to a .BAT file, and it failed to load Minecraft. I have Minecraft.jar and Minecraft Loader.bat on my desktop. Help? Here is the code (I modded it for the original, because it would load a .exe and I have the .jar.)
CODE:

Code:

@ECHO OFF
color 4F
echo         GGGGGGGGGGGGG ZZZZZZZZZZZZZZZZZZZ
echo      GGG::::::::::::G Z:::::::::::::::::Z
echo    GG:::::::::::::::G Z:::::::::::::::::Z
echo   G:::::GGGGGGGG::::G Z:::ZZZZZZZZ:::::Z 
echo  G:::::G       GGGGGG ZZZZZ     Z:::::Z  
echo G:::::G                       Z:::::Z    
echo G:::::G                      Z:::::Z     
echo G:::::G    GGGGGGGGGG       Z:::::Z      
echo G:::::G    G::::::::G      Z:::::Z       
echo G:::::G    GGGGG::::G     Z:::::Z        
echo G:::::G        G::::G    Z:::::Z         
echo  G:::::G       G::::G ZZZ:::::Z     ZZZZZ
echo   G:::::GGGGGGGG::::G Z::::::ZZZZZZZZ:::Z
echo    GG:::::::::::::::G Z:::::::::::::::::Z
echo      GGG::::::GGG:::G Z:::::::::::::::::Z
echo         GGGGGG   GGGG ZZZZZZZZZZZZZZZZZZZ
echo `
echo !! Make sure this file is in the same folder as minecraft.jar !!
echo !! Make sure this file is in the same folder as minecraft.jar !!  
echo !! Make sure this file is in the same folder as minecraft.jar !!                     
echo 1 = Open minecraft with extra memory.
echo 2 = Open minecraft with extra memory and java monitor.

set /p m=  

if %m%==1 goto one
if %m%==2 goto two

:one
IF /I "%PROCESSOR_ARCHITECTURE:~-2%"=="64" "%ProgramFiles%\Java\jre6\bin\javaw.exe" -Xms512M -Xmx2048M -jar "%CD%\Minecraft.jar"
IF /I "%PROCESSOR_ARCHITECTURE:~-2%"=="86"  java -Xms512M -Xmx2048M -jar "%CD%\Minecraft.jar"
EXIT

:two
IF /I "%PROCESSOR_ARCHITECTURE:~-2%"=="64" "%ProgramFiles%\Java\jre6\bin\java.exe" -Xms512M -Xmx2048M -jar "%CD%\Minecraft.jar"
IF /I "%PROCESSOR_ARCHITECTURE:~-2%"=="86"  java -Xms512M -Xmx2048M -jar "%CD%\Minecraft.jar"
EXIT

For those who would like to download the original file, click the link below.
http://www.minecraftforum.net/viewtopic … p;t=271567
Please help! Ssss refuses to help.


http://dl.dropbox.com/u/9137793/Python%20Library%20logo.png
Our website: pylibrary.co.cc http://dl.dropbox.com/u/9137793/Awesomeness%20Block.gif

Offline

 

#2 2011-04-29 22:14:14

PythonLibrary
Scratcher
Registered: 2011-03-26
Posts: 100+

Re: Batch Programming Help!

Bump


http://dl.dropbox.com/u/9137793/Python%20Library%20logo.png
Our website: pylibrary.co.cc http://dl.dropbox.com/u/9137793/Awesomeness%20Block.gif

Offline

 

#3 2011-04-29 22:53:36

PythonLibrary
Scratcher
Registered: 2011-03-26
Posts: 100+

Re: Batch Programming Help!

Help!


http://dl.dropbox.com/u/9137793/Python%20Library%20logo.png
Our website: pylibrary.co.cc http://dl.dropbox.com/u/9137793/Awesomeness%20Block.gif

Offline

 

#4 2011-04-30 09:40:18

PythonLibrary
Scratcher
Registered: 2011-03-26
Posts: 100+

Re: Batch Programming Help!

Major Bump


http://dl.dropbox.com/u/9137793/Python%20Library%20logo.png
Our website: pylibrary.co.cc http://dl.dropbox.com/u/9137793/Awesomeness%20Block.gif

Offline

 

#5 2011-04-30 09:41:40

jfmlove6
Scratcher
Registered: 2010-12-20
Posts: 1000+

Re: Batch Programming Help!

Is it in the same folder as minecraft.jar?
Or it might just not work on that computer.


http://bbsimg.ngfiles.com/1/23337000/ngbbs4e84d18f6a0ee.jpg

Offline

 

#6 2011-04-30 09:44:38

PythonLibrary
Scratcher
Registered: 2011-03-26
Posts: 100+

Re: Batch Programming Help!

jfmlove6 wrote:

Is it in the same folder as minecraft.jar?
Or it might just not work on that computer.

Yes. They are both on the Desktop.


http://dl.dropbox.com/u/9137793/Python%20Library%20logo.png
Our website: pylibrary.co.cc http://dl.dropbox.com/u/9137793/Awesomeness%20Block.gif

Offline

 

#7 2011-04-30 09:51:26

jfmlove6
Scratcher
Registered: 2010-12-20
Posts: 1000+

Re: Batch Programming Help!

PythonLibrary wrote:

jfmlove6 wrote:

Is it in the same folder as minecraft.jar?
Or it might just not work on that computer.

Yes. They are both on the Desktop.

Sooo... There seprate?


http://bbsimg.ngfiles.com/1/23337000/ngbbs4e84d18f6a0ee.jpg

Offline

 

#8 2011-04-30 09:52:56

PythonLibrary
Scratcher
Registered: 2011-03-26
Posts: 100+

Re: Batch Programming Help!

jfmlove6 wrote:

PythonLibrary wrote:

jfmlove6 wrote:

Is it in the same folder as minecraft.jar?
Or it might just not work on that computer.

Yes. They are both on the Desktop.

Sooo... There seprate?

NO!


http://dl.dropbox.com/u/9137793/Python%20Library%20logo.png
Our website: pylibrary.co.cc http://dl.dropbox.com/u/9137793/Awesomeness%20Block.gif

Offline

 

#9 2011-04-30 09:54:14

jfmlove6
Scratcher
Registered: 2010-12-20
Posts: 1000+

Re: Batch Programming Help!

PythonLibrary wrote:

jfmlove6 wrote:

PythonLibrary wrote:


Yes. They are both on the Desktop.

Sooo... There seprate?

NO!

Got it.


http://bbsimg.ngfiles.com/1/23337000/ngbbs4e84d18f6a0ee.jpg

Offline

 

#10 2011-04-30 21:16:34

PythonLibrary
Scratcher
Registered: 2011-03-26
Posts: 100+

Re: Batch Programming Help!

Bump


http://dl.dropbox.com/u/9137793/Python%20Library%20logo.png
Our website: pylibrary.co.cc http://dl.dropbox.com/u/9137793/Awesomeness%20Block.gif

Offline

 

Board footer