10-12-2010, 08:09 AM
(10-12-2010, 07:43 AM)winter01942 Wrote: Erm ~~ can you tell me where to find the -Xms in the batch file??
managed to open my batch file~~
this is wat is in it~~
_______________________________________________________________________________________________
@echo off
set PATH=%PATH%;lib\;lib\windows-x86\
if "%programfiles(x86)%XXX"=="XXX" goto JAVA32
if not exist "%programfiles(x86)%\Java\jre6\bin" goto JAVAMISSING
echo Running Jpcsp 32bit...
"%programfiles(x86)%\Java\jre6\bin\java" -Xmx1024m -Djava.library.path=lib/windows-x86 -jar bin/jpcsp.jar
goto END
:JAVA32
if not exist "%programfiles%\Java\jre6\bin" goto JAVAMISSING
echo Running Jpcsp 32bit...
"%programfiles%\Java\jre6\bin\java" -Xmx1024m -Djava.library.path=lib/windows-x86 -jar bin/jpcsp.jar
goto END
:JAVAMISSING
echo The required version of Java has not been installed or isn't recognized.
echo Go to http://java.sun.com to install the 32bit Java JRE.
pause
:END
_____________________________________________________________________________
JAVA MISSING?? i have it already
JAVAMISSING is a jump target, called in here:
Code:
if not exist "%programfiles(x86)%\Java\jre6\bin" goto JAVAMISSING
You have to add the -Xms here:
Code:
"%programfiles(x86)%\Java\jre6\bin\java" -Xmx1024m -Djava.library.path=lib/windows-x86 -jar bin/jpcsp.jar
and here:
Code:
"%programfiles%\Java\jre6\bin\java" -Xmx1024m -Djava.library.path=lib/windows-x86 -jar bin/jpcsp.jar
so it looks like this:
Code:
"%programfiles(x86)%\Java\jre6\bin\java" -Xms128m -Xmx1024m -Djava.library.path=lib/windows-x86 -jar bin/jpcsp.jar
and this:
Code:
"%programfiles%\Java\jre6\bin\java" -Xms128m -Xmx1024m -Djava.library.path=lib/windows-x86 -jar bin/jpcsp.jar
JPCSP games tested with Athlon X2 4850e, 4 GB RAM, Radeon HD 3300 (onboard), OpenGL: 3.3.11653, Windows XP SP3 32-bit
PPSSPP games tested with Intel i3, 4 GB RAM, Intel HD Graphics 2000 (onboard), OpenGL: 3.1.0 Build 6.14.10.5421, Windows XP SP3 32-bit
PPSSPP games tested with Intel i3, 4 GB RAM, Intel HD Graphics 2000 (onboard), OpenGL: 3.1.0 Build 6.14.10.5421, Windows XP SP3 32-bit