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
Running JPCSP bat file from another application
#1
Hi All,

I have created a custom front end for all my emulators and JPCSP is giving me a little bit of trouble. I have one "install" of jpcsp for each game I have because settings are different. I can double click on the bat file for any given install and it works fine, but if I run that bat file from my custom front end...it says
Error: Unable to access jarfile bin/jpcsp.jar

If I run the bat file from another bat file in a different location it works fine, so it does not appear to be a pathing issue and I know the command is right because I am simply calling the bat file in the JPCSX main directory.

Any advice?

I have attached a pic of the front end if anyone cares Smile

You click on the system at the top and the lower portion displays all the available games for that system. Click the game to launch it.

Thanks in advance


Attached Files Thumbnail(s)
   
Cooler Master HAF X Full Tower
ASRock Z97 Extreme4
EVGA GeForce GTX 970 4GB
EVGA SuperNOVA 850W
Intel Core i5-4690K - OC'ed to 4.5GHz
G.SKILL Ripjaws X 8GB DDR3 1600
CORSAIR Hydro H105
Indigo Xtreme 115X-XS Metallic TIM
Windows 7 SP1 64-bit
Reply
#2
You must add to the very beginning:
Code:
@ECHO OFF
CD /D %~DP0
[Image: montcer.png]
Reply
#3
(11-22-2012, 04:14 AM)montcer9012 Wrote: You must add to the very beginning:
Code:
@ECHO OFF
CD /D %~DP0
You...
are...
awesome!!!

Thank you!!!
Cooler Master HAF X Full Tower
ASRock Z97 Extreme4
EVGA GeForce GTX 970 4GB
EVGA SuperNOVA 850W
Intel Core i5-4690K - OC'ed to 4.5GHz
G.SKILL Ripjaws X 8GB DDR3 1600
CORSAIR Hydro H105
Indigo Xtreme 115X-XS Metallic TIM
Windows 7 SP1 64-bit
Reply
#4
(11-23-2012, 02:43 AM)haddockd Wrote:
(11-22-2012, 04:14 AM)montcer9012 Wrote: You must add to the very beginning:
Code:
@ECHO OFF
CD /D %~DP0
You...
are...
awesome!!!

Thank you!!!
Um how do you put the code?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)