Jump to content
LaunchBox Community Forums

Recommended Posts

Posted (edited)

AFAIK, there is no straight up command line argument to load .opt files but you could use the --appendconfig <PATH_TO_ADDITIONAL_CUSTOM_CONFIG> cmd argument with the core_options_path = “PATH_TO_CUSTOM_OPTIONS as a line inside the ADDITIONAL_CUSTOM_CONFIG.cfg to override the options file, see -here-

Cheers :) 

Edited by Tsik
Posted (edited)

It is still loading the Genesis Plus GX.opt file after I followed the steps you provided above?

Sega Genesis TV.cfg

Cor opt.png

LaunchBox Emulator settings

LBsetting.png

LBwindow.png

Edited by crusadeRGP
Posted (edited)

@crusadeRGP

7 hours ago, crusadeRGP said:

LaunchBox Emulator settings

LBsetting.png

Check your command-line argument, with the --appendconfig you are pointing to the 'Sega Genesis TV.opt' you suppose to point it to straight to the 'Sega Genesis TV.cfg.' Remember 'Sega Genesis TV.cfg' is an 'appended' configuration so every line in there is replacing the equivalent line in the standard Retroarch.cfg but everything else is staying the same, that said you might not need the -c "config..." part at all if you use it only with these three changes/lines. 

This is how I use the --appendconfig function myself:

 RetroArchappendconfigcmd.thumb.png.0d87f76ea964dbb9c05ca78914cf1a8d.png

This way I can use the standard Retroach.cfg along side the For_LaunchBox.cfg to change some settings only when using it via LaunchBox.

Edit:
In the standard retroarch.cfg file this specific line looks like this by default (core_options_path = "") so that RetroArch can use the auto-override set by Core/Folder/Game_Name.
By appending yours [--appendconfig "...Sega Genesis TV.cfg"] this line (in red) is "replaced" temporarily by the new one core_options_path = ":\...\Sega Genesis TV.opt".

Long story short you are just appending the Sega Genesis TV.cfg for the changes so that the .cfg points to the specified .opt file.

Hope that this helps a bit more... 🙂

Edited by Tsik
  • 2 weeks later...
Posted (edited)

I'm pretty sure I've done everything you described with great detail and I thank you but it still loads the default Genesis Plus GX.opt for the core? I have managed to get the options file to load if I use appendconfig= but then it loads it as a game file into RetroArch and I get a blank screen?

 

option.thumb.png.d914f39cf2dc14ade8e55d812d92b39f.png

 

Append.thumb.png.281551b1ed9b670141ea1c2170664b2a.pngRetro1.thumb.png.bedefd9aeac248798b558055a063d2af.pngRtA.thumb.png.a1d6010275a0e8a798cd6338e8e39b19.png

Edited by crusadeRGP
Posted (edited)

Hey, look what I found as I was trying to reproduce your setup with Mega Drive/Genesis games!:

I've added the core_options_path = ":\config\Genesis Plus GX\CUSTOM OPTIONS.opt" to my own appended config file (which already works)
[with --appendconfig config\For_LaunchBox.cfg] which was just a copy  of  the original (Genesis Plus GX.opt) with a minor visual only change 
genesis_plus_gx_overscan = "disabled" changed to genesis_plus_gx_overscan = "top/bottom" so that I could see the effect immediately.

As long as the default Genesis Plus GX.opt  file (with  overscan = "disabled") is present, RetroArch is loading that file as the last options override BUT 
when I removed\renamed that default file then it reads the "CUSTOM OPTIONS.opt" from the appended cfg and saves\creates a new options Genesis Plus GX.opt but with the new\changed option genesis_plus_gx_overscan = "top/bottom" line in there!

Edit:
Perhaps you already know but as it says -here- the hierarchy for loading config files (which looks like is also applying to option files as well) is:
First {Game_Name}.opt then {Directory_Name}.opt then {Core_Name}.opt then {Override_Custom_Options}.opt but saved as {Core_Name}.opt if the last is not present to be loaded automatically in the first place.

So that is why :

8 hours ago, crusadeRGP said:

it still loads the default Genesis Plus GX.opt for the core?

Question:
What does the Sega Genesis TV stands for? Is it your Games directory name or just a file name you choose same name as the cfg you use?

Edited by Tsik

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...