PCSX2 / pcsx2

PCSX2 - The Playstation 2 Emulator
https://pcsx2.net
GNU General Public License v3.0
11.42k stars 1.59k forks source link

[BUG]: It won't run recognize game paths via script. #5206

Closed anchounio closed 2 years ago

anchounio commented 2 years ago

Describe the Bug

I cannot run anygame using scripts (bat files of autohotkeys files). For example, if I put this into a bat file:

pcsx2 ".\roms\Tekken 5 (USA).iso" --fullboot --fullscreen

pcsx2 will load the console bios instead.

If I manually type the same line in a cmd window, the game will run with no problems.

Reproduction Steps

Create a bat file trying to run a game, for example with this content:

pcsx2 ".\roms\Tekken 5 (USA).iso" --fullboot --fullscreen

make sure the command line used works manually. The bat file will not load the game, it will run the BIOS instead.

Expected Behavior

Bat file should open the game.

PCSX2 Revision

1.7.0-dev-1567-g21c13a850

Operating System

Windows 10 (64bit)

If Linux - Specify Distro

No response

F0bes commented 2 years ago

Can you try absolute paths

anchounio commented 2 years ago

Same problem with absolute paths.

anchounio commented 2 years ago

pcsx2 just doesn't like scripts.

ribolovac510 commented 2 years ago

Can't reproduce this issue on 1.7.2144, both absolute and relative paths work

https://user-images.githubusercontent.com/74596991/147278328-5671d9c6-367a-4182-9d54-9a401d3bf616.mp4

anchounio commented 2 years ago

It is working. This bug can be closed.

anchounio commented 2 years ago

It is working. This bug can be closed.