Overlay -> Jeux ne se lancent plus
-
Bonjour, J'ai essayé de bricoler l'ajout d'un overlay applicable sur tous mes émulateurs dans un premier temps n'ayant pas encore saisi comment en appliquer un pour un précis (sûrement création de fichiers de conf spécifiques). Je me suis basé sur les tutoriaux liés à retroarch sur retropie , et sur celui présent sur open-consoles (http://www.open-consoles-news.com/2015/07/recalbox-tuto-explications-des-overlays.html) Malheuresement, peut importe mes modifs, mes jeux ne se lancent plus, lorsque je lance un jeu, j'ai un écran noir puis ca revient sur la liste des jeux, je ne comprends pas ce qu'il manque ou ce qui est mal configuré. Voici ce que j'ai fait 1) j'ai modifié le fichier /recalbox/configs/retroarch/retroarchcustom.cfg comme suit:
video_shader_enable = false video_fullscreen_x = 1920 video_fullscreen_y = 1080 custom_viewport_width = 1194 custom_viewport_height = 896 custom_viewport_x = 363 custom_viewport_y = 91 aspect_ratio_index = 22 overlay_directory = "default" #j'ai aussi essayé avec le chemin complet /recalbox/share/system/overlay input_overlay = /recalbox/share/system/overlay/overlay.cfg input_overlay_enable = true input_overlay_opacity = 1.000000 input_overlay_scale = "1.000000" video_smooth = true video_aspect_ratio_auto = false core_options_path = /recalbox/configs/retroarch/cores/retroarch-core-options.cfg system_directory = /recalbox/share/bios/ config_save_on_exit = false video_threaded = true rewind_enable = false rewind_buffer_size = 10 rewind_granularity = 2 video_gpu_screenshot = true video_shader_dir = /recalbox/share/shaders/ screenshot_directory = /recalbox/share/screenshots/ savestate_directory = /recalbox/share/saves/ savefile_directory = /recalbox/share/saves/ extraction_directory = /recalbox/share/extractions/ cheat_database_path = /recalbox/share/cheats/cht/ cheat_settings_path = /recalbox/share/cheats/saves/ fastforward_ratio = -1.0 input_autodetect_enable = true joypad_autoconfig_dir = /recalbox/configs/retroarch/inputs/ input_joypad_driver = udev input_player1_analog_dpad_mode = 1 input_player2_analog_dpad_mode = 1 #input_player3_analog_dpad_mode = "1" #input_player4_analog_dpad_mode = "1" input_enable_hotkey_btn = 12 input_enable_hotkey = "escape" #input_exit_emulator = "escape" input_player1_l2_btn = 6 input_shader_next_btn = 7 input_screenshot_btn = 4 input_player1_r_x_minus_axis = -2 input_player1_select_btn = 8 #input_player1_l3_btn = 11 #input_player1_r3_btn = 12 input_hold_fast_forward_btn = h0right input_player1_up_btn = h0up input_player1_l_y_minus_axis = -1 input_player1_r_x_plus_axis = +2 input_player1_r_btn = 5 input_state_slot_increase_btn = h0up input_player1_r2_btn = 7 input_player1_start_btn = 9 input_player1_y_btn = 2 input_player1_l_y_plus_axis = +1 input_rewind_btn = h0left input_player1_a_btn = 1 input_state_slot_decrease_btn = h0down input_player1_right_btn = h0right input_player1_r_y_minus_axis = -3 input_player1_l_btn = 4 input_player1_x_btn = 3 input_player1_l_x_plus_axis = +0 input_load_state_btn = 3 input_player1_left_btn = h0left input_save_state_btn = 2 input_player1_r_y_plus_axis = +3 input_player1_l_x_minus_axis = -0 input_exit_emulator_btn = 9 input_player1_b_btn = 0 input_shader_prev_btn = 6 input_menu_toggle_btn = 0 input_player1_down_btn = h0down input_player1_joypad_index = 0 input_player2_l_y_plus_axis = +1 input_player2_a_btn = 1 input_player2_l_x_plus_axis = +0 input_player2_l_btn = 4 input_player2_right_btn = h0right #input_player2_l3_btn = 11 input_player2_down_btn = h0down #input_player2_r3_btn = 12 input_player2_start_btn = 9 input_player2_y_btn = 2 input_player2_l2_btn = 6 input_player2_select_btn = 8 input_player2_l_x_minus_axis = -0 input_player2_r_y_plus_axis = +3 input_player2_r2_btn = 7 input_player2_r_x_plus_axis = +2 input_player2_r_x_minus_axis = -2 input_player2_b_btn = 0 input_player2_left_btn = h0left input_player2_x_btn = 3 input_player2_r_btn = 5 input_player2_r_y_minus_axis = -3 input_player2_l_y_minus_axis = -1 input_player2_up_btn = h0up input_player2_joypad_index = 1 J'ai copié les fichiers overlay.cfg et overlay.png dans le dossier /recalbox/share/system/overlay. J'ai rajouté toute la partie du haut jusqu'à "video_smooth = true", tout en commentant les lignes dupliquées qui existaient déjà plus bas dans le fichier. Ca ne marche pas comme ça, j'ai remarqué que le fichier était recréé à chaque fois que je lance un jeu. Ce qui rajoute certaines lignes et créer des doublons. J'ai donc opté pour la 2ème option. 2/ J'ai créé un fichier retroarchsnes.cfg, avec les mêmes informations et j'ai renseigné le chemin vers ce fichier dans le recalbox.conf, afin que le fichier ne soit pas recréé à chaque fois, le problème reste le même. Je ne comprends pas ce qui ne va pas. Voici une copie de mon fichier recalbox.conf:
# System Variable # You can configure your recalbox from here # To set a variable, remove the first ; on the line # ------------ A - System Options ----------- # ## Recalbox Manager (http manager) system.manager.enabled=1 ## Recalbox API (REST) system.api.enabled=0 ## Pre-boot splash system.splash.enable=0 ## EmulationStation menu style ## default -> default all options menu ## none -> no menu except the game search menu ## bartop -> less menu, only needed for bartops system.es.menu=default ## Emulator special keys ## default -> default all special keys ## nomenu -> cannot popup the emulator menu ## none -> no special keys in emulators system.emulators.specialkey=default ## Show or hide kodi in emulationstation (0,1) kodi.enabled=1 ## Start kodi at launch (0,1) kodi.atstartup=0 ## set x button shortcut (0,1) kodi.xbutton=1 # ------------ B - Network ------------ # ## Set system hostname system.hostname=RECALBOX ## Activate wifi (0,1) wifi.enabled=1 ## Wifi SSID (string) ;wifi.ssid=new ssid ## Wifi KEY (string) wifi.key=mywifikey ## Samba share system.samba.enabled=1 ### Virtual Gamepads system.virtual-gamepads.enabled=1 ### SSH system.ssh.enabled=1 # ------------ C - Audio ------------ # ## Set the audio device (auto, hdmi, jack) audio.device=auto ## Set system volume (0..100) audio.volume=79 ## Enable or disable system sounds in ES (0,1) audio.bgmusic=1 # -------------- D - Controllers ----------------- # # Enable support for standard bluetooth controllers controllers.bluetooth.enabled=1 ## Please enable only one of these # -------------- D1 - PS3 Controllers ------------ # ##Enable PS3 controllers support controllers.ps3.enabled=0 ## Choose an driver beetween official, shanwan and gasia if you have dualshock clones (official,shanwan,gasia) controllers.ps3.driver=official # ------------ D2 - XBOX Controllers ------------ # ## Xbox controllers are already supported, but xboxdrv can solve some compatibility issues ## Enable xboxdrv driver, disable this if you enabled ps3 controllers (0,1) controllers.xboxdrv.enabled=1 ## Set the amount of controllers to use with xboxdrv (0..4) controllers.xboxdrv.nbcontrols=2 # ------------ D3 - GPIO Controllers ------------ # ## GPIO Controllers ## enable controllers on GPIO with mk_arcarde_joystick_rpi (0,1) controllers.gpio.enabled=0 ## mk_gpio arguments, map=1 for one controller, map=1,2 for 2 (map=1,map=1,2) controllers.gpio.args=map=1,2 ## DB9 Controllers ## Enable DB9 drivers for atari, megadrive, amiga controllers (0,1) controllers.db9.enabled=0 ## db9 arguments controllers.db9.args=map=1 ## Gamecon controllers ## Enable gamecon controllers, for nes, snes psx (0,1) controllers.gamecon.enabled=0 ## gamecon_args controllers.gamecon.args=map=1 # ------------ F - Language and keyboard ------------ # ## Set the language of the system (fr_FR,en_US,en_GB,de_DE,pt_BR,es_ES,it_IT,eu_ES,tr_TR,zh_CN) system.language=fr_FR ## set the keyboard layout (fr,en,de,us,es) ;system.kblayout=us ## Set you local time ## Select your timezone from : ls /usr/share/zoneinfo/ (string) ;system.timezone=Europe/Paris # ------------ G - UPDATES ------------ # ## Automatically check for updates at start (0,1) updates.enabled=1 # ------------ H - HERE IT IS - GLOBAL EMULATOR CONFIGURATION ------------ # ## The global value will be used for all emulators, exept if the value ## is redifined in the emulator ## Set game resolution for emulators ## select your mode from the command : tvservice -m [MODE] ## CEA 5 HDMI : 1920x1080 @ 60Hz 16:9, clock:74MHz interlaced ## CEA 4 HDMI : 1280x720 @ 60Hz 16:9, clock:74MHz progressive ## use 'default' for using the default resolution ## (string) global.videomode=CEA 4 HDMI ## Shader set ## Automatically select shaders for all systems ## (none, retro, scanlines) global.shaderset=none ## Set gpslp shader for all emulators (prefer shadersets above). Absolute path (string) global.shaders= ## Set ratio for all emulators (auto,4/3,16/9,16/10,custom) global.ratio=custom ## Set smooth for all emulators (0,1) global.smooth=1 ## Set rewind for all emulators (0,1) global.rewind=0 ## Set retroarch input driver (auto, udev, sdl2) ## If you don't have issues with your controllers, let auto global.inputdriver=auto ## If you do not want recalboxOS to generate the configuration for all emulators (string) global.configfile=/recalbox/configs/retroarch/retroarchsnes.cfg #path/to/my/configfile.cfg # ------------ I - EMULATORS CHOICES ----------- # ## You can override the global configuration here ## Here is the snes example ;snes.videomode=CEA 4 HDMI ;snes.core=snes9x_next ;snes.shaders=/recalbox/share/shaders/shaders_glsl/mysnesshader.gplsp ;snes.ratio=16/9 ;snes.smooth=0 ;snes.rewind=1 ;snes.emulator=libretro ## If you do not want recalboxOS to generate the configuration for the emulator : ;snes.configfile=/path/to/my/configfile.cfg ## The rewind option is deactivated by default on these unsupported cores (don't edit please) virtualboy.rewind=0 sega32x.rewind=0 segacd.rewind=0 psx.rewind=0 fbalibretro.rewind=0 vectrex.rewind=0 ## NeoGeo emulator ## You can use pifba or a libretro core (fba2x,libretro) neogeo.emulator=fba2x ## If you set libretro as neogeo.emulator, uncomment the line below and set the retroarch core (fba,imame4all) ;neogeo.core=fba ## N64 core (gliden64,n64,rice) ## The recommanded plugin is gliden64, but if your game is not compatible, you can try n64 or rice plugins. n64.core=gliden64 n64.videomode=DMT 9 HDMI ## If you are using a CRT screen, please change the setting above with this one : # n64. Et voici les logs juste avant de lancer un jeu après avoir démarré la recalbox:
tail -100 /root/recalbox.log [ 3.30] : starting new log [ 3.32] : converting dos to unix carriage return characters [ 3.48] : setting audio volume to 79 ---- recalbox-config.sh ---- [ 3.51] : setting audio volume : 79 Simple mixer control 'PCM',0 Capabilities: pvolume pvolume-joined pswitch pswitch-joined Playback channels: Mono Limits: Playback -10239 - 400 Mono: Playback -1834 [79%] [-18.34dB] [on] [ 4.00] : setting audio to auto ---- recalbox-config.sh ---- [ 4.03] : setting audio output mode : auto numid=3,iface=MIXER,name='PCM Playback Route' ; type=INTEGER,access=rw------,values=1,min=0,max=2,step=0 : values=0 [ 4.76] : setting keyboard layout to fr Loading /usr/share/keymaps/i386/azerty/fr.map.gz [ 5.09] : setting xboxdrv [ 5.39] : setting hostname to RECALBOX [ 5.79] : starting emulationstation with lang = fr_FR [ 5.80] : Starting emulationstation with command : HOME=/root LANG="fr_FR.UTF-8" SDL_VIDEO_GL_DRIVER=/usr/lib/libGLESv2.so SDL_NOMOUSE=1 /usr/bin/emulationstation; [ -f /tmp/shutdown.please ] && (rm /tmp/shutdown.please; poweroff);[ -f /tmp/reboot.please ] && (rm /tmp/reboot.please; reboot) ---- recalbox-config.sh ---- udhcpc (v1.23.2) started Sending discover... Sending discover... Sending select for 192.168.0.39... Lease of 192.168.0.39 obtained, lease time 43200 deleting routers adding dns 192.168.0.254 ---- recalbox-config.sh ---- [ 19.80] : no wlan interface found Starting S94manager Will not start pm2 : system.api.enabled is set to 0 ---- recalbox-config.sh ---- no update available Powering on HDMI with explicit settings (CEA mode 5) Powering on HDMI with preferred settings ['retroarch', '-L', '/usr/lib/libretro/pocketsnes_libretro.so', '--config', '/recalbox/configs/retroarch/retroarchsnes.cfg', '/recalbox/share/roms/snes/Legend of Zelda, The - A Link to the Past (France).zip'] Powering on HDMI with explicit settings (CEA mode 5) Powering on HDMI with preferred settings ['retroarch', '-L', '/usr/lib/libretro/gambatte_libretro.so', '--config', '/recalbox/configs/retroarch/retroarchsnes.cfg', '/recalbox/share/roms/gb/Addams Family, The (Europe) (En,Fr,De).zip'] [root@RECALBOX ~]# Powering on HDMI with explicit settings (CEA mode 5) -sh: syntax error near unexpected token ' (' [root@RECALBOX ~]# Powering on HDMI with preferred settings -sh: Powering: command not found ['retroarch', '-L', '/usr/lib/libretro/pocketsnes_libretro.so', '--config', '/recalbox/configs/retroarch/retroarchsnes.cfg', '/recalbox/share/roms/snes/Legend of Zelda, The - A Link to the Past (France).zip'] [root@RECALBOX ~]# ['retroarch', '-L', '/usr/lib/libretro/pocketsnes_libretro.so', '--config', '/recalbox/configs/retroarch/retroarchsnes.cfg', '/recalbox/share/roms/snes/Legend of Zelda, The - A Link to the Past (France).zip'] -sh: [retroarch,: command not found Je ne sais vraiment pas trop quoi faire, j'ai cherché un peu partout, testé pas mal de modifs mais rien n'y fait, si quelqu'un pouvait m'aider ça serait sympa
Merci d'avance !