RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    Making Gambatte tell the difference between GB and GBColor

    Scheduled Pinned Locked Moved Help and Support
    gambattegame boyconfigs
    5 Posts 2 Posters 1.6k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      SpudsMcToole Banned
      last edited by SpudsMcToole

      How in the heck do you make Gambatte default to GBC for Game Boy Color games? I have my Color games as a separate platform, but Gambatte insists on trying to run them as mono GB games unless I save a separate config file for every individual game.

      The option is this one:

      gambatte_gb_hwmode = "GBC"
      

      (or)

      gambatte_gb_hwmode = "Auto"
      

      I tracked it down to /opt/retropie/configs/all/RETROARCH-CORE-OPTIONS.CFG, where it's set to "GB" because I don't want it dicking around trying to run standard GB games in Color mode unless I tell it to. I like 'em yellow.

      So if I have the line in, say, /opt/retropie/configs/all/retroarch/config/Gambatte/Muppets, The (U) [C][!].opt

      then The Muppets starts in GB Color mode and all is well.

      But how do I tell it to run EVERYTHING in the GB Color directory as a Color game?

      I've tried adding the line to /opt/retropie/configs/gbc/RETROARCH.CFG, which does nothing.

      I've tried adding it to /opt/retropie/configs/all/retroarch/config/Gambatte/GAMBATTE.CFG, which does nothing. (Tried it both with and without the "gambatte_" part.)

      I've tried adding it to /opt/retropie/configs/gbc/GAMBATTE_LIBRETRO.CFG, which does nothing.

      I've tried adding it to /opt/retropie/configs/gbc/RETROARCH-CORE-OPTIONS.CFG, which does nothing.

      I've tried setting the option in a game and then hitting "Save Core Overrides", which does nothing. The ONLY thing that works is making and saving an individual config file for each game, and there are hundreds of the damn things. Surely it must be possible?

      1 Reply Last reply Reply Quote 0
      • mituM
        mitu Global Moderator
        last edited by

        Ah, the dreaded 'same core for different systems' problem (not really, but why not add to the drama). The answer is simple - create a separate core options file for each system and add a configuration option in the system's retroarch.cfg to it.

        This post details a similar setup for Neogeo games.

        S 1 Reply Last reply Reply Quote 0
        • S
          SpudsMcToole Banned @mitu
          last edited by SpudsMcToole

          @mitu But that's what I thought I had done.

          I've got a RETROARCH-CORE-OPTIONS.CFG file in the /opt/retropie/configs/gb directory (with the setting on "GB") and one in the /opt/retropie/configs/gbc directory (with the setting on "GBC").

          And the EMULATORS.CFG file in each one points to the right directory, eg the one in the GBC directory says

          lr-gambatte = "/opt/retropie/emulators/retroarch/bin/retroarch -L /opt/retropie/libretrocores/lr-gambatte/gambatte_libretro.so --config /opt/retropie/configs/gbc/retroarch.cfg %ROM%"
          

          while the other one points to configs/gb.

          I've also got a GAMBATTE_LIBRETRO.CFG file in each directory, each with the setting set to the relevant GB/GBC option.

          And for good measure I added the line, suitably adjusted, to the RETROARCH.CFG files in both the configs/gb and configs/gbc folders too.

          What line am I missing where?

          mituM 1 Reply Last reply Reply Quote 0
          • mituM
            mitu Global Moderator @SpudsMcToole
            last edited by

            @SpudsMcToole Did you read the post carefully ?
            Besides creating a core options file for each system, you'll have to modify the retroarch.cfg for each system and add an additional line to point RA to that option file:

            core_options_path = "/opt/retropie/configs/gb/retroarch-core-options.cfg"
            

            and

            core_options_path = "/opt/retropie/configs/gbc/retroarch-core-options.cfg"
            

            I've got a RETROARCH-CORE-OPTIONS.CFG file in the /opt/retropie/configs/gb directory (with the setting on "GB") and one in the /opt/retropie/configs/gbc directory (with the setting on "GBC").

            That's fine.

            And the EMULATORS.CFG file in each one points to the right directory, eg the one in the GBC directory says

            That's already done by the RetroPie setup, so it's ok.

            I've also got a GAMBATTE_LIBRETRO.CFG file in each directory, each with the setting set to the relevant GB/GBC option.

            That doesn't have any effect, since it's not referenced anywhere.

            And for good measure I added the line, suitably adjusted, to the RETROARCH.CFG files in both the configs/gb and configs/gbc folders too.

            What line is that ? If it's the line you've copied from the options file, that has no effect - you already said that in the 1st post.

            S 1 Reply Last reply Reply Quote 0
            • S
              SpudsMcToole Banned @mitu
              last edited by

              @mitu said in Making Gambatte tell the difference between GB and GBColor:

              core_options_path =

              That was the bit I was missing. Never seen a "core_options_path =" line before. Thanks :)

              1 Reply Last reply Reply Quote 0
              • First post
                Last post

              Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.

              Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.