Jump to content
LaunchBox Community Forums

Recommended Posts

  • 2 months later...
Posted (edited)

Hi guys ;)

Sorry to up this post, but is there a way to have the netplay retroarch on my rightclick? as i could see on youtube video from the version 8.0? I dont have this possibility on mine...

 

thanks for your help :)

 

Edit : Ok, i found whats wrong, i had to have a retroarch emulator configurate, as retroarch, not rename for my playlist

Edited by wildpumpk1n
Find a solution.
  • 6 years later...
Posted (edited)

I am trying to pass a core config to a specific core

image.thumb.png.6c288cf7c5faa98409c757df7b46e99c.png

 

 

within retroarch.cfg I have :
    core_options_path = ""
    global_core_options = "true"

 

 

I created a filed called Amstrad_GX4000_core-options.cfg and I placed in in retroarch_root\config\cap32\

In that file I have the following
    cap32_advanced_green_phosphor = "15"
    cap32_autorun = "enabled"
    cap32_combokey = "select"
    cap32_db_mapkeys = "enabled"
    cap32_floppy_sound = "enabled"
    cap32_gfx_colors = "16bit"
    cap32_keyboard_transparency = "disabled"
    cap32_lang_layout = "english"
    cap32_lightgun_input = "disabled"
    cap32_lightgun_show = "disabled"
    cap32_model = "6128+ (experimental)"
    cap32_ram = "128"
    cap32_retrojoy0 = "auto"
    cap32_retrojoy1 = "auto"
    cap32_scr_crop = "disabled"
    cap32_scr_intensity = "8"
    cap32_scr_tube = "color"
    cap32_statusbar = "onloading"

However it doesnt seem to take my core options I am passing it. What am I doing wrong?
Its seem to always want to take the options from 
retroarch_root\retroarch-core-options.cfg

 

Edited by xokia
Posted
4 hours ago, xokia said:

I am trying to pass a core config to a specific core

image.thumb.png.6c288cf7c5faa98409c757df7b46e99c.png

 

 

within retroarch.cfg I have :
    core_options_path = ""
    global_core_options = "true"

 

 

I created a filed called Amstrad_GX4000_core-options.cfg and I placed in in retroarch_root\config\cap32\

In that file I have the following
    cap32_advanced_green_phosphor = "15"
    cap32_autorun = "enabled"
    cap32_combokey = "select"
    cap32_db_mapkeys = "enabled"
    cap32_floppy_sound = "enabled"
    cap32_gfx_colors = "16bit"
    cap32_keyboard_transparency = "disabled"
    cap32_lang_layout = "english"
    cap32_lightgun_input = "disabled"
    cap32_lightgun_show = "disabled"
    cap32_model = "6128+ (experimental)"
    cap32_ram = "128"
    cap32_retrojoy0 = "auto"
    cap32_retrojoy1 = "auto"
    cap32_scr_crop = "disabled"
    cap32_scr_intensity = "8"
    cap32_scr_tube = "color"
    cap32_statusbar = "onloading"

However it doesnt seem to take my core options I am passing it. What am I doing wrong?
Its seem to always want to take the options from 
retroarch_root\retroarch-core-options.cfg

 

You global_core_options turned on so will take that as priority. I believe if you leave that on you will need to use the appendconfig option:

Screenshot2025-02-12195421.thumb.png.669908534a3948d58e9aec2aee39c521.png

 

 

Posted (edited)

OK this is all really confusing so if I set
global_core_options = "false"

Then it should take the files in presidence? Basically load up all 4 of those cfg files and apply the overrides based on the order of precedence?


My understanding of the precedence is
retroarch.cfg->core.cfg->directory.cfg->game.config The game.cfg being the highest precedence.

I can't seem to get it to do what I want. I have a single core that needs a different config based on what game platform its using. So I was trying to set the directory.cfg file

This is for
Amstrad CPC & Amstrad GX4000

So 

image.thumb.png.83bf29d7ec2f420ad986558d00bc01a2.png

I have a core.opt but not a game.opt

https://docs.libretro.com/guides/overrides/


Core options

  • name-of-game.opt If not found load
    • retroarch-core-options.cfg

Its starting "core" options and then proceeds to give you "game" options type-o maybe? IDK but these instructions are terrible. Its stating info about .opt files and then proceeds to describe .cfg files lets just gloss over the entire subject :( . I am going to proceed assuming that was meant to say "core.opt"

Moving on:

So I create a cap32.cfg (core) I put the following
cap32_advanced_green_phosphor = "15"
cap32_autorun = "enabled"
cap32_combokey = "select"
cap32_db_mapkeys = "enabled"
cap32_floppy_sound = "enabled"
cap32_gfx_colors = "16bit"
cap32_keyboard_transparency = "disabled"
cap32_lang_layout = "english"
cap32_lightgun_input = "disabled"
cap32_lightgun_show = "disabled"
cap32_model = "6128"
cap32_ram = "128"
cap32_retrojoy0 = "auto"
cap32_retrojoy1 = "auto"
cap32_scr_crop = "disabled"
cap32_scr_intensity = "8"
cap32_scr_tube = "color"
cap32_statusbar = "onloading"

Now I create a directory.cfg.......... Now I assume they mean the "game directory".cfg So I created Amstrad GX4000.cfg and a Amstrad CPC.cfg I have roms under both these directories. Arcade\Amstrad GX4000\roms\
within those I put
cap32_model = "6128+ (experimental)"
and
cap32_model = "6128"
respectively

and in the game.cfg file I am assuming launchbox creates those to put the bezels around the games. I didnt touch those

My Assumption is that is should take those in order and set the cap_model correctly.  But it does not work. So fricking frustrating. 

Edited by xokia
Posted (edited)

Folks please help I have been at this for 4 days now and ZERO combinations work as expected. I am at wits end 
I need to change the core model based on which system is running. This is under core options for the cap32 core

It refuses to take my custom config file and just uses the defaults

I need 
cap32_model="6128+(experimental)" if Amstrad GX4000 is selected
and
cap32_model="6128" if Amstrad CPC is select

image.thumb.png.4bd382c302322dc558cd37e6d6f2fc25.png

 

image.thumb.png.e519135bcbfb6798c574dcf12ed54c1e.png

I copied retroarch.cfg and made retroarch_CPC.cfg and retroarch_GX4000.cfg
in these 2 files I changed 2 parameters
core_options_path = ":\config\cap32\cap32_CPC.cfg"
global_core_options = "true"
 

and

core_options_path = ":\config\cap32\cap32_GX4000.cfg"
global_core_options = "true"

I have tried with  global_core_options = "true" or flase. Doesnt make a difference just changes where the default CFG gets saved. I read somewhere that if that wasnt set to true it wasn't picking up passed in custom configs. Wether that is correct or not I do not know. I have tried just about everthing and failed to this point.

within
cap32_GX4000.cfg I have cap32_model = "6128+ (experimental)"
cap32_CPC.cfg I have cap32_model = "6128)"

Nothing works the way it seems like it should, I tried turning on the retroarch debugger and that tool is utterly worthless. It states it loades the core and game and exits the core. Doesnt contain anything about what it loaded into the core.

 

Edited by xokia
Posted (edited)

I will just share my settings...which do work by the way! (For Amstrad CPC and for Amstrad GX4000)

In Launchbox, I do not pass any config at all to retroarch as it is not needed. As you can see from my settings :

LB-Retroarch.thumb.png.d8818e0ca8a0a1d43616fd867fbbee7c.png

In the retroarch.cfg (from the main folder) I have global_core_options = "false"

In the \RetroArch\config\cap32 directory I have the files which I zipped in cap32.zip

In the RetroArch\cores directory I have the cap32.dll from before 2022 cause it is tried and tested and later versions of that core never seemed to work for me.
It is in the attached cores.zip
As you can see in Retroarch I have locked this core (cap32_libretro.dll.lck) so when you update your cores in Retroarch, this core will be left unattended.

Cap32 version :
cap32-core.thumb.png.9bb385595ce1784ba8bd9624654defe5.png

Try this, and hopefully it should work for you.

 

 

cap32.zip cores.zip

Edited by launchretrogirl2562
  • Thanks 1
Posted (edited)

*update" so same issue the core does not change. I am wondering if its my version of retroarch? Maybe they changed something I am on v1.20.0. Thank you for trying to assist and providing your config.

IDK what the issue is at this point :/ I think I have an older version of retroarch on a drive somewhere I could try.

Edited by xokia
Posted

My version is 1.19.1 and with the configs i added, the core I added and the settings everything works.

My advice,...to troubleshoot...start with a whole new retroarch (1.19.1 or 1.20) install on a new folder.
Put my configs in the cap32 config folder, the 4.2.0 core in the cores folder...
Don't use the cfg arguments in LB, just use the configuration I showed.

That way you can rule out any other settings you might have made in your current Retroarch install. And work up from there.

 

  • Thanks 1
Posted (edited)

in retroarch.cfg this is the option that was preventing this from working. This was false in mine

game_specific_options = "true"

I appreciate you sharing your known good config. Everything works as expected now. Now on to mame :(
A lot of these emulators are pretty simple to get working but ...........some of these are a real PITA specially when they dont do what's expected. 

Edited by xokia
  • Like 1
Posted
On 2/17/2025 at 7:54 PM, xokia said:

in retroarch.cfg this is the option that was preventing this from working. This was false in mine

game_specific_options = "true"

I appreciate you sharing your known good config. Everything works as expected now. Now on to mame :(
A lot of these emulators are pretty simple to get working but ...........some of these are a real PITA specially when they dont do what's expected. 

just create a new post, and share which issues you are having with mame. Hopefully it will also solve your problems with mame.

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