This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help with the emulator itself.
#5
(08-08-2012, 09:01 AM)montcer9012 Wrote: Right click on JPCSP x86 (32 bit version) .bat file and select edit on the context menu.

Code:
Copy the content of the bat file and paste here like a using the code function to make it easier to read

Okay..like this?

Code:
@echo off
set PATH=%PATH%;lib\;lib\windows-x86\

if NOT EXIST "%SystemRoot%\SysWOW64" goto JAVA32
set key=HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\JavaSoft\Java Runtime Environment
goto JAVA

:JAVA32
set key=HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Runtime Environment

:JAVA
set JAVA_VERSION=
set JAVA_HOME=
for /f "tokens=3* skip=2" %%a in ('reg query "%key%" /v CurrentVersion') do set JAVA_VERSION=%%a
for /f "tokens=2* skip=2" %%a in ('reg query "%key%\%JAVA_VERSION%" /v JavaHome') do set JAVA_HOME=%%b

if not exist "%JAVA_HOME%\bin\java.exe" goto JAVAMISSING
echo Running Jpcsp 32bit...
"%JAVA_HOME%\bin\java" -Xmx1024m -XX:MaxPermSize=128m -XX:ReservedCodeCacheSize=64m -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

Reply


Messages In This Thread
Help with the emulator itself. - by Vmigo - 08-08-2012, 08:29 AM
RE: Help with the emulator itself. - by Vmigo - 08-08-2012, 08:48 AM
RE: Help with the emulator itself. - by Vmigo - 08-08-2012, 09:03 AM
RE: Help with the emulator itself. - by Vmigo - 08-08-2012, 09:25 AM
RE: Help with the emulator itself. - by Vmigo - 08-08-2012, 09:39 AM
RE: Help with the emulator itself. - by Vmigo - 08-08-2012, 10:06 AM
RE: Help with the emulator itself. - by Vmigo - 08-08-2012, 10:30 AM

Forum Jump:


Users browsing this thread: 6 Guest(s)