Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Super Game Boy theme addition - Files included! #38

Open
1031982 opened this issue May 9, 2018 · 4 comments
Open

Super Game Boy theme addition - Files included! #38

1031982 opened this issue May 9, 2018 · 4 comments

Comments

@1031982
Copy link

1031982 commented May 9, 2018

With the latest build of lr-mgba supporting the Super Game Boy, I decided to add is as another system only to find out that there was not a theme for it.
Using Carbon as the base, I went ahead and made one for it. It's just as simple as the rest of Carbon, with the USA version of the Super Game Boy cartridge for the controller image.
Feel free to add it to the official theme, change it, etc. I thought it would be a nice addition.
Super Gameboy theme.zip

@7ank0v1c
Copy link

Love this, how do I add this to retro pie?

@1031982
Copy link
Author

1031982 commented Jan 15, 2023

All of this is based on accessing RetroPie over a network.
From what I remember, (it's been a while since I had to do anything with it) you copy the original theme into a new folder. I just called it carbin-custom. In the new copy folder, make a new folder labeled "sgb" without the quotes. Copy the new files into there.
Place the carbin-custom folder into the Retropie/configs/all/wmulationstation/themes folder.

Within the Retropie/configs folder, you need to make a new folder just like you did in the theme folder.
Now you need to take this file and extract the files into it.
sgb.zip

Now you need a custom gamelist file. Copy the original from /etc/emulationstation/es_systems.cfg to ~/.emulationstation/es_systems.cfg and open the file in whatever text editor you prefer.
Add the following lines after a line where </system> is that you want the new system placed.

  <system>
    <name>sgb</name>
    <fullname>Super Game Boy</fullname>
    <path>/home/pi/RetroPie/roms/sgb</path>
    <extension>.gb .gbc .zip .GB .GBC .ZIP</extension>
    <command>/opt/retropie/supplementary/runcommand/runcommand.sh 0 _SYS_ sgb %ROM%</command>
    <theme>sgb</theme>
  </system>

Finally, open the roms folder and make a new folder called "sgb" without quotes. Add whatever games you want into it like normal.
Restart Emulationstation or the whole system to enable it.

If anyone want's to clarify the instructions, please do.

@7ank0v1c
Copy link

7ank0v1c commented Jan 18, 2023

So after much trial and error, I managed to do it, with the help of your tutorial, and this one:
https://www.retropie.org.uk/docs/Add-a-New-System-in-EmulationStation/#step-32-launch-roms-with-the-shell-scripts

I however had to do work arounds as I was having many problems.

The main one was I couldn't edit anything inside the themes folder over SSH. So what I did was copy the theme to my computer desktop, make all the edits you suggested and then I added the folder to a USB Flash drive, and used 'File Manager' on RetroPie to copy the contents from /media/usb* (replace the Asterix is in place of the number port you out in the flash drive), then I pasted into /opt/retropie/configs/all/emulationstation/themes.

Super Gameboy theme.zip

Also once that was done, it didn't initially work (after restarting), I realised the 'theme.xml' file found in the main download of this page, was not populated. So I copied the original from my theme (carbon-2021) and pasted it back into my custom theme folder which I just copied to /opt/retropie/configs/all/emulationstation/themes, pressed overight and it now works like a charm.

Within the Retropie/configs folder, you need to make a new folder just like you did in the theme folder. Now you need to take this file and extract the files into it. sgb.zip

I also saw that the available emulators in the 'emulators.cfg' file you sent in the were only for mGBA, however I knew from other retroarch builds that BSnes also works, so I added that to the emulator config file in /configs/sgb/, by adding this below whatever is already there:
lr-bsnes = "/opt/retropie/emulators/retroarch/bin/retroarch -L /opt/retropie/libretrocores/lr-bsnes/bsnes_libretro.so --config /opt/retropie/configs/snes/retroarch.cfg %ROM%"

I made sure I added the bios in the bios folder and now I not only have the nice looking logos and themes on emulation station, but I also now have a correctly emulated SGB with the boot rom. However, I will add, Mgba does have faster emulation currently, although I would imagine it misses out on other things such as the sound which would be better on a SNES emulator, due to the SNES's better sound chip.

Thanks so much for the help, I now have a great system emulated on RetroPie =D
I only hope this gets added officially

@1031982
Copy link
Author

1031982 commented Jan 18, 2023

I did say it's been a while since I did anything with it.

I'm glad you got it working, and provided what you did for anyone else to be able to configure this. Happy gaming!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants