Recalbox Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • recalbox.com
    • Gitlab repository
    • Documentation
    • Discord

    [RB7.0.1 + OdroidXU4 + AdvanceMame]

    Emulateurs Arcade/PC/Console
    [rb7.0.1 odroidxu4 advancemame]
    6
    64
    6957
    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.
    • Garden Dwarf
      Garden Dwarf last edited by

      @acris, voici le contenu du fichier advmame.rc.origin de mon RPI3b (il sert à la création du fichier advmame.rc) :

      dir_hi /recalbox/share/bios/advance
      dir_image /recalbox/share/roms/image
      dir_memcard /recalbox/share/saves/advance/memcard
      dir_nvram /recalbox/share/saves/advance/nvram
      dir_rom /recalbox/share/roms/mame
      dir_sample /recalbox/share/bios/advance/samples
      dir_snap /recalbox/share/screenshots
      dir_artwork /recalbox/share/overlays/advmame
      device_video_clock 5 - 50 / 15.62 / 50 ; 5 - 50 / 15.73 / 60
      display_aspect 16/7
      display_resizeeffect none
      device_mouse auto
      device_joystick auto
      misc_quiet yes
      misc_safequit no
      input_map[coin1] keyboard[0,7] or keyboard[0,5]
      input_map[coin2] keyboard[0,o] or keyboard[0,6]
      input_map[p1_button1] keyboard[0,lcontrol] or joystick_button[1,0]
      input_map[p1_button2] keyboard[0,lalt] or joystick_button[0,0]
      input_map[p1_button3] keyboard[0,space] or joystick_button[0,1]
      input_map[p1_button4] keyboard[0,lshift]
      input_map[p1_button5] keyboard[0,z]
      input_map[p1_button6] keyboard[0,x]
      input_map[p1_button7] keyboard[0,c]
      input_map[p1_button8] keyboard[0,v]
      input_map[p1_down] keyboard[0,down]
      input_map[p1_left] keyboard[0,left]
      input_map[p1_right] keyboard[0,right]
      input_map[p1_up] keyboard[0,up]
      input_map[p1_lightgunx] joystick[1,0,x] -joystick[1,1,x]
      input_map[p1_lightguny] joystick[1,0,y] -joystick[1,1,y]
      input_map[p2_button1] keyboard[0,a] or joystick_button[3,0]
      input_map[p2_button2] keyboard[0,s] or joystick_button[2,0]
      input_map[p2_button3] keyboard[0,q] or joystick_button[2,1]
      input_map[p2_button4] keyboard[0,w]
      input_map[p2_button5] keyboard[0,i]
      input_map[p2_button6] keyboard[0,k]
      input_map[p2_button7] keyboard[0,j]
      input_map[p2_button8] keyboard[0,l]
      input_map[p2_lightgunx] joystick[3,0,x] -joystick[3,1,x]
      input_map[p2_lightguny] joystick[3,0,y] -joystick[3,1,y]
      input_map[p2_down] keyboard[0,f]
      input_map[p2_left] keyboard[0,d]
      input_map[p2_right] keyboard[0,g]
      input_map[p2_up] keyboard[0,r]
      input_map[start1] keyboard[0,1]
      input_map[start2] keyboard[0,2]
      input_map[ui_cancel] keyboard[0,esc]
      input_map[ui_configure] keyboard[0,enter]
      input_map[ui_down] keyboard[0,down]
      input_map[ui_end] keyboard[0,c]
      input_map[ui_home] keyboard[0,space]
      input_map[ui_left] keyboard[0,left]
      input_map[ui_pause] keyboard[0,e]
      input_map[ui_right] keyboard[0,right]
      input_map[ui_select] keyboard[0,lcontrol]
      input_map[ui_up] keyboard[0,up]
      input_map[volume_down] keyboard[1,minus]
      input_map[volume_up] keyboard[1,equal]
      
      1 Reply Last reply Reply Quote 0
      • Pitch64
        Pitch64 Staff @acris last edited by

        @acris J'ai juste regarder le code qui définit le problème, faisant du code moi-même en Python, si je peux aider à trouver voire même à résoudre des bugs, ça ne me dérange pas 😉

        Pi4 8gb / Pi5 4gb / Pi02W / OGS / PC
        Next release? Soon™

        1 Reply Last reply Reply Quote 0
        • Garden Dwarf
          Garden Dwarf last edited by

          @acris @Pitch64 j'ai rapporté le problème (https://gitlab.com/recalbox/recalbox-configgen/-/issues/355). Comme j'ai expliqué plus haut, j'ai bidouillé pour avoir un paramètre qui fonctionne mais ça ne tient pas compte des valeurs autorisées, ni de la logique qui tourne autour (et qui est probablement expliquée dans de la documentation côté AdvanceMame).

          Il me reste donc mon souci d'upscale pour que le jeu prenne tout l'écran. Je vais voir si je trouve quelques pistes, mais je risque d'avoir besoin de vos lumières 😉

          1 Reply Last reply Reply Quote 0
          • olivierdroid92
            olivierdroid92 Global moderator last edited by olivierdroid92

            @Garden-Dwarf
            Merci pour ton retour
            je viens de tester sur XU4 et Pi3B plus
            J'ai attaché les logs à l'issue

            1 Reply Last reply Reply Quote 0
            • Garden Dwarf
              Garden Dwarf last edited by Garden Dwarf

              @olivierdroid92, l'erreur que tu as est la création du fichier log il me semble ... quel est le rapport avec mon problème ?

              Par contre si tu as un OdroidXU4 et que tu arrives à lancer un jeu, je suis curieux de voir si celui-ci va être étiré pour occuper tout l'écran ou bien si, comme moi, tu vas avoir une minuscule fenêtre avec le jeu. J'ai testé pas mal de choses (et comparé avec mon RPI3b avec lequel je n'ai pas de problème), et je commence à être à court d'idées ...

              1 Reply Last reply Reply Quote 0
              • olivierdroid92
                olivierdroid92 Global moderator last edited by

                retour à ES immédiatement après avoir lance un jeu.
                J'ai attaché le fichier complets de tous les logs

                Garden Dwarf 1 Reply Last reply Reply Quote 0
                • Garden Dwarf
                  Garden Dwarf @olivierdroid92 last edited by Garden Dwarf

                  @olivierdroid92, dans ce cas il faut que tu essayes de lancer le jeu via terminal en SSH.

                  Dans ton log tu as la commande qui est lancée, et on voit qu'il y a un problème à la création du log (je ne parle pas du log es_launch, mais bien du log advmame.log). Si tu enlèves le paramètre "-log" de la commande et que tu la lances en ligne de commande, tu devrais voir une indication du problème. En ssh, essayes ça :

                  LANG=en_US.UTF-8 TERM=linux SHELL=/bin/sh CONSOLE=/dev/console SDL_VIDEO_EGL_DRIVER=/usr/lib/libGLESv2.so SHLVL=3 dev=/dev/mmcblk0p1 PWD=/ SDL_VIDEO_GL_DRIVER=/usr/lib/libGLESv2.so PREVLEVEL=N RUNLEVEL=S PATH=/sbin:/usr/sbin:/bin:/usr/bin SDL_NOMOUSE=1 HOME=/recalbox/share/system _=/usr/bin/python INIT_VERSION=sysvinit- /usr/bin/advmame -cfg /recalbox/share/system/configs/advancemame/advmame.rc toki
                  

                  Note: j'ai juste enlevé le paramètre "-log". Ta commande d'origine (si tu veux re-tester) est celle-ci :

                  LANG=en_US.UTF-8 TERM=linux SHELL=/bin/sh CONSOLE=/dev/console SDL_VIDEO_EGL_DRIVER=/usr/lib/libGLESv2.so SHLVL=3 dev=/dev/mmcblk0p1 PWD=/ SDL_VIDEO_GL_DRIVER=/usr/lib/libGLESv2.so PREVLEVEL=N RUNLEVEL=S PATH=/sbin:/usr/sbin:/bin:/usr/bin SDL_NOMOUSE=1 HOME=/recalbox/share/system _=/usr/bin/python INIT_VERSION=sysvinit- /usr/bin/advmame -log -cfg /recalbox/share/system/configs/advancemame/advmame.rc toki
                  
                  1 Reply Last reply Reply Quote 0
                  • olivierdroid92
                    olivierdroid92 Global moderator last edited by olivierdroid92

                    @Garden-Dwarf said in [RB7.0.1 + OdroidXU4 + AdvanceMame]:

                    LANG=en_US.UTF-8 TERM=linux SHELL=/bin/sh CONSOLE=/dev/console SDL_VIDEO_EGL_DRIVER=/usr/lib/libGLESv2.so SHLVL=3 dev=/dev/mmcblk0p1 PWD=/ SDL_VIDEO_GL_DRIVER=/usr/lib/libGLESv2.so PREVLEVEL=N RUNLEVEL=S PATH=/sbin:/usr/sbin:/bin:/usr/bin SDL_NOMOUSE=1 HOME=/recalbox/share/system _=/usr/bin/python INIT_VERSION=sysvinit- /usr/bin/advmame -cfg /recalbox/share/system/configs/advancemame/advmame.rc toki

                    Nope

                    login as: root
                    root@192.168.1.121's password:
                    # LANG=en_US.UTF-8 TERM=linux SHELL=/bin/sh CONSOLE=/dev/console SDL_VIDEO_EGL_DRIVER=/usr/lib/libGLESv2.so SHLVL=3 dev=/dev/mmcblk0p1 PWD=/ SDL_VIDEO_GL_DRIVER=/usr/lib/libGLESv2.so PREVLEVEL=N RUNLEVEL=S PATH=/sbin:/usr/sbin:/bin:/usr/bin SDL_NOMOUSE=1 HOME=/recalbox/share/system _=/usr/bin/python INIT_VERSION=sysvinit- /usr/bin/advmame -cfg /recalbox/share/system/configs/advancemame/advmame.rc toki
                    Invalid argument 'no' for option 'display_resize' in file '/recalbox/share/system/configs/advancemame/advmame.rc'
                    Valid values are 'none', 'integer', 'fractional', 'mixed'
                    #
                    
                    
                    Garden Dwarf 1 Reply Last reply Reply Quote 0
                    • olivierdroid92
                      olivierdroid92 Global moderator last edited by

                      @olivierdroid92 said in [RB7.0.1 + OdroidXU4 + AdvanceMame]:

                      display_resize

                      et avec none pour display_resize

                      Ca donne ca :

                      
                      # LANG=en_US.UTF-8 TERM=linux SHELL=/bin/sh CONSOLE=/dev/console SDL_VIDEO_EGL_DRIVER=/usr/lib/libGLESv2.so SHLVL=3 dev=/dev/mmcblk0p1 PWD=/ SDL_VIDEO_GL_DRIVER=/usr/lib/libGLESv2.so PREVLEVEL=N RUNLEVEL=S PATH=/sbin:/usr/sbin:/bin:/usr/bin SDL_NOMOUSE=1 HOME=/recalbox/share/system _=/usr/bin/python INIT_VERSION=sysvinit- /usr/bin/advmame -cfg /recalbox/share/system/configs/advancemame/advmame.rc toki
                      Creating AdvanceMAME standard configuration file...
                      Configuration file `/recalbox/share/system/.advance/advmame.rc' created with all the default options.
                      
                      The default rom search path is `/recalbox/share/roms/mame/Mame0.106'.
                      You can change it using the `dir_rom' option in the configuration file.
                      
                      
                      1 Reply Last reply Reply Quote 0
                      • olivierdroid92
                        olivierdroid92 Global moderator last edited by

                        ce qui est rigolo c'est que j'entends le son du jeu TOKI mais que l'image reste sur ES

                        1 Reply Last reply Reply Quote 0
                        • Garden Dwarf
                          Garden Dwarf @olivierdroid92 last edited by Garden Dwarf

                          @olivierdroid92, voilà, ça c'est le problème que j'ai eu avec configgen ! Il crée le paramètre avec "no" et ce n'est pas une valeur correcte. Le message d'erreur donne même la liste des valeurs permises.

                          Et dans ton avant-dernier post, tu as bien le jeu qui se lance.

                          Maintenant, fais ctrl-c pour killer le jeu que tu as lancé via le terminal. Et ensuite, essaye de le lancer via l'interface d'ES.

                          olivierdroid92 1 Reply Last reply Reply Quote 0
                          • olivierdroid92
                            olivierdroid92 Global moderator @Garden Dwarf last edited by olivierdroid92

                            @Garden-Dwarf
                            Le Jeux se lance, j'arrive sur les menu deepswict de toki durant 10 secondes environs, puis crash et retour à ES. Je regarde les logs de ES

                            [2020/10/21 13:53:08.132] (WARN!) : ...launch terminated with nonzero exit code 1!
                            
                            1 Reply Last reply Reply Quote 0
                            • Garden Dwarf
                              Garden Dwarf last edited by Garden Dwarf

                              @olivierdroid92, arf, tu arrives à avoir le jeu qui s'affiche ? Même si ça plante après ... est-ce que le jeu se lance en plein écran ou bien tu as un petit carré avec le jeu qui tourne dedans sur l'écran ?

                              Et ton écran, c'est un LCD branché en HDMI ou bien autre chose ?

                              Je n'ai pas ce jeu ... peut-être essayer avec un autre sinon ?

                              1 Reply Last reply Reply Quote 0
                              • olivierdroid92
                                olivierdroid92 Global moderator last edited by

                                oui ca s'affiche à l'ecran.
                                C'est presque un 4/3 classique.
                                Peu etre un peu étiré vers le bas

                                Ecran LCD, branché HDMI

                                1 Reply Last reply Reply Quote 0
                                • Garden Dwarf
                                  Garden Dwarf last edited by

                                  @olivierdroid92, est-ce que tu peux mettre le contenu de ton fichier advmame.rc ici stp ? J'aimerais comparer avec le mien. Merci.

                                  olivierdroid92 1 Reply Last reply Reply Quote 0
                                  • olivierdroid92
                                    olivierdroid92 Global moderator @Garden Dwarf last edited by olivierdroid92

                                    @Garden-Dwarf

                                    Pi3 B Plus Image 7.0.1

                                    device_joystick sdl
                                    device_keyboard none
                                    device_mouse raw
                                    device_video auto
                                    dir_artwork /recalbox/share/overlays/advmame
                                    dir_hi /recalbox/share/bios/advance
                                    dir_image /recalbox/share/roms/mame/Mame0.106/media/images
                                    dir_memcard /recalbox/share/saves/advance/memcard
                                    dir_nvram /recalbox/share/saves/advance/nvram
                                    dir_rom /recalbox/share/roms/mame/Mame0.106
                                    dir_sample /recalbox/share/bios/advance/samples
                                    dir_snap /recalbox/share/screenshots/
                                    display_artwork_backdrop yes
                                    display_artwork_bezel yes
                                    display_artwork_crop no
                                    display_artwork_overlay yes
                                    display_expand 1.0
                                    display_magnify 1
                                    display_resize no
                                    display_vsync no
                                    input_map[coin1] joystick_button[0,8]
                                    input_map[p1_button10] joystick_button[0,11]
                                    input_map[p1_button1] joystick_button[0,1]
                                    input_map[p1_button2] joystick_button[0,2]
                                    input_map[p1_button3] joystick_button[0,0]
                                    input_map[p1_button4] joystick_button[0,3]
                                    input_map[p1_button5] joystick_button[0,4]
                                    input_map[p1_button6] joystick_button[0,5]
                                    input_map[p1_button7] joystick_button[0,6]
                                    input_map[p1_button9] joystick_button[0,10]
                                    input_map[p1_doubleleft_down] joystick_digital[0,0,1,0]
                                    input_map[p1_doubleleft_left] joystick_digital[0,0,0,1]
                                    input_map[p1_doubleleft_right] joystick_digital[0,0,0,0]
                                    input_map[p1_doubleleft_up] joystick_digital[0,0,1,1]
                                    input_map[p1_doubleright_down] joystick_digital[0,0,5,0]
                                    input_map[p1_doubleright_left] joystick_digital[0,0,2,1]
                                    input_map[p1_doubleright_right] joystick_digital[0,0,2,0]
                                    input_map[p1_doubleright_up] joystick_digital[0,0,5,1]
                                    input_map[p1_down] joystick_digital[0,1,1,0] or joystick_digital[0,0,1,0]
                                    input_map[p1_left] joystick_digital[0,0,0,1] or joystick_digital[0,1,0,1]
                                    input_map[p1_right] joystick_digital[0,1,0,0] or joystick_digital[0,0,0,0]
                                    input_map[p1_up] joystick_digital[0,1,1,1] or joystick_digital[0,0,1,1]
                                    input_map[start1] joystick_button[0,9]
                                    input_map[ui_cancel] keyboard[0,esc] or joystick_button[0,12] joystick_button[0,9]
                                    input_map[ui_configure] keyboard[0,tab] or joystick_button[0,7]
                                    input_map[ui_down] keyboard[0,down] or joystick_digital[0,1,1,0] or joystick_digital[0,0,1,0]
                                    input_map[ui_left] keyboard[0,left] or joystick_digital[0,0,0,1] or joystick_digital[0,1,0,1]
                                    input_map[ui_load_state] keyboard[0,f7] not keyboard[0,lshift] or joystick_button[0,12] joystick_button[0,3]
                                    input_map[ui_mode_pred] joystick_button[0,12] joystick_button[0,6]
                                    input_map[ui_right] keyboard[0,right] or joystick_digital[0,1,0,0] or joystick_digital[0,0,0,0]
                                    input_map[ui_save_state] keyboard[0,lshift] keyboard[0,f7] or joystick_button[0,12] joystick_button[0,0]
                                    input_map[ui_select] keyboard[0,enter] or joystick_button[0,1]
                                    input_map[ui_soft_reset] joystick_button[0,12] joystick_button[0,2]
                                    input_map[ui_turbo] joystick_button[0,12] joystick_digital[0,1,0,0]
                                    input_map[ui_up] keyboard[0,up] or joystick_digital[0,1,1,1] or joystick_digital[0,0,1,1]
                                    misc_quiet yes
                                    misc_safequit no
                                    sync_resample emulation
                                    
                                    
                                    1 Reply Last reply Reply Quote 0
                                    • Garden Dwarf
                                      Garden Dwarf last edited by Garden Dwarf

                                      @olivierdroid92

                                      Arf, avec ton pseudo "droid" j'ai pensé que tu étais sous Odroid ... Merci pour le fichier, je vais regarder mais si ce n'est pas le même matos ... -_-'

                                      olivierdroid92 1 Reply Last reply Reply Quote 0
                                      • olivierdroid92
                                        olivierdroid92 Global moderator @Garden Dwarf last edited by olivierdroid92

                                        @Garden-Dwarf
                                        J'ai aussi un Odroid xu4.
                                        Je te donnerai ce soir

                                        Ca permettrait aussi de comparer avec ton pi3

                                        1 Reply Last reply Reply Quote 0
                                        • Garden Dwarf
                                          Garden Dwarf last edited by

                                          @olivierdroid92, voilà une bonne nouvelle !

                                          Effectivement, si tu peux tester sur ton Odroid XU4 on pourra voir si on a tous les deux le problème. Merci !

                                          olivierdroid92 1 Reply Last reply Reply Quote 0
                                          • olivierdroid92
                                            olivierdroid92 Global moderator @Garden Dwarf last edited by olivierdroid92

                                            @Garden-Dwarf
                                            Sur XU4
                                            apres avoir fait un rize sur none.

                                            Crash si lancé depuis ES.

                                            Et en SSH:

                                            # LANG=en_US.UTF-8 TERM=linux SHELL=/bin/sh CONSOLE=/dev/console SDL_VIDEO_EGL_DRIVER=/usr/lib/libGLESv2.so SHLVL=3 dev=/dev/mmcblk0p1 PWD=/ SDL_VIDEO_GL_DRIVER=/usr/lib/libGLESv2.so PREVLEVEL=N RUNLEVEL=S PATH=/sbin:/usr/sbin:/bin:/usr/bin SDL_NOMOUSE=1 HOME=/recalbox/share/system _=/usr/bin/python INIT_VERSION=sysvinit- /usr/bin/advmame -cfg /recalbox/share/system/configs/advancemame/advmame.rc toki
                                            Creating AdvanceMAME standard configuration file...
                                            Configuration file `/recalbox/share/system/.advance/advmame.rc' created with all the default options.
                                            
                                            The default rom search path is `/recalbox/share/roms/mame/Mame0.106'.
                                            You can change it using the `dir_rom' option in the configuration file.
                                            
                                            No video modes available for the current game.
                                            Failed to initialize the video
                                            
                                            
                                            Running command: LANG=en_US.UTF-8 TERM=linux SHELL=/bin/sh CONSOLE=/dev/console vout=hdmi SDL_VIDEO_EGL_DRIVER=/usr/lib/libGLESv2.so SHLVL=3 PREVLEVEL=N label=RECALBOX PWD=/ SDL_VIDEO_GL_DRIVER=/usr/lib/libGLESv2.so governor=performance HPD=false RUNLEVEL=S PATH=/sbin:/usr/sbin:/bin:/usr/bin SDL_NOMOUSE=1 HOME=/recalbox/share/system _=/usr/bin/python INIT_VERSION=sysvinit- /usr/bin/advmame -log -cfg /recalbox/share/system/configs/advancemame/advmame.rc toki
                                            Process exitcode: 1
                                            
                                            [2020/10/21 14:31:26.536] (INFO ) : Configgen Errors:
                                            Error opening the log file 'advmame.log'.
                                            
                                            [2020/10/21 14:31:26.536] (WARN!) : ...launch terminated with nonzero exit code 1!
                                            
                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Want to support us ?

                                            81
                                            Online

                                            99.6k
                                            Users

                                            28.1k
                                            Topics

                                            187.1k
                                            Posts

                                            Copyright © 2021 recalbox.com