lr-gambatte - Core Does Not Support Save States
-
@TPR Could this have anything to do with your previous issue with lr-vice?
-
@AwesomeKingClem So the way I fixed that is that I just reverted back to my old version of lr-vice and then it worked just fine. If I take the version of gambatte_libretro.so which works just fine on my older Pi 4 build and then transfer it over to this new build, I get the exact same results with the save states.
So that solution that worked for VICE didn't work here.
-
Update: Atari lynx, gameboy color, gameboy advance, neo geo pocket, virtual boy, wonder swan, and PSP don't save either now.. So wondering what could have gone wrong?
-
@TPR said in lr-gambatte - Core Does Not Support Save States:
So wondering what could have gone wrong?
I think we still need the RetroArch installation log that @mitu asked for in your lr-vice thread. Update the setup script then re-install RetroArch should fix but if it don't, we need to see the RP-Setup log of the install.
-
@sleve_mcdichael Another update:
I went in and manually removed all the retroarch folders in:
/opt/retropie/configs/all/
/opt/retropie/emulators/but now I have to go back in and copy all my other config files, etc, from my old build.
I'm wondering what might have broken, and when when I did the "remove" from the retropie-setup that it didn't remove RA completely and doing an install from source didn't fix this issue until I went in and manually removed those folders?
Initial tests seem to indicate it is working now, but still curious why that happened.
(thank for the help, everyone!)
-
UPDATE!
It was my <console>.cfg file in the /opt/retropie/configs/all/retroarch/config/ folder that seemed to be creating the issue. As soon as I put my old .cfg files back, I lost the ability to save. If I removed that file, it works just fine. Any idea why? For example, here is what the Gambatte one says:
accessibility_narrator_speech_speed = "5"
ai_service_url = "http://localhost:4404/"
aspect_ratio_index = "23"
assets_directory = "~/.config/retroarch/assets"
audio_driver = "alsa"
audio_enable = "true"
audio_latency = "64"
audio_max_timing_skew = "0.050000"
audio_out_rate = "48000"
audio_rate_control = "true"
audio_resampler = "sinc"
audio_resampler_quality = "2"
audio_sync = "true"
auto_overrides_enable = "true"
auto_screenshot_filename = "true"
auto_shaders_enable = "true"
builtin_imageviewer_enable = "true"
builtin_mediaplayer_enable = "true"
camera_driver = "null"
cheat_database_path = "~/.config/retroarch/cheats"
cheevos_richpresence_enable = "true"
content_database_path = "~/.config/retroarch/database/rdb"
content_favorites_size = "200"
content_history_size = "200"
content_runtime_log = "true"
content_show_add = "true"
content_show_favorites = "true"
content_show_history = "true"
content_show_images = "true"
content_show_music = "true"
content_show_netplay = "true"
content_show_playlists = "true"
content_show_settings = "true"
content_show_video = "true"
core_assets_directory = "~/.config/retroarch/downloads"
core_set_supports_no_game_enable = "true"
core_updater_auto_extract_archive = "true"
core_updater_buildbot_assets_url = "http://buildbot.libretro.com/assets/"
crt_switch_resolution_super = "2560"
crt_video_refresh_rate = "60.000000"
cursor_directory = "~/.config/retroarch/database/cursors"
custom_viewport_height = "480"
custom_viewport_width = "640"
desktop_menu_enable = "true"
discord_app_id = "475456035851599874"
driver_switch_enable = "true"
fps_update_interval = "256"
frontend_log_level = "1"
game_specific_options = "true"
history_list_enable = "true"
input_analog_sensitivity = "1.000000"
input_bind_hold = "2"
input_bind_timeout = "5"
input_descriptor_label_show = "true"
input_driver = "x"
input_duty_cycle = "3"
input_overlay_enable = "true"
input_overlay_enable_autopreferred = "true"
input_overlay_hide_in_menu = "true"
input_overlay_opacity = "0.700000"
input_overlay_scale = "1.000000"
input_overlay_show_mouse_cursor = "true"
input_player10_joypad_index = "9"
input_player11_joypad_index = "10"
input_player12_joypad_index = "11"
input_player13_joypad_index = "12"
input_player14_joypad_index = "13"
input_player15_joypad_index = "14"
input_player16_joypad_index = "15"
input_player2_joypad_index = "1"
input_player3_joypad_index = "2"
input_player4_joypad_index = "3"
input_player5_joypad_index = "4"
input_player6_joypad_index = "5"
input_player7_joypad_index = "6"
input_player8_joypad_index = "7"
input_player9_joypad_index = "8"
input_poll_type_behavior = "2"
input_remap_binds_enable = "true"
input_turbo_period = "6"
joypad_autoconfig_dir = "~/.config/retroarch/autoconfig"
keyboard_gamepad_enable = "true"
keyboard_gamepad_mapping_type = "1"
led_driver = "null"
libretro_directory = "~/.config/retroarch/cores"
libretro_info_path = "~/.config/retroarch/cores"
libretro_log_level = "1"
load_dummy_on_core_shutdown = "true"
location_driver = "null"
log_dir = "~/.config/retroarch/logs"
materialui_auto_rotate_nav_bar = "true"
materialui_dual_thumbnail_list_view_enable = "true"
materialui_icons_enable = "true"
materialui_landscape_layout_optimization = "1"
materialui_menu_color_theme = "9"
materialui_show_nav_bar = "true"
materialui_thumbnail_background_enable = "true"
materialui_thumbnail_view_landscape = "2"
materialui_thumbnail_view_portrait = "1"
menu_battery_level_enable = "true"
menu_core_enable = "true"
menu_enable_widgets = "false"
menu_font_color_blue = "255"
menu_font_color_green = "255"
menu_font_color_red = "255"
menu_footer_opacity = "1.000000"
menu_framebuffer_opacity = "0.900000"
menu_header_opacity = "1.000000"
menu_horizontal_animation = "true"
menu_insert_disk_resume = "true"
menu_mouse_enable = "true"
menu_navigation_browser_filter_supported_extensions_enable = "true"
menu_navigation_wraparound_enable = "true"
menu_pause_libretro = "true"
menu_rgui_full_width_layout = "true"
menu_savestate_resume = "true"
menu_scale_factor = "1.000000"
menu_shader_pipeline = "2"
menu_show_configurations = "true"
menu_show_dump_disc = "true"
menu_show_help = "true"
menu_show_information = "true"
menu_show_latency = "true"
menu_show_load_content = "true"
menu_show_load_core = "true"
menu_show_load_disc = "true"
menu_show_overlays = "true"
menu_show_quit_retroarch = "true"
menu_show_reboot = "true"
menu_show_rewind = "true"
menu_show_shutdown = "true"
menu_show_sublabels = "true"
menu_show_video_layout = "true"
menu_throttle_framerate = "true"
menu_thumbnails = "3"
menu_ticker_smooth = "true"
menu_ticker_speed = "2.000000"
menu_ticker_type = "1"
menu_timedate_enable = "true"
menu_timedate_style = "11"
menu_wallpaper_opacity = "0.300000"
menu_widget_scale_auto = "true"
menu_widget_scale_factor = "1.000000"
menu_widget_scale_factor_windowed = "1.000000"
menu_xmb_thumbnail_scale_factor = "100"
midi_driver = "alsa"
midi_input = "Off"
midi_output = "Off"
midi_volume = "100"
netplay_allow_slaves = "true"
netplay_check_frames = "600"
netplay_ip_port = "55435"
netplay_mitm_server = "nyc"
netplay_nat_traversal = "true"
netplay_public_announce = "true"
netplay_share_analog = "1"
netplay_share_digital = "1"
network_cmd_port = "55355"
network_remote_base_port = "55400"
overlay_directory = "~/.config/retroarch/overlay"
ozone_menu_color_theme = "1"
ozone_sort_after_truncate_playlist_name = "true"
ozone_truncate_playlist_name = "true"
pause_nonactive = "true"
playlist_directory = "~/.config/retroarch/playlists"
playlist_entry_remove_enable = "1"
playlist_entry_rename = "true"
playlist_show_sublabels = "true"
playlist_sort_alphabetical = "true"
quick_menu_show_add_to_favorites = "true"
quick_menu_show_cheats = "true"
quick_menu_show_close_content = "true"
quick_menu_show_controls = "true"
quick_menu_show_download_thumbnails = "true"
quick_menu_show_information = "true"
quick_menu_show_options = "true"
quick_menu_show_recording = "true"
quick_menu_show_reset_core_association = "true"
quick_menu_show_restart_content = "true"
quick_menu_show_resume_content = "true"
quick_menu_show_save_content_dir_overrides = "true"
quick_menu_show_save_core_overrides = "true"
quick_menu_show_save_game_overrides = "true"
quick_menu_show_save_load_state = "true"
quick_menu_show_set_core_association = "true"
quick_menu_show_shaders = "true"
quick_menu_show_start_recording = "true"
quick_menu_show_start_streaming = "true"
quick_menu_show_streaming = "true"
quick_menu_show_take_screenshot = "true"
quick_menu_show_undo_save_load_state = "true"
record_driver = "ffmpeg"
rewind_buffer_size_step = "10"
rgui_background_filler_thickness_enable = "true"
rgui_border_filler_enable = "true"
rgui_border_filler_thickness_enable = "true"
rgui_config_directory = "~/.config/retroarch/config"
rgui_menu_color_theme = "4"
rgui_particle_effect_speed = "1.000000"
run_ahead_frames = "1"
run_ahead_secondary_instance = "true"
savestate_file_compression = "true"
screenshot_directory = "~/.config/retroarch/screenshots"
settings_show_achievements = "true"
settings_show_ai_service = "true"
settings_show_audio = "true"
settings_show_configuration = "true"
settings_show_core = "true"
settings_show_directory = "true"
settings_show_drivers = "true"
settings_show_frame_throttle = "true"
settings_show_input = "true"
settings_show_latency = "true"
settings_show_logging = "true"
settings_show_network = "true"
settings_show_onscreen_display = "true"
settings_show_playlists = "true"
settings_show_power_management = "true"
settings_show_recording = "true"
settings_show_saving = "true"
settings_show_user = "true"
settings_show_user_interface = "true"
settings_show_video = "true"
slowmotion_ratio = "3.000000"
suspend_screensaver_enable = "true"
threaded_data_runloop_enable = "true"
thumbnails_directory = "~/.config/retroarch/thumbnails"
ui_companion_start_on_boot = "true"
ui_menubar_enable = "true"
video_allow_rotate = "true"
video_aspect_ratio = "-1.000000"
video_crop_overscan = "true"
video_driver = "gl"
video_font_enable = "true"
video_force_aspect = "true"
video_fullscreen_x = "640"
video_fullscreen_y = "480"
video_layout_directory = "~/.config/retroarch/layouts"
video_layout_enable = "true"
video_max_swapchain_images = "3"
video_message_pos_x = "0.050000"
video_message_pos_y = "0.050000"
video_msg_bgcolor_opacity = "1.000000"
video_record_quality = "4"
video_record_scale_factor = "1"
video_record_threads = "2"
video_refresh_rate = "60.000000"
video_scale = "3.000000"
video_shader_dir = "~/.config/retroarch/shaders"
video_stream_port = "56400"
video_stream_quality = "10"
video_stream_scale_factor = "1"
video_vsync = "true"
video_window_opacity = "100"
video_window_show_decorations = "true"
video_windowed_fullscreen = "true"
video_windowed_position_height = "720"
video_windowed_position_width = "1280"
wifi_driver = "null"
xmb_alpha_factor = "75"
xmb_menu_color_theme = "4" -
¯_(ツ)_/¯
-
@AwesomeKingClem said in lr-gambatte - Core Does Not Support Save States:
¯_(ツ)_/¯
lol! Ok so this response at least makes me think I'm not totally crazy. At least I tracked it down. Still have no idea wtf could have caused it.
-
@TPR said in lr-gambatte - Core Does Not Support Save States:
and when when I did the "remove" from the retropie-setup that it didn't remove RA completely and doing an install from source didn't fix this issue until I went in and manually removed those folders?
That's correct, removing a package in RP-Setup does not remove the configs in
/opt/retropie/configs
. They are retained so that they can be re-used if it is installed again later.Initial tests seem to indicate it is working now, but still curious why that happened.
There was likely a setting saved somewhere that was causing the issue. There are any number of ways this can happen, but by removing the config folder and then reinstalling, you have now got back to the default settings.
-
@sleve_mcdichael Yep! Thank you again guys! All the feedback most certainly made me go look and different things and try to trace back to where the issue was coming from.
-
@TPR said in lr-gambatte - Core Does Not Support Save States:
UPDATE!
It was my <console>.cfg file in the /opt/retropie/configs/all/retroarch/config/ folder (...) Any idea why? For example, here is what the Gambatte one says:
[wall-of-text config]
Those files shouldn't exist. They're created when you save certain settings through the RetroArch GUI. They will override and break integration with RetroPie configs. Then they hard-code every setting and don't update values when defaults change underneath. Recommended way to persist settings instead is with configuration editor. (Remaps are one exception, they are fine to save through RetroArch GUI as they save to a different file than these core overrides.)
-
@sleve_mcdichael said in lr-gambatte - Core Does Not Support Save States:
@TPR said in lr-gambatte - Core Does Not Support Save States:
UPDATE!
It was my <console>.cfg file in the /opt/retropie/configs/all/retroarch/config/ folder (...) Any idea why? For example, here is what the Gambatte one says:
[wall-of-text config]
Those files shouldn't exist. They're created when you save certain settings through the RetroArch GUI. They will override and break integration with RetroPie configs. Then they hard-code every setting and don't update values when defaults change underneath. Recommended way to persist settings instead is with configuration editor. (Remaps are one exception, they are fine to save through RetroArch GUI as they save to a different file than these core overrides.)
That is incredibly useful to know! Thank you!
-
@sleve_mcdichael I'm also trying to figure out what I must have done to create those ,cfg files. I can't think of anything I really needed to change with an emulator core or needed it to be hardcoded to any one specific version.
-
@TPR Did you choose 'Save on Exit' or used 'Reset Settings' from the RetroArch's menu ?
EDIT: BTW, to get the RetroPie default
retroarch.cfg
for a system, just reinstall one (if there are many) libretro cores for the system after removing the configuration file. -
@mitu said in lr-gambatte - Core Does Not Support Save States:
@TPR Did you choose 'Save on Exit' or used 'Reset Settings' from the RetroArch's menu ?
I think I just figured it out. Using lr-gambatte as an example, I had gone into the core settings and set the video mode to "full" so it would fill up more of the screen on a 4:3 display and then I went to Overrides > Save Core Overrides to make sure every game loaded up in that video format which created that .cfg file.
So, let's just say for the sake of argument I was looking to do exactly that, is there a better way to make sure each game loads into "full" that using the core overrides?
-
@TPR said in lr-gambatte - Core Does Not Support Save States:
So, let's just say for the sake of argument I was looking to do exactly that, is there a better way to make sure each game loads into "full" that using the core overrides?
You would edit the general
retroarch.cfg
file (not for each core/system) in/opt/retropie/configs/all/retroarch.cfg
and modify the option forvideo_aspect_ratio
(which is what I assume you modified). The option would be automatically set for all libretro cores, without the need to edit each system's configuration. -
@mitu Ha! I was just watching Floob's video linked above and I did exactly what you posted! Thanks again to the team! Your help is always very much appreciated!
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.