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 @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
                                • olivierdroid92
                                  olivierdroid92 Global moderator last edited by

                                  @Garden-Dwarf
                                  Image 701 XU4

                                  fichier

                                  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

                                    @olivierdroid92, ok donc tu as la même chose que moi. AdvanceMame ne trouve pas de configuration vidéo.

                                    Si - en ssh - tu lances

                                    advv -rc /recalbox/share/system/configs/advancemame/advmame.rc
                                    

                                    Tu auras la liste des modes vidéo (le bleu indique ceux qui sont supportés, le rouge indique ceux qui ne le sont pas).
                                    Tu peux utiliser les flèches haut/bas (la liste ne se termine pas en bas de l'écran, tu verras si tu fais défiler avec la flèche bas). La barre d'espace pour sélectionner un mode (tu peux en sélectionner plusieurs), la touche retour pour tester un mode, F2 pour sauver et la touche Echap pour sortir (si tu as changé la sélection, il te demandera d'appuyer sur y/n pour sauvegarder ou non).

                                    Une fois que tu auras sélectionné des modes et sauvegardé les changements, tu pourras regarder dans ton fichier advmame.rc. Il y aura des lignes de ce style :

                                    device_video_modeline pal_256x224 4.875 256 264 288 312 224 259 262 312 -hsync -vsync
                                    

                                    La ligne que j'indique ci-dessus permet d'avoir un mode vidéo qui fonctionne. Le hic, c'est que ça m'affiche le jeu dans une toute petite fenêtre (de 256x224 pixels je suppose, puisque c'est ce qui est indiqué dans le paramètre device_video_modeline).

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

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

                                      advv -rc /recalbox/share/system/configs/advancemame/advmame.rc

                                      ca commence mal sur XU4

                                      # advv -rc /recalbox/share/system/configs/advancemame/advmame.rc
                                      Error loading the clock options from the configuration file /recalbox/share/system/configs/advancemame/advmame.rc.
                                      Missing options 'device_video_clock'
                                      #
                                      
                                      
                                      1 Reply Last reply Reply Quote 0
                                      • Garden Dwarf
                                        Garden Dwarf last edited by Garden Dwarf

                                        @olivierdroid92, effectivement mais j'ai eu la même chose. Si tu regardes dans mon fichier advmame.rc plus haut, j'ai la ligne suivante qui est définie :

                                        device_video_clock 5 - 50 / 15.62 / 50 ; 5 - 50 / 15.73 / 60
                                        

                                        J'avais trouvé ça dans la documentation d'AdvanceMame (voir ici, chapitre 4.2.1).

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

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

                                          vice_video_clock 5 - 50 / 15.62 / 50 ; 5 - 50 / 15.73 / 60

                                          sur XU4 et Pi3B le fichier advmame.rc est écrasé à chaque fois que l'on relance un jeu

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

                                            @olivierdroid92, oui, les paramètres que tu définis toi-même tu dois les mettre aussi dans le fichier "advmame.rc.origin". Je n'ai jamais bien compris la logique, mais il semblerait que le fichier advmame.rc soit construit à partir du fichier origin + les entrées par défaut qui sont stockées je-ne-sais-pas-où.

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Want to support us ?

                                            57
                                            Online

                                            99.6k
                                            Users

                                            28.1k
                                            Topics

                                            187.1k
                                            Posts

                                            Copyright © 2021 recalbox.com