Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
PCSX2 bat file crash
#1
Question 
Hi there people! I'm trying to make a bat file that starts up pcsx2 with a chosen iso but when I execute the bat file pcsx2 crashes with the message that it stopped working. Can someone give me some help?

The bat file is like this:
Code:
@echo off

start D:\PS2\JoyToKey\JoyToKey.exe

start /wait D:\PS2\pcsx2.exe "D:\PS2\Roms\MGS3.ISO"

taskkill /f /im JoyToKey.exe

exit

Thanks everyone!


Attached Files Thumbnail(s)
   
Reply

Sponsored links

#2
If memory serves I also had an issue with the start /wait when I first started my frontend. Once I removed it, I had no issues, although my bat file is much simpler than yours. Try navigating to the pcsx2 directory first and then run the command without the start \wait. Something like this:

Code:
cd\
c:
cd location of pcsx2 executable
pcsx2.exe "location of iso.iso"
Intel Core i5-8600K @ 4.5 GHz
GeForce GTX 1080 SC2 Stock
ASRock Z370 Taichi LGA 1151 mobo
CORSAIR Vengeance LPX 16GB 2400 DDR4 RAM
SAMSUNG 970 EVO M.2 2280 500GB PCIe SSD
Indigo Xtreme Thermal Interface Material
Phanteks Enthoo Pro ES614P Black Steel Case
EVGA SuperNOVA 750 G2 220-G2-0750-XR PSU
Windows 10 64-bit
Reply
#3
It worked, thanks a lot!
Code:
@echo off

start D:\PS2\JoyToKey\JoyToKey.exe

cd\
D:
cd D:\PS2
pcsx2.exe "D:\PS2\Roms\MGS3.iso"

taskkill /f /im JoyToKey.exe

exit
Reply
#4
No prob!

*looks at rep button* Smile
Intel Core i5-8600K @ 4.5 GHz
GeForce GTX 1080 SC2 Stock
ASRock Z370 Taichi LGA 1151 mobo
CORSAIR Vengeance LPX 16GB 2400 DDR4 RAM
SAMSUNG 970 EVO M.2 2280 500GB PCIe SSD
Indigo Xtreme Thermal Interface Material
Phanteks Enthoo Pro ES614P Black Steel Case
EVGA SuperNOVA 750 G2 220-G2-0750-XR PSU
Windows 10 64-bit
Reply
#5
Well deserved!
Reply




Users browsing this thread: 1 Guest(s)