Desmume Save Issue

When loading ROMs into the Desmume core via command line, I get an error about creating a save file in game even though my config specifies a system folder to put .dsv files in. The same problem happens even if I have saves in there from stand alone Desmume. Either way the console window reports that it can’t find a .dsv file.

However, if I launch a ROM via RGUI, it creates or loads existing save files just fine using the same config. Tatsuya79 mentions in lordashram’s testbuild thread that he has the error even when launching via RGUI, but I can’t reproduce that.

I’m impressed with the performance in this core from it’s first test build release, though I do notice one thing off besides the save problem. In Dawn of Sorrow, some bits of the UI show up garbled, like the health and magic bars and the damage numbers that pop off enemies when attacking. In stand alone Desmume 0.9.10 this only happens when you enable the dynamic recompiler. Is it possible to compile this core in the other mode (interpreter?) to fix that problem? Or is it already in the non-dynarec mode in lordashram’s release and is happening because the core is based off an older version of the mainline source?

I’m having the same problem when launching via RGUI (I never tried/ don’t know how to launch via command line). Could you tell me your config so I can try to reproduce it and see if it works here?

Here’s my config:

video_driver = "gl"
audio_driver = "dsound"
video_fullscreen = "true"
input_autodetect_enable = "false"
input_player1_joypad_index = "0"
input_player1_a_axis = "nul"
input_player1_a_btn = "1"
input_player1_a = "c"
input_player1_b_axis = "nul"
input_player1_b_btn = "0"
input_player1_b = "z"
input_player1_y_axis = "nul"
input_player1_y_btn = "2"
input_player1_y = "x"
input_player1_x_axis = "nul"
input_player1_x_btn = "3"
input_player1_x = "v"
input_player1_select_axis = "nul"
input_player1_select_btn = "7"
input_player1_select = "b"
input_player1_start_axis = "nul"
input_player1_start_btn = "6"
input_player1_start = "enter"
input_player1_l_axis = "nul"
input_player1_l_btn = "4"
input_player1_l = "a"
input_player1_r_axis = "nul"
input_player1_r_btn = "5"
input_player1_r = "s"
input_player1_l2_axis = "+4"
input_player1_l2_btn = "nul"
input_player1_l2 = "q"
input_player1_r2_axis = "+5"
input_player1_r2_btn = "nul"
input_player1_r2 = "w"
input_player1_left_axis = "nul"
input_player1_left_btn = "h0left"
input_player1_left = "left"
input_player1_right_axis = "nul"
input_player1_right_btn = "h0right"
input_player1_right = "right"
input_player1_up_axis = "nul"
input_player1_up_btn = "h0up"
input_player1_up = "up"
input_player1_down_axis = "nul"
input_player1_down_btn = "h0down"
input_player1_down = "down"
input_disk_eject_toggle_axis = "nul"
input_disk_eject_toggle_btn = "nul"
input_disk_eject_toggle = "f3"
input_disk_next_axis = "nul"
input_disk_next_btn = "nul"
input_disk_next = "f4"
input_hold_fast_forward_axis = "+5"
input_hold_fast_forward_btn = "nul"
input_hold_fast_forward = "tilde"
input_menu_toggle_axis = "nul"
input_menu_toggle_btn = "nul"
input_menu_toggle = "tab"
input_save_state_axis = "nul"
input_save_state_btn = "nul"
input_save_state = "f5"
input_load_state_axis = "nul"
input_load_state_btn = "nul"
input_load_state = "f9"
input_audio_mute_axis = "nul"
input_audio_mute_btn = "nul"
input_audio_mute = "f2"
input_reset_axis = "nul"
input_reset_btn = "nul"
input_reset = "f10"
input_exit_emulator_btn = "10"
video_smooth = "false"
video_scale_integer = "false"
video_windowed_fullscreen = "true"
video_disable_composition = "false"
video_vsync = "true"
video_hard_sync = "true"
video_hard_sync_frames = "0"
video_swap_interval = "2"
video_threaded = "false"
video_refresh_rate = "60"
video_shader_enable = "true"
rgui_browser_directory = "../../Roms/Nintendo DS/"
savefile_directory = "./Save/Nintendo DS/"
savestate_directory = "./State/Nintendo DS/"
screenshot_directory = "./Screenshot/"
video_shader_dir = "./Shaders/"
system_directory = "./Save/Nintendo DS/"
video_shader = "./Shaders/pixellate.cg"
libretro_path = "./Cores/desmume_libretro.dll"
video_xscale = "4.000000"
video_yscale = "4.000000"
pause_nonactive = "true"
autosave_interval = "60"
rgui_show_start_screen = "false"

I imagine the input stuff doesn’t matter, but left it in just in case.

No good…same error. I guess it’s a problem with the core? Thanks for the reply anyway.

Save problem seems to be fixed in Desmume-future on github. All games I had problem with are launching now.

Sorry if it’s a dumb question, but how do I go about using that? I downloaded it but can’t figure out where to extract or if there’s something else to be done. Thanks again.

You would have to compile the core by yourself or wait for a release. Windows release should be close enough

Here it is, copy to your core folder.

Thanks for the trouble. I seem to get past the save issue and the game loads, but…It looks like this : http ://imageshack.com/a/img849/807/4psi.png Also audio crackling :expressionless:

Thanks for the trouble. I seem to get past the save issue and the game loads, but…It looks like this : http ://imageshack.com/a/img849/807/4psi.png Also audio crackling :|[/quote] I saw something like this in Mario kart intro sequences before a race. Everything is not perfect yet and several games could have issues like this.

I see. I guess I’ll just keep following the updates and using standalone in the meantime. Thanks for all the help, I really appreciate it.

Thanks, just tested launching this through the command line and it fixes the save problem!

Thanks for the trouble. I seem to get past the save issue and the game loads, but…It looks like this : http ://imageshack.com/a/img849/807/4psi.png Also audio crackling :|[/quote] I opened an issue on github about adding a core option to change the block size like you can in stand-alone Desmume. Setting it to a lower value has been known to fix graphical issues with certain games like Dawn of Sorrow, so it might fix some of the problems you’re having if the option gets added.

Nice, thanks again. I guess I’ll just wait for the release then.

Thanks for the trouble. I seem to get past the save issue and the game loads, but…It looks like this : http ://imageshack.com/a/img849/807/4psi.png Also audio crackling :|[/quote]

Was this built from desmume-future?

Thanks for the trouble. I seem to get past the save issue and the game loads, but…It looks like this : http ://imageshack.com/a/img849/807/4psi.png Also audio crackling :|[/quote]

Was this built from desmume-future?[/quote] Yes, with MinGW on win7 x64.

I tried the new “desmume” repo from github. Working great with the jit block size option. A value of 15 fixed the circuit intro in mario kart and bugged life bar in Castlevania Dawn of sorrow. :slight_smile:

Cool, I was waiting for a lordashram build to try out that new repo. Does Dragon Quest V still have that weird graphical problem (screen is sort of split vertically)? It seemed like when I was testing stand alone Desmume vs. desmume-future the block size wasn’t what was causing that.

I just have a small selection of games, can’t tell you. But try it yourself!

Thanks for the compile! That graphical issue is gone now. Excellent work RetroArch team!