Recalbox Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • recalbox.com
    • Gitlab repository
    • Documentation
    • Discord
    1. Home
    2. Choum
    • Profile
    • Following 0
    • Followers 0
    • Topics 3
    • Posts 74
    • Best 3
    • Controversial 0
    • Groups 0

    Choum

    @Choum

    8
    Reputation
    762
    Profile views
    74
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    Choum Unfollow Follow

    Best posts made by Choum

    • [Script] CLCD display on recalbox

      Recalbox-Clcd

      https://github.com/Choum28/Recalbox-Clcd

      alt text

      About

      Small script written in Python for Recalbox project ( http://recalbox.com/ )
      running on Raspberry Pi 2,3, which displays all necessary info on a 16x2 CLCD display
      You must scrap your rom to make this script work correctly when playing.

      Credits

      • Original version of the recalbox script from Godhunter74
      • Original project for retropie from zzeromin (https://github.com/zzeromin/RetroPie-Clcd)
      • Thanks to zzeromin smyani, zerocool, GreatKStar
      • Recalbox team http://www.recalbox.com

      Features

      • Current Date and Time
      • IP address of eth0, wlan0
      • CPU Temperature and Speed
      • Emulation and ROM informations
      • Daemon provide to manage start/stop of the script

      Development Environment

      • Raspberry Pi 3
      • Recalbox v4.1
      • 16x2 I2C HD447800 LCD (A00)

      Installation

      Raspberry Pi I2C GPIO Pinout

      1602 LCD + IIC/IC2, 16x2 HD44780A00 or HD44780A02 (A00 = Ascii + japanese fonts, A02 = Ascii + European fonts)

      Connection of the I2c to a raspberry pi 3

      alt text

      Scripts installation

      • connect in ssh to your recalbox and mount partition to rw mode
      mount -o remount, rw /
      
      • Copy
        recalbox_clcd.py
        recalbox_clcd_off.py
        I2C_LCD_driver.py
        lcdScroll.py
        to /recalbox/scripts folder with winscp for example

      • Copy
        S97LCDInfoText
        to /etc/init.d/

      • then give execute right on all file

      chmod +x /recalbox/scripts/recalbox_clcd_off.py
      chmod +x /recalbox/scripts/recalbox_clcd_off.py
      chmod +x /recalbox/scripts/I2C_LCD_driver.py
      chmod +x /recalbox/scripts/lcdScroll.py
      chmod +x /etc/init.d/S97LCDInfoText
      

      Activate I2C inside recalbox

      • Edit /etc/modules.conf
      • Add at the end of the file
      i2c-bcm2708
      i2c-dev
      
      • Edit the /boot/config.txt
        add at the end of line
      bcm2708.vc_i2c_override=1
      
      • reboot

      Check I2C address

      You should check your I2C address of 16x2 CLCD as this device can have different adress.
      Those are two address each other normally => 0x27 or 0x3f.

      Execute the following command (could take some time to complete)

      i2cdetect -y 1
      
           0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
      00:          -- -- -- -- -- -- -- -- -- -- -- -- --
      10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
      20: -- -- -- -- -- -- -- 27 -- -- -- -- -- -- -- --
      30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
      40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
      50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
      60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
      

      edit line #22 in I2C_LCD_driver.py in /recalbox/scripts with the correct adress show by the command (in this example :0x27).

      nano I2C_LCD_driver.py
      
      # LCD Address
      ADDRESS = 0x27 # or 0x3f
      

      Important note

      To make this script work with Scummvm, they should be scrap but the path in the gamelist.xml should be a folder and not the scummvm "fake file".

      <path>./FT/</path>
      instead of 
      <path>./FT/ft.scummvm</path>
      

      Reference

      https://forum.recalbox.com/topic/5777/relier-à-un-écran-et-afficher-du-texte/121

      screenshots

      alt text
      alt text
      alt text

      posted in Community projects
      Choum
      Choum
    • [Script Powershell] Liste des roms en doublons

      Bonjour,

      Ci-dessous un petit script PowerShell que j'ai crée pour trouver toutes les roms en doublon que j'avais sur ma recalbox (le script se base sur les nom renseigné dans le fichier gamelist.xml, donc il faut que les roms soit scrap).
      SI un doublon est trouvé il est affiché à l'écran puis stocker dans un fichier texte

      Pour le lancer via PowerShell :
      PowerShell.exe -ExecutionPolicy Bypass -File .\doublon.ps1

      Il dispose de trois arguments, la source (dossier roms de la recalbox), la destination (l'endroit ou est stocké le fichier de résultat), et système (si vous voulez scanner uniquement un dossier de rom précis, par défaut il scanne tout).

      Pour plus d'infos sur le script
      dans powershell
      Get-help doublon.ps1 -full

      Téléchargement
      https://mega.nz/#!eJtEQDDa!uhT6VlTaR40jqZX4fy7Yx2RYCG0hfnhpga3kNm-uMcs

      posted in Community projects
      Choum
      Choum
    • RE: [Script] CLCD display on recalbox

      I have add an entry to the French and English wiki.

      posted in Community projects
      Choum
      Choum

    Latest posts made by Choum

    • [PI4] HDMI non reconnu sur TV LG C2

      Bonjour,
      J'ouvre un topic après avoir demandé de l'aide sur le discord sans pour autant avoir résolu le problème.

      J'ai un recalbox pi 4 8gb (acheté lors de sa sortie).
      Après une installation fraiche de recalbox 8.1.1.

      Je n'ai pas de possibilité de sélectionner la sortie son HDMI, elle n'est pas visible dans la lilste des choix, je ne vois que les sorties analogique/ Jack.

      Le seul moyen que j'ai trouvé pour que la sortie son HDMI soit vu dans recalbox est de modifier le fichier \boot\config.txt en changeant :
      dtoverlay=vc4-kms-v3d en dtoverlay=vc4-fkms-v3d

      Après reboot, la sortie HDMI est visible et sélectionnable, cependant aucun son n'est émis.
      En décommentant hdmi_drive=2 dans \boot\recalbox-user-config.txt, le son fonctionne.

      Cependant à en croire le discord pour des raisons de stabilité et de performance, il ne faut pas utiliser le mode FKMS.

      Quelle solution reste t-il ?

      J'ai déjà testé sans succès les options suivantes :

      hdmi_safe=1 et hdmi_drive=2

      Dans recalbox-user-config.txt, l'ajout de :
      snd_bcm2835.enable_headphones=1 snd_bcm2835.enable_hdmi=1 snd_bcm2835.enable_compat_alsa=0

      hdmi_force_edid_audio=1
      hdmi_ignore_edid=0xa5000080
      forcer le global.videomode=CEA 16 HDMI
      hdmi_force_hotplug=1

      Autre point en kms, je ne vois pas les options permettant de changer la résolution d'affichage dans recalbox, je les voit en FKMS mais les choix possibles sont très très limité (640*480 etc...)

      posted in Recalbox General
      Choum
      Choum
    • RE: February 2019 Beta Version

      @recalbapt said in February 2019 Beta Version:

      @bkg2k Oui, sur le core 2003 et le core 2010, ça fonctionne sans souci.

      @bkg2k said in February 2019 Beta Version:

      @recalbapt Uniquement sur le core 2003plus?

      De souvnir, le problème vient d'une option qui n'a pas été ajusté correctement dans retroarch sous mame2003plus

      Quick menu -> Option -> Control mapping -> digital.
      SI c'est sur analog et digital, les manettes avec juste un D-pad ne fonctionne pas pour les déplacements.

      De plus sur ma manette Buffalo SNes j'ai été obligé de réassigner les touches sinon cela ne fonctionnait pas (je ne sais pas si c'est manette à un profil "automatique")

      posted in Testers's corner
      Choum
      Choum
    • RE: February 2019 Beta Version

      @voljega The path in the wiki is wrong for amiberry config by system.

      posted in Testers's corner
      Choum
      Choum
    • RE: Testers wanted: major system upgrade (Pi3b+, KODI 17 and much more ...)

      @paradadf I found the settings to change :

      Hotkey + B to open retroarch menu
      quick menu -> options -> input interface -> simultaneous

      After that you can open service mode for some roms with F2 on keyboard

      posted in Testers's corner
      Choum
      Choum
    • RE: Testers wanted: major system upgrade (Pi3b+, KODI 17 and much more ...)

      @choum said in Testers wanted: major system upgrade (Pi3b+, KODI 17 and much more ...):

      Hello !
      With the new core mame 2003 plus, what is the button to access service mode ?
      On mame 2003 it's F2, but on 2003 plus F2 do Nothing.

      Is it a problem only on my side, or service mode button has been forgotten on the beta for mame2003 + ?

      posted in Testers's corner
      Choum
      Choum
    • RE: Testers wanted: major system upgrade (Pi3b+, KODI 17 and much more ...)

      Hello !
      With the new core mame 2003 plus, what is the button to access service mode ?
      On mame 2003 it's F2, but on 2003 plus F2 do Nothing.

      posted in Testers's corner
      Choum
      Choum
    • RE: Testers wanted: major system upgrade (Pi3b+, KODI 17 and much more ...)

      @acris
      Ne pas tenir compte de ce que j'ai écrit sur picodrive, il semblerait que ce soit genesisplus qui bug/"ajoute" des sons parasites sur certaines roms (outrun master system), que je prenais pour des sons d'ambiance manquants.

      posted in Testers's corner
      Choum
      Choum
    • RE: Testers wanted: major system upgrade (Pi3b+, KODI 17 and much more ...)

      Sur la dernière beta avec un pi3 b+ :

      J'ai perdu au bout de quelques jours d'utilisation, le bon fonctionnement du script system.power.switch=PIN356ONOFFRESET avec un boitier mega pi (avec safe shutdown)
      Le bouton on/off ne fait plus rien , le bouton reset lui fonctionne correctement.
      Dans le recalbox.conf la ligne du power.switch est dupliqué 9fois (c'est un problème récurrent sur toutes les betas).
      J'ai déjà eu ce problème sur les anciennes betas et n'ai pas trouvé de solution.

      J'ai eu beaucoup de mal à appairer les manettes 8bitdo (SFC30pro et Nes30pro), (les manettes sont détecté mais l'apparaige échouait) après pas mal de redémarrage de la recalbox, c'est passé à un moment.

      Via la partie web impossible de sauvegarder les modifications de configurations lorsqu'une clef wifi contient des caractères spéciaux (message d'erreur, impossible de sauvegarder la configuration, testé avec une clef renseigné dans wifi2)

      Impossible de créer une archive du support avec un navigateur web (Edge)car rien n'est proposé au téléchargement et aucune archive visible dans le dossier save.

      Ci joint l'archive de support crée via putty : http://dl.free.fr/hZ82scqVj

      Autre question, pourquoi l'émulateur par défaut de la megadrive et de la mastersystem est picodrive et pas GenesisplusGX qui reste beaucoup plus performant ( picodrive a des problèmes de sons sur pas mal de roms ) ?

      posted in Testers's corner
      Choum
      Choum
    • RE: Testers wanted: major system upgrade (Pi3b+, KODI 17 and much more ...)

      @gaetan on putty :
      hcitool con -> To list gamepad mac adress

      You should see somthing like "ACL AA:BB:CC:DD:EE:FF handle 11 state 1 lm MASTER"

      Then
      l2ping AA:BB:CC:DD:EE:FF
      This will run a infinite ping on the gamepad each second.

      posted in Testers's corner
      Choum
      Choum
    • RE: Testers wanted: major system upgrade (Pi3b+, KODI 17 and much more ...)

      I don't use a dongle.

      I have made some try on SF2 Turbo snes.
      with the l2ping command (to see ping time from the gamepad)

      Internal Bluetooth with wifi on : 7.75ms
      Internal Bluetooth without wifi : 7.99ms
      tested during around 140s (2-3 round each)

      It seems that the input lag caused by wifi like on previous 3b model are gone on 3b+.

      posted in Testers's corner
      Choum
      Choum