Jump to content
LaunchBox Community Forums

Recommended Posts

Posted

Aargh, I just realized all of my PS2 games will not launch....I changed the games to launch LaunchBoxPCSX2.exe instead as advised and I get a 'loading generic profile' screen (see pic) and then the following error about unexpected parameter, then it fails to launch the emulator...

To fix it and launch a game, I unchecked the box to load Customs shows in the last image I attached here, but I don't want to do this individually for the many, many PS2 games I have...I cannot move the games into the PCSX2 folder, they are in the launchbox\games\ps2 folder...

How can I uncheck this option in bulk or otherwise fix this error with all my other games that have the check marked? Any help appreciated!

- Brett

ps2_1.JPG

ps2_2.JPG

ps2_3.JPG

Posted

I don't use LaunchBoxPCSX2.exe, but I imagine if you want to change something on mass for PS2 games, just do a find/replace all in the Sony Playstation 2.xml file

Posted
26 minutes ago, ckp said:

I don't use LaunchBoxPCSX2.exe, but I imagine if you want to change something on mass for PS2 games, just do a find/replace all in the Sony Playstation 2.xml file

Ahhh didn't even think of that...I just hope it lets me UNCHECK that checkbox somehow by doing that... (deleting the right line, etc), I'll try it...

Posted

I can't find anything in the XML that corresponds to deleting what is set under that checkbox in the emulator tab when I edit the game...I may have to delete all games (not roms!) and re-add without searching for metadata and see if that clears it...

Posted (edited)

in the ps2 xml on my install, I see that setting value here (example from Baldurs Gate Dark Alliance):

<CommandLine>--fullscreen --cfgpath="Game Configs\Baldurs Gate Dark Alliance"</CommandLine>

So, if it's not checked I'm guessing it would look like:

<CommandLine />

So, I think for find/replace you might need to use regex in Notepad++

 

Edited by ckp
Posted

Yes, I'm using notepad++ and I'm seeing this on every game:

<ConfigurationCommandLine>"L:\LaunchBox\Plugins\PCSX2 Configurator\Config Create.ahk" "L:\LaunchBox\Games\Sony Playstation 2\<GAME NAME HERE>  "L:\LaunchBox\Emulators\Pcsx2\LaunchBoxPCSX2.exe"</ConfigurationCommandLine>

The <GAME NAME HERE> part (that varies in each line) is messing me up trying to delete it and change it to:   <ConfigurationCommandLine />

Tips? :-P

Posted
4 minutes ago, cleverest said:

The <GAME NAME HERE> part (that varies in each line) is messing me up trying to delete it and change it to:   <ConfigurationCommandLine />

yeah, you'll need to figure out a regex to use which will match that whole line for each game (so, you know what each line starts with and ends with. you need to get anything in between as well)

Posted

I think this notepad++ find/replace using regex option for search mode should work:

find what:  <ConfigurationCommandLine>(.*)</ConfigurationCommandLine>

replace with:  <ConfigurationCommandLine />

 

make a copy of the xml file and test it first.

  • Like 1
Posted

Odd it worked, tried RUNE... I exited the game tried and other and it failed...tried the same one again that had worked before (Rune) and it fails, checked the EDIT / EMULATOR and it's back! :

--fullscreen "L:\LaunchBox\Plugins\PCSX2 Configurator\Config Create.ahk" "L:\LaunchBox\Emulators\Pcsx2\inis\Rune Viking Warlord"  "L:\LaunchBox\Emulators\Pcsx2\LaunchBoxPCSX2.exe"

...something keeps adding it?  I'm gonna delete all my references/files in PLUGINS that have to do with PCSX2 configurator....

Posted

Okay that seemed have fixed it, although each game I launch does say "Using Generic profile" as if using the addon, but I can live with that...not sure how I can use it though since I remove it, LOL

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...