Recalbox for RaspberryJamma R2

Latest on ARpiCADE new releases, release notes, and history of previous versions.

Moderator: dee2eR

dee2eR
Inventor
Inventor
Posts: 1857
Joined: Tue Aug 22, 2017 2:07 pm

Re: Recalbox for RaspberryJamma R2

Post by dee2eR » Sat May 05, 2018 1:20 am

@Ouaibe
how did you set up the long hold start to exit emulators on this build? I'm having trouble figuring it out. If you're using xboxdrv like on ARpiCADE I can't seem to find the config.

User avatar
Ouaibe
Contributing Member
Contributing Member
Posts: 26
Joined: Fri Aug 25, 2017 3:07 pm
Location: Paris, France

Re: Recalbox for RaspberryJamma R2

Post by Ouaibe » Sat May 05, 2018 10:17 am

I'm using a modified recalbox python script whom listen to a particular GPIO pin (P1Start for instance) and execute a unix kill command if a time condition is triggered. There it is:

Code: Select all

#!/usr/bin/python
#Import libs
import RPi.GPIO as GPIO
import os
import time
#Set Environment
GPIO.setmode(GPIO.BCM)
GPIO.setwarnings(False)
GPIO.setup(3, GPIO.IN, pull_up_down=GPIO.PUD_UP)
#Code
try:
 while True:
  GPIO.wait_for_edge(3, GPIO.FALLING)
  pressedat = time.clock()
  while GPIO.input(3) == GPIO.LOW:
    releasedat = time.clock()
    if (releasedat - pressedat) >= 2.000:
      os.system("killall -9 retroarch mupen64plus glupen64 fba2x scummvm snes9x_next mame078 mame2003 mgba fba libretro fceunext cap32 stella prosystem hatari vice_x64 nxengine bluemsx reicast* PPSSPPSDL dosbox pcsx_rearmed gw lineapple fuse zx81 prboom uae4arm &> /dev/null")
      os.system("tvservice -e \"CEA 6 HDMI\" &> /dev/null")
  #Reset Control Vars
  releasedat = pressedat = 0
#Cleaning Gpio ports on Error or Exit
finally:
   GPIO.cleanup()
You'll find the file called "rpi-exit-emu-1b.py" in this folder: recalbox/scripts

Feel free to use anything you could find useful for your distro ;)

User avatar
Barbe
Community Member
Community Member
Posts: 11
Joined: Fri Feb 02, 2018 10:07 am

Re: Recalbox for RaspberryJamma R2

Post by Barbe » Thu Jul 12, 2018 9:38 pm

I've noticed screen tearing in MD games that have verticall scrollong, twinkle tale is a perfect example. There is a sollution?

Thanks for your great work.

User avatar
Ouaibe
Contributing Member
Contributing Member
Posts: 26
Joined: Fri Aug 25, 2017 3:07 pm
Location: Paris, France

Re: Recalbox for RaspberryJamma R2

Post by Ouaibe » Fri Jul 13, 2018 8:13 pm

Barbe wrote:
Thu Jul 12, 2018 9:38 pm
I've noticed screen tearing in MD games that have verticall scrollong, twinkle tale is a perfect example. There is a sollution?
I'll look into it when I'll be back from holidays ;-)

Cheers!
Last edited by Ouaibe on Sun Jul 15, 2018 7:26 am, edited 1 time in total.

User avatar
Barbe
Community Member
Community Member
Posts: 11
Joined: Fri Feb 02, 2018 10:07 am

Re: Recalbox for RaspberryJamma R2

Post by Barbe » Sat Jul 14, 2018 6:01 pm

Thanks in advance :mrgreen:

Phones
Community Member
Community Member
Posts: 11
Joined: Mon Oct 16, 2017 12:01 pm

Re: Recalbox for RaspberryJamma R2

Post by Phones » Mon Aug 06, 2018 9:36 pm

Awesome work! Would really love to try this out but it doesn't seem to work on my rpi3b+, it's not booting. I had the same problem with ARpiCade 3.7, it also did not boot (red led kept on flashing). Then I found out about 3.82 that had added support for rpi3b+ and now ARpicade works. My guess it's the same problem going on here. Any plans on adding support for rpi3b+?

User avatar
Ouaibe
Contributing Member
Contributing Member
Posts: 26
Joined: Fri Aug 25, 2017 3:07 pm
Location: Paris, France

Re: Recalbox for RaspberryJamma R2

Post by Ouaibe » Tue Aug 07, 2018 7:59 am

Any plans on adding support for rpi3b+?
Recalbox is not yet compatible with rpi3b+. Once it's available, i'll create a RaspberryJamma version of it. No ETA yet from the Recalbox team unfortunatly.

Phones
Community Member
Community Member
Posts: 11
Joined: Mon Oct 16, 2017 12:01 pm

Re: Recalbox for RaspberryJamma R2

Post by Phones » Tue Aug 07, 2018 9:46 am

Ouaibe wrote:
Tue Aug 07, 2018 7:59 am
Recalbox is not yet compatible with rpi3b+. Once it's available, i'll create a RaspberryJamma version of it. No ETA yet from the Recalbox team unfortunatly.
Ok, thanks :)

User avatar
dertieone
Community Member
Community Member
Posts: 14
Joined: Mon Feb 05, 2018 7:57 pm
Location: La Habra, CA

Re: Recalbox for RaspberryJamma R2

Post by dertieone » Sat Aug 18, 2018 6:12 pm

Is there a way to use this on a vertical cab?

How can I change the screen rotation settings?
:arrow: Don't ask me about first person shooters or 4k; ask me about side scrollers, platformers, 2d fighters, and schmups on a crt! 8-)

User avatar
Ouaibe
Contributing Member
Contributing Member
Posts: 26
Joined: Fri Aug 25, 2017 3:07 pm
Location: Paris, France

Re: Recalbox for RaspberryJamma R2

Post by Ouaibe » Mon Aug 20, 2018 7:56 pm

dertieone wrote:
Sat Aug 18, 2018 6:12 pm
Is there a way to use this on a vertical cab?

How can I change the screen rotation settings?
It should be possible, but i haven't tested it myself as i don't have TATE configuration at home. I'll check it in the comming days.

Post Reply