RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login

    Super Gameboy emulation?

    Scheduled Pinned Locked Moved Ideas and Development
    gameboysnes
    43 Posts 15 Posters 26.0k 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.
    • mediamogulM
      mediamogul Global Moderator @Fultos
      last edited by mediamogul

      @Fultos

      It would require adding the Bsnes libretro core and normally the Raspberry Pi isn't powerful enough to run it. However, I wonder if this particular use case wouldn't be a little less demanding? If it did work, the launch option could be added just to GameBoy.

      retroarch -L {path to bsnes core} {path to snes rom} --subsystem sgb {path to gb rom}

      If anyone can point me in the right direction for information on compiling just a single libretro core, I'll be happy to try and test this out.

      RetroPie v4.5 • RPi3 Model B • 5.1V 2.5A PSU • 16GB SanDisk microSD • 512GB External Drive

      1 Reply Last reply Reply Quote 0
      • mediamogulM
        mediamogul Global Moderator
        last edited by

        I found this...

        https://github.com/libretro/RetroArch/wiki/Compilation-guide-(Linux)#building-libretro-cores

        I'll start looking into it sometime soon.

        RetroPie v4.5 • RPi3 Model B • 5.1V 2.5A PSU • 16GB SanDisk microSD • 512GB External Drive

        1 Reply Last reply Reply Quote 1
        • J
          Jareth247
          last edited by

          I would LOVE to see this, since so many of the games I have would look so much better.

          For one, in the GB version of Mighty Morphin Power Rangers (and MMPR: The Movie), only through Super Game Boy does the game give a character-specific palette, making the playable characters more distinctive. For example, when you play the Red Ranger, your sprite is red and as the Blue Ranger, your sprite is blue.

          Also, many games play much better, if not just sound and/or look better, in SGB mode.

          And iirc, many PC-based emulators (VisualBoy Advance) feature this.

          1 Reply Last reply Reply Quote 0
          • mediamogulM
            mediamogul Global Moderator
            last edited by mediamogul

            Anyone happen to know if I can just use the pre-compiled nightly binaries below?

            https://buildbot.libretro.com/nightly/linux/armhf/latest/

            I'm turning in for the night, but I got all the Bsnes cores listed there and tomorrow, unless I hear otherwise, I'll try the performance cores first. If they work out, I'll move on to accuracy.

            RetroPie v4.5 • RPi3 Model B • 5.1V 2.5A PSU • 16GB SanDisk microSD • 512GB External Drive

            1 Reply Last reply Reply Quote 0
            • mediamogulM
              mediamogul Global Moderator
              last edited by mediamogul

              Well, I've been working on this off and on all day and it seems close to working, but I've hit a brick wall.

              My launch command is:

              /opt/retropie/emulators/retroarch/bin/retroarch -L /home/pi/custom-binaries/lr-bsnes/bsnes_performance_libretro.so --verbose --config /opt/retropie/configs/gb/retroarch.cfg /home/pi/custom-binaries/lr-bsnes/Super\ Game\ Boy\ \(World\)\ \(Rev\ 2\).sfc --subsystem sgb "/home/pi/RetroPie/roms/gb/Donkey Kong (JUE) (v1.1).zip"

              It begins to launch and it gets pretty far:

              Parameters: 
              Executing: /opt/retropie/emulators/retroarch/bin/retroarch -L /home/pi/custom-binaries/lr-bsnes/bsnes_performance_libretro.so --verbose --config /opt/retropie/configs/gb/retroarch.cfg /home/pi/custom-binaries/lr-bsnes/Super\ Game\ Boy\ \(World\)\ \(Rev\ 2\).sfc --subsystem sgb "/home/pi/RetroPie/roms/gb/Donkey Kong (JUE) (v1.1).zip" --appendconfig /dev/shm/retroarch.cfg
              RetroArch [INFO] :: This is RetroArch version 1.4.1 (Git d8855ca)
              RetroArch [INFO] :: === Build =======================================
              Capabilities: NEON VFPv3 VFPv4 
              Built: Feb  4 2017
              RetroArch [INFO] :: Version: 1.4.1
              RetroArch [INFO] :: Git: d8855ca
              RetroArch [INFO] :: =================================================
              RetroArch [INFO] :: Config: loading config from: /opt/retropie/configs/gb/retroarch.cfg.
              RetroArch [INFO] :: Config: appending config "/dev/shm/retroarch.cfg"
              RetroArch [INFO] :: Loading dynamic libretro core from: "/home/pi/custom-binaries/lr-bsnes/bsnes_performance_libretro.so"
              RetroArch [INFO] :: [overrides] no core-specific overrides found at /home/pi/.config/retroarch/config/bsnes/bsnes.cfg.
              RetroArch [INFO] :: [overrides] no game-specific overrides found at /home/pi/.config/retroarch/config/bsnes/Super Game Boy (World) (Rev 2).cfg.
              RetroArch [INFO] :: Shaders: preset directory: /opt/retropie/emulators/retroarch/shader/presets
              RetroArch [INFO] :: Shaders: no game-specific preset found at /opt/retropie/emulators/retroarch/shader/presets/bsnes/Super Game Boy (World) (Rev 2).cgp.
              RetroArch [INFO] :: Shaders: no game-specific preset found at /opt/retropie/emulators/retroarch/shader/presets/bsnes/Super Game Boy (World) (Rev 2).glslp.
              RetroArch [INFO] :: Shaders: no core-specific preset found at /opt/retropie/emulators/retroarch/shader/presets/bsnes/bsnes.cgp.
              RetroArch [INFO] :: Shaders: no core-specific preset found at /opt/retropie/emulators/retroarch/shader/presets/bsnes/bsnes.glslp.
              RetroArch [INFO] :: Environ SET_SUBSYSTEM_INFO.
              RetroArch [INFO] :: Special game type: Super GameBoy
              RetroArch [INFO] ::   Ident: sgb
              RetroArch [INFO] ::   ID: 4356
              RetroArch [INFO] ::   Content:
              RetroArch [INFO] ::     GameBoy (required)
              RetroArch [INFO] ::     Super GameBoy BIOS (required)
              RetroArch [INFO] :: Special game type: Sufami Turbo
              RetroArch [INFO] ::   Ident: sufami
              RetroArch [INFO] ::   ID: 4355
              RetroArch [INFO] ::   Content:
              RetroArch [INFO] ::     Sufami A (optional)
              RetroArch [INFO] ::     Sufami B (optional)
              RetroArch [INFO] ::     Sufami BIOS (required)
              RetroArch [INFO] :: Special game type: BSX
              RetroArch [INFO] ::   Ident: bsx
              RetroArch [INFO] ::   ID: 4353
              RetroArch [INFO] ::   Content:
              RetroArch [INFO] ::     BSX ROM (required)
              RetroArch [INFO] ::     BSX BIOS (required)
              RetroArch [INFO] :: Special game type: BSX slotted
              RetroArch [INFO] ::   Ident: bsxslot
              RetroArch [INFO] ::   ID: 4354
              RetroArch [INFO] ::   Content:
              RetroArch [INFO] ::     BSX ROM (required)
              RetroArch [INFO] ::     BSX BIOS (required)
              RetroArch [INFO] :: Environ SET_CONTROLLER_INFO.
              RetroArch [INFO] :: Controller port: 1
              RetroArch [INFO] ::    SNES Joypad (ID: 1)
              RetroArch [INFO] ::    SNES Mouse (ID: 2)
              RetroArch [INFO] :: Controller port: 2
              RetroArch [INFO] ::    SNES Joypad (ID: 1)
              RetroArch [INFO] ::    SNES Mouse (ID: 2)
              RetroArch [INFO] ::    Multitap (ID: 257)
              RetroArch [INFO] ::    SuperScope (ID: 260)
              RetroArch [INFO] ::    Justifier (ID: 516)
              RetroArch [INFO] ::    Justifiers (ID: 772)
              RetroArch [INFO] :: Remaps: remap directory: /opt/retropie/configs/gb/
              RetroArch [INFO] :: Remaps: no game-specific remap found at /opt/retropie/configs/gb/bsnes/Super Game Boy (World) (Rev 2).rmp.
              RetroArch [INFO] :: Remaps: no core-specific remap found at /opt/retropie/configs/gb/bsnes/bsnes.rmp.
              RetroArch [INFO] :: Redirecting save file to "/home/pi/custom-binaries/lr-bsnes/Super Game Boy (World) (Rev 2).srm".
              RetroArch [INFO] :: Loading content file: /home/pi/custom-binaries/lr-bsnes/Super Game Boy (World) (Rev 2).sfc.
              RetroArch [INFO] :: Did not find a valid content patch.
              RetroArch [INFO] :: CRC32: 0x8a4a174f .
              RetroArch [INFO] :: Loading content file: /home/pi/RetroPie/roms/gb/Donkey Kong (JUE) (v1.1).zip.
              RetroArch [INFO] :: Environ SET_INPUT_DESCRIPTORS:
              RetroArch [INFO] :: 	RetroPad, User 1, Button "B (bottom)" => "B"
              RetroArch [INFO] :: 	RetroPad, User 1, Button "Y (left)" => "Y"
              RetroArch [INFO] :: 	RetroPad, User 1, Button "Select" => "Select"
              RetroArch [INFO] :: 	RetroPad, User 1, Button "Start" => "Start"
              RetroArch [INFO] :: 	RetroPad, User 1, Button "D-Pad Up" => "D-Pad Up"
              RetroArch [INFO] :: 	RetroPad, User 1, Button "D-Pad Down" => "D-Pad Down"
              RetroArch [INFO] :: 	RetroPad, User 1, Button "D-Pad Left" => "D-Pad Left"
              RetroArch [INFO] :: 	RetroPad, User 1, Button "D-Pad Right" => "D-Pad Right"
              RetroArch [INFO] :: 	RetroPad, User 1, Button "A (right)" => "A"
              RetroArch [INFO] :: 	RetroPad, User 1, Button "X (up)" => "X"
              RetroArch [INFO] :: 	RetroPad, User 1, Button "L" => "L"
              RetroArch [INFO] :: 	RetroPad, User 1, Button "R" => "R"
              RetroArch [INFO] :: 	RetroPad, User 2, Button "B (bottom)" => "B"
              RetroArch [INFO] :: 	RetroPad, User 2, Button "Y (left)" => "Y"
              RetroArch [INFO] :: 	RetroPad, User 2, Button "Select" => "Select"
              RetroArch [INFO] :: 	RetroPad, User 2, Button "Start" => "Start"
              RetroArch [INFO] :: 	RetroPad, User 2, Button "D-Pad Up" => "D-Pad Up"
              RetroArch [INFO] :: 	RetroPad, User 2, Button "D-Pad Down" => "D-Pad Down"
              RetroArch [INFO] :: 	RetroPad, User 2, Button "D-Pad Left" => "D-Pad Left"
              RetroArch [INFO] :: 	RetroPad, User 2, Button "D-Pad Right" => "D-Pad Right"
              RetroArch [INFO] :: 	RetroPad, User 2, Button "A (right)" => "A"
              RetroArch [INFO] :: 	RetroPad, User 2, Button "X (up)" => "X"
              RetroArch [INFO] :: 	RetroPad, User 2, Button "L" => "L"
              RetroArch [INFO] :: 	RetroPad, User 2, Button "R" => "R"
              RetroArch [INFO] :: 	RetroPad, User 3, Button "B (bottom)" => "B"
              RetroArch [INFO] :: 	RetroPad, User 3, Button "Y (left)" => "Y"
              RetroArch [INFO] :: 	RetroPad, User 3, Button "Select" => "Select"
              RetroArch [INFO] :: 	RetroPad, User 3, Button "Start" => "Start"
              RetroArch [INFO] :: 	RetroPad, User 3, Button "D-Pad Up" => "D-Pad Up"
              RetroArch [INFO] :: 	RetroPad, User 3, Button "D-Pad Down" => "D-Pad Down"
              RetroArch [INFO] :: 	RetroPad, User 3, Button "D-Pad Left" => "D-Pad Left"
              RetroArch [INFO] :: 	RetroPad, User 3, Button "D-Pad Right" => "D-Pad Right"
              RetroArch [INFO] :: 	RetroPad, User 3, Button "A (right)" => "A"
              RetroArch [INFO] :: 	RetroPad, User 3, Button "X (up)" => "X"
              RetroArch [INFO] :: 	RetroPad, User 3, Button "L" => "L"
              RetroArch [INFO] :: 	RetroPad, User 3, Button "R" => "R"
              RetroArch [INFO] :: 	RetroPad, User 4, Button "B (bottom)" => "B"
              RetroArch [INFO] :: 	RetroPad, User 4, Button "Y (left)" => "Y"
              RetroArch [INFO] :: 	RetroPad, User 4, Button "Select" => "Select"
              RetroArch [INFO] :: 	RetroPad, User 4, Button "Start" => "Start"
              RetroArch [INFO] :: 	RetroPad, User 4, Button "D-Pad Up" => "D-Pad Up"
              RetroArch [INFO] :: 	RetroPad, User 4, Button "D-Pad Down" => "D-Pad Down"
              RetroArch [INFO] :: 	RetroPad, User 4, Button "D-Pad Left" => "D-Pad Left"
              RetroArch [INFO] :: 	RetroPad, User 4, Button "D-Pad Right" => "D-Pad Right"
              RetroArch [INFO] :: 	RetroPad, User 4, Button "A (right)" => "A"
              RetroArch [INFO] :: 	RetroPad, User 4, Button "X (up)" => "X"
              RetroArch [INFO] :: 	RetroPad, User 4, Button "L" => "L"
              RetroArch [INFO] :: 	RetroPad, User 4, Button "R" => "R"
              RetroArch [INFO] :: 	RetroPad, User 5, Button "B (bottom)" => "B"
              RetroArch [INFO] :: 	RetroPad, User 5, Button "Y (left)" => "Y"
              RetroArch [INFO] :: 	RetroPad, User 5, Button "Select" => "Select"
              RetroArch [INFO] :: 	RetroPad, User 5, Button "Start" => "Start"
              RetroArch [INFO] :: 	RetroPad, User 5, Button "D-Pad Up" => "D-Pad Up"
              RetroArch [INFO] :: 	RetroPad, User 5, Button "D-Pad Down" => "D-Pad Down"
              RetroArch [INFO] :: 	RetroPad, User 5, Button "D-Pad Left" => "D-Pad Left"
              RetroArch [INFO] :: 	RetroPad, User 5, Button "D-Pad Right" => "D-Pad Right"
              RetroArch [INFO] :: 	RetroPad, User 5, Button "A (right)" => "A"
              RetroArch [INFO] :: 	RetroPad, User 5, Button "X (up)" => "X"
              RetroArch [INFO] :: 	RetroPad, User 5, Button "L" => "L"
              RetroArch [INFO] :: 	RetroPad, User 5, Button "R" => "R"
              [bsnes]: Markup SGB: cartridge region=NTSC
                rom name=program.rom size=0x41b78
                ram name=save.ram size=0x10000
                map id=rom address=00-7f,80-ff:8000-ffff mask=0x8000
                map id=ram address=70-7f,f0-ff:0000-7fff
              
              [bsnes]: Markup GB: cartridge
                board type=unknown
                rom name=program.rom size=0x40000
              
              [bsnes]: [Memory]: ID 7, Request "manifest.bml".
              [bsnes]: Complete load request.
              [bsnes]: [Memory]: ID 8, Request "program.rom".
              [bsnes]: Load ROM.
              [bsnes]: Complete load request.
              [bsnes]: [Memory]: ID 9, Request "save.ram".
              [bsnes]: Complete load request.
              [bsnes]: [Memory]: ID 6, Request "".
              [bsnes]: Complete load request.
              [bsnes]: [Memory]: ID 45, Request "manifest.bml".
              [bsnes]: Complete load request.
              [bsnes]: [Memory]: ID 46, Request "program.rom".
              [bsnes]: Complete load request.
              RetroArch [INFO] :: Skipping SRAM load..
              RetroArch [INFO] :: Version of libretro API: 1
              RetroArch [INFO] :: Compiled against API: 1
              RetroArch [INFO] :: Environ GET_OVERSCAN: 0
              RetroArch [INFO] :: Environ SET_PIXEL_FORMAT: XRGB8888.
              RetroArch [INFO] :: Set audio input rate to: 31987.82 Hz.
              RetroArch [INFO] :: Found shader "/opt/retropie/emulators/retroarch/shader/2xsal.glslp"
              RetroArch [INFO] :: Found shader "/opt/retropie/emulators/retroarch/shader/2xScaleHQ.glslp"
              RetroArch [INFO] :: Found shader "/opt/retropie/emulators/retroarch/shader/barrel-distortion.glslp"
              RetroArch [INFO] :: Found shader "/opt/retropie/emulators/retroarch/shader/barrel-distortion_lanczos4.glslp"
              RetroArch [INFO] :: Found shader "/opt/retropie/emulators/retroarch/shader/barrel-distortion_phosphor.glslp"
              RetroArch [INFO] :: Found shader "/opt/retropie/emulators/retroarch/shader/barrel-distortion_snes.glslp"
              RetroArch [INFO] :: Found shader "/opt/retropie/emulators/retroarch/shader/Brighter-with_Contrast.glslp"
              RetroArch [INFO] :: Found shader "/opt/retropie/emulators/retroarch/shader/bsnes_gamma_ramp.glslp"
              RetroArch [INFO] :: Found shader "/opt/retropie/emulators/retroarch/shader/crt-pi-curvature-vertical.glslp"
              RetroArch [INFO] :: Found shader "/opt/retropie/emulators/retroarch/shader/crt-pi-curvature.glslp"
              RetroArch [INFO] :: Found shader "/opt/retropie/emulators/retroarch/shader/crt-pi-vertical.glslp"
              RetroArch [INFO] :: Found shader "/opt/retropie/emulators/retroarch/shader/crt-pi.glslp"
              RetroArch [INFO] :: Found shader "/opt/retropie/emulators/retroarch/shader/gameboy-screen-grid.glslp"
              RetroArch [INFO] :: Found shader "/opt/retropie/emulators/retroarch/shader/gameboy.glslp"
              RetroArch [INFO] :: Found shader "/opt/retropie/emulators/retroarch/shader/gameboy2.glslp"
              RetroArch [INFO] :: Found shader "/opt/retropie/emulators/retroarch/shader/hq2x&lcd3x.glslp"
              RetroArch [INFO] :: Found shader "/opt/retropie/emulators/retroarch/shader/hq2x.glslp"
              RetroArch [INFO] :: Found shader "/opt/retropie/emulators/retroarch/shader/hq2x2.glslp"
              RetroArch [INFO] :: Found shader "/opt/retropie/emulators/retroarch/shader/hq2x_lcd3x.glslp"
              RetroArch [INFO] :: Found shader "/opt/retropie/emulators/retroarch/shader/hq2x_phosphor.glslp"
              RetroArch [INFO] :: Found shader "/opt/retropie/emulators/retroarch/shader/hq2xwaterpaint.glslp"
              RetroArch [INFO] :: Found shader "/opt/retropie/emulators/retroarch/shader/hq2xwaterpaintscanline.glslp"
              RetroArch [INFO] :: Found shader "/opt/retropie/emulators/retroarch/shader/hq4x.glslp"
              RetroArch [INFO] :: Found shader "/opt/retropie/emulators/retroarch/shader/hq4x_lcd3x.glslp"
              RetroArch [INFO] :: Found shader "/opt/retropie/emulators/retroarch/shader/nds.glslp"
              RetroArch [INFO] :: Found shader "/opt/retropie/emulators/retroarch/shader/nedi.glslp"
              RetroArch [INFO] :: Found shader "/opt/retropie/emulators/retroarch/shader/phosphor.glslp"
              RetroArch [INFO] :: Found shader "/opt/retropie/emulators/retroarch/shader/snes.glslp"
              RetroArch [INFO] :: Found shader "/opt/retropie/emulators/retroarch/shader/snes2.glslp"
              RetroArch [INFO] :: Found shader "/opt/retropie/emulators/retroarch/shader/snes_hq2x.glslp"
              RetroArch [INFO] :: Found shader "/opt/retropie/emulators/retroarch/shader/snes_hq2xwaterpaint.glslp"
              RetroArch [INFO] :: Found shader "/opt/retropie/emulators/retroarch/shader/snes_hq2xwaterpainthicontrast.glslp"
              RetroArch [INFO] :: Found shader "/opt/retropie/emulators/retroarch/shader/snes_hq2xwaterpaintscanline.glslp"
              RetroArch [INFO] :: Found shader "/opt/retropie/emulators/retroarch/shader/snes_lcd3x.glslp"
              RetroArch [INFO] :: Found shader "/opt/retropie/emulators/retroarch/shader/snes_phosphor.glslp"
              RetroArch [INFO] :: Found shader "/opt/retropie/emulators/retroarch/shader/snes_scanline.glslp"
              RetroArch [INFO] :: Found shader "/opt/retropie/emulators/retroarch/shader/snes_waterpaint.glslp"
              RetroArch [INFO] :: Found shader "/opt/retropie/emulators/retroarch/shader/stock.glsl"
              RetroArch [INFO] :: Found shader "/opt/retropie/emulators/retroarch/shader/super-2xsai.glslp"
              RetroArch [INFO] :: Found shader "/opt/retropie/emulators/retroarch/shader/super-eagle.glslp"
              RetroArch [INFO] :: Found shader "/opt/retropie/emulators/retroarch/shader/xbr-lv1-noblend.glslp"
              RetroArch [INFO] :: Video @ 897x672
              RetroArch [INFO] :: Starting threaded video driver ...
              RetroArch [INFO] :: [EGL]: EGL version: 1.4
              RetroArch [INFO] :: [EGL]: Current context: 0x1.
              RetroArch [INFO] :: Found GL context: videocore
              RetroArch [INFO] :: Detecting screen resolution 1920x1080.
              RetroArch [INFO] :: [EGL]: eglSwapInterval(1)
              RetroArch [INFO] :: [EGL]: eglSwapInterval(1)
              RetroArch [INFO] :: [GL]: Vendor: Broadcom, Renderer: VideoCore IV HW.
              RetroArch [INFO] :: [GL]: Version: OpenGL ES 2.0.
              RetroArch [INFO] :: GL: Using resolution 1920x1080
              RetroArch [INFO] :: [GL]: Default shader backend found: glsl.
              RetroArch [INFO] :: [Shader driver]: Using GLSL shader backend.
              RetroArch [WARN] :: [GL]: Stock GLSL shaders will be used.
              RetroArch [INFO] :: Found GLSL vertex shader.
              RetroArch [INFO] :: Shader log: Compiled
              RetroArch [INFO] :: Found GLSL fragment shader.
              RetroArch [INFO] :: Shader log: Compiled
              RetroArch [INFO] :: Linking GLSL program.
              RetroArch [INFO] :: Found GLSL vertex shader.
              RetroArch [INFO] :: Shader log: Compiled
              RetroArch [INFO] :: Found GLSL fragment shader.
              RetroArch [INFO] :: Shader log: Compiled
              RetroArch [INFO] :: Linking GLSL program.
              RetroArch [INFO] :: Found GLSL vertex shader.
              RetroArch [INFO] :: Shader log: Compiled
              RetroArch [INFO] :: Found GLSL fragment shader.
              RetroArch [INFO] :: Shader log: Compiled
              RetroArch [INFO] :: Linking GLSL program.
              RetroArch [INFO] :: Found GLSL vertex shader.
              RetroArch [INFO] :: Shader log: Compiled
              RetroArch [INFO] :: Found GLSL fragment shader.
              RetroArch [INFO] :: Shader log: Compiled
              RetroArch [INFO] :: Linking GLSL program.
              RetroArch [INFO] :: Found GLSL vertex shader.
              RetroArch [INFO] :: Shader log: Compiled
              RetroArch [INFO] :: Found GLSL fragment shader.
              RetroArch [INFO] :: Shader log: Compiled
              RetroArch [INFO] :: Linking GLSL program.
              RetroArch [INFO] :: Found GLSL vertex shader.
              RetroArch [INFO] :: Shader log: Compiled
              RetroArch [INFO] :: Found GLSL fragment shader.
              RetroArch [INFO] :: Shader log: Compiled
              RetroArch [INFO] :: Linking GLSL program.
              RetroArch [INFO] :: Found GLSL vertex shader.
              RetroArch [INFO] :: Shader log: Compiled
              RetroArch [INFO] :: Found GLSL fragment shader.
              RetroArch [INFO] :: Shader log: Compiled
              RetroArch [INFO] :: Linking GLSL program.
              RetroArch [INFO] :: Found GLSL vertex shader.
              RetroArch [INFO] :: Shader log: Compiled
              RetroArch [INFO] :: Found GLSL fragment shader.
              RetroArch [INFO] :: Shader log: Compiled
              RetroArch [INFO] :: Linking GLSL program.
              RetroArch [INFO] :: [GL]: Using 4 textures.
              RetroArch [INFO] :: [GL]: Loaded 1 program(s).
              RetroArch [INFO] :: Querying EGL extension: KHR_image => exists
              RetroArch [INFO] :: Using font rendering backend: freetype.
              RetroArch [INFO] :: Graphics driver did not initialize an input driver. Attempting to pick a suitable driver.
              RetroArch [INFO] :: [udev] Adding device /dev/input/event0 as type ID_INPUT_KEYBOARD.
              RetroArch [INFO] :: [udev] Adding device /dev/input/event1 as type ID_INPUT_MOUSE.
              RetroArch [INFO] :: [udev] Adding device /dev/input/mouse0 as type ID_INPUT_MOUSE.
              RetroArch [INFO] :: [udev]: Plugged pad: Logitech Logitech RumblePad 2 USB (1133:49688) on port #0.
              RetroArch [INFO] :: [udev]: Pad #0 (/dev/input/event2) supports force feedback.
              RetroArch [INFO] :: [udev]: Pad #0 (/dev/input/event2) supports 16 force feedback effects.
              RetroArch [INFO] :: Autodetect: 2 profiles found.
              RetroArch [INFO] :: Autodetect: selected configuration: /opt/retropie/configs/all/retroarch-joypads/LogitechLogitechRumblePad2USB.cfg
              RetroArch [INFO] :: Found joypad driver: "udev".
              RetroArch [INFO] :: ALSA: Using signed 16-bit format.
              RetroArch [INFO] :: ALSA: Period size: 384 frames
              RetroArch [INFO] :: ALSA: Buffer size: 1536 frames
              RetroArch [INFO] :: Loading history file: [/opt/retropie/configs/gb/content_history.lpl].
              RetroArch [INFO] :: Loading history file: [/opt/retropie/configs/gb/content_image_history.lpl].
              /opt/retropie/supplementary/runcommand/runcommand.sh: line 961:  2421 Segmentation fault      /opt/retropie/emulators/retroarch/bin/retroarch -L /home/pi/custom-binaries/lr-bsnes/bsnes_performance_libretro.so --verbose --config /opt/retropie/configs/gb/retroarch.cfg /home/pi/custom-binaries/lr-bsnes/Super\ Game\ Boy\ \(World\)\ \(Rev\ 2\).sfc --subsystem sgb "/home/pi/RetroPie/roms/gb/Donkey Kong (JUE) (v1.1).zip" --appendconfig /dev/shm/retroarch.cfg
              
              

              The problem seems to be at the bottom where it has a segmentation fault and then exits:

              /opt/retropie/supplementary/runcommand/runcommand.sh: line 961:  2421 Segmentation fault      /opt/retropie/emulators/retroarch/bin/retroarch -L /home/pi/custom-binaries/lr-bsnes/bsnes_performance_libretro.so --verbose --config /opt/retropie/configs/gb/retroarch.cfg /home/pi/custom-binaries/lr-bsnes/Super\ Game\ Boy\ \(World\)\ \(Rev\ 2\).sfc --subsystem sgb "/home/pi/RetroPie/roms/gb/Donkey Kong (JUE) (v1.1).zip" --appendconfig /dev/shm/retroarch.cfg
              

              Without knowing more about what this really means, I'm at an impasse for now.

              RetroPie v4.5 • RPi3 Model B • 5.1V 2.5A PSU • 16GB SanDisk microSD • 512GB External Drive

              1 Reply Last reply Reply Quote 0
              • mediamogulM
                mediamogul Global Moderator
                last edited by mediamogul

                Well, I'm satisfied now that this isn't going to work. I was finally able to get lr-bsnes-accuracy to reliably launch without crashing, only to be met with a black screen each time. After a little more research as to why this might be, I discovered that the Super GameBoy subsystem in RetroArch is simply broken on all Linux variants. What's more is that they've looked into it and have no idea why this is the case. So, unfortunately, Super GameBoy emulation is not happening on Raspberry RetroPie for the foreseeable future, but at least it won't be for a lack of trying.

                RetroPie v4.5 • RPi3 Model B • 5.1V 2.5A PSU • 16GB SanDisk microSD • 512GB External Drive

                1 Reply Last reply Reply Quote 0
                • fellegF
                  felleg
                  last edited by

                  Super GameBoy is the new Sega Saturn......... noooooooooo! :P

                  mediamogulM FultosF 2 Replies Last reply Reply Quote 1
                  • mediamogulM
                    mediamogul Global Moderator @felleg
                    last edited by mediamogul

                    @felleg

                    Ha! That may be more correct than you know. Even if it had run, there's no guarantee that lr-bsnes-accuracy would have operated at more than a few frames per second on the Pi.

                    RetroPie v4.5 • RPi3 Model B • 5.1V 2.5A PSU • 16GB SanDisk microSD • 512GB External Drive

                    FultosF 1 Reply Last reply Reply Quote 0
                    • FultosF
                      Fultos @felleg
                      last edited by

                      @felleg lol

                      1 Reply Last reply Reply Quote 0
                      • FultosF
                        Fultos @mediamogul
                        last edited by

                        @mediamogul at least you tried something :D

                        I'm glad someone took a fresh look at it, it seems so complicated to create an inception of emulation :P

                        I mean there's a couple of gameboy games which are not emulated at their full potential since it's a really-hard-tu-pull-off project.

                        mediamogulM 1 Reply Last reply Reply Quote 0
                        • mediamogulM
                          mediamogul Global Moderator @Fultos
                          last edited by

                          @Fultos

                          My hacked Wii runs an older version of VBA-M and emulates the Super GameBoy features very well. Support could even be found in lr-vba-next sometime before 2012. It seems to be an ability that's just falling between the cracks for the Pi at the moment. However, I'm sure the pieces will all come together again sometime in the future.

                          RetroPie v4.5 • RPi3 Model B • 5.1V 2.5A PSU • 16GB SanDisk microSD • 512GB External Drive

                          1 Reply Last reply Reply Quote 1
                          • M
                            MisterXen
                            last edited by MisterXen

                            Any update on this? As @mediamogul mentioned, I tried several games on the latest VBA-M Windows build from Github (2e8bee1) and found most of them run well with SGB and SGB2 (unable to play arcade version of Space Invader though). Wonder if lr-vba-next will add back this feature.

                            OmnijaO 1 Reply Last reply Reply Quote 0
                            • OmnijaO
                              Omnija @MisterXen
                              last edited by Omnija

                              @MisterXen Not sure, but i gave bsnes a try as well and ended up with the same black screen issue. still unclear to why since i don't receive the segment fault. Id assume it's probably a windows only feature or something rather.

                              Systems: Raspberry Pi 2
                              Overclocked: 1050 | 525 | 350 | 425 | 256
                              My Themes: Metro Theme | Simpler Turtlepi | Future Mini

                              mediamogulM 1 Reply Last reply Reply Quote 0
                              • mediamogulM
                                mediamogul Global Moderator @Omnija
                                last edited by

                                @Omnija

                                still unclear to why since i don't receive the segment fault.

                                The black screen and the segmentation fault aren't mutually exclusive. I was originally using an improper binary which lead to the fault. The libretro devs are also stumped as to the black screen, but with everything else on their plate, I don't think a lot of investigation has gone into it either.

                                @MisterXen

                                Wonder if lr-vba-next will add back this feature.

                                Based on the linked conversation, their decision seemed pretty resolute. A little full color 'Donkey Kong '94' would be really nice.

                                RetroPie v4.5 • RPi3 Model B • 5.1V 2.5A PSU • 16GB SanDisk microSD • 512GB External Drive

                                1 Reply Last reply Reply Quote 0
                                • XVOX
                                  XVO
                                  last edited by XVO

                                  I don't know if this is possible to add to retropie to try it out but I found a sgb emulator that possible could run on a rpi.
                                  realboy emulator

                                  1 Reply Last reply Reply Quote 0
                                  • HyruleslinkH
                                    Hyruleslink
                                    last edited by

                                    I did some searching around and found this Youtube user that found a workaround to get Super Game Boy working in Retroarch on Launchbox. Perhaps we could adapt some of what he did to make it work in Retropie.

                                    1 Reply Last reply Reply Quote 1
                                    • darkniorD
                                      darknior
                                      last edited by

                                      Hi. Some news about this feature on PI ? Because the last video was on PC always with BSNES.

                                      Today Launchbox release some video preview : https://forums.launchbox-app.com/topic/42189-emumovies-nintendo-super-game-boy-videos-released-v10/

                                      I think we must use the border trick ... with this pack of 100 games : https://www.dropbox.com/s/s16grwhmcov0w2b/105 SGB Borders Retroarch Wii.rar
                                      Or full here : https://retropie.org.uk/forum/topic/8664/super-gameboy-border-overlays-complete-set

                                      The game list with borders is here : https://www.wikiwand.com/en/List_of_Super_Game_Boy_games

                                      Life is game, just play it !

                                      mediamogulM 1 Reply Last reply Reply Quote 1
                                      • mediamogulM
                                        mediamogul Global Moderator @darknior
                                        last edited by mediamogul

                                        @darknior

                                        The borders are a great addition, but man would I love to emulate the game's color palettes, especially 'Donkey Kong '94'. We're in good company though. Nintendo themselves didn't include the ability to access those palettes from the Gameboy Color when it was released. If they had, the various emulators could likely make use of the color by using the GBC BIOS rather than having to emulate a SNES to get the job done. There's also the outlying feature of 'Space Invaders' having an arcade port that is only accessible from the Super GameBoy, but aside from the novelty, there's a million different ways to play that game more authentically these days.

                                        RetroPie v4.5 • RPi3 Model B • 5.1V 2.5A PSU • 16GB SanDisk microSD • 512GB External Drive

                                        darkniorD 1 Reply Last reply Reply Quote 1
                                        • darkniorD
                                          darknior @mediamogul
                                          last edited by

                                          @mediamogul Yes you are right, but i think it can be easier to use a GB emu with a trick to access this palette.
                                          It is not officially possible, but if SNES can, GBC emu can too.
                                          And if with border it make the trick it is almost perfect. Or maybe the GBC emu can show the border from rom too. And replace the Super Gameboy official menu.

                                          Life is game, just play it !

                                          mediamogulM 1 Reply Last reply Reply Quote 0
                                          • mediamogulM
                                            mediamogul Global Moderator @darknior
                                            last edited by

                                            @darknior

                                            That would certainly be fantastic. What kills me is the feature is lying under the hood of VBA-M and even existed at one point in lr-vbam. However, it was intentionally removed by the libretro guys along the way, so it must have had some gremlins. As I remember, it could even do the borders.

                                            RetroPie v4.5 • RPi3 Model B • 5.1V 2.5A PSU • 16GB SanDisk microSD • 512GB External Drive

                                            1 Reply Last reply Reply Quote 1
                                            • 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.