Finally reach the beta stage with my project. Hope you guys like it.
Now i need to build a custom theme, since the latest recalbox has "SMALL SCREEN" themes, but the gamelist font stills VERY tiny... Unreadable.
image url)
Finally reach the beta stage with my project. Hope you guys like it.
Now i need to build a custom theme, since the latest recalbox has "SMALL SCREEN" themes, but the gamelist font stills VERY tiny... Unreadable.
image url)
![alt text]( image url)
I would like to present my new project. My 3D Printed tiny recalbox Arcade. with sanwa control, 3.5 screen (composite), sound, batteries, etc. Hope you guys like it !
(The shaft will be replaced by a shorter one soon).
I can´t wait for Recalbox 4.1 so the project will be "more" complete. And i have a question...Is it possible to have composite video working and auto-change to HDMI output when using the hdmi output ? My Romni arcade has a hdmi extension on the back, but when i plug it, the hdmi only show the first colored box on Pi boot then it goes to the composite... I followed the tutorials to have composite output, and maybe they FORCE the composite output... But i would like to be able to use the internal screen and the external monitor (hdmi). NOT at the same time of course...
Is that possible ?!
This is my first post on this forum. Glad to be here. :) Thanks !
More Pics ! BTW this project is not 100% finished on it´s design. It´s the Prototype #6 (6 case printed until now). So there´s some minor updates/differences between some pics.
This is the prototype #6 :
Some shots of the new Back with removable plate, so, i can use any different board, and have a more futureproof design. I just need to reprint the red plate to fit a new configuration for the board ports.
A shot of the front control pannel. With Power ON/Off button, Hotkey, Select and Start buttons.
I like the NEXT theme, but i can't see how to acess it to make a remix of the theme. I explain why... I use it on a 4.3 inch LCD screen. But even picking the "SMALL SCREEN" settings on the theme settings, the fonts used are VERY TINY.
It would be VERY nice to have a theme remix targeted to REALLY SMALL SCREENS devices as all the RaspBoyZero/Pi builds around. It's hard to find a good theme for those screens.
Finally reach the beta stage with my project. Hope you guys like it.
Now i need to build a custom theme, since the latest recalbox has "SMALL SCREEN" themes, but the gamelist font stills VERY tiny... Unreadable.
image url)
Sorry. I don´t know how to remove text formatting on this forum.
Reset Script only works ONE TIME - recalbox 4.1
Hey. I built my SNesPi. (RaspberryPi inside an original Nintendo Snes Case and i want to keep the use as intuitive and original as possible.
So, i 3Dprinted an internal support to a button that is pressed when i press the original EJECT button on SNES console... The plastic just press the button and it´s tied to the GPIO 1P START Button. I am using 2 SNES controllers over USB on the same PI. So the SNES controllers are 1P, 2P and the GPIO is configured as 3P.
Unfortunatelly (And i can´t imagine WHY this designed light that), retroarch only accepts Overall emulator Key Bindings on Player 1 Controller. :( That´s not good for my case, because it just ignore any input from Player 3 (Snes case buttons on GPIO as Player 3).
That said, i just checked that my EJECT button is working nicelly on REcalBox 4.1 and i noticed that now, there´s an handy EXIT Python script included to exit games just pressing START on GPIO ! That´s perfect for custom cases !
But i need an RESET button working too. So i got the code for RESET (Custom.sh + Python script) set everything and bam. It´s "working" but it only works one single time. I enter a game, for the first time after the boot. Press RESET on my snes (Wich is using GPIO (24) Button A) The rom is reseted on Retroarch (Network commands on), but if i just try it again, all the next resets are ignored. :(
I really don´t know what´s wrong...
I even monitored the Terminal on that Pi, acessing it over SSH, and everytime i Rock the RESET switch, the terminal shows "RESET" message. But retroarch ignores it... (After the first reset...)
This reset is the same as pressing HOTKEY + A on Retroarch on 1P controller... And it´s working everytime pressing on 1P gamepad... But i would love to see it working with the original RESET switch on SNES too... I just changed the original python script from GPIO 3 to GPIO 24 because its the one i have wired on the switch (but i can change it to any pin)
This is the custom.sh :
#!/bin/sh
#custom.sh
And the Python script :
import RPi.GPIO as GPIO
import time
import socket
IPADDR = "127.0.0.1"
PORTNUM = 55355
COMMAND = "RESET"
try: s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
except socket.error: print 'Failed to create socket' sys.exit()
GPIO.setmode(GPIO.BCM)
GPIO.setup(24, GPIO.IN, pull_up_down=GPIO.PUD_UP)
def exitEmulator(channel):
s.sendto(COMMAND, (IPADDR, PORTNUM))
GPIO.add_event_detect(24, GPIO.FALLING, callback=exitEmulator, bouncetime=500)
while True: time.sleep(10)
----------------------------------------------- '''
Any help ?
Finally my SnesPI has the "Eject' button working with this release. I don´t know why, but now i can press "Exit emulator" Combo Keys (Select + Start in my case) from any controller, not only from the 1P. That was one of my main issues before. But the Reset stills not working (It´s mapped as one of GPIO controller buttons, i guess Button 4 along with the Select + Start for having the eject working... But i can´t assign a new key on Retroarch coming from the Third Player (GPIO), it´s only getting Hotkey bindings from Player 1 controller (USB). So the reset isnt working i guess i will have to modify the hardware and make the reset do a combo press on SELECT (Hotkey) + A, so it will probably work across all emulators... I hope...
Check it working (EJECT button) https://www.instagram.com/p/BaNU30EHFxZ/?taken-by=msouza3d
Ahh quem quiser ver um preview do projeto, aqui tem um video curto -> https://www.instagram.com/p/BYR5rVLn7kc/?taken-by=msouza3d
Galera. Fiz um projeto de RecalBox num Pi aqui, tá ficando bem legal, e pra diferenciar e ser mais fiel, eu fiz conexões de todos os botões da case do SNES no GPIO, ou seja minha ideia é usar o RESET pra resetar ROM, e o EJECT pra sair dos jogos.
Fiz a parte do Hardware toda, tudo funcionando e sendo detectado. Porém eu estou usando os controles originais do SNES com um SNES>USB, portanto nos controles detectados ele mostra 2 controles USB + GPIO (Pq ativei o GPIO no Config)...
Dai vem meu problema... Descobri, pra minha tristeza que o Recalbox não aceita hotkeys de OUTROS controles que não seja o PLAYER 1 ?!?!? Me pegou de surpresa isso, achei sem noção... Sendo assim os botões da Case que estão usando o GPIO no Player 3 (que posso mudar pra 4 ou 5) não são aceitos !
Alguém teria uma solução pra isso ?? Tentei de tudo já... Quando tento configurar no RetroArch os botões da carcaça eles detactam normal no Player Bindings, mas não detectam no Special Bindings, que é onde tem Reset game, EXIT emulator, etc... Só aceita comandos do 1P...
Sacanagem. :( Uma "solução" que tava pensando, era mandar comandos de teclado fazendo um outro circuito que simule um teclado, mas putz, parece um exagero pra algo tão simples...
@substring said in exit button in controller without hotkey ?:
@jackalpret we have something that should be available with 4.1 to stop emulators with a GPIO button. @supernature2k can tell you more
That would be amazing. Specially for CaseMod projects. I want to use the Case buttons for reset and Eject roms... (SNES). Using GPIO buttons. But it seems impossible since it only accepts special commands on 1P controller.
@paradadf said in Using Hotkey from player 2, 3, or 4?:
Only P1 can use the HK and no, the NES controller simply doesn't have enough buttons, so you can't save any state with it.
Sorry to recall on a old thread, but i can´t find the solution for my problem and as recalbox is being used VERY often in Custom consoles i guess this should have an answer (or workaround)...
I´ve built a RaspberryPi3 inside a SNES. And i am using a SNES > USB converter to use the original USB ports. Both controllers are set and detected as USB gamepad 1 and 2. That's ok. But i´ve added some buttons on the SNES case to detect when they are used and act accordingly... So, i added a button on SNES RESET tied to GPIO (Joy1 any button)...
And I´ve added 2 extra buttons on the SNES Cartridge slot that are pressed at the same time when the EJECT button is pressed. I´ve wired those GPIO Joy1 HK, and GPIO Joy1 - START.
I thought that the Hotkeys are capture on any controller. But unfortunatelly after all this work, the SNES case buttons can´t work, because the hotkeys can only be captured on the first controller...
Is there a way to change that ? It´s so limiting this way, for this kind of CaseMod projects... I want to reset the Roms using the SNES RESET button (not the controller). And to keep using the Eject too, if possible... It whould be PERFECT.
I am back to this posts. Just to post a possible "solution" for my obvious question... A way to Auto-Switch between HDMI<>AV... It seems that this guy made a script that Detects the hdmi plug and switch the config settings...
Hope it works ...
https://github.com/superjamie/lazyweb/wiki/Raspberry-Pi-Display-Auto-Switching
@acris Hey.
I´ve changed the lines with hdmi_Force_hotplug=1 and then it worked, the recabox and games apearead over hdmi (video and audio) but now , even after unplugin the hdmi and turning off and on the system again, it´s sticked with hdmi output... The monitor i am using only turns on if some signal enters over the composite in... so it seems that pi isn´t sending composite signal anymore after i unplugged the hdmi cable. I will reverse the config edition to check...