Better run.bat

View previous topic View next topic Go down

Better run.bat

Post by Jagge on Fri Mar 30, 2012 9:37 pm

Code:
@echo off
Title GameBefore Client V5.4
color 0c
echo **Auto-Detected System Type**
echo You may receive errors, but the game will load once your System Type is acquired.
java -Xmx500m client
echo **Auto-Detected System Type**
echo You may receive errors, but the game will load once your System Type is acquired.
"C:\Program Files (X86)\Java\jre6\bin\java.exe" -Xmx500m client
echo **Auto-Detected System Type**
echo You may receive errors, but the game will load once your System Type is acquired.
"C:\Program Files (X86)\Java\jre7\bin\java.exe" -Xmx500m client
pause
echo **Auto-Detected System Type**
echo You may receive errors, but the game will load once your System Type is acquired.
"C:\Program Files\Java\jre6\bin\java.exe" -Xmx300m client
echo **Auto-Detected System Type**
echo You may receive errors, but the game will load once your System Type is acquired.
"C:\Program Files\Java\jre7\bin\java.exe" -Xmx300m client
exit

Tries different java pathes, so there's only need for 1 run.bat, other's are useless. It will work for everyone.

Jagge
Mithril Member
Mithril Member

Posts : 31
Points : 2115
Join date : 2012-03-01

View user profile

Back to top Go down

Re: Better run.bat

Post by Bink on Sat Mar 31, 2012 2:01 am

Actually very handy! Thanks!

_________________


avatar
Bink
Server Owner
Server Owner

Posts : 185
Points : 2364
Join date : 2012-01-14
Age : 105
Location : Netherlands

View user profile http://Www.gamebefore.net

Back to top Go down

Re: Better run.bat

Post by Bink on Mon Apr 02, 2012 1:15 am

I fixed the code,

if you tried to close the client it started up again, then you have to close it again,

The code is now:

@echo off
Title GameBefore Client V5.5
color 0c
echo Welcome to GameBefore
echo Visit our forums! www.gamebefore.net
echo Also do not forget to vote for us!
echo -
echo Have a good time playing GameBefore!
echo -
java -Xmx500m client
exit
"C:\Program Files (X86)\Java\jre6\bin\java.exe" -Xmx500m client
exit
"C:\Program Files (X86)\Java\jre7\bin\java.exe" -Xmx500m client
exit
"C:\Program Files\Java\jre6\bin\java.exe" -Xmx300m client
exit
"C:\Program Files\Java\jre7\bin\java.exe" -Xmx300m client
exit


-

Will upload client soon!

_________________


avatar
Bink
Server Owner
Server Owner

Posts : 185
Points : 2364
Join date : 2012-01-14
Age : 105
Location : Netherlands

View user profile http://Www.gamebefore.net

Back to top Go down

Re: Better run.bat

Post by Sponsored content


Sponsored content


Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum