2016-03-23, 18:23
(2016-03-23, 18:08)Loto_Bak Wrote: Sure,
In rom collection browser code I added
/lib/launcher.py line 420
https://github.com/anarcat/romcollection...auncher.py
Code:romname_nospace = os.path.splitext(os.path.basename(rom))[0].replace(" ", "_")
emuParams = emuParams.replace('%romname_nospace%', romname_nospace )
emuParams = emuParams.replace('%ROMNAME_NOSPACE%', romname_nospace )
emuParams = emuParams.replace('%Romname_Nospace%', romname_nospace )
Be aware that python is white space aware! Make sure the indentation is correct otherwise you'll get errors.
My config.xml uses the options (from memory sorry!)
Code:--fullscreen --fullboot --cfgpath="c:\users\<username>\Documents\PCSX2\<config directory>\%ROMNAME_NOSPACE%.ini"
Thats from memory... I think thats right.
I forget the name of the <config directory> in the pcsx2 directory. Just look for the one with ini's in it.
The problem with this setup is that it makes a new config for each and every game.
this means the first time you run EVERY game the config screen pops up and you have to select a bios, change to 16:9 and configure the gfx plugin.
Its kind of a pain the first time you play each game but it allows custom configs when some games need different settings
I needed it for Need for Speed Hot Pursuit 2 which needs skipdraw:5
Hope that helps
*edit
Don't be tempted by the -cfg="file" setting. It does not store plugin settings which are the ones that need to be changed for some games.
Thanks. This could be modified to use RetroArch different configs when necessary.